Re: Concurrency with HttpSession

2007-09-08 Thread Wade Chandler
You got my attention, so I was curious. Looking at file: java/org/apache/catalina/session/PersistentManagerBase.java methods: swapIn swapOut writeSession findSession (other related) then the different stores load and save methods it doesn't look good. Basically, yes, you have an issue with Tomc

[SOLVED]: Problem with form based JSP authentication using Firefox with Tomcat

2007-09-08 Thread Luke McMahon
P, thanks very much for your help. The problem was fixed once I started linking explicitly to "/members/index.jsp" from index.htm, rather than just linking to "/members/" when my member file was straight html. > Date: Thu, 6 Sep 2007 15:12:28 +0100 > From: [EMAIL PROTECTED] > To: users

[OT] Correct action to take on log out

2007-09-08 Thread lightbulb432
What are the things you do when a user logs out? Some options include invalidating the entire HttpSession, keeping the session alive but setting some attribute (e.g. "loggedIn") to false, or doing something else I haven't thought of. I was thinking that upon logout the simplest thing to do is inv

Re: Concurrency with HttpSession

2007-09-08 Thread lightbulb432
I'm not talking about EJBs, but rather about any Tomcat-specific passivation that is done for HttpSessions that haven't been accessed in a while (just a memory use optimization). Regarding my question in general, I'm wondering (maybe this is more of a serialization question in general), if the co

Re: Connection pooling, is it the right way to do it?

2007-09-08 Thread David Smith
Hi. 1. Your docBase and path attributes are at best optional. As long as your context.xml is delivered in your webapp's META-INF folder, it should be used automagically. 2. I would trade the autoReconnect=true parameter to the database url with a validationQuery attribute in the element. Th

Re: the tomcat welcome file one struts action

2007-09-08 Thread Gabriel Wong
You may want to check on the Struts list. It could be a CASE SENSITIVITY issue. Does your app come up when you include Index.do in the URL? Miren Urkixo wrote: Hello I am trying to make one web aplication using struts into one tomcat 5.0.XX In my web.xml file i writte whic is my welcome file,

Connection pooling, is it the right way to do it?

2007-09-08 Thread [EMAIL PROTECTED]
Hi, i have done a server web application that runs on tomcat. The server handle more clients and since i have to access to db, i tried to implement the connection pooling. Since i had some problems with tomcat (crashes after some days telling thatthe connection pool was full, or something like it

the tomcat welcome file one struts action

2007-09-08 Thread Miren Urkixo
Hello I am trying to make one web aplication using struts into one tomcat 5.0.XX In my web.xml file i writte whic is my welcome file, one struts action (Index.do) but the tomcat doesn't not show the action, shows me the all files from the index directory, listing my / directory. Can you help me

Re: How to manage Apache error msgs when Tomcat is down?

2007-09-08 Thread Rainer Jung
Hi Eric, Eric B. wrote: Sorry - I guess I wasn't specific enough. The HTTP status code that I got from Apache was 200 hence the OK. I assumed that it was probably 200 since I was actually able to communicate with Apache itself, even though its request to tomcat was unavailable. Or unless I

Re: [ANN] Apache Tomcat 5.5.25 released

2007-09-08 Thread Filip Hanik - Dev Lists
Thanks, it's underway, syncing to mirrors as we speak Filip RuiXian BAO wrote: On 9/8/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: The Apache Tomcat team announces the immediate availability of Apache Tomcat 5.5.25 stable. Apache Tomcat 5.5.25 incorporates numerous security updat

Re: [ANN] Apache Tomcat 5.5.25 released

2007-09-08 Thread RuiXian BAO
On 9/8/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > > The Apache Tomcat team announces the immediate availability of Apache > Tomcat 5.5.25 stable. > > Apache Tomcat 5.5.25 incorporates numerous security updates and bug fixes. > Please refer to the change log for the list of changes: >

[ANN] Apache Tomcat 5.5.25 released

2007-09-08 Thread Filip Hanik - Dev Lists
The Apache Tomcat team announces the immediate availability of Apache Tomcat 5.5.25 stable. Apache Tomcat 5.5.25 incorporates numerous security updates and bug fixes. Please refer to the change log for the list of changes: http://tomcat.apache.org/tomcat-5.5-doc/changelog.html Downloads: http://

Re: Concurrency with HttpSession

2007-09-08 Thread Martin Gainty
I found this doc applicable "You can pass the HttpSession as parameter to an EJB method, only if all objects in session are serializable. This has to be consider as passed-by-value, that means that it's read-only in the EJB. If anything is altered from inside the EJB, it won't be reflected back

RE: Virtual hosts problem

2007-09-08 Thread Caldarale, Charles R
> From: micker [mailto:[EMAIL PROTECTED] > Subject: Virtual hosts problem > > I have searched the internet for some conclusive guide, but > none seem to work. Why not read the actual Tomcat doc first? Besides the link Mark T provided, here's the general one for Tomcat-specific configuration: h

Re: Virtual hosts problem

2007-09-08 Thread Mark Thomas
micker wrote: > I have searched the internet for some conclusive guide, but none seem to > work. You could always try the Tomcat documentation: http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html > where have I screwed up? You set appBase == docBase I'll look into adding some mor

Virtual hosts problem

2007-09-08 Thread micker
Hi, I have just installed tomcat5.5 on my fedora 7 server, and I need to configure some virtual hosts for the first time. I have searched the internet for some conclusive guide, but none seem to work. this is what i have so far: www.micker.dk This works, except when i need to cal

Re: slow shutdown with jsvc

2007-09-08 Thread charly
Hi all again, Now I had look at the source code of jsvc-unix.c. It looks as jsvc always has to wait for the completion of the sleep(60) call: So I changed the code using usleep(20): log_debug("Waiting for a signal to be delivered"); create_tmp_file(args); #ifdef OSD_POSIX log_debu