Re: Where does my stderr go?

2010-12-21 Thread Thomas Kloeber
André Warnier wrote on 21.12.2010 21:50: And if, in the tomcat6w.exe gui, you navigate to the "Java" tab, what are the options mentioned there for the JVM ? (There might be a "-D" there which redirects the JVM stderr) (which is really the stderr you are looking for here). following are the setti

Re: Monitoring tomcat6 as a windows service with jvisualvm

2010-12-21 Thread Johan Cwiklinski
Hello, Le 16/12/2010 08:34, Johan Cwiklinski a écrit : > Hello, > > I'm trying to monitor a Tomcat6 (6.0.29) instance which is running as a > service une der windows (2003 server) using Oracle's JDK 1.6.0_21. > > In tomcat service, under java tab, I've added the following: > -Dcom.sun.management

Re: How to put restrictions to mod_jk's log

2010-12-21 Thread Yu Kikuchi
Mr.Schultz, Mr.Jung Thank you for your advices. I also think it's not good idea to make JkLogLevel ERROR. I'll consider to use rotatelogs. BTW, I think it's reasonable for apache to send requests of "OPTIONS * HTTP/1.0" to kill child processes. But it isn't quite convincing that mod_jk makes t

Re: IS that a good idea moving all the common libs?

2010-12-21 Thread Caldarale, Charles R
On Dec 21, 2010, at 18:50, "George Sexton" mailto:geor...@mhsoftware.com>> wrote: Anyhow, would the suggestion change if you were running 300+ web applications? The more webapps, the more important it is to keep them independent - so the suggestion would become more like an imperative. - Chuc

Re: Where does my stderr go?

