Http11NioProtocol with TLS seems to be very slow for certain requests >= 9.0.48

2021-08-06 Thread Benjamin Grenacher
Recently updated from 9.0.43 to 9.0.50 and are having similar symptoms as already reported ("Possible Http11NioProtocol regression since 9.0.48?"). Integration test runs have shown this issue seems to occur for browser tests only. Since we have larger JS files and requests take about 1 min (defa

Re: Locating WebAppConfig file in embedded tomcat

2015-04-28 Thread Benjamin Rogge
directory and not a jar file: final StandardContext webAppCtx = (StandardContext) this.tomcat.addWebapp("/webapp-name", Paths.get(this.tomcat.getHost().getAppBase(), "webapp-name").toAbsolutePath().toString()); - Is there a special working directory expected

Locating WebAppConfig file in embedded tomcat

2015-04-28 Thread Benjamin Rogge
which does not exist. Hence, Tomcat is proceeding to load the config file from a jar file, which leads to the warning mentioned above. My questions are: - What are the correct parameters for Tomcat.addWebapp(String contextPath, String docBase)? - Is there a

Re: Embedded Tomcat 6 & 7 logging to file

2012-07-17 Thread Benjamin Muschko
Thanks for clarifying it. That helped. -- View this message in context: http://tomcat.10.n6.nabble.com/Embedded-Tomcat-6-7-logging-to-file-tp4984104p4984163.html Sent from the Tomcat - User mailing list archive at Nabble.com. -

Embedded Tomcat 6 & 7 logging to file

2012-07-15 Thread Benjamin Muschko
Hi, I'd like to redirect the embedded Tomcat's startup logging messages to a file. What I am looking for is something like this: ... Initializing ProtocolHandler ["http-bio-8080"] Initializing ProtocolHandler ["http-bio-8091"] Starting service Tomcat Starting Servlet Engine: Apache Tomcat/7.0.11

Re: @HandlesTypes not resolving classes when added as repository directory

2012-03-11 Thread Benjamin Muschko
I don't think so because it works when these classes sit in a JAR file and are added using addRepository. Also I tried to explicitly set context.setIgnoreAnnotations(false); which doesn't help. -- View this message in context: http://tomcat.10.n6.nabble.com/HandlesTypes-not-resolving-classes-when

@HandlesTypes not resolving classes when added as repository directory

2012-03-10 Thread Benjamin Muschko
I am running an embedded container 7.0.26 that loads the web application classes and external JARS using the method http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/loader/WebappLoader.html#addRepository%28java.lang.String%29 WebappLoader#addRepository(java.lang.String) . One of the

RE: Reinstall with 302 error

2012-02-02 Thread Benjamin Madore
or BonCode ( http://tomcatiis.riaforge.org)? Does it behave the same? If this app works unmodified in Mac OSX, it should work in Windows. On Wed, Jan 25, 2012 at 5:08 PM, Benjamin Madore wrote: > Hi all, > >I have inherited a two web applications written several &g

RE: Problems after reinstall - Sorry, trying again.

2012-01-26 Thread Benjamin Madore
>-Original Message- >From: Pid [mailto:p...@pidster.com] >Sent: Thursday, January 26, 2012 5:44 PM >To: Tomcat Users List vSubject: Re: Problems after reinstall - Sorry, trying again. >On 26/01/2012 20:00, Benjamin Madore wrote: >> Hi all, >> >> Sorr

Problems after reinstall - Sorry, trying again.

2012-01-26 Thread Benjamin Madore
Hi all, Sorry, I'm new to the list and I hope that my first message didn't breech some kind of etiquette or do something to get caught in everyone's spam filter. I have spent hours trying to find an answer, and I keep going around in circles, I'm not sure where to look next. Here's my problem:

Reinstall with 302 error

2012-01-25 Thread Benjamin Madore
Hi all, I have inherited a two web applications written several years ago. Since the server, which had been installed just before I arrived, was rebuilt last month we have not been able to log in to the application. We had continued to update Tomcat and Java before the rebuild so i

Re: Can we slow down the speed of servlet response ?

2008-04-17 Thread Benjamin Lerman
r the result, check that 1) the result has been computed, if this is not the case returns an error, 2) enough time has passed, else re-forward to the waiting view. If all is correct, send the result that lies in the session. Benjamin Lerman --

Any documentation/example about org.apache.catalina.Comet* ?

2007-04-18 Thread Benjamin Larchevêque
, -- Benjamin Larchevêque Ingénieur Etude & Développement Team Trade Paris 43, rue Taitbout 75009 Paris +33 6 1955 6012 [EMAIL PROTECTED] http://www.linkedin.com/in/larchev

The ChatServlet does not print anything.

2007-04-17 Thread Benjamin Larchevêque
n.close() line... Is it normal? If it is, how can I loop to print anything after closing the event? More generally, how can I choose my event type such as READ, BEGIN, CLOSE... If someone could tell me what I am missing here... -- Benjamin Larchevêque I

Re: cpu 100% java

2006-08-02 Thread Benjamin Adams
On Aug 2, 2006, at 4:18 PM, Christopher Schultz wrote: Ben, How much ram do I set? Load Avg: 1.30, 1.28, 1.22 CPU usage: 51.3% user, 8.4% sys, 40.3% idle SharedLibs: num = 137, resident = 22.8M code, 3.20M data, 6.41M LinkEdit MemRegions: num = 7345, resident = 142M + 8.15M pri

