problem with sessions

2008-06-27 Thread abhishek reddy
hi every one, i have a jsp page, once the user logged in iam creating a session in the jsp page.When the user logged out iam invalidating the session. when two users logged in, and if one user logged out, the other user session is also getting invalidated.I dont want this to happen i.e.

Re: Rebuilding Tomcat from sources

2008-06-27 Thread JLucas ZB
Thank you very much. All works fine, tomcat 6.0.14 have been rebuild This is my last question ... Where can I get tomcat-dbcp.jar, which URL ?  (to rebuild tomcat, i had to retrieve it from the binary distrib.) Thank you JLZ Message du 26/06/08 00:28 De : Rainer Jung A : Tomcat Users

Re: problem with sessions

2008-06-27 Thread Leon Rosenberg
Hello Abhishek, if you open a new window in a browser (except internet explorer with setting start new window in new process = on) your new window belongs to the same process as the old window, sharing all the states, including session cookies. So both windows are tied to the same session. If you

Re: Multiple development sites using different ports

2008-06-27 Thread Yves Glodt
Hello, yesterday I set up exactly what you need You need to set up 2 services, and inside define your hosts and connectors. So here my server.xml: Server port=8005 shutdown=SHUTDOWN debug=0 Service name=inst1 Connector port=8180 minProcessors=5 maxProcessors=75 useBodyEncodingForURI=true

Apache with MaxClients maxThreads possible?

2008-06-27 Thread Jukka Merinen
Hi all, I have a following configuration: One front-end Apache 2.2 server with worker MPM that is using mod_jk 1.2 to connect to several back-end Tomcat 6.0 servers. Problem: The Apache MaxClients is 1000, whereas Tomcat AJP connector maxThreads in each Tomcat is 100. If simultaneous

Re: Installing Tomcat-5.5.25 in Solaris 10 (SPARC-64 bit)

2008-06-27 Thread Rainer Jung
Mark Thomas wrote: hareesh wrote: I have downloaded Tomcat from the URL : http://archive.apache.org/dist/tomcat/tomcat-5/archive/v5.0.5/bin/jakarta-tomcat-5.0.5.tar.gz After downloading I unzip it using 'gunzip . After that I untared it using GNU tar (gtar) . Now the sample applications

RE: Rebuilding Tomcat from sources

