6.0.x Windows XP

2011-05-12 Thread Abhay Adgurwar
*Problem :- * Tomcat service stops automatically and gives the following errors in log files when try to start it *In Catalina File* org.apache.commons.digester.Digester startElement SEVERE: Begin event threw exception java.lang.ClassNotFoundException

AW: mod_jk Loadbalancer for 2 different tomcat Installations

2011-05-12 Thread Alexander Diedler
Hello, So in my worker.properties I would have a section for App1 with w1 and w2 # List the workers name worker.list= loadbalancer,jkstatus,loadbalancer2 worker.maintain=60 # # First worker # worker.worker1.port=8010 worker.worker1.host=server1 worker.worker1.typ

RE: VJDBC and tomcat5

2011-05-12 Thread Bill Miller
Both formats are perfectly valid, the only difference is how you're looking up the logger in your code. To use "log4j.logger.de.simplicit.vjdbc=DEBUG, A1", your code would be calling the lookup with "de.simplicit.vjdbc". To use "log4j.logger.vjdbc=DEBUG, A1", your code would be calling the looku

RE: Is there a method to submit a useful tidbit of knowledge?

2011-05-12 Thread Jason Pyeron
Well documented. http://wiki.apache.org/tomcat/FAQ/Linux_Unix IPv6 and the "-Djava.net.preferIPv4Stack=true" into JAVA_OPTS is a solution to a common problem, even outside of the Tomcat world. > -Original Message- > From: Bill Miller [mailto:millebi.subscripti...@gmail.com] > Sent: Thur

RE: Is there a method to submit a useful tidbit of knowledge?

2011-05-12 Thread Bill Miller
Thanks Chuck! Update now in FAQ under Linux/Unix. Bill -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: May 12, 2011 2:24 PM To: Tomcat Users List Subject: RE: Is there a method to submit a useful tidbit of knowledge? > From: Bill Miller [mailto:mil

Re: VJDBC and tomcat5

2011-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/12/2011 9:49 AM, André Warnier wrote: > Hi. > I am am no log4j or java guru, but > > Petr Hracek wrote: > ... > >> When I have inserted in log4j.properties file logging then in >> catalina.out is not mentioned any output. >> linux:/srv/w

RE: Is there a method to submit a useful tidbit of knowledge?

2011-05-12 Thread Caldarale, Charles R
> From: Bill Miller [mailto:millebi.subscripti...@gmail.com] > Subject: Is there a method to submit a useful tidbit of knowledge? > Is there a Wiki/FAQ submission method where I could submit > the problem and the solution? It's all DIY: http://wiki.apache.org/tomcat/FAQ Just register and have

Is there a method to submit a useful tidbit of knowledge?

2011-05-12 Thread Bill Miller
Hi everyone, I have just finally diagnosed a problem that initially looks like a Tomcat problem but turns out to the an OS misconfiguration. The problem is that doing a Google search comes up with a lot of fixes that imply it is a Tomcat problem but it actually isn't it just uses the same error te

Re: Possible Servlet 3.0 AsyncContext bug in Tomcat 7.0.x

2011-05-12 Thread Dan Checkoway
Ah, excellent. Glad to know I wasn't on crack. :-) Thanks for the quick reply! Dan On Thu, May 12, 2011 at 12:51 PM, Mark Thomas wrote: > On 12/05/2011 17:33, Dan Checkoway wrote: > > Hello, > > > > I recently started working with Servlet 3.0 async stuff with Tomcat > 7.0.12, > > and I bumpe

Re: Possible Servlet 3.0 AsyncContext bug in Tomcat 7.0.x

2011-05-12 Thread Mark Thomas
On 12/05/2011 17:33, Dan Checkoway wrote: > Hello, > > I recently started working with Servlet 3.0 async stuff with Tomcat 7.0.12, > and I bumped into what may be a serious bug. Or it may be that I'm just > doing something dumb. :-) > > For some reason, response.sendRedirect and response.sendEr

Possible Servlet 3.0 AsyncContext bug in Tomcat 7.0.x

2011-05-12 Thread dcheckoway
Hello, I apologize if this is a duplicate post. I recently started working with Servlet 3.0 async stuff with Tomcat 7.0.12, and I bumped into what may be a serious bug. Or it may be that I'm just doing something dumb. :-) For some reason, response.sendRedirect and response.sendError are not p

Possible Servlet 3.0 AsyncContext bug in Tomcat 7.0.x

2011-05-12 Thread Dan Checkoway
Hello, I recently started working with Servlet 3.0 async stuff with Tomcat 7.0.12, and I bumped into what may be a serious bug. Or it may be that I'm just doing something dumb. :-) For some reason, response.sendRedirect and response.sendError are not producing expected behavior when using an As

Re: VJDBC and tomcat5

2011-05-12 Thread André Warnier
Hi. I am am no log4j or java guru, but Petr Hracek wrote: ... When I have inserted in log4j.properties file logging then in catalina.out is not mentioned any output. linux:/srv/www/tomcat5/base/webapps/vjdbc/WEB-INF # cat /usr/share/tomcat5/common/classes/log4j.properties log4j.logger.de.simpli

VJDBC and tomcat5

2011-05-12 Thread Petr Hracek
Hello gyus, I would like to ask you if you have any experiances with vjdbc(http://vjdbc.sourceforge.net/)? I am trying to configurate them together with old tomcat 5 (tomcat5-5.5.27) but without any success? Servlet is stored in /srv/www/tomcat5/base/webapps/vjdbc directory. web.xml file is (unde

RE: Problem with tomcat welcome page

2011-05-12 Thread Caldarale, Charles R
> From: C0mf0rtably Numb [mailto:08.kus...@gmail.com] > Subject: Problem with tomcat welcome page > I was trying to run tomcat 6.0.32 and after copying the > tomcat files to the directory What files? What directory? Exactly what did you do to install and start Tomcat? Vague descriptions can

Re: Problem with tomcat welcome page

2011-05-12 Thread David Smith
Given this is a reoccurring error: > java.lang.NoSuchMethodError: > javax.servlet.ServletContext.getContextPath()Ljava/lang/String Looks like you are missing possibly the servlet-api jar file or it's in the wrong place. Fix this error and things should work better. BTW ... where did you place t

Problem with tomcat welcome page

2011-05-12 Thread C0mf0rtably Numb
Hello everyone, I was trying to run tomcat 6.0.32 and after copying the tomcat files to the directory I tried to go to the welcome page localhost:8080 in mozilla firefox but it shows a blank page. I tried making an html page and then went to localhost:8080/test.html but that is also blank. Please

Multiple context paths for single deployment

2011-05-12 Thread JanAa
Hi, I want to have more than one context path for a single deployment in Tomcat 5.5.28. Whatever I do I seem to get multiple deployments. In server.xml I have: In conf/Catalina/localhost I have two .xml files ("primary.xml" and "alternative.xml") both containing: In /opt/tomcat/multiap