Redeployment of war File stopps suddenly

2011-07-20 Thread Alexander Diedler
Hello, We have a big problem with deployment over war in a Tomcat 6.0.32. If there is no application yet, the initial upload through the manger works. If we redeploy the running application again, the undeploy process fails and we have a half installation, in the Manager the application name is

AW: Redeployment of war File stopps suddenly

2011-07-20 Thread Alexander Diedler
Additionally the information from Tomcat doc: When using automatic deployment, the docBase defined by an XML http://tomcat.apache.org/tomcat-6.0-doc/config/context.html Context file should be outside of the appBase directory. If this is not the case, difficulties may be experienced deploying the

Re: Redeployment of war File stopps suddenly

2011-07-20 Thread André Warnier
Alexander Diedler wrote: ... Context path= docBase=D:/tecracer/apps/app1/ privileged=true reloadable=true unpackWAR=true antiJARLocking=true ... In the Server.xml we have inside the Engine: Host name=app1 appBase=D:/tecracer/apps/app1 unpackWARs=true deployOnStartup=true

server status reports long request times

2011-07-20 Thread Michael Südkamp
Hello, From time to time we have customers experiencing Tomcat going to 100% CPU. One customer sent us the output from the server status page from the Tomcat 6.0.32 Manager web-app. This page reports a lot of HTTP connector requests belonging to a certain client with stage value S and time

Re: server status reports long request times

2011-07-20 Thread André Warnier
Michael Südkamp wrote: Hello, From time to time we have customers experiencing Tomcat going to 100% CPU. One customer sent us the output from the server status page from the Tomcat 6.0.32 Manager web-app. This page reports a lot of HTTP connector requests belonging to a certain client can

Re: server status reports long request times

2011-07-20 Thread Mark Thomas
On 20/07/2011 09:15, Michael Südkamp wrote: Hello, From time to time we have customers experiencing Tomcat going to 100% CPU. One customer sent us the output from the server status page from the Tomcat 6.0.32 Manager web-app. This page reports a lot of HTTP connector requests belonging to

Re: Servlet 3.0 Specific Error: Invalid byte tag in constant pool

2011-07-20 Thread Mark Thomas
On 20/07/2011 03:55, Matthew Tyson wrote: Hey guys, tomcat 7.0.19 Java 1.6.0_22 CentOS 5.6 I just switched the web.xml to servlet 3.0 (from a app running servlet 2.4 previously without issue) and now I'm seeing the following error (turned on fine logging in the util class): FINE:

Re: tomcat and comp jndi context

2011-07-20 Thread Pid
On 19/07/2011 23:34, Romain Manni-Bucau wrote: Hi, where can i get more information on the way tomcat manage its jndi tree? Pratically i need the get java:comp context but i don't know when/where to look up it. I didn't find it in ContextBindings.getClassLoader() in start or after_start

