Avoiding username/password being logged into localhost access logs

2009-04-22 Thread Tom-cat
Hi, We are using Tomcat 5.0.27. Whenever the user logs using GET or POST request his/her username and password are being logged in clear text in the localhost access logs. It has become a security issue as anyone with an account to the system can browse through the logs and find out the username

Tomcat shutdown event

2008-09-12 Thread Tom Cat
Hello, I have a servelet spawn a thread that should run until tomcat is shutdown. The problem is, when Tomcat is shut down, the thread keeps running. Does Tomcat have a shutdown event that I could use to trigger the thread destruction? If not, is there any graceful way of handling this? Thanks

Basic Authentication with Tomcat

2008-08-18 Thread Tom Cat
Hello, I am trying to setup basic http authentication with tomcat. I modified my the web.xml file in the project's WEB-INF folder. Here is the relevant portion: http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="http://java.sun.com/xml/ns/javaee/web

Re: Problems with NoClassDefFound Error in tomcat 6

2008-08-08 Thread Tom Cat
well that solves the noClassDef problem. Now the page just loads infinitely with a blank screen. But maybe this isn't a tomcat problem, but rather a code problem. Thanks On Fri, Aug 8, 2008 at 6:04 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: > Tom Cat wrote: >> >> No,

Re: Problems with NoClassDefFound Error in tomcat 6

2008-08-08 Thread Tom Cat
No, I didn't have Tidy.jar in the webapp's classpath. I moved it into the WEB-INF/lib folder and am still getting a NoClassDefFound error. Any help? On Fri, Aug 8, 2008 at 4:30 PM, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On Fri, Aug 8, 2008 at 1:27 PM, Tom Cat <[E

Problems with NoClassDefFound Error in tomcat 6

2008-08-08 Thread Tom Cat
Hello, I am trying to run my webapp in tomcat 6 but am having a problem. A servlet I use imports org.w3c.tidy.Tidy and the code compiles fine. When I try to run it in tomcat though, i get this error: java.lang.NoClassDefFoundError: org/w3c/tidy/Tidy I don't understand why it throws this error.

Re: mod_jk connection error?

2008-07-07 Thread Tom Cat
Thanks Changing ajp12 to ajp13 did the trick. I will try to remove all the deprecated references but honestly, at this point, I am just happy it is working. On 7/7/08, Steve Ochani <[EMAIL PROTECTED]> wrote: > On 7 Jul 2008 at 17:33, Tom Cat wrote: > > Date sent: M

mod_jk connection error?

2008-07-07 Thread Tom Cat
Hello, I am new to Tomcat and apache. I have successfully install both the apache webserver and tomcat, and now wish to link them together. Here is my system info: mod_jk version 1.2.26 apache version 2.2.9 tomcat verison 6.0.16 Ubuntu Linux kernel 2.6.24-19-generic I can successfully view html