Re: TomCat -Catalina.out : Application failing with java.net.SocketException

2008-01-07 Thread David Delbecq
It's probably a timeout between the front end http server (apache?) and the back end tomcat installation, related to mod_jk. IThe java application takes too long to start generating an answer and the http server (apache?) considers there is a problem and closes connection. What you see in

Re: fifo queue

2008-01-07 Thread Marco Caldirola
Hi, I'm trying to do a performance test and I must generate a fifo queue in order to verify my resource allocation policies.I have implement ed the synchronized method and set maxThread=1 in server.xml file. It seems it is working. Could you please send me reference on command object?Thanks a

java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread Thomas Chang
Hi all, I just download and install the Tomcat 5.5.23. As I try to deploy my web application (a war file), I got exceptions as follow. Someone knows why? ** 07.01.2008 11:02:33 org.apache.catalina.loader.WebappLoader start SCHWERWIEGEND: LifecycleException

Re: fifo queue

2008-01-07 Thread Mikolaj Rydzewski
Marco Caldirola wrote: Hi, I'm trying to do a performance test and I must generate a fifo queue in order to verify my resource allocation policies.I have implement ed the synchronized method and set maxThread=1 in server.xml file. It seems it is working. Could you please send me reference on

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread David Delbecq
Your download is most probably corrupted, redownload the file from server, and extract it to a fresh new folder. This kind of error can happen when one of the tomcat jar file is either corrupted or just missing. En l'instant précis du 07/01/08 11:21, Thomas Chang s'exprimait en ces termes:

Re: mod_jk Busyness algorithm and Node Health Check

2008-01-07 Thread Mohan2005
Hello Rainer; Thanks. So if I have it right, sorry if I keep repeating whats been stated already, all the load-balancer algorithms are not really checking node health as in JVM Memory usage, CPU usage or Threads used at any given time (which I believe is a feature in a future mod_jk ? ), Only

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread David Delbecq
common/lib is not the good place to put your war's required jar files (like spring.jar). You war's required jar should go to WEB-INF/lib http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html En l'instant précis du 07/01/08 11:54, Thomas Chang s'exprimait en ces termes: I download

java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest

2008-01-07 Thread Christian Aschoff
Hi, i have a webapplication developed with NetBeans 5.5. Everything is fine. But when i recompile it with NetBeans 6.01, i get a 2008-01-07 10:13:51,244 ERROR [http-8084-2] (RetrobibAction.java:89) - Exception in Action java.lang.NoSuchMethodError:

Re: java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest

2008-01-07 Thread David Delbecq
Check you don't have 2 versions of commons fileupload. Also, provide a more complete stacktrace to get meaningful answers :) En l'instant précis du 07/01/08 12:09, Christian Aschoff s'exprimait en ces termes: Hi, i have a webapplication developed with NetBeans 5.5. Everything is fine. But

Re: java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest

