Hi,
After tomcat running 3,4 days well with 75 users, suddenly we are facing
InvocationTargetException caused by OutOfMemoryError for 3,4 users some
times. The JAVA_OPTS options are well configured as observed no heap error
issue. Heap utilization is only 60% but Foud that CodeCache is reaching
ma
Hi,
I used Yourkit Profiler to check my web application, and I found that
many http threads are blocked here.
org.apache.jasper.servlet.JspServletWrapper.service(HttpServletRequest,
HttpServletResponse, boolean) (The method calls itself recursively)
org.apache.catalina.core.ApplicationFilterCh
2009/10/5 gc2 :
> (noCompressionUserAgents[i].matcher(userAgentValue).matches())
The above is the call to java.util.regex.Pattern.matcher(String).matches().
See JavaDoc of the java.util.regex.Pattern class for regular expressions syntax.
Best regards,
Konstantin Kolinko
I would like to use gzip compression for serving content but exclude all
versions of IE6 and below.
I tried setting user agents in noCompressionUserAgents but so far without
success.
The documentation suggests the setting is a regular expression however a
quick review of tomcat's source code sho
Hi All,
What class method for Tomcat would show the response time? I am using the
jvirtualvm to profile the code (simplest and easy to use) but I need to know
the name/method that would be closest to the socket to get an idea how fast the
container/app is.
Thanks,
-Tony
Hi back konstantin,
The truth is that i make a link from the ${catalina.home}/conf in the
${catalina.base}/conf regarding the web.conf, thus it's the default from
tomcat original distribution ...
In my ${catalina.base} there is only those dirs : "conf" and
"webapps". there is link for log
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 10/2/2009 9:20 AM, Ronald Klop wrote:
But I don't send any data. My servlet than waits in getParameterMap(),
because that try's to read the inputstream and parse the parameters.
After 20 seconds (Connector has
5 октября 2009 г. 1:41 пользователь Linux sysadmin
написал:
> Hi back Konstantin,
>
> When i put a web.xml in ${catalina.base}/conf it's working, that's great,
> thanks Konstantin for this remarks ;-)
>
It should be not the web.xml of your application, but the default one.
See conf/web.xml in
Joe Hansen wrote:
I found the following error message in the Apache logs:
[Sat Oct 03 04:10:49 2009] [error] server reached MaxClients setting,
consider raising the MaxClients setting
Here's a snippet from the httpd.conf, which deals with MaxClients.
StartServers 8
MinSpareServers5
Ma
Hi back Konstantin,
When i put a web.xml in ${catalina.base}/conf it's working, that's
great, thanks Konstantin for this remarks ;-)
But what i really wanted, is not using an web.xml in
${catalina.base}/conf but use the web.xml of each application, and use
the master web.xml in ${catalin
Hi Joe,
On 04.10.2009 21:45, Joe Hansen wrote:
> Rainer, Thank you so much for your kind reply!
>
> I have increased the java heap size to 512MB (-Xms512m -Xmx512m). I am
> hoping that would fix the issue. I had configured our webserver to use
> Jasig's Central Authentication System (CAS). Recent
On 04.10.2009 22:17, Joe Hansen wrote:
> I found the following error message in the Apache logs:
> [Sat Oct 03 04:10:49 2009] [error] server reached MaxClients setting,
> consider raising the MaxClients setting
>
> Here's a snippet from the httpd.conf, which deals with MaxClients.
>
> StartServer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 10/2/2009 9:20 AM, Ronald Klop wrote:
> But I don't send any data. My servlet than waits in getParameterMap(),
> because that try's to read the inputstream and parse the parameters.
> After 20 seconds (Connector has connectionTimeout="2
I found the following error message in the Apache logs:
[Sat Oct 03 04:10:49 2009] [error] server reached MaxClients setting,
consider raising the MaxClients setting
Here's a snippet from the httpd.conf, which deals with MaxClients.
StartServers 8
MinSpareServers5
MaxSpareServers 20
S
1316 INFO: No default web.xml
That message is about ${catalina.base}/conf/web.xml
You have -user jsrvd on your jsvс command line. Are those files
readable by that user?
Best regards,
Konstantin Kolinko
2009/10/4 Linux sysadmin :
> Thank Konstantin and Peter for your fast reply,
>
> Unfortuna
On Sun, Oct 4, 2009 at 12:03 PM, Peter Crowther
wrote:
>> Aside from that, what god-awful anachronism of an editor could you
>> possibly be using that doesn't understand XML syntax? :-)
>
> In my case, vi. Much of my UNIX admin involves ssh into headless
> production machines in datacentres wit
Rainer, Thank you so much for your kind reply!
I have increased the java heap size to 512MB (-Xms512m -Xmx512m). I am
hoping that would fix the issue. I had configured our webserver to use
Jasig's Central Authentication System (CAS). Recently I increased the
session timeout from 30 minutes to 4 ho
Thank Konstantin and Peter for your fast reply,
Unfortunately i put 2 "=" like in the java command but still the
same error as tomcat not finding the web.xml of my webapp !!!
Regarding the answer of Peter i am doing an strace on it, answer is up
to come ...
Peter Crowther wrote:
Try K
2009/10/4 Hassan Schroeder :
> Aside from that, what god-awful anachronism of an editor could you
> possibly be using that doesn't understand XML syntax? :-)
In my case, vi. Much of my UNIX admin involves ssh into headless
production machines in datacentres with stock OS builds. Frequently,
ask
richard mycroft wrote:
OK, I ran into the same thing a few weeks ago and wasted a lot of time before
finding the silly XML comment elements. There should be an English language
note, or a default user with no rights that is not commented out in order to
help those of us not possessing a nice.
On Sun, Oct 4, 2009 at 11:09 AM, richard mycroft wrote:
> ,,, to help those of us not possessing a nice. context sensitive XML
> editor or experience with XML sufficient to quickly let us note this.
Considering that all of Tomcat's configuration files are XML, and in
general Java and XML seem to
2009/10/4 Linux sysadmin :
[When starting as the jsvcd user...]
> 1315 Oct 4, 2009 7:36:20 PM org.apache.catalina.startup.ContextConfig
> defaultWebConfig <= It's seems tha's
> this way apache wasn't able to load the web.xml in my webapps'
> WEB-INF/web.x
I have not dug through all the log output that you are citing, but at
least the following things are difference between your startup.sh and
jsvc command lines:
1) The value of -Djava.io.tmpdir
2) The value of -Djava.security.policy
The -Djava.security.policy value of jsvc is certainly wrong. Ther
Hello,
I am sending you this long email because i'm stuck on a "resource not
available" for 2 weeks no, i googled a lot on for this error, read
plenty of mailing list , but still unresolved my case :-( ...
Below is the a long and detailled snapshot of what happens, thanks in
advance for givi
OK, I ran into the same thing a few weeks ago and wasted a lot of time before
finding the silly XML comment elements. There should be an English language
note, or a default user with no rights that is not commented out in order to
help those of us not possessing a nice. context sensitive XML ed
Thanks Ken.
> From: kbo...@als.com
> To: users@tomcat.apache.org
> Subject: Re: Help management access
> Date: Sun, 4 Oct 2009 12:07:56 -0400
>
> Remove the comment symbols from tomcat-users.xml
>
> On Oct 4, 2009, at 11:57 AM, Jared Southern wrote:
>
> >
> > Hi all,
> > I installed Apac
Thanks Mark,
That did the trick, P.S. nice pic's of turkey.
Jared
> Date: Sun, 4 Oct 2009 17:04:39 +0100
> From: ma...@apache.org
> To: users@tomcat.apache.org
> Subject: Re: Help management access
>
> Jared Southern wrote:
> > Hi all,
> > I installed Apache Tomcat Version 6.0.20
> > I can't ac
Remove the comment symbols from tomcat-users.xml
On Oct 4, 2009, at 11:57 AM, Jared Southern wrote:
Hi all,
I installed Apache Tomcat Version 6.0.20
I can't access the tomcat Management system,
I changed the tomcat-users.xml file, but I doen't make any difference.
please help
Regards
"I can't access the tomcat Management system"
That can mean a million things. What exactly happens when you try to access
the manager?
On Sun, Oct 4, 2009 at 4:57 PM, Jared Southern wrote:
>
> Hi all,
> I installed Apache Tomcat Version 6.0.20
> I can't access the tomcat Management system,
> I
Jared Southern wrote:
> Hi all,
> I installed Apache Tomcat Version 6.0.20
> I can't access the tomcat Management system,
> I changed the tomcat-users.xml file, but I doen't make any difference.
>
>
> please help
Remove the comment delimiters.
Mark
-
Hi all,
I installed Apache Tomcat Version 6.0.20
I can't access the tomcat Management system,
I changed the tomcat-users.xml file, but I doen't make any difference.
please help
Regards Jared
_
On Sun, Oct 4, 2009 at 4:23 PM, Caldarale, Charles R
wrote:
>> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
>> Subject: Re: Loading Jar files in a particular order on Tomcat 6
>>
>> No, you can just overwrite setclasspath.sh and put the 'first' jar
>> into the first place of the cla
Thanks :) That solved my problem
mgainty wrote:
>
>
> Baron
>
> replace YourWebApp with the name of your webapp
> delete everything under the
> $CATALINA_HOME/work/Catalina/localhost/YourWebapp
>
> Martin
> __
> Verzicht und Vertraulichkeitanmerku
> From: Rasmus Larsen [mailto:kolibria...@gmail.com]
> Subject: Re: Loading Jar files in a particular order on Tomcat 6
>
> Just to clarify, the Jars have nothing to do with SpringSource.
Sorry, my mistake; I was confusing this thread with Bocalinda's.
Contacting the vendor or doing your own rep
_
View your other email accounts from your Hotmail inbox. Add them now.
http://clk.atdmt.com/UKM/go/167688463/direct/01/
2009/10/4 Caldarale, Charles R :
>> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
>> Subject: Re: Loading Jar files in a particular order on Tomcat 6
>>
>> No, you can just overwrite setclasspath.sh and put the 'first' jar
>> into the first place of the classpath manually.
>
> ??? The
> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
> Subject: Re: Loading Jar files in a particular order on Tomcat 6
>
> No, you can just overwrite setclasspath.sh and put the 'first' jar
> into the first place of the classpath manually.
??? These are jars deployed with the webapp, lo
On Sun, Oct 4, 2009 at 1:02 PM, Rasmus Larsen wrote:
> 2009/10/4 Leon Rosenberg :
>> On Sun, Oct 4, 2009 at 1:00 AM, Eric B. wrote:
>>> "Caldarale, Charles R" wrote in message
>> Back to the original post,
>> why don't you simply patch (maybe automatically with ant) the jar file
>> containing th
Larsen
Keeping more than one version of the same package and class will cause
excessive Administrative work
Maven Build Environments will allow you to deploy a specific package/class and
version to a profile
maven allows you to compile/install and deploy the same package/class with a
different
2009/10/4 Leon Rosenberg :
> On Sun, Oct 4, 2009 at 1:00 AM, Eric B. wrote:
>> "Caldarale, Charles R" wrote in message
> Back to the original post,
> why don't you simply patch (maybe automatically with ant) the jar file
> containing the 'old' version of the class and remove it?
The jar files ar
On Sun, Oct 4, 2009 at 1:00 AM, Eric B. wrote:
> "Caldarale, Charles R" wrote in message
> news:99c8b2929b39c24493377ac7a121e21f84054c1...@usea-exch8.na.uis.unisys.com...
>> From: Rasmus Larsen [mailto:kolibria...@gmail.com]
>> Subject: Loading Jar files in a particular order on Tomcat 6
>>
>> I'
On 04/10/2009 09:33, André Warnier wrote:
Eric B. wrote:
"andre" wrote in message
news:003c01ca43b9$0ef57ae0$2ce070...@com...
...
Are your all your files readable by the process that is running
tomcat? For instance, if tomcat is running under user "tomcat", and
your files are only readable
Eric B. wrote:
"andre" wrote in message
news:003c01ca43b9$0ef57ae0$2ce070...@com...
...
Are your all your files readable by the process that is running tomcat? For
instance, if tomcat is running under user "tomcat", and your files are only
readable by "andre", you will get errors like tha
43 matches
Mail list logo