Re: Tomcat Shutdown Unexpectedly

2006-05-10 Thread Vasily Ivanov
Hi, We've recently had something very similar with Tomcat and Apache Web Server. Have a look here (read all in threads): http://www.mail-archive.com/users@tomcat.apache.org/msg09335.html http://marc.theaimsgroup.com/?l=tomcat-user&m=106193808515738&w=2 We changed configuration of Tomcat and Apa

Help!Tomcat crashes:Waiting for instance(s) to be deallocated

2006-05-10 Thread starki78
Hi, we are working with Tomcat 4.1: I didn't find a proper cause in the log-files. Can someone help me please? How could this be possible?? 2006-05-11 06:53:35 StandardWrapper[/pss:action]: Waiting for 74 instance(s) to be deallocated 2006-05-11 06:53:36 StandardWrapper[/pss:jsp]: Waiting for 1

Tomcat Shutdown Unexpectedly

2006-05-10 Thread zhann
Hello. We are having a strange Tomcat issue on one of our client's machines. The problem is that it shuts down randomly. There is nothing in the Tomcat Log to indicate why this is occuring, and the Windows Event Manager simply states that the process "shut down unexpectedly". We have tried

Re: maxThreads compared to maxProcessors

2006-05-10 Thread Bill Barker
"Sean O'Reilly" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >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 ? > I believe that on 5.0.x, maxProcessors is an al

RE: Tomcat Standalone: Traffic Reporting?

2006-05-10 Thread Tim Lucia
The tomcat manager itself provides some information. I've even got scripts working with MRTG that make use of it (it being available at http://localhost:8080/manager/status?XML=true.) I will send them to you if you are interested. Note that this is connector-level information, not application-sp

Can;t connect Tomcat 1.4.3.1 and Apache 1.3.34

2006-05-10 Thread Bob Thompson
We are having a problem getting Apache to talk to Tomcat. We installed Apache and Tomcat using Windows executables. We are running Tomcat 4.1.31 and Apache 1.3.34. This is on Windows 2000. These are plain vanilla, "out of the box" installs so far. When we start Apache and Tomcat and try to con

RE: Tomcat Standalone: Traffic Reporting?

2006-05-10 Thread John C. Dale
I've had good luck with this... http://awstats.sourceforge.net/ JCD -Original Message- From: Pete Lamborne [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 2:12 PM To: users@tomcat.apache.org Subject: Tomcat Standalone: Traffic Reporting? Hi, I am running several websites/weba

Re: Tomcat 5.5 + VirtualHosts + SSL

2006-05-10 Thread Hassan Schroeder
On 5/10/06, Jorge Isaac Martínez Hatch <[EMAIL PROTECTED]> wrote: - 1 Windows server. - 1 Tomcat 5.5 installation. - 2 IP addresses. - 2 Domains. - 2 SSL certificates. - 1 big problem: I can't install both certificates in Tomcat. Can I have IP-Based Virtual Hosting using just Tomcat? Yes, a

Tomcat Standalone: Traffic Reporting?

2006-05-10 Thread Pete Lamborne
Hi, I am running several websites/webapps on a single Tomcat instance and can't find a product that would generate traffic reporting. I am open to any sort of method for achieving this -- ie some sort of monitor filter that runs as a seperate webapp, or something that looks at network traffic

Odd SSL issue

2006-05-10 Thread Doug Wagley
I have tomcat 4.x running on Win2000 SP4. I have set up a valid secure certificate using keytool. The keystore looks correct. When I start tomcat and enter the secure address to my webapp (https:/ myserver/myapp) it works great the first time, no problems. The second and subsequent times I get a

Tomcat 5.5 + VirtualHosts + SSL

2006-05-10 Thread Jorge Isaac Martínez Hatch
Hi, I hope everybody have a nice day. This is my scenario: - 1 Windows server. - 1 Tomcat 5.5 installation. - 2 IP addresses. - 2 Domains. - 2 SSL certificates. - 1 big problem: I can't install both certificates in Tomcat. I read something about a solution on this using ip-based virtual hosts. B

Re: JAASRealm programmatic call

2006-05-10 Thread Chapoor Chapoor
Please advice. Any developers from JAASRealm ??? On 5/9/06, Chapoor Chapoor <[EMAIL PROTECTED]> wrote: Hi, can someone provide me code for calling JAASRealm programmaticaly ? I do something like this, but it fails: org.apache.catalina.realm.JAASRealm realm = new org.apache.catalina.r

RE: Handling 404 thru web.xml

2006-05-10 Thread Tim Lucia
It must be Struts that is sending the 404, as there is a wildcard mapping for *.do to the ActionServlet. When all the stack frames are popped off, Tomcat detects the 404 return code and forwards to the error page. If you redirect to the error page, then the client (browser) will make the request

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 differently.I

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] http://jack.godau.go

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 f

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 request

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 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 ar

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 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" To: "'Tomcat Users List'" Subject: RE: Handling 404 thru web.xml Date: Wed, 10 May 2006 12:12:17 -0400 A redirect would ch

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 11:

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 404 /portal.do When I call, say portal1.do, a page that doesn't exists I get a forward to the portal.do the thing with the forward is seems that it d

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

RE: RE: JAVA_HOME / JRE_HOME still necessary?

2006-05-10 Thread Tim Lucia
Unfortunately this is not true at all. Just because Oracle, like Microsoft, believes they are the only one out there, does not mean that multiple java installations cannot coexist peacefully. Only the first one on the path is active if you say java ... without an explicit path. By using this l

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 Wi

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 if

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: 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 w

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 SU

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 H

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 Win

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 environ

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 JDBCRea

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 Problem:

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: With

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: 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. Reg