Re: Setting CATALINA_BASE failed with tomcat-6.0.18

2008-08-07 Thread Rainer Jung
Zemian Deng wrote: am I sure? I think it is. Well, I gave explicit 4 little instructions to repeat exactly what I found. I read your post and by simply touch/create a empty file under $CATALINA_BASE/conf/logging.properties and that indeed fixed the problem and server starts up fine. Thank's

Regarding Service Unavailable

2008-08-07 Thread welcome.partha
i run my web application after started my apache-tomcat server,it displayed service unavailable.If i refreshed it its run successfully.Actually sometimes its working initially ,sometimes i give refresh then only its run successfully. Please help me.. Thanks in advance P.Parthasarathi -- View

Re: Regarding Service Unavailable

2008-08-07 Thread Ch Praveena
Hi, You have to wait until the application is loaded to the tomcat container and the server has to respond. But, when did u get this 503 error? is it soon after ur startup? if so, jus check the command console page to read the status of the tomcat container/server is completely loaded

Status Web Application

2008-08-07 Thread Kaushal Shriyan
Hi I am running tomcat-5.0.27-r6/sun-jdk-1.5.0.10/Gentoo. when i look at the Status Web Application (http://example.com:8080/manager/status) I see lots of this page StageTimeB SentB RecvClientVHost S678731459 ms0 KB0 KB10.10.1.6host12 is there a way to

Re: Regarding Service Unavailable

2008-08-07 Thread Johnny Kewl
- Original Message - From: welcome.partha [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, August 07, 2008 9:47 AM Subject: Regarding Service Unavailable i run my web application after started my apache-tomcat server,it displayed service unavailable.If i refreshed it

How to set up logging level to debug in tomcat

2008-08-07 Thread Thangavel Sankaranarayanan
At present logging level is 'info'. How do i set up tomcat to write logs in debug level. Regards, Thangavel Sankaranarayanan _ Web and Cust Care – Vodafone ANZ IBM India Pvt Ltd, Block D3, Manyata Embassy Business Park, Outer Ring Road, Rachenahalli,

RE: Regarding Service Unavailable

2008-08-07 Thread Martin Gainty
Partha which TC you are implementing? Also how you are starting your TC service which will look something like $TOMCAT_HOME/bin/tomcat5.exe //TS//Tomcat5 http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html check the tomcat logs for any exceptions in $TOMCAT_HOME/logs HTH Martin

Re: How to programmatically add parameters to ServletRequest objects?

2008-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, Jonathan Mast wrote: | | This is really the only way to do it. The other option is to create a | | new request object and stuff your own parameters into it (or, better | | yet, wrap the original request and add your parameters only to the

Re: Would like to monitor memory use offline

2008-08-07 Thread Philip Wigg
Hi, the manager application can return values in XML. You just need to hit:- http://localhost:8080/manager/status?XML=true or wherever it's located. This makes it a bit easier to write shell scripts based on Free Heap or Max Threads or whatever. I've got a perl script which checks whatever

RE: Cool SSL/TLS Deployment Trick! How Does It Work?

2008-08-07 Thread Patrick Markiewicz
Hi Warren, It is my understanding that all tomcat does with a WAR file is unjar it. I.e. whatever is in the war becomes extracted into a particular location. Tomcat does not edit any of the files that come from the WAR file, it just reads those files for servlet mappings (web.xml) and

Re: Cool SSL/TLS Deployment Trick! How Does It Work?

2008-08-07 Thread Warren Killian
Hi Patrick, Thank you very much for the response. I was so perplexed (and ignorant) about how this worked, that I stayed up to all hours of the morning with my Tomcat book reading, researching and experimenting on my home system to figure out how this particular deployment practice actually

Weird stack trace when reloading a webapp

2008-08-07 Thread Olivier Lamy
Hi, I use the ant deploy target : deploy url=${url} username=${tomcat.user} password=${tomcat.password} path=/{webPath} localWar=${warPath} update=true config=${contextPath} / But in catalina.out, I have the following stack trace : INFO: Deploying web application archive

Re: Tomcat cluster (NullPointer when replicating session)

2008-08-07 Thread Filip Hanik - Dev Lists
In Tomcat 6, use DeltaManager or BackupManager Filip Lia wrote: Hi everybody, ... ... I am using - Tomcat 6.0.18 ( but I’ve also tested the same scenario with Tomcat 6.0.16 and Tomcat 6.0.14 and I got the same problem); - in cluster ( two machines); - on Debian x64, 4.0. When using

RE: How to set up logging level to debug in tomcat

2008-08-07 Thread Narasimha Prasad Subraveti
You have to modify your log4j propertiesyou can modify the root logger or even have a log4j.properties in your webapps/application/WEB-INF/classes/ directory and use log4j specific to your application. Check this link out http://tomcat.apache.org/tomcat-5.5-doc/logging.html

tomcat and naming-common.jar problem.

2008-08-07 Thread Ivan Gonzalez
Hello everyone! I have my server using tomcat 6.0.16 and apache 2.2.3 on CentOS 5.1 When i try to display the content of my page the only thing i get is a blank page but when i delete naming-common.jar and restart the tomcat service it works great (display all the content of my page). Does

Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I've checked everything I can think of. Today, my dev instance of Tomcat started acting funny, saying: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet ~at java.lang.ClassLoader.defineClass1(Native Method) ~at

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Oh, yeah: there's no SecurityManager to worry about, either. Thanks, - -chris Christopher Schultz wrote: | All, | | I've checked everything I can think of. Today, my dev instance of Tomcat | started acting funny, saying: |

Problem with POST to servlet: 16384 bytes maximum?

2008-08-07 Thread Michele Fuortes
Hi, I have a problem with POSTing an XML file to a servlet which writes the XML to disk. If the XML file is less than 16384 bytes all goes well. If it's bigger the first 16384 bytes are written correctly, the rest all all 00s. The lenght of the file is the correct one as in the

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-07 Thread John . C . Cartwright
I've had similar problems in various versions of tomcat. Currently the problem seems to exist in 6.0.16 but not in 6.0.14 nor 5.5.17. There was a bug filed, but I don't have the reference handy. --john - Original Message - From: Michele Fuortes [EMAIL PROTECTED] Date: Thursday, August

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread David Smith
So to boil this down a bit, it doesn't work with your webapp, but suddenly comes to life if you remove your webapp and install LambdaProbe? That's bizaar. Is there another package javax.servlet.http that might be messing up the classloaders? Anything in any of the classes directories?

Re: Tomcat 6 Cluster Woes

2008-08-07 Thread Zachariah Zachariah
Thanks Filip. I found that changing the Host name to localhost from the actual node names made it to work properly. So in my case z2 and z3 were the actual node names that the OS (Solaris) knew them to be. I changed Engine and Host elements of the server.xml in these nodes to point to

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Smith wrote: | So to boil this down a bit, it doesn't work with your webapp, but | suddenly comes to life if you remove your webapp and install | LambdaProbe? Exactly. | That's bizarre. Yeah, it sure is. Since I originally

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Hassan Schroeder
On Thu, Aug 7, 2008 at 12:18 PM, Christopher Schultz [EMAIL PROTECTED] wrote: I'm going to start looking at the Velocity and Velocity-Tools JARs to see if they might have been corrupted or something. They are stored in CVS in our project, and cvs doesn't say anything, but since I'm grasping

Re: Weird stack trace when reloading a webapp

2008-08-07 Thread Johnny Kewl
- Original Message - From: Olivier Lamy [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, August 07, 2008 5:17 PM Subject: Weird stack trace when reloading a webapp Hi, I use the ant deploy target : deploy url=${url} username=${tomcat.user} password=${tomcat.password}

Re: Weird stack trace when reloading a webapp

2008-08-07 Thread Johnny Kewl
- Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, August 07, 2008 9:45 PM Subject: Re: Weird stack trace when reloading a webapp - Original Message - From: Olivier Lamy [EMAIL PROTECTED] To:

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-07 Thread Rainer Jung
[EMAIL PROTECTED] schrieb: I've had similar problems in various versions of tomcat. Currently the problem seems to exist in 6.0.16 but not in 6.0.14 nor 5.5.17. There was a bug filed, but I don't have the reference handy. That was 44494. But 44494 has an 8KB limit and also it's very

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Hassan Schroeder
On Thu, Aug 7, 2008 at 1:09 PM, Christopher Schultz [EMAIL PROTECTED] wrote: Yeah, I did that and everything looks good. CVS will only destroy a binary file if you forget to disable keyword expansion (been there!). Ah, that could have been the case -- I hadn't set it up, and wasn't all that

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Johnny Kewl
- Original Message - From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, August 07, 2008 7:45 PM Subject: Sudden missing javax/servlet/http/HttpServlet ? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I've checked

Re: Weird stack trace when reloading a webapp

2008-08-07 Thread Olivier Lamy
Hi, Thanks for your reponse but undeploy/redeploy don't save me same issue :-(. -- Olivier 2008/8/7 Johnny Kewl [EMAIL PROTECTED]: - Original Message - From: Olivier Lamy [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, August 07, 2008 5:17 PM Subject: Weird stack trace

Re: [SOLVED] Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Thanks for your patience with my stupidity. I try not to do it publicly very often ;) I found the culprit: multiple instances of a class were defined in my webapp. You'll never guess why. A clean checkout from cvs revealed that my webapp was

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, Johnny Kewl wrote: | Chris, your webapps probably still work out side the dev environment | I think all thats happening is your IDE is not loading the commons lib... No IDE involved: real men use emacs ;) Okay, maybe vi. The

Re: Weird stack trace when reloading a webapp

2008-08-07 Thread Johnny Kewl
- Original Message - From: Olivier Lamy [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, August 07, 2008 11:21 PM Subject: Re: Weird stack trace when reloading a webapp Hi, Thanks for your reponse but undeploy/redeploy don't save me same issue :-(.

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Johnny Kewl
- Original Message - From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, August 07, 2008 11:40 PM Subject: Re: Sudden missing javax/servlet/http/HttpServlet ? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, Johnny Kewl

Re: Would like to monitor memory use offline

2008-08-07 Thread Richard S. Huntrods
Well, thanks to Lamda probe and then to jmap, I have found my memory leak. Here are the gory details in case anyone is interested. It's not really a Tomcat issue, but rather the boundary between Tomcat and MySQL: I have a memory leak in my application, and jmap shows me that all my objects of

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, Johnny Kewl wrote: | | - Original Message - From: Christopher Schultz | [EMAIL PROTECTED] | To: Tomcat Users List users@tomcat.apache.org | Sent: Thursday, August 07, 2008 11:40 PM | Subject: Re: Sudden missing

Re: Would like to monitor memory use offline

2008-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard, Richard S. Huntrods wrote: | In my code I was calling resultSet.close(), but not statement.close(). That'll do it. | The problem is, even though I verified (debug statements) that the call | is being made, the memory is STILL not being

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Hassan Schroeder
On Thu, Aug 7, 2008 at 5:23 PM, Christopher Schultz [EMAIL PROTECTED] wrote: | Ha ha... I didnt look at who was asking the question... guru's... always | want to build the freezer, just to get a cold beer ;) I kept trying to come up with a funny you should see what I do what I want to