Re: Dynamically Create Subdomains - Tomcat 7x

2015-09-04 Thread Kiran Badi
Hi Andre, I need something like, My main landing page www.mysite.com Subdomains I am looking for myfeature1.mysite.com myfeature2.mysite.com myfeature3.mysite.com etc myfeature is a cookie value which comes from www.mysite.com(this is landing page which drops myfeature cookie).. - Kiran

Re: Tomcat 8 Session Timeout

2015-09-04 Thread Theo . Sweeny
Hi Chris - the servlet spec states "If the time out is 0 or less, the container ensures the default behavior of sessions is never to time out." Currently the timeout value is set to 2 minutes. However the problem is persisting - the environment is using Jersery Servlet 1.3 for REST. If we

Re: Dynamically Create Subdomains - Tomcat 7x

2015-09-04 Thread chris derham
> I need something like, > > My main landing page www.mysite.com > > Subdomains I am looking for > > myfeature1.mysite.com > > myfeature2.mysite.com > > myfeature3.mysite.com > > etc > > myfeature is a cookie value which comes from www.mysite.com(this is > landing page which drops myfeature

Re: Tomcat client certificate based authorization

2015-09-04 Thread juls
Dear Christoph, thanks, I guess that was the right hint. I now implemented a custom X509UsernameRetriever, created a jar and placed it in $CATALINA_HOME/lib. *** import

Re: Dynamically Create Subdomains - Tomcat 7x

2015-09-04 Thread Kiran Badi
Let me try again Chris, I have this site www.mysite.com ready with some x amount of features in it Now I need to customize this site based on regions,states, and cities.I will most likely go with cities. So I need my main site to redirect to city1.mysite.com etc based on cookie value which

Multiple JSESSIONID cookies being presented.

2015-09-04 Thread Jeffrey Janner
Hi folks, I'm running Tomcat 8.0.24 on Ubuntu 14.04 with Java 8u45, but I'm also seeing this on Windows (version doesn't matter), with Tomcat 7.0.57 and Java 7u71, and Tomcat 6.0.43 and Java 7U51. I have 2 contexts installed in Tomcat, one is ROOT, the other APP2. Both contexts start off at a

Re: Tomcat client certificate based authorization

2015-09-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Juls, On 9/4/15 10:01 AM, juls wrote: > thanks, I guess that was the right hint. I hope so! > I now implemented a custom X509UsernameRetriever, created a jar > and placed it in $CATALINA_HOME/lib. > > import java.security.cert.X509Certificate; >

Re: Dynamically Create Subdomains - Tomcat 7x

2015-09-04 Thread Kiran Badi
Thanks Chris, I have running tomcat with mysite hosted on it.I am trying to extend it and get some extra mileage from my app. I think I can go with hostname approach and see how it goes. I have another query for which I will open another discussion. Thanks everyone. - Kiran On Fri, Sep 4,

Re: Dynamically Create Subdomains - Tomcat 7x

2015-09-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kiran, On 9/4/15 12:25 PM, Kiran Badi wrote: > Let me try again Chris, I have this site www.mysite.com ready with > some x amount of features in it > > Now I need to customize this site based on regions,states, and > cities.I will most likely go

Re: Tomcat 8 Session Timeout

2015-09-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Theo, On 9/4/15 6:14 AM, theo.swe...@avios.com wrote: > Hi Chris - the servlet spec states "If the time out is 0 or less, > the container ensures the default behavior of sessions is never to > time out." > > Currently the timeout value is set to 2

RE: Multiple JSESSIONID cookies being presented.

2015-09-04 Thread Jeffrey Janner
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Friday, September 04, 2015 12:46 PM > To: Tomcat Users List > Subject: Re: Multiple JSESSIONID cookies being presented. > > -BEGIN PGP SIGNED MESSAGE- > Hash:

doDelete Servlet

2015-09-04 Thread Kiran Badi
Hi , I have CRUD Multipart request and I have implemented it correctly works fine at my local host. I have upload upload pdf and tiff files, all this implemented via ajax call using onchange handler on file input multiple tag. The challenge I am having is that doDelete just deletes the file

Re: doDelete Servlet

2015-09-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kiran, On 9/4/15 3:19 PM, Kiran Badi wrote: > I have CRUD Multipart request and I have implemented it correctly > works fine at my local host. > > I have upload upload pdf and tiff files, all this implemented via > ajax call using onchange handler

Re: Multiple JSESSIONID cookies being presented.

2015-09-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 9/4/15 3:31 PM, Jeffrey Janner wrote: >> -Original Message- From: Christopher Schultz >> [mailto:ch...@christopherschultz.net] Sent: Friday, September 04, >> 2015 12:46 PM To: Tomcat Users List >>

RE: Multiple JSESSIONID cookies being presented.

2015-09-04 Thread Jeffrey Janner
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Friday, September 04, 2015 2:55 PM > To: Tomcat Users List > Subject: Re: Multiple JSESSIONID cookies being presented. > > -BEGIN PGP SIGNED MESSAGE- > Hash:

RE: seeking help with stabilizing the persistence of a JSESSIONID

2015-09-04 Thread Pottinger, Hardy J.
> Are you using AJP or HTTP as your proxy protocol? If AJP, are you > using tomcatAuthentication="false" on your ? I'm not > exactly sure what happens when you do that... you might get a > NonLoginAuthenticator. in our Vhost file, we have this: ProxyPass ajp://127.0.0.1:8009/xmlui

Re: Multiple JSESSIONID cookies being presented.

2015-09-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 9/4/15 12:37 PM, Jeffrey Janner wrote: > I'm running Tomcat 8.0.24 on Ubuntu 14.04 with Java 8u45, but I'm > also seeing this on Windows (version doesn't matter), with Tomcat > 7.0.57 and Java 7u71, and Tomcat 6.0.43 and Java 7U51. >

WebappClassLoaderBase.addTransformer and servlet 3.0

2015-09-04 Thread Bryn Cooke
Hi, I've recently been looking at using the class transformer functionality in Tomcat 8.0.26 and came across a subtle interaction with servlet 3.0. I am registering my transformer in a ServletContainerInitializer via InstrumentableClassLoader.addTransformer, but couldn't understand why some

Re: Dynamically Create Subdomains - Tomcat 7x

2015-09-04 Thread tomcat
On 04.09.2015 05:31, Kiran Badi wrote: Hi, I need some help, I need to create subdomains dynamically, Is this possible ? I have a site, www.mymainsite.com on this main site, I drop the zipcode and city cookie and then I forward it to front controller, and it's this front controller which

Re: seeking help with stabilizing the persistence of a JSESSIONID

2015-09-04 Thread tomcat
On 03.09.2015 23:31, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hardy, On 9/3/15 2:32 PM, Pottinger, Hardy J. wrote: Are you actually using HTTP Basic authentication? You may be configuring the wrong authenticator. (I know nothing about Shibboleth) I'm using

Re: WebappClassLoaderBase.addTransformer and servlet 3.0

2015-09-04 Thread Mark Thomas
On 04/09/2015 08:22, Bryn Cooke wrote: > Hi, > I've recently been looking at using the class transformer functionality > in Tomcat 8.0.26 and came across a subtle interaction with servlet 3.0. > I am registering my transformer in a ServletContainerInitializer via >