Re: Tomcat SSL, Windows 2003 and Windows-My Provider

2008-02-12 Thread Luis Villa
Hello all, I've been looking what the problem could be in the sources, and I've found that the only keystore other than a file that tomcat supports is PKCS11. So, I've modified org.apache.tomcat.util.net.jsse.JSSESocketFactory and it works! It is a simple modification. Now, I'd like to share it,

How to store mod_jk warnings into a file?

2008-02-12 Thread Zsolt Koppany
Hi, I start tomcat with nohup and get lot of mod_jk warnings in nohup.out. What do I have to do to redirect mod_jk related warnings into a separate file? I use tomcat-5.5.25. Zsolt WARNING: Error sending end packet java.net.SocketException: Broken pipe at

Tomcat Cluster

2008-02-12 Thread Andrew Hole
Hello guys! I've the following configuration on server.xml for two different instances of tomcat (on the same server). BUT, i don't know why, session replication doesn't work. Could you help me to find why? Thanks Instance 1: Cluster className=

Sporadic Errors in catalina log

2008-02-12 Thread Steven
When I restart tomcat, I get a large number of these errors in my catalina output log: Feb 12, 2008 12:26:41 PM org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the request processing java.lang.ArrayIndexOutOfBoundsException: 0

Will be any problem if I set minSpareThreads=0 maxSpareThreads=0

2008-02-12 Thread Vitaly Baranovsky 2
Hi! I have application developed not by me. This application adds new data to http threads at each requests. So, periodically there is memory overload, because threads are not destroyed after each request because of thread pool. So, workaround for me is turn off thread pool, I think. So, as far

RE: Sporadic Errors in catalina log

