Failure to start tomcat

2007-11-02 Thread Gaurav Agarwal
Dear All, I have installed Tomcat (using vinstall) on a NTT/Verio FreeBSD server and am unable to start it. I checked out various mod_jk.log and found these errors. Any idea what is wrong with this? I have searched the internet like mad but couldn't find anything wrong with the settings.

RE: What do I do with a heap dump? (OOM Permgen)

2007-11-02 Thread Peter Crowther
From: Greg Vilardi [mailto:[EMAIL PROTECTED] How do I figure out what is in that 440kb per deployment? What should I be looking for? As far as I know, public enemy #1 for eating PermGen space is still developers using the Singleton pattern in their code and not having listeners to null out

Re: [tomcat]How to decrypt the DIGEST authentication?

2007-11-02 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- Zhong, havnt been following this, so shoot my

Re: Failure to start tomcat

2007-11-02 Thread Vinu Varghese
Did you start Tomcat prior to Httpd ?, Just see catalina.out in logs folder of Tomcat installation Gaurav Agarwal wrote: Nothing has been recorded in tomcat's log for this duration -Original Message- From: Vinu Varghese [mailto:[EMAIL PROTECTED] Sent: Friday, November 02, 2007 5:38

RE: Failure to start tomcat

2007-11-02 Thread Gaurav Agarwal
Shouldn't that start automatically? Oh, so the main issue is that my tomcat is not starting at all. Seems that the installation did not ensure that tomcat starts at bootup. Thanks. -Original Message- From: Vinu Varghese [mailto:[EMAIL PROTECTED] Sent: Friday, November 02, 2007 5:45 PM

Re: Failure to start tomcat

2007-11-02 Thread Vinu Varghese
Hi, What does the tomcat log say ? Gaurav Agarwal wrote: Dear All, I have installed Tomcat (using vinstall) on a NTT/Verio FreeBSD server and am unable to start it. I checked out various mod_jk.log and found these errors. Any idea what is wrong with this? I have searched the internet

Re: mod_jk - answers from appsrv often changes 'content-type' from text/xml to text/plain

2007-11-02 Thread Rainer Jung
Hi, there is a known problem in the AJP connector related to flush actions done by the webapp before the response headers were sent. The problem was fixed by patches on both sides. Fpr mod_jk we ignore flushes if they come too early. This code is already in our subversion code repository and

RE: What do I do with a heap dump? (OOM Permgen)

2007-11-02 Thread Caldarale, Charles R
From: Peter Crowther [mailto:[EMAIL PROTECTED] Subject: RE: What do I do with a heap dump? (OOM Permgen) As far as I know, public enemy #1 for eating PermGen space is still developers using the Singleton pattern in their code and not having listeners to null out the singleton instance

RE: Tomcat connections not closing.

2007-11-02 Thread Roark, Mike
Hi Martin, We are using version control. That isn't really the issue. The problem is too much data, not too little. -Mike -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007 9:24 AM To: Tomcat Users List Subject:

Re: Has anyone managed to run TC from a CD?

2007-11-02 Thread Rainer Jung
Thanks for the correction! That happens when there is not enough time for thinking ... Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, Rainer Jung wrote: ... and set readonly=false for the tomcat-users.xml in server.xml. Otherwise it'll try to write after

Re: Has anyone managed to run TC from a CD?

2007-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, Rainer Jung wrote: ... and set readonly=false for the tomcat-users.xml in server.xml. Otherwise it'll try to write after read the file. Er... true? I would think that readonly=false would /cause/ the file to be re-written. - -chris

Re: mod_jk - answers from appsrv often changes 'content-type' from text/xml to text/plain

2007-11-02 Thread Rainer Jung
OK, this looks like you really are having the flush before headers problem. I guess, by Strange you don't mean your status 500. That's something I didn't go into. I only checked the headers and where they come from. In your case it seems the correct headers get received after the flush. So

set juli logging directory?

2007-11-02 Thread Igor Vlasov
Hello I have working logging enviroment. For one of my logger i have 1karakas.org.apache.juli.FileHandler.directory = ${catalina.base}/logs and it writes to tomcat logs directory. The problem is that i want to write log to the subdirectory of my web application. for example: . .. web

Re: mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Rainer Jung
Not a known problem. You can increase log level via JkLogLevel debug. There should be a line containing service or Service, which includes the URI) we send forward to Tomcat. The log will also show you, if any of your JkMount directives match, i.e. if mod_jk thinks it should forward, or it

RE: Failure to start tomcat

2007-11-02 Thread Gaurav Agarwal
Nothing has been recorded in tomcat's log for this duration -Original Message- From: Vinu Varghese [mailto:[EMAIL PROTECTED] Sent: Friday, November 02, 2007 5:38 PM To: Tomcat Users List Subject: Re: Failure to start tomcat Hi, What does the tomcat log say ? Gaurav Agarwal wrote:

mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Nicolas Clemeur
Hello all, I have apache 2.2 in front of tomcat 6.0.13 and I use mod_jk (1.2.25) as the connector. It seems that whenever a form containing a question mark at the end of the form action parameter is posted, mod_jk is dying silently (but recover) (The resulting url is something like that

Re: What do I do with a heap dump? (OOM Permgen)

2007-11-02 Thread Diego Rodríguez Martín
Hi, I found a memory leak in commons pool version 1.3 that is affecting tomcat 6.0.x as it is the commons pool library embedded in it. I tried a workaround using a factory with commons 1.2, but it also showed a memory leak.

RE: What do I do with a heap dump? (OOM Permgen)

2007-11-02 Thread Greg Vilardi
On 2 Nov 2007 at 7:24, Caldarale, Charles R wrote: From: Peter Crowther [mailto:[EMAIL PROTECTED] Subject: RE: What do I do with a heap dump? (OOM Permgen) As far as I know, public enemy #1 for eating PermGen space is still developers using the Singleton pattern in their code and

Re: What do I do with a heap dump? (OOM Permgen)

2007-11-02 Thread Greg Vilardi
On 1 Nov 2007 at 18:32, Gabe Wong wrote: Greg Vilardi wrote: Hello everyone. My team and I are trying to develop a new web application and the tomcat JVM is crashing every few days. We are deploying our separate versions of the application several times per hour, and by looking at

mod_jk - answers from appsrv often changes 'content-type' from text/xml to text/plain

2007-11-02 Thread MUDA(David Murko)
Dear all, We have a strange problem with mod_jk on my linux box (centos45 - 64bit). We use mod_jk 1.2.25 with apache 2.0.52 (default config) and on my clients I got an error msg like this: System.InvalidOperationException: Client found response content type of 'text/plain; charset=UTF-8', but

Re: CLASSPATH, .jar files, packages, and so forth

2007-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan, (Not sure if this ever got sent; I found it in my drafts folder today) Mann, Ivan H wrote: Not being able to find the class may mean that it can't find the jar file and it may mean that it can find the jar file but the package and or

Re: Has anyone managed to run TC from a CD?

2007-11-02 Thread Rainer Jung
Caldarale, Charles R schrieb: From: Albretch Mueller [mailto:[EMAIL PROTECTED] Subject: Has anyone managed to run TC from a CD? The relatively minor thing I stumble on was changing the scratchdir setting for the work folder to be out of the CD directory branch, which, I think, would only

Re: Paths containing %2F instead of /

2007-11-02 Thread Rainer Jung
Very partial answer: for the apache part see http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes By default apache httpd does not allow those requests, and denies them even before passing over to mod_jk. If allowed, it doesn't decode them. If you enable them in Apache and want to

Paths containing %2F instead of /

2007-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, One of the unit tests is failing in the securityfilter project which uses Tomcat (5.5) and httpunit for the tests themselves. Basically, a test written a lng time ago seems to be failing after the fix for a bug which involves decoding of

Re: Paths containing %2F instead of /

2007-11-02 Thread Rainer Jung
For the Tomcat part: Christopher Schultz schrieb: All, One of the unit tests is failing in the securityfilter project which uses Tomcat (5.5) and httpunit for the tests themselves. Basically, a test written a lng time ago seems to be failing after the fix for a bug which involves

session-timeout in web.xml does not work

2007-11-02 Thread Jignesh Shah
Hi, For my application in the webapps under the WEB-INF directory I have a web.xml where I set the property session-timeout to say 10 (so 10 minutes) , but I can still use the same page after 15 minutes of inactivity. Do I have to do something special on the jsp to invalidate the session ?

Re: session-timeout in web.xml does not work

2007-11-02 Thread Hassan Schroeder
On Nov 2, 2007 12:08 PM, Jignesh Shah [EMAIL PROTECTED] wrote: For my application in the webapps under the WEB-INF directory I have a web.xml where I set the property session-timeout to say 10 (so 10 minutes) , but I can still use the same page after 15 minutes of inactivity. What do you

Re: session-timeout in web.xml does not work

2007-11-02 Thread Jignesh Shah
I was not clear, by use the page , I meant I could still click on the buttons on the jsp and they work fine. The problem is those buttons use beans that have session validity. thanks, Jignesh --- Hassan Schroeder [EMAIL PROTECTED] wrote: On Nov 2, 2007 12:08 PM, Jignesh Shah [EMAIL

Re: session-timeout in web.xml does not work

2007-11-02 Thread Hassan Schroeder
On Nov 2, 2007 12:37 PM, Jignesh Shah [EMAIL PROTECTED] wrote: I was not clear, by use the page , I meant I could still click on the buttons on the jsp and they work fine. The problem is those buttons use beans that have session validity. And you're saying the prior values are still in

Re: session-timeout in web.xml does not work

2007-11-02 Thread Hassan Schroeder
On Nov 2, 2007 12:46 PM, Hassan Schroeder [EMAIL PROTECTED] wrote: If so, I'd add a ServletContextListener to log begin/end of sessions to see what's going on. Actually, I'd stop trying to multitask /quite/ so much on a Friday :-) and implement HttpSessionListener and/or

Problems with a web application running a PHP script

2007-11-02 Thread Rocco Scappatura
Hello, I'm trying to run a PHP script under my web application for tomcat, developed wiwith Netbeans 551. Under Netbeans it works. But wen deploy it under Tomcat 5.5.25 I get this error when I try to access at a PHP page: INFO: Marking servlet JSR223Script as unavailable 2-nov-2007 22.56.36

Tomcat Static Content

2007-11-02 Thread Tony Anecito
Hi All, Is there any good references on how to use Tomcat as a web server? I currently use Tomcat behind an apache server and thinking removing the Apache server but I do not know if Tomcat would make a good web server. I use PHP with Apache and need to be able to continue to use that and a some

Re: Tomcat Static Content

2007-11-02 Thread Pid
Tony Anecito wrote: Hi All, Is there any good references on how to use Tomcat as a web server? I currently use Tomcat behind an apache server and thinking removing the Apache server but I do not know if Tomcat would make a good web server. I use PHP with Apache and need to be able to

Re: Tomcat Static Content

2007-11-02 Thread Tony Anecito
Thanks P. I am using TC 6.0.14 java 1.6.0_02 and Windows Prof 2000. I had heard that php support was not easy to setup so thanks for the confirmation. Regards, -T --- Pid [EMAIL PROTECTED] wrote: Tony Anecito wrote: Hi All, Is there any good references on how to use Tomcat as a web

ClientAbortException writing file to servlet's output stream over SSL in IE

2007-11-02 Thread Jake C
This is in JBOSS 4.0.5-GA. I would guess that it is using Tomcat 5.5 from the log line [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/ This downloads a binary file. I know that the client is not closing the browser. It works just fine over HTTP. It works

Re: mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Nicolas Clemeur
Thank you Rainer for taking the time to answer. My comments are below. Not a known problem. You can increase log level via JkLogLevel debug. There should be a line containing service or Service, which includes the URI) we send forward to Tomcat. The log will also show you, if any of

Re: mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Nicolas Clemeur
I forgot to mention that the request is sent over https. The https is handled by apache httpd. I am not sure If this has an impact as it would be difficult for me to test it under http. Cheers Nicolas - To start a new topic,

Re: ClientAbortException writing file to servlet's output stream over SSL in IE

2007-11-02 Thread Martin Gainty
Please display /conf/catalina.policy SocketPermission for your SocketConnection e.g. // grant codeBase file:${catalina.home}/webapps/examples/- { // permission java.net.SocketPermission *.noaa.gov:80, connect; // }; M-- - Original Message - From: Jake C [EMAIL PROTECTED] To:

Re: mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Rainer Jung
Your test JSP works fine for me with Apache httpd 2.2.6 and mod_jk 1.2.25 on Solaris. Since your jk log file ends very early in the request processing, the tomcat version should not matter (I used 5.5). I would guess, that something with your build is broken. It would also help, if we could see

Re: mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Nicolas Clemeur
Your test JSP works fine for me with Apache httpd 2.2.6 and mod_jk 1.2.25 on Solaris. Since your jk log file ends very early in the request processing, the tomcat version should not matter (I used 5.5). I would guess, that something with your build is broken. It would also help, if we

Using tomcat as proxy server

2007-11-02 Thread Meryl Silverburgh
HI, Can you please tell me where can i find documentation for setting up Tomcat as a proxy server? And how can I return a local file in http response if the url ends with '.mp3'? Thank you. - To start a new topic, e-mail: