Tomcat + Ubuntu Juju = HA/clustered and integrated Tomcat in Seconds

2013-10-31 Thread Maarten Ectors
Hi Tomcat Expert, You probably know Ubuntu from the Ubuntu desktop or phone. You might know that we are the number 1 operating system in the cloud and the number 1 OpenStack distribution. What you might not know is that one of our latest open source products, Jujuhttp://juju.ubuntu.comcan

Tomcat getting stopped when idle

2013-10-31 Thread Vidyadhar
Hi, We are facing some weird issue in our Tomcat environment. After starting the Tomcat process on one of our Solaris server, process is automatically getting shutdown after 2-3 minutes if no activity is done through Application deployed in Tomcat. I have observed similar issue in one of

com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager

2013-10-31 Thread spring
Hi, when I use the com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager I get classloader issues when a session gets deserialized and my session contains classes which are not available to the shared loader. My question: Is this a bug in

Re: com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager

2013-10-31 Thread Daniel Mikusa
On Oct 31, 2013, at 8:19 AM, spr...@gmx.eu wrote: Hi, when I use the com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager I get class loader issues Can you be more specific here? What stack trace do you see? when a session gets deserialized and my session contains

Re: com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager

2013-10-31 Thread Konstantin Kolinko
2013/10/31 spr...@gmx.eu: Hi, when I use the com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager I get classloader issues when a session gets deserialized and my session contains classes which are not available to the shared loader. My question: Is this a bug in

Re: Multi-URL Access 1 Webapp

2013-10-31 Thread Chris Arnold
Starting over since i can not seem to get this to work with tomcat or apache. So what i have now that IS somewhat working is: #This rewrites https://share.anydomain.tld to our mail server RewriteEngine On RewriteCond %{HTTP_HOST} ^share\. RewriteCond %{HTTPS} on RewriteRule

RE: Multi-URL Access 1 Webapp

2013-10-31 Thread Matt Barry
mod_rewrite is what's adding the extra /share/ RewriteRule ^/(.*) https://192.168.123.3:8443/share/$1 [P] should be something like either: RewriteRule ^/(.*) https://192.168.123.3:8443/$1 [P] or: RewriteRule ^/share/(.*) https://192.168.123.3:8443/share/$1 [P] ..depending on whether you want

RE: com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager

2013-10-31 Thread spring
1.) Seeing as it's their code, have you asked Amazon? Not sure if this is you, but seems like a similar issue. https://github.com/aws/aws-dynamodb-session-tomcat/issues/1 Oh yes, same issue. 2.) Have you tried one of Tomcat's included persistent session managers? Do you see the same

RE: com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager

2013-10-31 Thread spring
Their code (DynamoDBSessionStore.load(...)) uses ObjectInputStream Tomcat code (e.g. o.a.catalina.session.FileStore.load(..)) uses CustomObjectInputStream which knows how to deal with class loaders. Yes. It is their bug (or feature). :) Thank you!

Re: Tomcat getting stopped when idle

2013-10-31 Thread Konstantin Kolinko
2013/10/31 Vidyadhar techienote@gmail.com: Hi, We are facing some weird issue in our Tomcat environment. After starting the Tomcat process on one of our Solaris server, process is automatically getting shutdown after 2-3 minutes if no activity is done through Application deployed in

Re: Multi-URL Access 1 Webapp

2013-10-31 Thread Chris Arnold
mod_rewrite is what's adding the extra /share/ RewriteRule ^/(.*) https://192.168.123.3:8443/share/$1 [P] should be something like either: RewriteRule ^/(.*) https://192.168.123.3:8443/$1 [P] This takes me to the tomcat home page, / or: RewriteRule ^/share/(.*)

Configuring Embedded Tomcat for SSL

2013-10-31 Thread Matthew Westwood-Hill
Tomcat version: 7.0.47 OS: Windows 7 (x64) JDK: 1.7 I am attempting to start an embedded instance of Tomcat, which is configured for SSL only, on port 443. The code I am using is as follows: *public* *static* *void* *main*(String[] args) *throws*UnknownHostException,