RE: Comet and thread binding

2010-01-06 Thread Bob Hall
--- On Wed, 1/6/10 at 10:18 PM, tbee wrote: > > The issue is not the storage, but access to the storage. > How would I, at any > place in the execution, access it, without passing the > context to each > method. Have you considered using ThreadLocal? - Bob -

RE: Comet and thread binding

2010-01-06 Thread tbee
Joseph Morgan-2 wrote: > > Sounds to me you simply need to create a POJO to contain the execution > context state The issue is not the storage, but access to the storage. How would I, at any place in the execution, access it, without passing the context to each method. -- View this message

connect tomcat and apache by mod_jk2

2010-01-06 Thread WILLIAMer
Hi, ALL. I have connect tomcat and apache by mod_jk2 at the same machine(solaris). I can see the application page with http://localhost:4080/ or http://localhost/ by apache. Now, i need to move tomcat to another machine in LAN. So i change the workers2.properties setting like under ---original(

Nesting servlets with different credentials

2010-01-06 Thread Greg Allen
I have two servlets, http://localhost:8080/s1 and http://localhost:8080/s2. Both servlets require BASIC authentication. My application will call s1, and then s1 will turn around and call s2. However, the credentials supplied to s2 need to be different than those supplied to s1. Inside of s1

Re: Load balancing questions

2010-01-06 Thread Bob Hall
--- On Wed, 1/6/10 at 7:54 AM, assan alhamoud wrote: > any suggestion ? > Upgrade to a more recent version of JBoss/Tomcat, like JBoss 5.1.0. - Bob - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For add

Re: Java EE 6 Support

2010-01-06 Thread Mark Thomas
On 06/01/2010 16:36, eric wright wrote: > Hi, > > What are the plans on adding Java EE 6 support to Tomcat? Any dates on > delivering Tomcat v7? The first 7.0.x release is expected by the end of the month. That time-scale is dependent on the async work being completed (Filip), the remaining EL ch

Java EE 6 Support

2010-01-06 Thread eric wright
Hi, What are the plans on adding Java EE 6 support to Tomcat? Any dates on delivering Tomcat v7? Thanks.

Re: Changing request address to x-forwarded-for

2010-01-06 Thread Cyrille Le Clerc
Hello Mohit, You can use this RemoteIpValve (1) on Tomcat 6.0.18, you just have to drop the xebia-tomcat-extras-1.0.0.jar (2) in your Tomcat lib directory. This version is being used on several web sites including high volume ones. If you can wait few days, a new version of Tomcat 6

Re: Load balancing questions

2010-01-06 Thread assan alhamoud
any suggestion ? On Tue, Jan 5, 2010 at 1:54 PM, assan alhamoud wrote: > Hello , > > *In Server.xml for Tomcat I have the following values* > > > maxThreads="750" minSpareThreads="50" maxSpareThreads="150" > enableLookups="false" redirectPort="8443" > connection

Re: Changing request address to x-forwarded-for

2010-01-06 Thread Mohit Anchlia
I found this site http://code.google.com/p/xebia-france/wiki/RemoteIpValve Can I directly download and install it in 6.0.18? On Wed, Jan 6, 2010 at 7:41 AM, Mohit Anchlia wrote: > Could you please point me to an example of how I can do this? We are > using apache-tomcat-6.0.18 > > On Tue, Jan 5

Re: Changing request address to x-forwarded-for

2010-01-06 Thread Mohit Anchlia
Could you please point me to an example of how I can do this? We are using apache-tomcat-6.0.18 On Tue, Jan 5, 2010 at 11:41 PM, Mark Thomas wrote: > On 06/01/2010 04:14, Mohit Anchlia wrote: >> tomcat 6: >> >> Is it possible to inject or change remote address to what's in >> x-forwaded-for in ht

Re: Configuring tomcat to release the webapp jar file handles

2010-01-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vijay, On 1/6/2010 1:12 AM, Vijay wrote: > I have a webapp that has 300 jar files bundled in WEB-INF/lib. Most of > the classes in these jar files need to be loaded during the startup of the > webapp. Does tomcat release the jar file handles once

Re: limit number of connections tomcat accepts

