Re: SSL for modjk and tomcat

2011-11-10 Thread chris derham
Simple i have setup httpd,modjk,tomcat .i want to enable SSL(i.e i can handle everything on https). If you have httpd sending traffic via mod_jk to tomcat, you are nearly there. Just configure httpd to listen over ssl. If (instead) you want to encrypt the AJP connection between HTTPD and

RE: Session time out never takes place with ajax

2011-11-10 Thread Sharon Prober (sprober)
Christopher, So to recap, and verify my understanding... Perhaps I am missing some valve overview. I understand it is invoked before the filters, but after completion it would arrive to the filter/servlet container anyway. So what your saying is that if I build a valve and read information from

Re: Session time out never takes place with ajax

2011-11-10 Thread chris derham
So to recap, and verify my understanding... Perhaps I am missing some valve overview. I understand it is invoked before the filters, but after completion it would arrive to the filter/servlet container anyway. So what your saying is that if I build a valve and read information from IO file

graceful restart tomcat

2011-11-10 Thread Kaushal Shriyan
Hi, Is there a way to forcefully graceful restart tomcat server using bash script via cron.Any sample bash script ? Regards, Kaushal - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: SSL for modjk and tomcat

2011-11-10 Thread Harsimranjit singh Kler
Thanks guys .i will take care while posting in future. So far i will go for ssl between browser and httpd only. On Thu, Nov 10, 2011 at 1:40 PM, chris derham ch...@derham.me.uk wrote: Simple i have setup httpd,modjk,tomcat .i want to enable SSL(i.e i can handle everything on https).

Re: sessionCookieDomain and sessionCookiePath

2011-11-10 Thread Ionut Stoian
Hello, I have an application serving several subdomains (a1.domain.com, a2.domain.com etc.) and i want to be able to have a single session cookie shared between subdomains (registered on domain .domain.com). However, when using Tomcat's sessionCookieDomain (tried on versions 6.0.33, 7.0.22) i

Re: graceful restart tomcat

2011-11-10 Thread Pid
On 10/11/2011 08:28, Kaushal Shriyan wrote: Hi, Is there a way to forcefully graceful restart tomcat server using bash script via cron.Any sample bash script ? Which is it: forceful or graceful? The two are not usually compatible. 'graceful' is found in Apache HTTPD: [the] signal causes

Re: graceful restart tomcat

2011-11-10 Thread Kaushal Shriyan
On Thu, Nov 10, 2011 at 2:42 PM, Pid p...@pidster.com wrote: On 10/11/2011 08:28, Kaushal Shriyan wrote: Hi, Is there a way to forcefully graceful restart tomcat server using bash script via cron.Any sample bash script ? Which is it: forceful or graceful?  The two are not usually

Re: sessionCookieDomain and sessionCookiePath

2011-11-10 Thread Pid
On 10/11/2011 08:39, Ionut Stoian wrote: Hello, I have an application serving several subdomains (a1.domain.com, a2.domain.com etc.) and i want to be able to have a single session cookie shared between subdomains (registered on domain .domain.com). However, when using Tomcat's

Unable to receive message through TCP channel

2011-11-10 Thread Uwe . Hellmann
Hello together, I am using to Tomcat 5.5.26 Servers. I took over the responsibility for this system some time ago. Since then we already got the following error message. SEVERE: Manager [/mywebapp]: Unable to receive message through TCP channel java.lang.ClassNotFoundException: After

Re: Unable to receive message through TCP channel

2011-11-10 Thread Pid
On 10/11/2011 10:20, uwe.hellm...@t-systems.com wrote: Hello together, I am using to Tomcat 5.5.26 Servers. I took over the responsibility for this system some time ago. Since then we already got the following error message. SEVERE: Manager [/mywebapp]: Unable to receive message through

Re: How to run tomcat 5.5.9 as a service in 64-bit OS?

2011-11-10 Thread Florin
I've downloaded the zip archive and i've replaced the files from x64 and now it works!!! Thank you! - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Re: sessionCookieDomain and sessionCookiePath

2011-11-10 Thread Ionut Stoian
It was a typo, i meant /. They are available also on tomcat 6.0.27: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html -- Forwarded message -- From: Pid p...@pidster.com To: Tomcat Users List users@tomcat.apache.org Date: Thu, 10 Nov 2011 09:28:15 + Subject: Re:

Re: Parallel deployment - can we use JMX to monitor old and new versions of a webapp?

2011-11-10 Thread Mark Thomas
On 10/11/2011 06:31, Ellecer Valencia wrote: Would using JMX allow us to view this information for the two webapp versions without being dependent on user sessions? Yes. How would we distinguish between status info coming from the old and new webapp versions? Include the full application