Re: Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-20 Thread Mark Thomas
On 20/07/2011 05:26, Monsieur fsfu wrote: @Chuck -- The moment I remove context xml (xyz##001.xml) file, tomcat automagically removes the corresponding dir from webapps. So that's not an issue. In my log file i see the following message INFO | jvm 1| 2011/07/19 16:11:07 | Jul 19,

Re: Redeployment of war File stopps suddenly

2011-07-20 Thread Pid
On 20/07/2011 07:58, Alexander Diedler wrote: Hello, We have a big problem with deployment over war in a Tomcat 6.0.32. If there is no application yet, the initial upload through the manger works. If we redeploy the running application again, the undeploy process fails and we have a half

Availability of Tomcat 5.5.34

2011-07-20 Thread msachin
Where can I get information about availability of Tomcat 5.3.34? Thanks. -- View this message in context: http://old.nabble.com/Availability-of-Tomcat-5.5.34-tp32098293p32098293.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: tomcat and comp jndi context

2011-07-20 Thread Romain Manni-Bucau
I'm in OpenEJB modifying a lifecycle listener. The current code is: ContextBindings.getClassLoader().lookup(comp); but it fails, i wonder if i can replace it by: standardContext.getNamingContextListener(); - Romain 2011/7/20 Pid p...@pidster.com On 19/07/2011 23:34, Romain Manni-Bucau

Re: Availability of Tomcat 5.5.34

2011-07-20 Thread Konstantin Kolinko
2011/7/20 msachin sachin.mankap...@gmail.com: Where can I get information about availability of Tomcat 5.3.34?  Thanks. Here: http://tomcat.apache.org/download-55.cgi http://tomcat.apache.org/whichversion.html If you want o be notified about release you can subscribe to the announce@ mailing

Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-20 Thread Douglas McGregor
Hi there, I'm getting really desperate with this - I've been at it for about a couple of months now and still no further forward. The strange thing is that this works absolutely fine in IIS 7.5 with Tomcat 7 on my laptop which runs Windows 7, but is persistantly throwing a blank page on IIS 7

Re: Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-20 Thread Mladen Turk
On 07/20/2011 02:30 PM, Douglas McGregor wrote: Hi there, I'm getting really desperate with this - I've been at it for about a couple of months now and still no further forward. You could have finish the MCSE exams by that time. Sorry, couldn't resist :) The strange thing is that this works

Re: Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-20 Thread Konstantin Kolinko
2011/7/20 Douglas McGregor d...@douglasmcgregor.co.uk: Hi there, I'm getting really desperate with this - I've been at it for about a couple of months now and still no further forward.  The strange thing is that this works absolutely fine in IIS 7.5 with Tomcat 7 on my laptop which runs

problem upgrading to Apache Commons Lang 3.0 and Tomcat.7 (

2011-07-20 Thread Mark Shifman
This morning I upgraded my webapp to Apache Commons Lang 3.0. When I redeployed the webapp I got Servlet.service() for servlet jsp threw exception java.lang.ClassNotFoundException: org.apache.commons.lang.UnhandledException at

Re: Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-20 Thread André Warnier
Hi. Let's see how quickly we can solve this.. (Considering that you've already spent 2 months on it, getting a really good percentage improvement should not be that hard). First, let's verify if Tomcat, on its own, handles JSP pages correctly. For that we will bypass IIS, and go directly from

Re: problem upgrading to Apache Commons Lang 3.0 and Tomcat.7 (

2011-07-20 Thread Konstantin Kolinko
My question is where is the best place to put old Lang 2.5 jar? Is there a problem putting it in $TOMCAT_HOME/lib? or should I just put it in the WEB-INF/lib for the application? 1. It should go into WEB-INF/lib. Tomcat does not provide this library nor uses it by itself.

Re: IIS 7.5 2008 Server

2011-07-20 Thread Ian Porter
Hi Pid, Here are my configuration files isapi_redirect.properties extension_uri=/jakarta/isapi_redirect.dll log_file=d:\opt\tomcat\logs\isapi_redirect.log log_level=error worker_file=d:\opt\tomcat\conf\workers.properties worker_mount_file=d:\opt\tomcat\conf\uriworkermap.properties

Destroyed sessions without timeout or logout

2011-07-20 Thread smarto
Hi, my SessionListener logs the creation and destruction of sessions. Recently and only sometimes it shows the destruction without any senseful reason: 0. Session timeout is set to 10 minutes. 1. The servlet doesn't call HttpSessions invalidate. 2. The logged inactivity interval is 10

Re: tomcat and comp jndi context

2011-07-20 Thread Pid
On 20/07/2011 13:09, Romain Manni-Bucau wrote: I'm in OpenEJB modifying a lifecycle listener. The current code is: ContextBindings.getClassLoader().lookup(comp); but it fails, i wonder if i can replace it by: standardContext.getNamingContextListener(); Perhaps this is an OpenEJB*

Re: tomcat and comp jndi context

2011-07-20 Thread Romain Manni-Bucau
The question is how to get the comp context in the after start event in tomcat...i did standContext.getNamingContextListener().getNamingContext().lookup(comp) and it seems to work. yes EJB...but it is simple (EJB 2, not 2) and standard... so it is not so bad :p - Romain 2011/7/20 Pid

thread name in extended access log valve

2011-07-20 Thread Anthony J. Biacco
I was using AccessLogValve in Tomcat 7 and am now starting to play with ExtendedAccessLogValve, but can't find an equivalent to AccessLogValve's %I identifier. Is there one? Thanks, -Tony --- Manager, IT Operations Format Dynamics, Inc. P: 303-228-7327 F: 303-228-7305

Re: Destroyed sessions without timeout or logout

2011-07-20 Thread Rainer Jung
On 20.07.2011 18:35, smarto wrote: Hi, my SessionListener logs the creation and destruction of sessions. Then add logging the code stack and you will get an idea, where the invalidate originated. Something like log.info(Session destryoes); changes to log.info(Session destroyed, new

Re: Servlet 3.0 Specific Error: Invalid byte tag in constant pool

2011-07-20 Thread Matthew Tyson
Adding that to the skip list definitely prevented that error, but I'm getting many jars with the same problem. I thought I could maybe get away with just skipping them all, but I'm starting to see some jars that have taglibs in them (and so need to be scanned). All these jars are giving the same

RE: Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-20 Thread Leo Donahue - PLANDEVX
___ From: Douglas McGregor [d...@douglasmcgregor.co.uk] Subject: Tomcat 7, isapi_redirect, IIS 7 - blank page Hi there, I'm getting really desperate with this - I've been at it for about a couple of months now and still no further forward. The strange thing

Re: Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-20 Thread André Warnier
Leo Donahue - PLANDEVX wrote: ... Don't you have to set and allow a web service extension in IIS for the Jakarta? But the OP says 'The /examples/ work perfectly', which seems to indicate that the requests are being passed to Tomcat. Unless of course IIS is bypassing Tomcat, which with this

RE: Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-20 Thread Leo Donahue - PLANDEVX
From: André Warnier [a...@ice-sa.com] Subject: Re: Tomcat 7, isapi_redirect, IIS 7 - blank page Leo Donahue - PLANDEVX wrote: ... Don't you have to set and allow a web service extension in IIS for the Jakarta? But the OP says 'The /examples/ work

Re: Servlet 3.0 Specific Error: Invalid byte tag in constant pool

2011-07-20 Thread Konstantin Kolinko
2011/7/20 Matthew Tyson matthewcarlty...@gmail.com: Adding that to the skip list definitely prevented that error, but I'm getting many jars with the same problem.  I thought I could maybe get away with just skipping them all, but I'm starting to see some jars that have taglibs in them (and so

Re: Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-20 Thread André Warnier
Leo Donahue - PLANDEVX wrote: From: André Warnier [a...@ice-sa.com] Subject: Re: Tomcat 7, isapi_redirect, IIS 7 - blank page Leo Donahue - PLANDEVX wrote: ... Don't you have to set and allow a web service extension in IIS for the Jakarta? But the OP

RE: Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-20 Thread Falzone.Matthew
Is there no installer for win 7 64bit? I just see the binaries. There is reference to it all over the docs, but no installer to be found. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Wednesday, July 20, 2011 1:26 PM To: Tomcat Users List Subject: Re: Tomcat 7,

Win7 64 bit installer

2011-07-20 Thread Falzone.Matthew
Is there no installer for win 7 64bit? I just see the binaries. There is reference to it all over the docs, but no installer to be found. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-20 Thread Mark Thomas
On 20/07/2011 21:28, Falzone.Matthew wrote: Is there no installer for win 7 64bit? I just see the binaries. There is reference to it all over the docs, but no installer to be found. Please don't hijack threads. Mark - To

Re: Win7 64 bit installer

2011-07-20 Thread Mark Thomas
On 20/07/2011 21:29, Falzone.Matthew wrote: Is there no installer for win 7 64bit? I just see the binaries. There is reference to it all over the docs, but no installer to be found. Again, please do not hijack threads. Mark

Re: Servlet 3.0 Specific Error: Invalid byte tag in constant pool

2011-07-20 Thread Matthew Tyson
java -version: java version 1.6.0_26 Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode) We just upgraded it from 1.6.0_22 to see if it would address this problem (it didn't). 1. Are you using Tomcat downloaded from tomcat.apache.org?

Re: Servlet 3.0 Specific Error: Invalid byte tag in constant pool

2011-07-20 Thread Mark Thomas
On 20/07/2011 21:37, Matthew Tyson wrote: java -version: java version 1.6.0_26 Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode) We just upgraded it from 1.6.0_22 to see if it would address this problem (it didn't). Are you sure

Re: [OT] Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 7/20/2011 4:25 AM, Mark Thomas wrote: You need to de-register the driver you registered. However, that won't be causing the leak since Tomcat already did the clean up for you. Time to get the profiler out. Quick question: I get these

Re: [OT] Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-20 Thread Mark Thomas
On 20/07/2011 21:46, Christopher Schultz wrote: Mark, On 7/20/2011 4:25 AM, Mark Thomas wrote: You need to de-register the driver you registered. However, that won't be causing the leak since Tomcat already did the clean up for you. Time to get the profiler out. Quick question: I get

RE: Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-20 Thread Falzone.Matthew
Didn't mean to, I sent it too soon so I started a new thread. Was there an issue with starting a new one? -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, July 20, 2011 1:31 PM To: Tomcat Users List Subject: Re: Tomcat 7, isapi_redirect, IIS 7 - blank

Re: Servlet 3.0 Specific Error: Invalid byte tag in constant pool

2011-07-20 Thread Konstantin Kolinko
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60 The above message is created by o.a.tomcat.util.bcel.classfile.Constant#readConstant(...). There is a switch() and default: label results in this exception being thrown. Expected values there are

Re: thread name in extended access log valve

2011-07-20 Thread Rainer Jung
On 20.07.2011 20:15, Anthony J. Biacco wrote: I was using AccessLogValve in Tomcat 7 and am now starting to play with ExtendedAccessLogValve, but can't find an equivalent to AccessLogValve's %I identifier. Is there one? No, patches welcome. I very recently added docs for this valve, which is

RE: thread name in extended access log valve

2011-07-20 Thread Anthony J. Biacco
No biggie. Wish I knew more java than hello world to help with a patch. Heck, I didn't even know about the extended valve until I read the 7.0.19 changelog and then docs. -Tony --- Manager, IT Operations Format Dynamics, Inc. P: 303-228-7327 F: 303-228-7305

Re: thread name in extended access log valve

2011-07-20 Thread Konstantin Kolinko
2011/7/21 Anthony J. Biacco abia...@formatdynamics.com: No biggie. Wish I knew more java than hello world to help with a patch. Heck, I didn't even know about the extended valve until I read the 7.0.19 changelog and then docs. Create an enhancement request in bugzilla. Maybe somebody will

ExtendedAccessLogValve, documentation

2011-07-20 Thread André Warnier
Hi. I just looked at this, and have the following questions/suggestions : 1) suffix The suffix added to the end of each log file's name. If not specified, the default value is . To specify no suffix, use a zero-length string. (or do not specify it, which is then the same, right ?)

Re: Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-20 Thread Markus Schönhaber
20.07.2011 23:02, Falzone.Matthew: Didn't mean to, I sent it too soon so I started a new thread. Was there an issue with starting a new one? Yes. The issue was: you didn't start a new thread. If you push the reply button of your mail client when viewing some message, it will create a reply

Re: Servlet 3.0 Specific Error: Invalid byte tag in constant pool

2011-07-20 Thread Matthew Tyson
Konstantin, I may have to give the debugger a try - thanks for the info. Matt On Wed, Jul 20, 2011 at 1:02 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60 The above message is created by