2010-01-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 1/6/2010 3:03 AM, Peter Beichert wrote: > If I start 100 parallel requests to a servlet which does nothing else than > waiting 5 seconds, I would expect that only 8 requests would be accepted, the > rest should receive a connection refused

Re: Tomcat 5.5 root directory

2010-01-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joseph, On 1/5/2010 8:06 PM, File Send wrote: > I looked into logs folder but its empty. I have attached here the content of > ROOT directory. I made permission to read using property. it was not there > before. > > *How to verify which userid tomcat

Re: limit number of connections tomcat accepts

2010-01-06 Thread Peter Beichert
Am Mittwoch, 6. Januar 2010 09:15:23 schrieb Mark Thomas: > On 06/01/2010 08:03, Peter Beichert wrote: > > Hi, > > > > I like to limit the number of connections tomcat (6.0.20) accepts. > > However, this is not possible. > > > > For testing purpose I use the following connector statement: > > > >

Re: hello world

2010-01-06 Thread Mark Thomas
On 06/01/2010 11:09, Cristobal Castro wrote: > hello > i just installed tomcat on win xp, now how can i set my firt project ? i > see the tomcat folder in C:, do i need to put my first program in one of > those folders? just like i did with normal apache ? (ex htdocs folder -> > called on browser b

hello world

2010-01-06 Thread Cristobal Castro
ttp://cristobal.castro.free.fr/ __ Information from ESET Smart Security, version of virus signature database 4747 (20100106) __ The message was checked by ESET Smart Security. http://www.eset.com -

RE: Toggling

2010-01-06 Thread Looijmans, Mike
Just redirect "as required". http://myserver/login redirects to https://myserver/login, form submits to the same page and when OK, it redirects to http://myserver/home or whatever. You'll probably need to pass a 'secret' to the home link to preserve the user's login, which might be a simple URI pa

Re: Toggling

2010-01-06 Thread Mark Thomas
On 06/01/2010 09:16, Nikita Manohar wrote: > Hi Peter, > > The trigger here is suppose in a web application there is a welcome page > which is to be re-directed to a user's homepage after login. The secure > information (login page) should be toggled to https and the rest as http. If the login pa

Re: Toggling

2010-01-06 Thread Peter Crowther
2010/1/6 Nikita Manohar > The trigger here is suppose in a web application there is a welcome page > which is to be re-directed to a user's homepage after login. The secure > information (login page) should be toggled to https and the rest as http. > > Is it possible to do so automatically? > > T

Re: Toggling

2010-01-06 Thread Nikita Manohar
Hi Peter, The trigger here is suppose in a web application there is a welcome page which is to be re-directed to a user's homepage after login. The secure information (login page) should be toggled to https and the rest as http. Is it possible to do so automatically? Thank you, -Nikita

RE: Toggling

2010-01-06 Thread Shanmugham, Dayanand (IE10)
We could forward http requests to https - this configuration is feasible at Apache level. Regards, Daya -Original Message- From: Nikita Manohar [mailto:nikita.mano...@gmail.com] Sent: Wednesday, January 06, 2010 2:32 PM To: users@tomcat.apache.org Subject: Toggling I would like to know

Re: Toggling

2010-01-06 Thread Peter Crowther
What is the trigger to "toggle" a web application? What is the result of "toggling" the web application? If it is "toggled" to https, does it suddenly become available to all users on https and unavailable to all users on http? - Peter 2010/1/6 Nikita Manohar > I would like to know if an enti

Toggling

2010-01-06 Thread Nikita Manohar
I would like to know if an entire web application can be toggled between http and https in Tomcat. Thank you, -Nikita

Re: limit number of connections tomcat accepts

2010-01-06 Thread Mark Thomas
On 06/01/2010 08:03, Peter Beichert wrote: > Hi, > > I like to limit the number of connections tomcat (6.0.20) accepts. However, > this is not possible. > > For testing purpose I use the following connector statement: > > maxSpareThreads="2" /> minSpareThread & maxSpareThreads do nothing and

limit number of connections tomcat accepts

2010-01-06 Thread Peter Beichert
Hi, I like to limit the number of connections tomcat (6.0.20) accepts. However, this is not possible. For testing purpose I use the following connector statement: Here only 3 threads should process the requests and 5 more requests should be queued. If I start 100 parallel requests to a se