Re: Log Files

2006-05-10 Thread Gaël Lams
Hi, Newbie question here folks I read in previous mails that there is a Catalina.out file Is catalina_log.2006-05-06.txt file (one by date).. But no *.log files.. It's catalina.out (not .log), you will for sure find it, and yes, it's the most important log file.

File deletion problem

2006-05-10 Thread vnug
Setup: Tomcat - 5.0.28 Java- 1.4.2 OS - Windows XP Problem: Within my webapp there is a need to delete a file. When I try to delete the file sometimes it gives the message the file can not be deleted beacuse it is being used by another user or process. The only way to get

Re: File deletion problem

2006-05-10 Thread Hadraba Petr
Hi vasu! What files do you want to delete? The files your application is using? If yes, maybe you forgot call f.close()... Maybe... My idea... PETR On 5/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Setup: Tomcat - 5.0.28 Java- 1.4.2 OS - Windows XP Problem:

Re: File deletion problem

2006-05-10 Thread Médérick Thebault
Be sure in our webapp, that no reference of this file exists/is still valid. I use to set to null every object which used this file (logger for eg) and that my webapp want to delete. HTH [EMAIL PROTECTED] a écrit : Setup: Tomcat - 5.0.28 Java- 1.4.2 OS - Windows XP

Re: JDBCRealms

2006-05-10 Thread Sean O'Reilly
On Tue, 9 May 2006 15:46:25 +0100 Sean O'Reilly [EMAIL PROTECTED] wrote: Hi all, Am setting up authentication through a jdbcrealm and all appears to work fine. The only problem i am having is with setting parameters like maxActive, maxIdle and maxWait. Can these be set for a JDBCRealm in

JAVA_HOME / JRE_HOME still necessary?

2006-05-10 Thread Stefan Wachter
Hi all, wouldn't it be nice if Tomcat does not need the JAVA_HOME or JRE_HOME environment variable? After installation of the SUN-JDK these environment variables are not set. Java is in the path and that's it. While starting Tomcat the script setclasspath.bat checks if one of the

RE: JAVA_HOME / JRE_HOME still necessary?