ContextInitialization fails, but app starts anyway

2011-11-10 Thread Marc Limotte
Hi. For reference, my set up is Tomcat 5.5.27, Java 1.6.0_22 , Ubuntu 10.04.3. Once in a while when starting Tomcat; ContextInitialization fails for my app (specifically, Spring DI fails), but the app still comes up in a broken state.  Is there a way to make this a hard fail-- Ideally tomcat

Re: ContextInitialization fails, but app starts anyway

2011-11-10 Thread Daniel Mikusa
Marc, Take a look at org.apache.catalina.startup.EXIT_ON_INIT_FAILURE. From the docs... If true, the server will exit if an exception happens during the server initialization phase. If not specified, the default value of false will be used.

Re: JVM config for tomcat7.0.19

2011-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Celtic, On 11/10/11 8:01 AM, celtic man wrote: Can i set the below parameters on the setenv.sh? Sure. application running on tomcat7.0.19 on linux 64 bit with 2GB total memory and 0.5 GB available memory on the machine. JAVA_OPTS=-Xms2048M

Re: ContextInitialization fails, but app starts anyway

2011-11-10 Thread Marc Limotte
Thanks for the suggestion, Dan. Sound like that option would be perfect, but I do not see it for Tomcat 5.5 (https://tomcat.apache.org/tomcat-5.5-doc/config/systemprops.html). Is there a work-around or alternative for users of older Tomcat versions? Marc On Thu, Nov 10, 2011 at 11:43 AM,

Re: sessionCookieDomain and sessionCookiePath

2011-11-10 Thread Pid *
On 10 Nov 2011, at 13:06, Ionut Stoian isto...@tremend.ro wrote: It was a typo, i meant /. They are available also on tomcat 6.0.27: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html -- Forwarded message -- From: Pid p...@pidster.com To: Tomcat Users List

Re: ContextInitialization fails, but app starts anyway

2011-11-10 Thread Daniel Mikusa
Marc, Yep, think you're right. My fault for not paying closer attention to your version. Other options that come to mind... - fetch one of the URL's for your application, check for a 404 status - connect via JMX, look at Catalina:type=Deployer,host=localhost (substitute your host name for

Programmatically updating the keystore Tomcat uses

2011-11-10 Thread Shawn Deer
I have a setup in which an instance of Tomcat 6 is running on a given machine, and another application on the same machine generates or updates the SSL credentials that Tomcat should present. The credentials are not in JKS format, and so currently I'm exporting them to PKCS#12 and writing them

Re: JVM config for tomcat7.0.19

2011-11-10 Thread celtic man
Thanks a lot for the quick response.. So i have updated the setenv.sh with -Xms2048M -Xmx2048M -XX:Permsize=512m -XX:MaxPermsize=512m and restarted tomcat.. but when i grep for tomcat process i don't see it .. ps -ef | grep tomcat root 10959 1 19 14:57 pts/400:00:29

Re: JVM config for tomcat7.0.19

2011-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Celtic, On 11/10/11 12:02 PM, celtic man wrote: So i have updated the setenv.sh with -Xms2048M -Xmx2048M -XX:Permsize=512m -XX:MaxPermsize=512m and restarted tomcat.. Where is setenv.sh located? Can you give us the full contents of that file?

Re: Programmatically updating the keystore Tomcat uses

2011-11-10 Thread Konstantin Kolinko
2011/11/10 Shawn Deer shawn.d...@entrust.com: I have a setup in which an instance of Tomcat 6 is running on a given machine, and another application on the same machine generates or updates the SSL credentials that Tomcat should present.  The credentials are not in JKS format, and so

Re: JVM config for tomcat7.0.19

2011-11-10 Thread Igor Cicimov
JAVA_OPTS=-Xms2048M -Xmx2048M -XX:Permsize=512m -XX:MaxPermsize=512m You are allocating here 2.5GB of memory to tomcat ... how do you expect it to start on a box with 2GB in total of which only 500MB are available? On Fri, Nov 11, 2011 at 8:25 AM, Christopher Schultz

Re: JVM config for tomcat7.0.19

2011-11-10 Thread Pid
On 10/11/2011 22:45, Igor Cicimov wrote: JAVA_OPTS=-Xms2048M -Xmx2048M -XX:Permsize=512m -XX:MaxPermsize=512m You are allocating here 2.5GB of memory to tomcat ... how do you expect it to start on a box with 2GB in total of which only 500MB are available? +1 It's the perfect way to