RE: Start Tomcat as non ROOT
Hi, Joern. Does this error message pop up only when a JSP needs to be initialized? It may help then to have a look at the access priviliges for the Tomcat Work Directory. Maybe your desired user id has no write access there... Hiran - Hiran Chaudhuri SAG Systemhaus GmbH Elsenheimerstra?e 11 80687 Munchen Germany [EMAIL PROTECTED] Phone +49-89-54742-134 Fax +49-6151-9234-5134 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 9:12 AM To: [EMAIL PROTECTED] Subject: Start Tomcat as non ROOT Hello List I have a simple problem when Starting Tomcat as user Tomcat. the Owner of all Files under Tomcat is user Tomcat, the Group is Tomcat. When I try to start Tomcat from Tomcat.sh under /etc/init.d some Error mesages come up Tomcat has no privilegies to compile... When I start under ROOT everything is OK Has somebody an Idea ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: How to keep track of sessions
Hi, Mark. To give my own 2 cents, I use a session listener for exactly the same issue: Get information how many sessions are active, who is logged on etc. Currently my application struggles with a memory leak, and I suspect the vector not being cleaned up thoroughly (my problem :-( ). Hiran - Hiran Chaudhuri SAG Systemhaus GmbH Elsenheimerstraße 11 80687 München Germany [EMAIL PROTECTED] Phone +49-89-54742-134 Fax +49-6151-9234-5134 -Original Message- From: Mark O'Driscoll [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 3:21 PM To: Tomcat Users List Subject: Re: How to keep track of sessions I am using the sessions to keep track of who is logged on, for how long and what they have done. Obviously there are other non servlet ways to do this but as tomcat gives the opportunity to track sessions, I thought I'd use it. Session persistence highlights a 'hole' in the sessionListener interface. BTW: I'm surprised you think sessions should not be persisted. I think it's cool! Thanks for the help. - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, August 14, 2002 2:17 PM Subject: RE: How to keep track of sessions Howdy, Sessions are not meant to be persisted across server restarts. Obviously other people have other opinions about that. Which is why I still suggested a solution I've used in the past ;) Even though I disagree with the approach of persisting someone else's proprietary internal objects, I assume that whoever asked the question has a reasonable and well-thought out cause, so I try to help. I'm still unclear as to why one would want to save the session object itself, as opposed to only the parts of interest from it. Does it have to do with load-balancing, wanting to somehow augment / superimpose on the built-in mechanism? Yoav Shapira Millennium ChemInformatics -- -- This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. -- -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Custom org.apache.catalina.authenticator
Hi there. I also am interested in exchanging the authenticator. But I could not find the properties file mentioned below in Tomcat 4.1.8. However I found the NonLoginAuthenticator (exactly what I was trying to do), and a properties file in org.apache.catalina.startup. Do I understand correctly that this authenticator is activated just by specifying auth-methodNONE/auth-method in web.xml? Hiran - Hiran Chaudhuri SAG Systemhaus GmbH Elsenheimerstra?e 11 80687 Munchen Germany [EMAIL PROTECTED] Phone +49-89-54742-134 Fax +49-6151-9234-5134 -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 2:52 AM To: Tomcat Users List Subject: Re: Custom org.apache.catalina.authenticator On Mon, 29 Jul 2002, Tim McLaughlin wrote: Date: Mon, 29 Jul 2002 16:00:17 -0700 From: Tim McLaughlin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Custom org.apache.catalina.authenticator Hello, The Question: How do I specify a class other than org.catalina.authenticator.BasicAuthenticator to handle Basic authentication? There is a properties file in the org.apache.catalina.authenticator package that defines the mapping of authentication method to classname. You would need to customize this file in $CATALINA_HOME/server/lib/catalina.jar. Or, an easier approach would be to copy your customized version of this file into the $CATALINA_HOME/server/classes/org/apache/catalina/authenticato r directory (which you'd have to create). This works because the Catalina class loaders load from the classes directory before they load from JAR files in the corresponding lib directory -- this works both for the server class loader (server/classes before server/lib), the common class loader (common/classes before common/lib) and the webapp class loader (WEB-INF/classes before WEB-INF/lib). Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: German character problem
Hi, Andreas. Check the solaris localisation settings. Hiran - Hiran Chaudhuri SAG Systemhaus GmbH Elsenheimerstraße 11 80687 München Germany [EMAIL PROTECTED] Phone +49-89-54742-134 Fax +49-6151-9234-5134 -Original Message- From: Andreas Schlegel [mailto:[EMAIL PROTECTED]] Sent: Friday, July 19, 2002 12:47 AM To: [EMAIL PROTECTED] Subject: German character problem Hi, we have a strange problem and don't know the reason nor how to solve it. May be someone has an idea. A Java application (Tomcat 4.0.3, Postgresql 7.2.1, JDBC: PostgreSQL 7.2 JDBC2) runs well on W2k, also on Linux (Suse 7.2) but on SOLARIS OS (Sparc) we have the following problem: All specific german characters (ä, ö, ü, ß, ...) return to the Client (Browser) only as 'ß'. If we send a native request to the database by psql, we havn't the problem. We only used the defaults installing Tomcat and Postgresql. What could be the problem? Greetings, Andreas -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]