2006-05-10 Thread Tim Lucia
What about multiple JREs or JDKs on your system? Unlike Microsoft products, you can actually have multiple versions of Java on your system coexisting peacefully. Try installing the public beta of IE 7--and you are now running beta software in the core of your OS (assuming of course you have a

RE: classloader problem

2006-05-10 Thread Srivani Ausula
Hi Filip, Thanks a lot for your time and letting me know the reason. Thanks, A Srivani. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Filip Hanik - Dev Lists Sent: Tuesday, May 09, 2006 11:02 PM To: Tomcat Users List Subject: Re: classloader problem

Re: JAVA_HOME / JRE_HOME still necessary?

2006-05-10 Thread Tim Funk
Some of us run many JVM's on the same machine. And for reasons which drive us insane, java 1.1.X tends to be the first java in the PATH. -Tim Stefan Wachter wrote: Hi all, wouldn't it be nice if Tomcat does not need the JAVA_HOME or JRE_HOME environment variable? After installation of the

Re: RE: JAVA_HOME / JRE_HOME still necessary?

2006-05-10 Thread Giuseppe Briotti
What about multiple JREs or JDKs on your system? Unlike Microsoft products, you can actually have multiple versions of Java on your system coexisting peacefully. Unfortunately, this is not really true... because the first entry in path is the really one active. I had orrible experience

maxThreads compared to maxProcessors

2006-05-10 Thread Sean O'Reilly
I am using maxThreads in my ajp connector configuration in tomcat-5.0.28 but looking at the documentation it says i should be using maxProcessors. Is this the case ? -- Sean O'Reilly Systems Administrator SECPay Ltd http://www.secpay.com [EMAIL PROTECTED] Mobile 07917 463906 DDI 01732 300212

Re: JAVA_HOME / JRE_HOME still necessary?

2006-05-10 Thread Stefan Wachter
Hi Tim (et al.), ok, I understand the necessity for using different JDKs. I thought that adjusting the JAVA_HOME environment variable for certain situations might be the same effort as adjusting the PATH environment variable. Maybe an option would be to use the JAVA_HOME/JRE_HOME variables

Re: JAVA_HOME / JRE_HOME still necessary?

2006-05-10 Thread Marc Farrow
The question is: Where will Tomcat be running? If Tomcat is only running on one server, then only that server needs to be set up. If you are going to be running Tomcat on each machine, then modify/create the start up scripts to set the JAVA_HOME/JAVA_JRE paths in the script. (Easily done on

Re: JAVA_HOME / JRE_HOME still necessary?

2006-05-10 Thread Marc Farrow
Did I reply to the wrong thread? Or did I reply to a high-jacked thread? I am sorry. On 5/10/06, Marc Farrow [EMAIL PROTECTED] wrote: The question is: Where will Tomcat be running? If Tomcat is only running on one server, then only that server needs to be set up. If you are going to be

Handling 404 thru web.xml

2006-05-10 Thread MC Moisei
Hi, Do you know of any issue involving error handling in tomcat (5.5.9) ? Here's the deal. I defined in my web.xml the following entry error-page error-code404/error-code location/portal.do/location /error-page When I call, say portal1.do, a page that doesn't exists I get a forward to

RE: Handling 404 thru web.xml

2006-05-10 Thread Tim Lucia
A redirect would change the status code returned to the user agent. It does not go through the filters because it is forwarded, and as such is part of the same request, not a new request. Tim -Original Message- From: MC Moisei [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006

RE: Handling 404 thru web.xml

2006-05-10 Thread MC Moisei
Thanks Tim! Yeah, that's pretty much what I figured out but is there a workaround for that ? MC From: Tim Lucia [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: 'Tomcat Users List' users@tomcat.apache.org Subject: RE: Handling 404 thru web.xml Date: Wed, 10 May

logging question

2006-05-10 Thread Guy McArthur
Hello, somehow the 3rd party jar's in my web app are changing the log level and I need to find out how to override. Specifically my problem is that the log methods of Servlet send their output into the ether. The dependencies include commons-logging and log4j (themselves dependencies of either

RE: Handling 404 thru web.xml

2006-05-10 Thread Tim Lucia
Workaround? You speak as if it is broken, when it is behaving as it should. If you look at the stack while inside the error page, you will see your chain of filters on the stack. They've already done the request side and are now waiting for chain.doFilter(request, response) to return. If you

RE: logging question

2006-05-10 Thread Tim Lucia
No appenders means output is not appended to anything. If you supply the jar, supply the log4j.properties which configures it. Tim -Original Message- From: Guy McArthur [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 1:10 PM To: users@tomcat.apache.org Subject: logging question

RE: Handling 404 thru web.xml

2006-05-10 Thread MC Moisei
Tim I appreciate you're so prompt on this isssue. If you look to the second stack trace I sent you'd see that none of my filters are executed when the forward is happening. I'm not keen at all for a redirect what I'd need is to have the filters executed since the put some stuff in the

Tomcat 5 File accces

2006-05-10 Thread johnny
I have a servlet that writes a file to a local path outside the application path. It works perfectly fine with Tomcat 4. I'm trying to get it to work on Tomcat 5, but Tomcat 5 doesn't allow it to write to any path outside the application path. I've read the Security Manager Howto, but can't

Re: Tomcat and CRL(s) Certification Revocation Lists

2006-05-10 Thread Jeff Krug
Fri, May 05, at 04:31:PM : Jack has proclaimed: I have already gotten Tomcat to work with a (single) CRL, and as it was a bit of a struggle have placed some info for those trying to do this at [1]. The document is far from perfect, and any comments are welcome. [1]

RE: Handling 404 thru web.xml

2006-05-10 Thread MC Moisei
Please read I am puzzled a bit by the fact that Weblogic 8.1 implements it differently and that's a certain thing I can tell you for sure, Weblogic does a redirect and that solves my problems on that environment. as I am puzzled a bit by the fact that Weblogic 8.1 implements it