RE: Memory leak in Tomcat 5.5.16

2008-03-29 Thread Tom Price
Hi, I have now managed to do some analysis of the classes that are referencing the leaked objects, can anyone help me interpret these results? I got jmap/jhat working by upgrading to JRE 1.6.0_05, and took a heap dump at a time after a period of stress when all SOAP/XML connections had been

RE: Top mail servers

2008-03-29 Thread Carl Vorster
I've been using Apache James for a couple of years very successfully and am very happy with it. For plain mail delivery it's probably on par with the rest, but if you want to do more than simple mail, it's a winner. You can imbed it in tomcat if you want, run it standalone, use a db for mail

ServletContextListener Query

2008-03-29 Thread Sparecreative
I'm seeing an issue when using a ServletContextListener on Tomcat 6.0.13. Tomcat is triggering the contextInitialized method at startup but then shortly after fires off the contextDestroyed method, followed by the contextInitialized again. Is this normal behaviour or have I screwed something up

deploying war files

2008-03-29 Thread Melanie Pfefer
how to deploy war files in tomcat? What should I enter to these parameters? I dont have the xml file. I have only the war file. Should I create first a new directory? Context Path (optional): XML Configuration file URL: WAR or Directory URL: thanks

Re: deploying war files

2008-03-29 Thread Mark Thomas
Melanie Pfefer wrote: how to deploy war files in tomcat? What should I enter to these parameters? I dont have the xml file. I have only the war file. Should I create first a new directory? It usually helps if you say which Tomcat version you are using. For a default Tomcat installation, just

Problem in Running a servlet

2008-03-29 Thread Raghavan_sat
Hi, I have a servlet program that works fine under tomcat running in windows... But the same servlet program is not running under tomcat running in fedora... when i access this servlet tomcat just goes off.. in the sense i was even unable access the home page which i can easily do before

Re: Problem in Running a servlet

2008-03-29 Thread Mark Thomas
Raghavan_sat wrote: Hi, I have a servlet program that works fine under tomcat running in windows... But the same servlet program is not running under tomcat running in fedora... when i access this servlet tomcat just goes off.. in the sense i was even unable access the home page which i can

Re: Problem in Running a servlet

2008-03-29 Thread David Smith
The stack below tells me tomcat isn't running any longer after you try to run your servlet. In addition to what Mark suggested, your catalina.out file from the point your servlet was called onward would also be helpful. Also look for a core dump as there's a chance the JVM crashed -- that

tomcat, vista , symbolic link does not work

2008-03-29 Thread Randy Paries
Hello, My development env is running tomcat 5 on a windoze vista vista now supports symbolic links, but it seems that tomcat does not, or is it something i have to set up in tomcat. for example i have a file, the virt path is localhost:8080/mydir/user.css the file

RE: Problem in Running a servlet

2008-03-29 Thread Caldarale, Charles R
From: David Smith [mailto:[EMAIL PROTECTED] Subject: Re: Problem in Running a servlet Also look for a core dump as there's a chance the JVM crashed Also look for code in the servlet or classes it uses doing a System.exit() - a very obnoxious thing in a container environment. - Chuck

tomcat-users.xml parsing and updating

2008-03-29 Thread Lanny Rosicky
Could you please point me to reading on how to build a web front end for managing the tomcat-users.xml? I could of course just read and write it in a perl script as a file but it seems to me that would be abusing the design. I have tried various XML parsers in perl and php but can't seem to be

RE: tomcat-users.xml parsing and updating

2008-03-29 Thread Caldarale, Charles R
From: Lanny Rosicky [mailto:[EMAIL PROTECTED] Subject: tomcat-users.xml parsing and updating Could you please point me to reading on how to build a web front end for managing the tomcat-users.xml? Before you spend any time on this effort, perhaps you should take note of this statement in

Re: Tomcat to Apache connection dies

2008-03-29 Thread John Moore
Rainer, Thanks for taking the time to outline the differences.. hmmm.. maybe that needs to be somewhere in the docs page..G Anyway, I have upgraded to the latest and made the suggested changes so I will monitor the situation for now and hope that I'm now moving down the right path..

Re: ServletContextListener Query

2008-03-29 Thread Sparecreative
The original formatting was all screwed up. My apologies. I'm seeing an issue when using a ServletContextListener on Tomcat 6.0.13. Tomcat is triggering the contextInitialized method at startup but then shortly after fires off the contextDestroyed method, followed by the contextInitialized

jsp hack or better solution ??

2008-03-29 Thread Robert Koberg
Hi, (using 6.0.16) I want to create a jsp that is able to be seen in a browser without using tomcat (a simple HTMLish preview) in addition to using (rendering) it with tomcat. The kicker is I *need* the JSP to be well-formed XML. The problems are elements that contain HTML attributes held