Re: cpu 100% java

2006-08-02 Thread Benjamin Adams
On Aug 1, 2006, at 5:55 PM, Christopher Schultz wrote: Ben, I'm on OS X 10.4.7 running with weblog software (blojsom) I have to do a kill -9 on java to stop it from using 100+ on cpu sometimes, to let users connect. I assume that you also have to restart Tomcat at this point, yes? I just k

cpu 100% java

2006-08-01 Thread Benjamin Adams
I'm on OS X 10.4.7 running with weblog software (blojsom) I have to do a kill -9 on java to stop it from using 100+ on cpu sometimes, to let users connect. This comes up over and over in the log: 2006-08-01 17:22:08 StandardWrapperValve[blojsom]: Servlet.service() for servlet blojsom threw ex

Re: Problem with the JRockit

2006-06-03 Thread Benjamin
download site and enjoy. hth leon On 6/3/06, Benjamin Chu <[EMAIL PROTECTED]> wrote: I hope to run the tomcat 5.0 with JRockit 5.0 R26.3.on a linux machine and installed JRockit in the root directory (/root/jrockit-R26-3.0-jdk1.5.0_06) The following is the environment variables which I set:**

Problem with the JRockit

2006-06-02 Thread Benjamin Chu
I hope to run the tomcat 5.0 with JRockit 5.0 R26.3.on a linux machine and installed JRockit in the root directory (/root/jrockit-R26-3.0-jdk1.5.0_06) The following is the environment variables which I set:** export JAVA_HOME=/root/jrockit-R26-3.0-jdk1.5.0_06 export JAVA_HOME PATH=$JAVA_HOME/bin:

Re: When does the "MarkSweepCompact" Garbage Collector perform GC?

2006-05-29 Thread Benjamin Chu
you out of memory? The GC will not run in many situations unless it has a need to. HTH - Richard -Original Message- From: Benjamin Chu [mailto:[EMAIL PROTECTED] Sent: Monday, May 29, 2006 8:25 PM To: Tomcat Users List Subject: When does the "MarkSweepCompact" Garbage Collector perform GC?

When does the "MarkSweepCompact" Garbage Collector perform GC?

2006-05-29 Thread Benjamin Chu
Hello! Now I am using the jconsole to monitor the heap memory usage of the tomcat 5.5. I've constructed a testbed to test the performance of the applications running on the tomcat. However, the jconsole shows that the "MarkSweepCompact" Garbage Collector never does its job. The only two ways to ma

RE: Determining file locations in tomcat

2006-05-15 Thread Benjamin Armintor
Or you could let go of the idea of file paths and use a URL from the ServletContext.getResource() or the corresponding InputStream from ServletContext.getResourceAsStream(). This also allows you to package the .xsl up in a .war file without breaking. -Original Message- From: Mark Pet

IIS Integrated Authentification and Tomcat

2006-03-26 Thread Benjamin Lerman
a Header or something like that ? Thanks. Benjamin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Run Tomcat in W2k3 as service

2006-03-24 Thread Benjamin Armintor
a security manager (it's effectively what the catalina startup script does), so I'd try using those as the --JvmOptions values. Benjamin J. Armintor Operating Systems Specialist ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL PROTECTED] -Or

Strange PING errors within Tomcat

2005-12-21 Thread Benjamin Cuthbert
All I have tomcat 5.5.7 installed on SUSE linux 9.0 and when i start it up after some of my web applications have been installed i get errors like these which in turn take the system down with memory errors. And i can't find any information on this. Is this tomcat or my web applications. [

Too many sockets on mod_jk

2005-12-13 Thread Benjamin Cuthbert
All I have an apache 1.3.37 and mod_jk 1.2.12 setup . When my apache connects to my Jboss tomcat server i see about 90 open socket connections. Is there a way to track how many sockets get opened in mod_jk, as this is happening for each client that logs onto the application, so if i get about

Re: Pointers on setting up Tomcat 5.5x w/MySQL on OS X?

2005-11-12 Thread Benjamin Slade
k/corrections on the above web page are appreciated. Ben Slade Benjamin Slade wrote: Can someone point me to some resources for setting up Tomcat so that servlets/JSP's can connect to a local MySQL database? The instructions for configuring Connector/J (at dev.mysql.com/doc/refman/5.0

Re: Pointers on setting up Tomcat w/MySQL on OS X?

2005-11-10 Thread Benjamin Slade
Thanks for the info. I have a few questions which are embedded below: André van Toly wrote: Hi, Op 9-nov-2005, om 23:07 heeft Benjamin Slade het volgende geschreven: Can someone point me to some resources for setting up Tomcat so that servlets/JSP's can connect to a local MySQL dat

Re: Pointers on setting up Tomcat 5.5x w/MySQL on OS X?

2005-11-10 Thread Benjamin Slade
A-INF/context.xml. Also note that the syntax of has changed in 5.5. See http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html -- Len On 11/9/05, Benjamin Slade <[EMAIL PROTECTED]> wrote: Can someone point me to some resources for setting up Tomcat so that servlets/JSP's

Pointers on setting up Tomcat 5.5x w/MySQL on OS X?

2005-11-09 Thread Benjamin Slade
Can someone point me to some resources for setting up Tomcat so that servlets/JSP's can connect to a local MySQL database? The instructions for configuring Connector/J (at dev.mysql.com/doc/refman/5.0/en/cj-tomcat-config.html ) don't seem to match the setup of my tomcat/conf/server.xml file.