Re: dodgy session class

2005-02-12 Thread Peter Rossbach
Hmm, please check that all your applications with distributable=true have no configured Manager in there context.xml's regards Peter Filip Hanik - Dev schrieb: Any chance you have a test case to reproduce this? Shouldn't happen, unless the way sessions are created have changed. Filip -

Re: Tomcat vs Jetty

2005-02-12 Thread Joe
Peter Lin wrote: For those who are curious. I decided to run apache AB against jetty to see if there are any differences. Max Request/sec -- tomcat 5.5.4 - 5584 jetty 5.1.2 - 2486 the results suggest tomcat's throughput for 1k static content is 2x higher than the jetty

Re: Tomcat vs Jetty

2005-02-12 Thread PA
On Feb 12, 2005, at 06:20, Peter Lin wrote: For those who are curious. I decided to run apache AB against jetty to see if there are any differences. If you are into this kind of micro-benchmarks, take a look at Simple: http://simpleweb.sourceforge.net/ Niall Gallagher ran some comparisons between

Re: commons-logging logger instances - how to initialize in replicated session objects

2005-02-12 Thread Trond G. Ziarkowski
Hi, I'm maybe stepping out of my territory here, but I think that static members are not serialized/deserialized. To re-initialize your static logger maybe you should try to implement the readObject(java.io.ObjectInputStream in) method from the java.io.Serializable interface something like

Re: The requested resource (/myApp/servlet/TestingServlet) is not available.

2005-02-12 Thread Larry Meadors
Do some reading before trying to code: http://www.coreservlets.com/Apache-Tomcat-Tutorial/ There are several issues with your example - too many to answer in a simple email. You need to get a deeper understanding of the process before building things. If you learn best by doing, follow the

RE: commons-logging logger instances - how to initialize in replicated session objects

2005-02-12 Thread Richard Mixon (qwest)
Thanks Trond, I had forgotten about readObject.That may be a better option than creating yet another utility method. Trond G. Ziarkowski wrote: Hi, I'm maybe stepping out of my territory here, but I think that static members are not serialized/deserialized. To re-initialize your static

Re: mod_jk dynamic update of workers.properties

2005-02-12 Thread Olve Hansen
On Sun, 6 Feb 2005 16:17:16 -0500, bt [EMAIL PROTECTED] wrote: Why ddi you want to update the workers2.properties file dynamically? Sorry, I might have been a bit unclear.. I meant if mod_jk could read updated workers.properties at runtime. We are using mod_jk2 now, and it can do that.. I am

folder for my jsp files

2005-02-12 Thread P.M
Hi, i would like to know if my web application (using jsp files) must be in folder /tomcat 5.5/webapps absolutely, or if i can place it in some other disk or other folder ? thanks a lot, Maileen __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the

Session lost on netscape, mozilla and firefox, but not IE

2005-02-12 Thread Uwe Kubosch
Hi all! I have a webapplication that has been running for 8 years, currently on tomcat 5.5, but recently I have been trying to access it from linux with firefox, and I notice that in some situatons the session is lost. It happens when I submit a form with method POST using javascript triggered

RE: folder for my jsp files

