RE: Problem to deploy my webbapps

2008-04-18 Thread Caldarale, Charles R
> From: Dorababu [mailto:[EMAIL PROTECTED] > Subject: Re: Problem to deploy my webbapps > > I think you developed your web application with jdk5 and now > you are tried to run that application with jdk6. You have it backwards. Also, Fabien posted that the problem was resolved over 14 hours ago

Re: Problem to deploy my webbapps

2008-04-18 Thread Dorababu
Hi Fabien, I think you developed your web application with jdk5 and now you are tried to run that application with jdk6. So that you got below error. java.lang.UnsupportedClassVersionError: Bad version number in .class file Beter to develope your web application again with jdk6 and tried to d

Custom Request Subclass

2008-04-18 Thread Zach Cox
I'm using Tomcat 6.0.14 and I need to override the Request.configureSessionCookie method to call setDomain on the Cookie (so the session cookie can be shared across subdomains). Is there any way to tell Tomcat to instantiate & use my Request subclass instead of Request itself? Thanks, Zach -

Bending Jasper to My Will

2008-04-18 Thread Andy Clark
I have been going through the Jasper source code to figure out how to make it do what I want but have been unsuccessful. So I thought I would ask the experts. (Please let me know if there is a better forum for this particular question.) I want Jasper to look for JSP and Tag files in a specific lo

RE: Large HTML file not getting compressed despite compressionenabled

2008-04-18 Thread Caldarale, Charles R
> From: Alex Epshteyn [mailto:[EMAIL PROTECTED] > Subject: Re: Large HTML file not getting compressed despite > compressionenabled > > org.apache.coyote.http11.Http11AprProcessor:1504: > response.getContentLengthLong() returns 4, > instead of the true file size, making it appear > lower

Re: Large HTML file not getting compressed despite compression enabled

2008-04-18 Thread Alex Epshteyn
Okay, here's the bug: org.apache.coyote.http11.Http11AprProcessor:1504: response.getContentLengthLong() returns 4, instead of the true file size, making it appear lower than the minimum compression threshold. Alex Epshteyn wrote: > > Turned out it was the file size. If I arbitrarily t

Custom Valve

2008-04-18 Thread Zach Cox
I'm using Tomcat 6.0.14 and need to write a custom Valve to control the Domain property of the JSESSIONID cookie (so it will be reused on any subdomain) but I can't find any documentation on how to go about creating a custom Valve. Could someone please let me know if this is accurate? - extend t

RE: tomcat embedded

2008-04-18 Thread Caldarale, Charles R
> From: Steffen Heil [mailto:[EMAIL PROTECTED] > Subject: RE: tomcat embedded > > Is there really no documentation for tomcat embedded nor > anyone who uses it? If you're using Tomcat embedded, it's up to you to read and parse any configuration information you might have, and call the appropria

RE: tomcat embedded

2008-04-18 Thread Steffen Heil
Hi Sorry to ask again, but this is a common feature that I cannot find any documentation for... Is there really no documentation for tomcat embedded nor anyone who uses it? Regards, Steffen > -Original Message- > From: Steffen Heil [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 1

Re: Are there issues with running multiple instances of tomcat?

2008-04-18 Thread Gabe Wong
David Brown wrote: We are currently running two instances of tomcat on our systems. One is for a vendor specific application and the other is for in-house written applications. We are careful to make sure the ports do not conflict and there are plenty of resources to support both; memory and CPU.

Re: How to detect the database for JDBC Realm is down

2008-04-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan, Please give someone a change to answer the question before you re-post. 24 hours is an absolute minimum. - -chris Ivan Cheung wrote: | Hi, | | I am building a web app and have setup digest authentication | | I am testing the app when I take t

How to detect the database for JDBC Realm is down

2008-04-18 Thread Ivan Cheung
Hi, I am building a web app and have setup digest authentication I am testing the app when I take the database that contains the username password down The tomcat log file show this (http-8443-Processor25) org.apache.catalina.core.ContainerBase.[Catalina]: Exception performing authentication {

Re: Problem to deploy my webbapps

2008-04-18 Thread Fabien D.
I have removed the older jdk, and it's worked. I have another question, where i can find the script for the init.d??? Thank you -- View this message in context: http://www.nabble.com/Problem-to-deploy-my-webbapps-tp16763460p16763502.html Sent from the Tomcat - User mailing list archive at Nabb

RE: NotSerializableException: StandardSessionFacade

2008-04-18 Thread Caldarale, Charles R
> From: MassimoH [mailto:[EMAIL PROTECTED] > Subject: RE: NotSerializableException: StandardSessionFacade > > The exception says that the class that can't be serialized is > StandardSessionFacade, which is an internal Tomcat class. That class was never intended to be serializable. Looks like y

RE: NotSerializableException: StandardSessionFacade

2008-04-18 Thread MassimoH
The exception says that the class that can't be serialized is StandardSessionFacade, which is an internal Tomcat class. That's what's confusing me. If it was a class in my code, I would know what to hunt for. Deleting work folder causes problem to go away. However, it will come back. Thanks for

RE: Problem to deploy my webbapps

2008-04-18 Thread Peter Crowther
> From: Fabien D. [mailto:[EMAIL PROTECTED] [...] > java.lang.UnsupportedClassVersionError: Bad version number in > .class file [...] > But my i'm trying to run with jdk 6 update 6 classes compiled > with jdk 6 update 4. Are you *absolutely certain* you're not running Tomcat with an older JDK, suc

Problem to deploy my webbapps

2008-04-18 Thread Fabien D.
Hi, I'm developing a web application with wicket framework, under tomcat 6.0.16 and jdk 6 update 4. I'm trying to deploy my web application into a server debian : My first try is with tomcat 5.5 and jdk5, and i have a problem to write in the log file. Now I'm trying to use tomcat 6.0.16 and jd

RE: Activating jmx under linux

2008-04-18 Thread Caldarale, Charles R
> From: JLucas ZB [mailto:[EMAIL PROTECTED] > Subject: RE: Activating jmx under linux > > /home/jlzb/apps/j2sdk1.4.2_08/bin/java Should have seen this before - you need a 1.5 or new JRE/JDK to do this. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL

Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-04-18 Thread Ronald Klop
On Fri Apr 18 15:29:16 CEST 2008 Christopher Schultz <[EMAIL PROTECTED]> wrote: Ronald, Ronald Klop wrote: > But why does the client still have the same session after one node > shuts down. The session doesn't live on one node. It lives as long as > the cluster lives. That's a good point. >

RE: Adjust max memory usage in Tomcat

2008-04-18 Thread Caldarale, Charles R
> From: Alexander Diedler [mailto:[EMAIL PROTECTED] > Subject: Adjust max memory usage in Tomcat > > How Can I adjust the maximum memory usage for Tomcat process? 1) Learn how to use Java. 2) Read the Tomcat FAQ. http://wiki.apache.org/tomcat/FAQ/Memory 3) Search the archives. http://marc.info

RE: Activating jmx under linux

2008-04-18 Thread JLucas ZB
The space is not missing. Now I've done your way: export CATALINA_OPTS="-Dcom.sun.management.jmxremote.port= -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false" and the port still does not appear ! > Message du 18/04/08 15:26 > De : "Ca

RE: Activating jmx under linux

2008-04-18 Thread Caldarale, Charles R
> From: JLucas ZB [mailto:[EMAIL PROTECTED] > Subject: Activating jmx under linux > > root   380 1  3 11:31 pts/5    00:00:04 > /home/jlzb/apps/j2sdk1.4.2_08/bin/java > -Dcom.sun.management.jmxremote-Dcom.sun.management. > jmxremote.port= -Dcom.sun.management.jmxremote.ssl=false >

Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-04-18 Thread Ronald Klop
On Fri Apr 18 14:16:33 CEST 2008 Christopher Schultz <[EMAIL PROTECTED]> wrote: Ronald, Ronald Klop wrote: > Yes, I know how to work around the problem. But I don't like > workarounds. All implementations I can think of are very fragile. What > if somebody stops my Tomcat with kill one day?

Re: Activating jmx under linux

2008-04-18 Thread JLucas ZB
Hello, the hostname is both defined at name server and /etc/hosts et it still don't work On windows platform with the same jmx jvm options, it's OK > Message du 18/04/08 12:49 > De : "Upul Godage" > A : "Tomcat Users List" , "JLucas ZB" > Copie à : > Objet : Re: Activating jmx under linux >

Re: Performace - long time to release connection

2008-04-18 Thread Jim Cox
Do you see the same behavior if you make a static .html page containing a hard-coded JSON response and point your browser client at that URL? On Wed, Apr 16, 2008 at 12:25 PM, Danilo Luiz Rheinheimer < [EMAIL PROTECTED]> wrote: > Jim, > > Thanks for your help. > > I am not setting the content-le

Re: Are there issues with running multiple instances of tomcat?

2008-04-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Brown wrote: | Recently the statement has been made that the two instances can conflict | with each other and cause issues and instability with the applications. By whom? In production, we run 3 simultaneous and separate Tomcat 5.5 ins

Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-04-18 Thread Ronald Klop
Yes, I know how to work around the problem. But I don't like workarounds. All implementations I can think of are very fragile. What if somebody stops my Tomcat with kill one day? My session isn't destroyed, so I don't understand why the event is thrown. Ronald. On Thu Apr 17 15:49:49 CEST 200

Re: Can we slow down the speed of servlet response ?

2008-04-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Han, Wang Han wrote: | I have tried Thread.sleep() in my servlet and it fails. | My NM app throws exception and can't handle such response.. What exception is thrown? I can't see a reason why Thread.sleep wouldn't work. - -chris -BEGIN PGP SIG

Re: NotSerializableException: StandardSessionFacade

2008-04-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: |> From: MassimoH [mailto:[EMAIL PROTECTED] |> Subject: NotSerializableException: StandardSessionFacade |> |> I've inherited an legacy Java application and I'm getting |> this error on startup. |> |> - IOException w

Lost contacts

2008-04-18 Thread Patrick Unthank
All, Apologies for this contact. I contacting you due to a machine failure on this end which has taken all my mail stored on my local machine, so I am contacting all those I have contacted in the last 120 days to make sure that if you are chasing me for a particular issue that you send your mail a

RE: Are there issues with running multiple instances of tomcat?

2008-04-18 Thread Peter Crowther
> From: David Brown [mailto:[EMAIL PROTECTED] > Sent: 18 April 2008 12:00 > To: users@tomcat.apache.org > Subject: Are there issues with running multiple instances of tomcat? > > We are currently running two instances of tomcat on our > systems. One is for > a vendor specific application and the ot

Are there issues with running multiple instances of tomcat?

2008-04-18 Thread David Brown
We are currently running two instances of tomcat on our systems. One is for a vendor specific application and the other is for in-house written applications. We are careful to make sure the ports do not conflict and there are plenty of resources to support both; memory and CPU. Recently the statem

Re: Activating jmx under linux

2008-04-18 Thread Upul Godage
Check whether /etc/hosts has the host name resolved to machine ip address. Something like this. I remember we had a JMX issue and this resolved it. 10.100.1.123 myhost Upul On Fri, Apr 18, 2008 at 3:26 PM, JLucas ZB <[EMAIL PROTECTED]> wrote: > Hello, > > I still have probs in configuring jm

Re: mod_jk load balancing intelligence

2008-04-18 Thread Rainer Jung
Mladen Turk schrieb: Eddie Yee wrote: Hi, We use a combination of Tomcat 5.5.25, mod_jk (v1.25) and sun one web server (v6.1).The Sun Java web server points to 5 instances of tomcat as specified in our obj.conf and worker.properties. I know that currently if the application is not in

Activating jmx under linux

2008-04-18 Thread JLucas ZB
Hello, I still have probs in configuring jmx under my Tomcat hosted by Linux Here is an excerpt of $TOMCAT_HOME/bin/catalina.sh # - Execute The Requested Command - export CATALINA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.por

Re: How to detect database for Tomcat JDBC Realm is down

2008-04-18 Thread Ivan Cheung
Hi, > > I am building a web app and was able to setup digest authentication > > I am testing the app when I take the database that contains the username > password down > > The tomcat log file show this > > java.sql.SQLException: No operations allowed after connection closed. > at com.mysql.jd

Re: mod_jk load balancing intelligence

2008-04-18 Thread Mladen Turk
Eddie Yee wrote: Hi, We use a combination of Tomcat 5.5.25, mod_jk (v1.25) and sun one web server (v6.1).The Sun Java web server points to 5 instances of tomcat as specified in our obj.conf and worker.properties. I know that currently if the application is not in a started state and To

RE: Tomcat JSP issues

2008-04-18 Thread Antonio Vidal Ferrer
Hi Landon, Check if you have jasper.jar in you’re the application you recently added. If so, remove it and restart tomcat. Then try again. Best, Toni -Original Message- From: Landon Fabbricino [mailto:[EMAIL PROTECTED] Sent: jueves, 17 de abril de 2008 21:30 To: users@tomcat.apache.

Adjust max memory usage in Tomcat

2008-04-18 Thread Alexander Diedler
Hello, How Can I adjust the maximum memory usage for Tomcat process? Greetings Alexander Diedler