Re: SEVERE: Parse error in default web.xml

2009-10-04 Thread André Warnier
Eric B. wrote: andre andrewarn...@gmail.com 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

Re: SEVERE: Parse error in default web.xml

2009-10-04 Thread Pid
On 04/10/2009 09:33, André Warnier wrote: Eric B. wrote: andre andrewarn...@gmail.com 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

Re: Loading Jar files in a particular order on Tomcat 6

2009-10-04 Thread Leon Rosenberg
On Sun, Oct 4, 2009 at 1:00 AM, Eric B. ebe...@hotmail.com wrote: Caldarale, Charles R chuck.caldar...@unisys.com wrote in message news:99c8b2929b39c24493377ac7a121e21f84054c1...@usea-exch8.na.uis.unisys.com... From: Rasmus Larsen [mailto:kolibria...@gmail.com] Subject: Loading Jar files in a

Re: Loading Jar files in a particular order on Tomcat 6

2009-10-04 Thread Rasmus Larsen
2009/10/4 Leon Rosenberg rosenberg.l...@googlemail.com: On Sun, Oct 4, 2009 at 1:00 AM, Eric B. ebe...@hotmail.com wrote: Caldarale, Charles R chuck.caldar...@unisys.com wrote in message Back to the original post, why don't you simply patch (maybe automatically with ant) the jar file

RE: Loading Jar files in a particular order on Tomcat 6

2009-10-04 Thread Martin Gainty
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

Re: Loading Jar files in a particular order on Tomcat 6

2009-10-04 Thread Leon Rosenberg
On Sun, Oct 4, 2009 at 1:02 PM, Rasmus Larsen kolibria...@gmail.com wrote: 2009/10/4 Leon Rosenberg rosenberg.l...@googlemail.com: On Sun, Oct 4, 2009 at 1:00 AM, Eric B. ebe...@hotmail.com wrote: Caldarale, Charles R chuck.caldar...@unisys.com wrote in message Back to the original post, why

RE: Loading Jar files in a particular order on Tomcat 6

2009-10-04 Thread 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. ??? These are jars deployed with the webapp,

Re: Loading Jar files in a particular order on Tomcat 6

2009-10-04 Thread Rasmus Larsen
2009/10/4 Caldarale, Charles R chuck.caldar...@unisys.com: 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

management access

2009-10-04 Thread Jared Southern
_ View your other email accounts from your Hotmail inbox. Add them now. http://clk.atdmt.com/UKM/go/167688463/direct/01/

RE: Loading Jar files in a particular order on Tomcat 6

2009-10-04 Thread Caldarale, Charles R
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

RE: Baffling tomcat issue

2009-10-04 Thread baronred
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 Vertraulichkeitanmerkung

Re: Loading Jar files in a particular order on Tomcat 6

2009-10-04 Thread Leon Rosenberg
On Sun, Oct 4, 2009 at 4:23 PM, Caldarale, Charles R chuck.caldar...@unisys.com 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

Help management access

2009-10-04 Thread Jared Southern
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. tomcat-users!-- role rolename=admin/ role rolename=tomcat/ role rolename=role1/ role relename=manager/ user username=jared

Re: Help management access

2009-10-04 Thread Mark Thomas
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. tomcat-users!-- role rolename=admin/ role rolename=tomcat/ role rolename=role1/ role

Re: Help management access

2009-10-04 Thread Ziggy
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 jaredsouth...@hotmail.comwrote: Hi all, I installed Apache Tomcat Version 6.0.20 I can't access the tomcat

Re: Help management access

2009-10-04 Thread Ken Bowen
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.

RE: Help management access

2009-10-04 Thread Jared Southern
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 access the

RE: Help management access

2009-10-04 Thread Jared Southern
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

resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Linux sysadmin
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

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Konstantin Kolinko
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.

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Peter Crowther
2009/10/4 Linux sysadmin sysad...@pattersunx.com: [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  

Re: Help management access

2009-10-04 Thread Hassan Schroeder
On Sun, Oct 4, 2009 at 11:09 AM, richard mycroft rmycroft2...@yahoo.com 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

Re: Help management access

2009-10-04 Thread André Warnier
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

[OT] XML editors (was Re: Help management access)

2009-10-04 Thread Peter Crowther
2009/10/4 Hassan Schroeder hassan.schroe...@gmail.com: 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

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Linux sysadmin
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

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-04 Thread Joe Hansen
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

Re: [OT] XML editors (was Re: Help management access)

2009-10-04 Thread Hassan Schroeder
On Sun, Oct 4, 2009 at 12:03 PM, Peter Crowther peter.crowt...@melandra.com 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

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Konstantin Kolinko
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 sysad...@pattersunx.com: Thank Konstantin and Peter for your

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-04 Thread Joe Hansen
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. IfModule prefork.c StartServers 8 MinSpareServers5

Re: POST request with timeout acts weird

2009-10-04 Thread Christopher Schultz
-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)

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-04 Thread Rainer Jung
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. IfModule prefork.c

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-04 Thread Rainer Jung
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). Recently I

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread 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 ;-) 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

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-04 Thread André Warnier
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. IfModule prefork.c StartServers 8

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Konstantin Kolinko
5 октября 2009 г. 1:41 пользователь Linux sysadmin sysad...@pattersunx.com написал: 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.

Re: POST request with timeout acts weird

2009-10-04 Thread André Warnier
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

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Linux sysadmin
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 logs,

Tomcat Repsonse question...

2009-10-04 Thread Tony Anecito
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

Prevent Tomcat from using compression for IE6

2009-10-04 Thread gc2
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

Re: Prevent Tomcat from using compression for IE6

2009-10-04 Thread Konstantin Kolinko
2009/10/5 gc2 gc2nos...@gmail.com: (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