2010-12-21 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/21/2010 3:50 PM, André Warnier wrote: And if, in the tomcat6w.exe gui, you navigate to the "Java" tab, what are the options mentioned there for the JVM ? (There might be a "-D" there which redirects the JVM s

Re: tomcat 7.0.4 on MAC my app works on Windows get...

2010-12-21 Thread Michael Ludwig
Joe Greenawalt schrieb am 21.12.2010 um 17:40 (-0500): > interestingly its not Not what? (Lack of clarity and precision so typical of top-posting …) > and when i add it to windows it works What do you mean "when I add it"? Weren't you saying that it worked on Windows even though there is no Velo

RE: IS that a good idea moving all the common libs?

2010-12-21 Thread George Sexton
> -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Monday, December 20, 2010 1:08 PM > To: Tomcat Users List > Subject: Re: IS that a good idea moving all the common libs? > > On Dec 20, 2010, at 12:16, "Luca Gervasi" wrote: > > > I'm trying to

Re: tomcat 7.0.4 on MAC my app works on Windows get...

2010-12-21 Thread Joe Greenawalt
interestingly its not, and when i add it to windows it works (with some other things like velosity tools), but i still don't have it on my mac or in the app and it runs there. So i have a workaround, but still don't understand how. Guess i'll add it to the pom. Thanks for the input and help. O

Re: http-tomcat - AJP ilink receive failed - 500/503 errors

2010-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shantanu, On 12/21/2010 11:11 AM, Shantanu Pavgi wrote: > I had tried AJP PING/PONG options which worked for a while, but not > consistently. Seems like a better solution would be to work with > network folks regarding firewall config. It's always go

Re: Where does my stderr go?

2010-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/21/2010 3:50 PM, André Warnier wrote: > And if, in the tomcat6w.exe gui, you navigate to the "Java" tab, what > are the options mentioned there for the JVM ? > (There might be a "-D" there which redirects the JVM stderr) (which is > reall

Re: tomcat 7.0.4 on MAC my app works on Windows get...

2010-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, On 12/21/2010 3:43 PM, Michael Ludwig wrote: > Joe Greenawalt schrieb am 21.12.2010 um 15:22 (-0500): >> Good points, i'll start searching for them. Anyone have a OS X jar >> inspector recommendation? 'jarinspector' itself doesn't work on 10.6.

Re: Where does my stderr go?

2010-12-21 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 12/21/2010 2:43 AM, Thomas Kloeber wrote: I'm not sure if Tomcat's service wrapper will fail silently or angrily if files cannot be created. If I were you, I'd specify an exact filename, including full path, fo

Re: tomcat 7.0.4 on MAC my app works on Windows get...

2010-12-21 Thread Michael Ludwig
Joe Greenawalt schrieb am 21.12.2010 um 15:22 (-0500): > Good points, i'll start searching for them. Anyone have a OS X jar > inspector recommendation? 'jarinspector' itself doesn't work on 10.6. Searching? For starters, you should check the following: dir "%TOMCAT_HOME%"\lib type "%TOMCAT_HOM

Re: tomcat 7.0.4 on MAC my app works on Windows get...

2010-12-21 Thread Joe Greenawalt
Good points, i'll start searching for them. Anyone have a OS X jar inspector recommendation? 'jarinspector' itself doesn't work on 10.6. Thanks for the feedback. Joe On Tue, Dec 21, 2010 at 3:18 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE

Re: tomcat 7.0.4 on MAC my app works on Windows get...

2010-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Micheal, On 12/21/2010 2:22 PM, Michael Ludwig wrote: > Joe Greenawalt schrieb am 21.12.2010 um 13:26 (-0500): >> Well since its the exact same war file placed in the exact same >> version of tomcat, the main variable being the OS (mac/windows) > > N

Re: Where does my stderr go?

2010-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 12/21/2010 2:43 AM, Thomas Kloeber wrote: >> I'm not sure if Tomcat's service wrapper will fail silently or angrily >> if files cannot be created. If I were you, I'd specify an exact >> filename, including full path, for the "Redirect Stdou

Re: How to put restrictions to mod_jk's log

2010-12-21 Thread Rainer Jung
On 21.12.2010 20:56, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kikuchi, On 12/20/2010 10:26 PM, Yu Kikuchi wrote: My Environment: Apache 2.2.11 mod_jk 1.2.30 When my system is highly-loaded, the messeges are printed in mod_jk.log. [mod_jk.log] [Tue Dec 21

Re: Does mod_dosevasive work in this situation?

2010-12-21 Thread Rainer Jung
On 21.12.2010 14:10, AngeloChen wrote: Hi, I have tomcat running behind apache http server using mod_proxy, I'd like to stop some DOS attacks, and thinking of installing http://www.zdziarski.com/blog/?page_id=442 mod_evasive , is this effective considering all the traffic is being proxied to tom

Re: How to put restrictions to mod_jk's log

2010-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kikuchi, On 12/20/2010 10:26 PM, Yu Kikuchi wrote: > My Environment: > Apache 2.2.11 > mod_jk 1.2.30 > > When my system is highly-loaded, the messeges are printed in mod_jk.log. > > [mod_jk.log] > [Tue Dec 21 11:31:25.958 2010] [4744:3086915888]

Re: tomcat 7.0.4 on MAC my app works on Windows get...

2010-12-21 Thread Michael Ludwig
Joe Greenawalt schrieb am 21.12.2010 um 13:26 (-0500): > Well since its the exact same war file placed in the exact same > version of tomcat, the main variable being the OS (mac/windows) Not necessarily. The Tomcats might well be configured differently. What's the contents of the %Tomcat_Home%\lib

Re: tomcat 7.0.4 on MAC my app works on Windows get...

2010-12-21 Thread Joe Greenawalt
Well since its the exact same war file placed in the exact same version of tomcat, the main variable being the OS (mac/windows) my thinking is that the class does exist, but its getting loaded differently or something else is causing the problem but this log error is getting reported. If it will h

Re: tomcat 7.0.4 on MAC my app works on Windows get...

2010-12-21 Thread Konstantin Kolinko
2010/12/21 Joe Greenawalt : > Here is the lib Folder of the deployed app: > activation-1.1.jar > (...) > slf4j-log4j12-1.5.2.jar > and which one of the jars listed above belongs to Velocity? >> java.lang.NoClassDefFoundError: Lorg/apache/velocity/app/VelocityEngine; -

Re: APR and async request

2010-12-21 Thread Mark Thomas
On 21/12/2010 15:09, spr...@gmx.eu wrote: > I mean the new servlet 3.0 capabilities: > > startAsync() and the resulting AsyncContext: > > request.startAsync() > AsyncContext#getResponse() > > sample: > > HttpServletResponse res = (HttpServletResponse)ac.getResponse(); > res.setStatus(200); > re

Re: tomcat 7.0.4 on MAC my app works on Windows get...

2010-12-21 Thread Michael Ludwig
Joe Greenawalt schrieb am 21.12.2010 um 12:04 (-0500): > tomcat 7.0.4 on MAC my app works on Windows get... > > SEVERE: Exception starting filter struts2 > java.lang.NoClassDefFoundError: Lorg/apache/velocity/app/VelocityEngine; > > i have removed all other applications from the webapps and have

RE: Webapp undeploy failure

2010-12-21 Thread McGibbney, Lewis John
Hi Thank you both for info. I didn't put the app into server.xml so I don't know how it got there but the problem is solved now. Thanks Lewis -Original Message- From: Michael Ludwig [mailto:mil...@gmx.de] Sent: 21 December 2010 00:11 To: users@tomcat.apache.org Subject: Re: Webapp unde

tomcat 7.0.4 on MAC my app works on Windows get...

2010-12-21 Thread Joe Greenawalt
tomcat 7.0.4 on MAC my app works on Windows get... SEVERE: Exception starting filter struts2 java.lang.NoClassDefFoundError: Lorg/apache/velocity/app/VelocityEngine; i have removed all other applications from the webapps and have restarted the box. Application is built with maven, and i used the

Re: http-tomcat - AJP ilink receive failed - 500/503 errors

2010-12-21 Thread Shantanu Pavgi
Thanks for the tips Chris. I had tried AJP PING/PONG options which worked for a while, but not consistently. Seems like a better solution would be to work with network folks regarding firewall config. Just want to mention a nice Perl script that I found during debugging: http://www.perlmonk

RE: java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader

2010-12-21 Thread spring
> ImageIO pins the classloader it first uses. So if that's a > WebappClassloader & you subsequently reload the app you'll have a > memory leak & the potential for class cast exceptions. As I said, nobody reloads the app (at least I cannot see this in the logs). It just happens after a while. > Th

Re: java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader

2010-12-21 Thread Pid *
On 21 Dec 2010, at 15:20, "spr...@gmx.eu" wrote: > Hi, > > running under W2K3, tomcat 6.0.26 and java 1.6_22 I get after a while: > > java.lang.ClassCastException: > com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to > com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader >

java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader

2010-12-21 Thread spring
Hi, running under W2K3, tomcat 6.0.26 and java 1.6_22 I get after a while: java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader at: Iterator it = ImageIO.getImageReadersByFormatName("TIF");

RE: APR and async request

2010-12-21 Thread spring
I mean the new servlet 3.0 capabilities: startAsync() and the resulting AsyncContext: request.startAsync() AsyncContext#getResponse() sample: HttpServletResponse res = (HttpServletResponse)ac.getResponse(); res.setStatus(200); res.setHeader("X-Foo", "bar"); res.setContentType("application/xml")

Re: Re: Occasional (!) error "(404) Not Found" with Apache Axis 1.4 web service after update to Tomcat 6.0.29

2010-12-21 Thread Felix Dierich
Hi Konstantin, thank you for your quick reply! Am 20:59, schrieb Konstantin Kolinko: 2010/12/20 Felix Dierich: I have a very strange issue, which only occured after an update from Tomcat 6.0.26 to 6.0.29. I have a number applications doing alltogether ~50-100 SOAP calls per minute to an Apache

Does mod_dosevasive work in this situation?

2010-12-21 Thread AngeloChen
Hi, I have tomcat running behind apache http server using mod_proxy, I'd like to stop some DOS attacks, and thinking of installing http://www.zdziarski.com/blog/?page_id=442 mod_evasive , is this effective considering all the traffic is being proxied to tomcat ? Thanks, Angelo -- View this mess

Re: APR and async request

2010-12-21 Thread Mark Thomas
On 21/12/2010 13:07, spr...@gmx.eu wrote: > OK; I've got it... > > when I change the Connector from HTTP/1.1 to > org.apache.coyote.http11.Http11NioProtocol is works. > Sounds a bit logical (Non-Blocking and async) but can someone please > explain? You'll need to explain what you mean by async re

RE: APR and async request

2010-12-21 Thread spring
OK; I've got it... when I change the Connector from HTTP/1.1 to org.apache.coyote.http11.Http11NioProtocol is works. Sounds a bit logical (Non-Blocking and async) but can someone please explain? Thank you > when I disable APR by removing the tcnative-1.dll or by removing the APR > listener from

Re: tomcat 5.5.20

2010-12-21 Thread Mark Thomas
On 21/12/2010 09:12, vikas.sha...@polaris.co.in wrote: > Dear Michael, > > My system is in production now.. thats why i was looking for a sure shot > version. That info is in the bug report and the change log. Mark - To unsubsc

Re: tomcat 5.5.20

2010-12-21 Thread vikas . sharma
Dear Michael, My system is in production now.. thats why i was looking for a sure shot version. Michael Ludwig

Re: tomcat 5.5.20

2010-12-21 Thread Michael Ludwig
vikas.sha...@polaris.co.in schrieb am 21.12.2010 um 10:34 (+0530): > Can you please tell me in which version this problem was fixed, so > that i can upgarde the version of my tomcat to avoid this problem Why don't you simply upgrade to the latest version of your line? -- Michael Ludwig ---

Re: isapi_redirector.dll Problems - Bad Gateway?

2010-12-21 Thread Michael Ludwig
amythyst schrieb am 20.12.2010 um 10:17 (-0800): > > The default website in IIS (version 6) is up and the ISAPI filter is > "loaded" with the green light. However, when we go to the website > we're getting a "Bad Gateway" error and the ISAPI logs say this: > > [Thu Dec 16 11:20:10.559 2010] [15