Re: Extra Threads in background

2009-05-05 Thread David.Meldrum
Well removing the extra element from my server.xml fixed the problem and I now only have the one Background thread I intended. You are right, less resources consumed. I am not sure where I got the idea I needed: Probably read it as an example in a book. Christopher Schultz wrote

Re: Extra Threads in background

2009-05-04 Thread David.Meldrum
This may be the key to duplicate Thread. I am not really confident in my server.xml so here it is. Note that I have two "hosts" one for "localhost" and the other for the domain "southchurch.atx.cx" Is that correct? Could that cause the application to run twice? Server.xml SSLEngine=

Re: Extra Threads in background

2009-05-01 Thread David.Meldrum
8/2009 10:52 PM, David.Meldrum wrote: I need a background task which I implemented as a thread that I stated in the ContextListerner. [snip] The problem I noticed is that while I only call the BackGroundThread.*start()* method once. I see at least two threads running in Tomcat (las

Re: Extra Threads in background

2009-04-29 Thread David.Meldrum
: David.Meldrum wrote: Running Tomcat 6.0.18 Standalone on Windows XP. I need a background task which I implemented as a thread that I stated in the ContextListerner. In the contextInitilized() method I create and started the background process. I give it a name and made it a daemon. All that

Extra Threads in background

2009-04-28 Thread David.Meldrum
Running Tomcat 6.0.18 Standalone on Windows XP. I need a background task which I implemented as a thread that I stated in the ContextListerner. In the contextInitilized() method I create and started the background process. I give it a name and made it a daemon. All that works great! The p

Re: Path problem

2009-03-13 Thread David.Meldrum
ly know where Tomcat is. Also how do I create a file under "/logs"? Is there some way to determine the path to the /logs directory in a format that I can create a file under the logs directory, without assuming where Tomcat is deployed? -d Caldarale, Charles R wrote: From: David.Meldr

Re: Path problem

2009-03-13 Thread David.Meldrum
I still have questions about the path to a file. {This is within a servlet... actually in my case I am trying to read/write from a ContextListenr} I understand that just opening a FIle will be relative to where Tomcat was started. Is there a simple java method (and on what class) that will g

Jar wars - Conflicting classes

2009-01-03 Thread David.Meldrum
Windows XP SP 3 Tomcat 6.0.1 JVM 1.6.0 Must all conflicting classes be sorted out on one instance of Tomcat? I have learned not to put application jars (classes) in the jre lib, since they then become common to all applications and if there is a duplicate, but not exact duplicate, then things

Is this list archived?

2008-12-04 Thread David.Meldrum
Is there a searchable archive of this mailing list? I have a few questions that I am sure have already been answered in the past. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: URL Mapping behind a router

2008-11-10 Thread David.Meldrum
As Gilda Radner would say NEVER MIND! I had some absolute paths in my hrefs instead of relative paths. Shame on me! -d David.Meldrum wrote: I am deploying my tomcat server behind a router. I have the router port forwarding working and I can hit the top index.html page fine. My problem is

URL Mapping behind a router

2008-11-10 Thread David.Meldrum
I am deploying my tomcat server behind a router. I have the router port forwarding working and I can hit the top index.html page fine. My problem is that when I try to redirect to a JSP's or html page. Tomcat changes the url address from the original which was really the routers name to the