2008-06-27 Thread Caldarale, Charles R
From: JLucas ZB [mailto:[EMAIL PROTECTED] Subject: Re: Rebuilding Tomcat from sources Where can I get tomcat-dbcp.jar, which URL ? (to rebuild tomcat, i had to retrieve it from the binary distrib.) Look in the build.xml and build.properties.default files for source locations. You'll see

Compatibility Apache 1.3.x Tomcat 4.1 and BO 6.5

2008-06-27 Thread Tan, Liao
Folks, (posting this question here too, ´cause there´s tomcat issue) I´m finding problems to compiling my original apache 2.0.46 in order to get the ssl working, so I think switching to 1.3 would be an option. The thing is that the apache 2.0.46, the tomcat 4.1 and BO 6.5 came together in a

Re: Virtual Host gives - Absolute uri: http://java.sun.com/jsf/core cannot be resolved

2008-06-27 Thread Tom Tugan
Thanks Mark, I have multiple web apps. My 'main' goes in ROOT. I don't want to mix my other, virtually hosted webapps, with what's in root.So, I do webapps/zzz webapps/yyy and use virtual hosts to relate other domain names to these. Additionally Mark, having context info within the

RE: Virtual Host gives - Absolute uri: http://java.sun.com/jsf/corecannot be resolved

2008-06-27 Thread Caldarale, Charles R
From: Tom Tugan [mailto:[EMAIL PROTECTED] Subject: Re: Virtual Host gives - Absolute uri: http://java.sun.com/jsf/corecannot be resolved I have multiple web apps. My 'main' goes in ROOT. I don't want to mix my other, virtually hosted webapps, with what's in root.So, I do webapps/zzz

Re: Virtual Host gives - Absolute uri: http://java.sun.com/jsf/core cannot be resolved

2008-06-27 Thread Mark Thomas
Tom Tugan wrote: Additionally Mark, having context info within the Host is not invalid. It's just not the preferred way anymore. I am well aware of that. However, having appBase == docBase is: a) invalid b) entirely the source of your problems. Mark

RE: Virtual Host gives - Absolute uri: http://java.sun.com/jsf/corecannot be resolved

2008-06-27 Thread Tom Tugan
No, use a different appBase for each Host to avoid such issues. Thanks Chuck. That's what I was trying to do but I didn't realize what it looked like. I have a better understanding now. This was my first attempt to have a separate appBase and domain name. I appreciate the free

Re: Virtual Host gives - Absolute uri: http://java.sun.com/jsf/core cannot be resolved

2008-06-27 Thread Tom Tugan
Additionally Mark, having context info within the Host is not invalid. It's just not the preferred way anymore. I am well aware of that. However, having appBase == docBase is: a) invalid b) entirely the source of your problems. Mark Thanks Mark.

Re: Problems installing Jakarta Isapi Redirector

2008-06-27 Thread spencer.keller
Hi, Carlos, did you ever figure out what was causing this problem. I have what appears to be the same situation. I installed IIS, Tomcat and the redirector on a second system and it works just fine. I have spent some time trying to see what is different about the two systems and why it won’t

RE: Multiple development sites using different ports

2008-06-27 Thread dylanmac
So here's what I entered in my server.xml file based on various pieces of advice: Service name=instance1 Connector port=9091 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 / Connector port=8010 protocol=AJP/1.3 redirectPort=8443 /

Re: Multiple development sites using different ports

2008-06-27 Thread Hassan Schroeder
On Fri, Jun 27, 2008 at 1:38 PM, dylanmac [EMAIL PROTECTED] wrote: Host name=devlocal1 Host name=devlocal2 and here's what's in my hosts file: 127.0.0.1 localhost ::1 localhost 127.0.0.1 devlocal1 127.0.0.1

Problem with mod_proxy_ajp Connection Timeout

2008-06-27 Thread Plana, Richard
Hi, Our Apache httpd proxy connects to the two tomcat servers (load-balanced) through a network device that performs NAT. Unfortunately, when the connections go idle (and it happens quite often since it's a currently low-volume application), the NAT box seems to lose the TCP session. The Apache

Re: Multiple development sites using different ports

2008-06-27 Thread dylanmac
Ha, that's embarrassing. I've been substituting real names for fake ones for the sake of this discussion and got my wires crossed in my reply. In any event, I have tried what you suggested re: the hosts file and still no dice. There is a slight difference this time, though. Rather than

Re: Multiple development sites using different ports

2008-06-27 Thread Hassan Schroeder
On Fri, Jun 27, 2008 at 2:51 PM, dylanmac [EMAIL PROTECTED] wrote: In any event, I have tried what you suggested re: the hosts file and still no dice. There is a slight difference this time, though. Rather than getting a can't establish a connection message, I get a blank page. Is that

Re: Problem with mod_proxy_ajp Connection Timeout

2008-06-27 Thread Rainer Jung
Plana, Richard schrieb: Hi, Our Apache httpd proxy connects to the two tomcat servers (load-balanced) through a network device that performs NAT. Unfortunately, when the connections go idle (and it happens quite often since it's a currently low-volume application), the NAT box seems to lose

Re: Apache with MaxClients maxThreads possible?

2008-06-27 Thread Bill Barker
Jukka Merinen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I have a following configuration: One front-end Apache 2.2 server with worker MPM that is using mod_jk 1.2 to connect to several back-end Tomcat 6.0 servers. Problem: The Apache MaxClients is 1000, whereas

Re: Mapping question

2008-06-27 Thread Bill Barker
Yeah, I'd totally forgotten about this one. The patch for the non-default AJP Connector and the APR/AJP Connector have been committed to trunk, and proposed for back-port to 6.0.x now. Of course, as mentioned in the BZ issue, if you are using the default AJP Connector this already works.