2005-02-12 Thread Caldarale, Charles R
From: P.M [mailto:[EMAIL PROTECTED] Subject: folder for my jsp files i would like to know if my web application (using jsp files) must be in folder /tomcat 5.5/webapps absolutely, or if i can place it in some other disk or other folder ? Take a look at

twice typing user and password

2005-02-12 Thread P.M
Hi, since today, everytime that i want to access to /admin application of tomcat 5.5.7, i have to type twice username and password... nothing was changed in configuration... so where can it come from ? thx, Maileen __ Do you Yahoo!? Yahoo!

SV: Session lost on netscape, mozilla and firefox, but not IE

2005-02-12 Thread Uwe Kubosch
I use the default configuration, the JSESSION cookie. -Opprinnelig melding- Fra: Robert Hunt [mailto:[EMAIL PROTECTED] Sendt: 12. februar 2005 19:15 Til: tomcat-user@jakarta.apache.org Emne: Session lost on netscape, mozilla and firefox, but not IE How is the session maintained;

Re: RE : Security Newbie - Need Help

2005-02-12 Thread sven morales
Not to prolong, I would think if this was the case of misplaced element, the DTD for the web.xml would make the Digester throw an exception because it does not conform. --- Luke [EMAIL PROTECTED] wrote: Hello; I finally got this. It turned out I had my: login-config

Re: RE : Security Newbie - Need Help

2005-02-12 Thread Luke
You are right. A lot of changes were made to my configuration based on advice I recieved on the forum. There could be several things that fixed my problem. The main thing is I know how to set it up now :-) Luke Luke Shannon Web Design/Development Java Programmer http://www.lukeshannon.com

tomcat fails db connection

2005-02-12 Thread Daniele
Hi everybody, I've a problem with an application running under tomcat 4.1.27. Every one-two days tomcat stops connecting to the database. Tomcat is still responding, but no queries can be executed. Restarting tomcat solves the problem. We have apache 2.0.47 and jk2 connector, and DBCP to connect

[OT] Automated tool for creating mime-multipart e-mail from web page

2005-02-12 Thread Robert Hunt
I'd like to push a copy of a web page via e-mail in a background Tomcat thread/servlet. The idea is to serve up-to-date news and info without requiring patrons/subscribers to follow a link to the original page or require them bypass the Outlook Express warning about some items blocked to

startup.bat and shutdown

2005-02-12 Thread P.M
Hi, I've installed on windows XP, tomcat 5.5.7 and no startup.bat or shutdown files are available in bin folder or anywhere else. so, what is inside these files ? does anyone have some example ? thx, Maileen __ Do you Yahoo!? Take Yahoo! Mail

RE: startup.bat and shutdown

2005-02-12 Thread Caldarale, Charles R
From: P.M [mailto:[EMAIL PROTECTED] Subject: startup.bat and shutdown I've installed on windows XP, tomcat 5.5.7 and no startup.bat or shutdown files are available in bin folder or anywhere else. Looks like your install did not go well. You should see something like this:

RE: startup.bat and shutdown

2005-02-12 Thread P.M
In fact, when you use the windows's installer, these files are not there.. you have also to download the zip file and to update the windows installation with the zip files. strange no ? Maileen --- Caldarale, Charles R [EMAIL PROTECTED] wrote: From: P.M [mailto:[EMAIL PROTECTED] Subject:

RE: HTMLArea and SpellCheck plugin

2005-02-12 Thread Kelly, Steve
Any spellchecker support in this? -Original Message- From: Steffen Heil [mailto:[EMAIL PROTECTED] Sent: 11 February 2005 19:11 To: 'Tomcat Users List'; 'David Wall' Subject: AW: HTMLArea and SpellCheck plugin See http://www.fckeditor.net/ -Ursprüngliche Nachricht- Von:

Re: Session lost on netscape, mozilla and firefox, but not IE

2005-02-12 Thread Robert Hunt
I've seen some browsers (Netscape) truncate the query string portion of an action URL in the form tag: form action=http://target.com/servlet?param=val; ... such that the target servlet receives the HTTP request without param=val, but that's usually with method=GET. Perhaps you should

Re: [OT] Automated tool for creating mime-multipart e-mail from web page

2005-02-12 Thread Huy
Robert Hunt wrote: I'd like to push a copy of a web page via e-mail in a background Tomcat thread/servlet. The idea is to serve up-to-date news and info without requiring patrons/subscribers to follow a link to the original page or require them bypass the Outlook Express warning about some

Sysadmin question

2005-02-12 Thread ed
Hello, I currently have a number of sites in /var/www/sites/virtual_site directories, and I would like to enable them all with JSP abilities. Can someone tell me what I should do with Tomcat 4 in order to accomplish this. I am very new to Tomcat setup but I want to get playing with Tomcat. --

Re: tomcat fails db connection

2005-02-12 Thread Parsons Technical Services
Regurgitated: Using db pool. DB responding to other apps (outside Tomcat). Run mysqladmin extended-status -u username -p and see how many connections are open. Compare to the max connections in the connection pool. Try adding the removeAbandoned parameters to the dbcp setup. Set log to true.

Re: folder for my jsp files

2005-02-12 Thread Ben Souther
You can put them where ever you like. Look at the docBase attribute of Context http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html On Sat, 2005-02-12 at 11:14, P.M wrote: Hi, i would like to know if my web application (using jsp files) must be in folder /tomcat 5.5/webapps

RE: Java.lang.ClassNotFoundException: listeners.ContextListener

2005-02-12 Thread sven morales
Hi, You did answer not my question. Is this problem specific only to one web application? From your exception, it points to listeners.ContextListener not being found. Per your listenerlistener-class tags, you should have this ContextListener class in a package called listener. This