Re: Extra Threads in background

2009-05-05 Thread David.Meldrum
Well removing the extra host 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: Host name=southchurch.ath.cx appBase=webapps unpackWARs=true

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 ?xml version='1.0'

Re: Extra Threads in background

2009-05-01 Thread David.Meldrum
, 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 seen in Thread

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

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

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

Re: Path problem

2009-03-13 Thread David.Meldrum
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.Meldrum [mailto:david.meld...@verizon.net] Subject: Re: Path problem

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

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]

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

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