2008-01-07 Thread Christian Aschoff
Hm, i think the complete stack-trace does not help further, but anyway: java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest (Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List; at

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread Thomas Chang
This jar (spring.jar) is already in the WEB-INF/lib. common/lib is not the good place to put your war's required jar files (like spring.jar). You war's required jar should go to WEB-INF/lib http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html En

Re: mod_jk Busyness algorithm and Node Health Check

2008-01-07 Thread Rainer Jung
Mohan2005 wrote: Hello Rainer; Thanks. So if I have it right, sorry if I keep repeating whats been stated already, all the load-balancer algorithms are not really checking node health as in JVM Memory usage, CPU usage or Threads used at any given time (which I believe is a feature in a future

Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

2008-01-07 Thread Thomas Chang
Hi all, As I try to deploy my WAR in the office I got exception as follow. Somebody knows why? I do the same deployment at home and it runs well. Could be a problem of fire wall of my company? Regards Thomas *** SCHWERWIEGEND: Exception sending

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread David Smith
Bad move. Each jar should only exist once. If it's in tomcat's common/lib, it can't exist in your webapp's WEB-INF/lib and vice-versa. I suspect this is more a spring question than a tomcat question as spring does some interesting things with the classloader. The class in question in

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread Filip Hanik - Dev Lists
as the previous user mentioned, if you copy libraries to different places, and sometimes to multiple places, you're going down a path that will be hard to debug. start fresh, don't place libraries inside tomcat, unless you know what you're doing, and only use WEB-INF/lib Filip Thomas Chang

Tomcat as Service -- Working Directory is system32

2008-01-07 Thread grailcattt
When I run Tomcat as a service, the working directory becomes c:\windows\system32. I'm using Grails and it tries to load application.properties and other files such as images from this path. My current workaround is to copy all these files into system32 (i.e. images have to go in

How to stop WSDL modification

2008-01-07 Thread Gardiner, Mike
Hi, I tried looking for a solution to this but couldn't find anyone actually complaining about this behaviour. I'm using Tomcat 6 with Axis2. My WSDL defines messages like this: wsdl:message name=listUsersMessage wsdl:part name=listUsers element=xmc:listUsers/ /wsdl:message

RE: Tomcat as Service -- Working Directory is system32

2008-01-07 Thread Caldarale, Charles R
From: grailcattt [mailto:[EMAIL PROTECTED] Subject: Tomcat as Service -- Working Directory is system32 Is there a way to set a working directory for Tomcat? It's under the Startup tab for tomcat6w.exe or tomcat5w.exe. Is there a way to specify in Grails where to look for files? Wrong

Re: Tomcat 5.5.20+ behind an F5 Load Balancer doing SSL Connector problem

2008-01-07 Thread Peter Rossbach
Hi, use a quot at AccessLogValve pattern to a muliple value field. quot;%{X-Forwarded-For}iquot; %l %u %t quot;%rquot; %s %b Look the following definition: http://en.wikipedia.org/wiki/X- Forwarded-For First value is the client ip. Peter Am 05.01.2008 um 22:19 schrieb Rainer Jung: Hi

Please help : StackOverFlow error

2008-01-07 Thread Benoit VARVENNE
Hello, I'm running a quite memory-expansive algorithm under Tomcat and I then got the following error message : Exception in thread Thread-8 java.lang.StackOverflowError The expansive algorithm is a recursive one. What is done is : - (1) launch a servlet, retrieves user's parameters for

RE: Please help : StackOverFlow error

2008-01-07 Thread Peter Crowther
From: Benoit VARVENNE [mailto:[EMAIL PROTECTED] Exception in thread Thread-8 java.lang.StackOverflowError The expansive algorithm is a recursive one. I now always have StackOverFlow exceptions. I have already tried to customize JVM memory options with the following line in my .profile

Re: TomCat -Catalina.out : Application failing with java.net.SocketException

2008-01-07 Thread micro_learner
David Delbecq-2 wrote: It's probably a timeout between the front end http server (apache?) and the back end tomcat installation, related to mod_jk. IThe java application takes too long to start generating an answer and the http server (apache?) considers there is a problem and closes

Re: Please help : StackOverFlow error

2008-01-07 Thread Benoit VARVENNE
Hi Peter, Thanks a lot. '-Xss' option works great. Is there a way of determining what are reasonable values for the stack size (maybe according to the potential number of threads, ...) ? In fact I am not really used to such configurations... Thanks again Cheers, Benoit Le 7/01/08 16:33, « Peter

RE: Please help : StackOverFlow error

2008-01-07 Thread Peter Crowther
From: Benoit VARVENNE [mailto:[EMAIL PROTECTED] Is there a way of determining what are reasonable values for the stack size (maybe according to the potential number of threads, ...) ? Profile the app. And, for you in particular, know how deep the recursion will go and hence how large one

RE: Tomcat + HttpClient + SSL + tcnative-1.dll issues?

2008-01-07 Thread Jim Brikman (ybrikman)
Good find Mark! It definitely does sound like the issue you linked. We'll try building the code ourselves and see if it takes care of the issue. Thanks, Jim -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 5:39 PM To: Tomcat Users List

RE: How to stop WSDL modification

2008-01-07 Thread Gennady Shumakher
Use parameter name=useOriginalwsdltrue/parameter in your service.xml (web service descriptor). Otherwise axis2 generates wsdl out of runtime java classes. Gennady. -Original Message- From: Gardiner, Mike [mailto:[EMAIL PROTECTED] Sent: Monday, January 07, 2008 17:06 To:

Re: AccessControlException in Coyote Http11Processor (Tomcat 6.0.14). Bug in Coyote ?

2008-01-07 Thread Delian Krustev
On Thu, 27 Dec 2007 16:04:29 +0200 Delian Krustev wrote: I'll monitor the container for the next several restarts. The problem appeared once again on the next tomcat restart. Any other ideas ? - To start a new topic, e-mail:

One of my boxes, the cluster is not working anymore

2008-01-07 Thread Randy Paries
Hello, I need some help. I rolled out a new version of my web app last night Stopped and started tomcat and now one of my boxes (they all have the same webapp) will not attach(if that is the correct term) to the cluster. I am doing session sharing between three tomcat servers. I did not change

comet questions

2008-01-07 Thread Peter Warren
I have some comet questions. I'm using the tomcat 6.0.x trunk as of last Friday. 1) My comet event timeout setting being honored. How come? I set the timeout for 3 hours but a timeout event gets generated every 2 minutes. If I inspect the comet event for which the timeout is triggered, I see

Re: One of my boxes, the cluster is not working anymore

2008-01-07 Thread Filip Hanik - Dev Lists
org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions INFO: Manager []: skipping state transfer. No members active in cluster group. this indicates that the box not working, is not receiving multicast messages from the other nodes. you'd need to look into the multicasting

Re: One of my boxes, the cluster is not working anymore

2008-01-07 Thread Randy Paries
On Jan 7, 2008 1:55 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions INFO: Manager []: skipping state transfer. No members active in cluster group. this indicates that the box not working, is not receiving multicast

Database connectivity problem

2008-01-07 Thread Sergey Livanov
Please help figure out a connection pool error. My application ( tomcat, spring, ibatis ) works well in the configuration SQL 2000 + ms server 2000. When I transfer the application ( war ) to a win 2003 server I get an error ( error creating connection pool e.t.c. ) (I think ms server 2003 needs

Re: comet questions

2008-01-07 Thread Filip Hanik - Dev Lists
what connector are you using? I would try to use response.flushBuffer when you wanna flush it out (ie after you've written to and flushed your stream). also, there have been some bug fixes, that you can get from SVN, or wait for 6.0.16 to come out Filip Peter Warren wrote: I have some

Re: One of my boxes, the cluster is not working anymore

2008-01-07 Thread Filip Hanik - Dev Lists
easiest way to see your packets fly by, is to use wireshark and just sniff UDP packets Filip Randy Paries wrote: On Jan 7, 2008 1:55 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions INFO: Manager []: skipping state

Re: AccessControlException in Coyote Http11Processor (Tomcat 6.0.14). Bug in Coyote ?

2008-01-07 Thread Mark Thomas
Delian Krustev wrote: On Thu, 27 Dec 2007 16:04:29 +0200 Delian Krustev wrote: I'll monitor the container for the next several restarts. The problem appeared once again on the next tomcat restart. Any other ideas ? Not right now. Could you provide the full debug stack trace again please.

Re: comet questions

2008-01-07 Thread Peter Warren
Using the NIO connector: protocol=org.apache.coyote.http11.Http11NioProtocol. I'll add response.flushBuffer() and see if that helps. The tomcat version I was testing against was current with svn as of last Friday. I just updated and the only files that are new are: catalina.policy STATUS.txt

Embedded tomcat 5.5.17 and WAR file

2008-01-07 Thread sush0000
Hi All, I am trying to embedded tomcat5.5.17 in my java application. I want Tomcat to unpack *.WAR file Tomcat starts fine but http://localhost:8080/ keeps saying HTTP status 404. I am not sure if it could unpack given WAR file. Could anyone guide me here. Also how to see the log file.

tomcat5.5, balancer

2008-01-07 Thread Julio Cesar Leiva
Hi all We have this setup 1 web server apache 2.2.0 2 tomcat servers tomcat 5.5.20 mod_jk 1.2.25 This is our workers.properties workers.java_home=/usr/lib64/jvm/java worker.list=cbnbalancer,jkstatus # Set properties for worker1 (ajp13) worker.worker1.type=ajp13

Re: tomcat5.5, balancer

2008-01-07 Thread Gabe Wong
Julio Cesar Leiva wrote: Hi all We have this setup 1 web server apache 2.2.0 2 tomcat servers tomcat 5.5.20 mod_jk 1.2.25 This is our workers.properties workers.java_home=/usr/lib64/jvm/java worker.list=cbnbalancer,jkstatus # Set properties for worker1 (ajp13) worker.worker1.type=ajp13

Re: tomcat5.5, balancer

2008-01-07 Thread Rainer Jung
Julio Cesar Leiva schrieb: Hi all We have this setup 1 web server apache 2.2.0 I hope it's not 2.2.0 but something more recent (e.g. 2.2.4 or 2.2.6) 2 tomcat servers tomcat 5.5.20 mod_jk 1.2.25 This is our workers.properties Remove the next line, it's useless.

Re: comet questions

2008-01-07 Thread Filip Hanik - Dev Lists
The time when it is called without a subtype, is if the application(servlet) has an unhandled exception in terms of timeout, that should work just dandy, unless the client disconnects, at which point at which point you might get a subtype of IOEXCEPTION, or CLIENT_DISCONNECT depending on the

DataSource question

2008-01-07 Thread Eqbal
I have defined my jndi DataSource for connecting to the database under the conf/context.xml file. I would like to understand what it means in terms of availability of the datasource to each of the web apps and the thing I am confused about is what is the maximum number of connections available? Is

having trouble with client authentication

2008-01-07 Thread Anna Nhan
Hi, I am trying to get client authentication to work with my server. I have basically followed the Tomcat 6.0-SSL-How-TO, except I changed clientAuth=false to client=true. When I have clientAuth=true, I can't access my webapp at all. The server doesn't even request the client for a certificate.

Re: TomCat -Catalina.out : Application failing with java.net.SocketException

2008-01-07 Thread micro_learner
These are the configurations that I have , Does this help in any way ..thank you. Below is the Files that Have something related to j2k ,tomcat and Apache Server.xml Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=9009 minProcessors=5 maxProcessors=75

How Do I do (Can I do) Apache like redirects in Tomcat

2008-01-07 Thread Rob Tanner
Hi, I would like to setup an HTTPS connector in Tomcat (v 5.5.23) that listens on port 28080. That part's easy enough and there is already a certificate installed. Here's the part I'm having trouble with. Whenever a browser send a GET request to that port, I need to return a redirect to

Re: How Do I do (Can I do) Apache like redirects in Tomcat

2008-01-07 Thread Vinu Varghese
Implement a filter/Servlet and do a redirect there response.sendRedirect(..); Rob Tanner wrote: Hi, I would like to setup an HTTPS connector in Tomcat (v 5.5.23) that listens on port 28080. That part's easy enough and there is already a certificate installed. Here's the part I'm having

Tomcat consumes much memory when web.xml size grows

2008-01-07 Thread unnikrishnans
I have one war file having size 140MB and has been deployed in tomcat 5 and runs smothly. This war contains files from 20 different modules. So i planned to split war in to multiple jar file in the following manner. one main.war file contains common classes,images,stylesheets,common jsp files