2008-02-12 Thread Caldarale, Charles R
From: Steven [mailto:[EMAIL PROTECTED] Subject: Re: Sporadic Errors in catalina log When you say empty URI, you mean after the root address? because its getting to my tomcat server so it must at least have that. Not necessarily; what curl puts in the payload may or may not include the URL

Null Pointer In java.lang.Package.isSealed because of Thread Saftey Issue with Webapp Classloader

2008-02-12 Thread Edward Costello
Morning, With tomcat 5.5.20 I've been getting NullPointer Exceptions out of java.lang.Package.isSealed when multiple threads hit a web-app as it's starting up. Basically the stack trace looks like the below. I believe that what's triggering the error in this case is an RMI thread loading the

Re: Tomcat Cluster

2008-02-12 Thread Andrew Hole
Hi! I have both tomcat instances on the same machine, and tcpListenPort are different on both server.xml: instance 1 setuped with 9016 and instance 2 with 9017. When I stop one of tomcats, the other is notified properly with the following message: 12-Feb-2008 11:19:57

Re: Sporadic Errors in catalina log

2008-02-12 Thread Steven
When you say empty URI, you mean after the root address? because its getting to my tomcat server so it must at least have that. On Feb 12, 2008 2:17 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Steven [mailto:[EMAIL PROTECTED] Subject: Re: Sporadic Errors in catalina log

RE: Sporadic Errors in catalina log

2008-02-12 Thread Caldarale, Charles R
From: Steven [mailto:[EMAIL PROTECTED] Subject: Re: Sporadic Errors in catalina log java.lang.ArrayIndexOutOfBoundsException: 0 at org.apache.catalina.connector.CoyoteAdapter.normalize( CoyoteAdapter.java:533) You're sending in an invalid URI - one of zero length. Admittedly,

Re: Sporadic Errors in catalina log

2008-02-12 Thread Steven
Sorry I copy for an out of date log file, here is the most recent one running with 5.5.25: Feb 12, 2008 1:27:49 PM org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the request processing java.lang.ArrayIndexOutOfBoundsException: 0

RE: How to store mod_jk warnings into a file?

2008-02-12 Thread Zsolt Koppany
Aleksandar, I also have: JkLogFile /var/log/mod_jk.log But these are other messages. Zsolt -Original Message- From: Aleksandar Matijaca [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 7:38 PM To: Tomcat Users List Subject: Re: How to store mod_jk warnings into a

Re: Will be any problem if I set minSpareThreads=0 maxSpareThreads=0

2008-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vitaly, Vitaly Baranovsky 2 wrote: | I have application developed not by me. This application adds new data to | http threads at each requests. So, periodically there is memory overload, | because threads are not destroyed after each request because

RE: Sporadic Errors in catalina log

2008-02-12 Thread Caldarale, Charles R
From: Steven [mailto:[EMAIL PROTECTED] Subject: Sporadic Errors in catalina log When I restart tomcat, I get a large number of these errors in my catalina output log: Are you sure you're running 5.5.25? None of the line numbers in the stack trace match up with the source code for that

Re: Sporadic Errors in catalina log

2008-02-12 Thread Steven
Sorry for the incomplete information. jdk 1.5.0 tomcat v5.5.25 -Steven On Feb 12, 2008 1:03 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Steven [mailto:[EMAIL PROTECTED] Subject: Sporadic Errors in catalina log When I restart tomcat, I get a large number of these errors in

RE: Sporadic Errors in catalina log

2008-02-12 Thread Caldarale, Charles R
From: Steven [mailto:[EMAIL PROTECTED] Subject: Sporadic Errors in catalina log When I restart tomcat, I get a large number of these errors in my catalina output log: Don't suppose you'd care to tell us what version of Tomcat you're using? And what JRE/JDK you're running it under? -

Re: Tomcat Cluster

2008-02-12 Thread David Brown
Dumb question: is everything supposed to be defined on the same IP (loopback?) and port? Andrew Hole wrote .. Hello guys! I've the following configuration on server.xml for two different instances of tomcat (on the same server). BUT, i don't know why, session replication doesn't work.

Re: rotating catalina.out using log4j

2008-02-12 Thread Amir Fadaghi
David, Thank you very much for your help with log4j David Delbecq [EMAIL PROTECTED] 2/12/2008 2:53:40 AM catalina.out is just the sink for System.out and System.err, it's not managed by logging facilities. It's not even seen by jvm, as the redirection is done in the startup script (using the

Re: Tomcat SSL, Windows 2003 and Windows-My Provider

2008-02-12 Thread Mark Thomas
Luis Villa wrote: Hello all, I've been looking what the problem could be in the sources, and I've found that the only keystore other than a file that tomcat supports is PKCS11. So, I've modified org.apache.tomcat.util.net.jsse.JSSESocketFactory and it works! It is a simple modification. Now,

Re: How to store mod_jk warnings into a file?

2008-02-12 Thread Aleksandar Matijaca
I don't know if this is what you are looking for, but for my Apache (which uses mod_jk) in the config file I have this line: JkLogFile /var/log/jklog.log a.m. On Feb 12, 2008 1:09 PM, Zsolt Koppany [EMAIL PROTECTED] wrote: Hi, I start tomcat with nohup and get lot of mod_jk warnings in

Re: Will be any problem if I set minSpareThreads=0 maxSpareThreads=0

2008-02-12 Thread Vitaly Baranovsky 2
Yes, data is added to ThreadLocal with every request. I can't modify this application. Does anybody knows, how to turn off thread pool? I want threads are created before each requests and destroyed after each request. I thought minSpareThreads=0 maxSpareThreads=0 can do this... Christopher

RE: Notification for Tomcat Service failures

2008-02-12 Thread Peter Crowther
From: Deepak Philip N. [mailto:[EMAIL PROTECTED] I have Tomcat 5.0 installed. I have two nodes Node1 and Node2 running as services. I need the system to send me a mail when ever any node fails. Please let me know how this can be done. As fails is generally application-dependent, you will

Manager undeploy task only stops webapp

2008-02-12 Thread Diego Rodríguez Martín
Hi, I'm using manager in Tomcat 6.0.16 throught ant task (1.6.5) to undeploy webapps. I have copied the new catalina-ant.jar in ANT_HOME/lib directory. The problem is that now the application is stopped instead of undeployed though the output message is undeployed app at context

Notification for Tomcat Service failures

2008-02-12 Thread Deepak Philip N .
Hi I have Tomcat 5.0 installed. I have two nodes Node1 and Node2 running as services. I need the system to send me a mail when ever any node fails. Please let me know how this can be done. Any help with step by step details would be very helpful. Thanking you Deepak Philip

RE: RES: Tomcat6 classloader problem

2008-02-12 Thread Caldarale, Charles R
From: David Delbecq [mailto:[EMAIL PROTECTED] Subject: Re: RES: Tomcat6 classloader problem From http://tomcat.apache.org/tomcat-6.0-doc/logging.html : Tomcat 6.0 uses Commons Logging http://commons.apache.org/logging throughout its internal code allowing the developer to choose a

RE: Incorrect cookie value in tomcat5.5.26

2008-02-12 Thread Sushil Vegad
Thanks a lot, that fixed it Thanks, Sushil Vegad Technical Lead, Scheduling Project Serebrum Corporation - translating strategy into results Work: 609.777.3563 Cell: 732.216.4908 Email: [EMAIL PROTECTED] Conference Dial-in: 1-218-486-1300, Bridge: 427526 -Original Message- From:

Re: How to avoid session fixation?

2008-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, david delbecq wrote: | I would more be thinking about applications that plays with | sessionlistener and maintain list of active session (to track number of | users / who is logged in, etc). Like ip-session id matching, a change | id on the

Re: RES: Tomcat6 classloader problem

2008-02-12 Thread David Delbecq
From http://tomcat.apache.org/tomcat-6.0-doc/logging.html : Tomcat 6.0 uses Commons Logging http://commons.apache.org/logging throughout its internal code allowing the developer to choose a logging configuration that suits their needs, Could it be this class is exposed to webapps? En

RES: RES: Tomcat6 classloader problem

2008-02-12 Thread Rogerio Baldini das Neves
Then, the solution is putting the commons-logging jar in tomcat lib directory, right ? Could it cause some collateral effects in apps which has commons-logging jar inside WEB-INF/lib ? Rogerio Baldini jCompany Suite - Product Owner +55 (31) 3555-0050 [EMAIL PROTECTED] Powerlogic S.A.

RES: Tomcat6 classloader problem

2008-02-12 Thread Rogerio Baldini das Neves
Hi David, In truth ,I have a library in tomcat lib directory to communicate both applications. Using the resource: Resource name=jcpbatch/plugin-server type=com.powerlogic.jcpbatch.pluginservice.JBatchPluginService

SSL SetAllPropertiesRule warning and error

2008-02-12 Thread José Renato
Hi All, I installed Tomcat 6.0.16 and I am getting some warnings and errors configurating SSL connector: 12/02/2008 10:22:11 org.apache.catalina.startup.SetAllPropertiesRule begin WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'keystoreFile' to '/Documents and

Re: Tomcat6 classloader problem

2008-02-12 Thread David Delbecq
Root of your problem is that: You have more than one version of 'org.apache.commons.logging.Log' visible You say app1 access app2 which access back app1. Webapps in a container should not be able to see each other's classes. Can you tell us which method you used to have those 2 webapps see

Tomcat6 classloader problem

2008-02-12 Thread Rogerio Baldini das Neves
Hi, I am passing through this problem nowadays in Tomcat6: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not

Re: Tomcat Cluster

2008-02-12 Thread David Rees
On Feb 12, 2008 10:59 AM, Andrew Hole [EMAIL PROTECTED] wrote: I've the following configuration on server.xml for two different instances of tomcat (on the same server). BUT, i don't know why, session replication doesn't work. Could you help me to find why? Have you tried starting with a