Re: Tomcat6 with mod_jk

2011-01-09 Thread Peter Sparkes
In addition when I start apache2 I get the following: Starting web server: apache2[Sun Jan 09 07:52:42 2011] [warn] VirtualHost appledorera.org:80 overlaps with VirtualHost appledorera.org:80, the first has precedence, perhaps you need a NameVirtualHost directive Hello, What I am trying

RE: can't start tomcat5.5.31

2011-01-09 Thread Tim Clotworthy
Let me try that again with a simple image file: Thanks. No I do NOT get a UAC. I do get the following (see attached), however. Isn't this essentially the same warning? -Original Message- From: Tim Clotworthy [mailto:tclotwor...@integratedsecure.com] Sent: Saturday, January 08, 2011

RE: can't start tomcat5.5.31

2011-01-09 Thread Tim Clotworthy
My apologies for the repetitive replies. I was trying to send a simple JPEG as a screenshot of the message, but it appears to be not allowed as an attachment? Essentially, the message I get at the beginning of install is an Open File - Security Warning as a Microsoft Security Alert indicating

Need to create a new thread for async operations

2011-01-09 Thread Captain Cid
I am having a CXF webservice impl class. In this I want to start a new thread in service impl constructor. This is because I need to run a thread will continuously do some operation in background using database. And I need to be able to stop it when tomcat is shutdown. I was searching net. Found

Re: Need to create a new thread for async operations

2011-01-09 Thread Michael Ludwig
Captain Cid schrieb am 09.01.2011 um 08:27 (-0800): I want to start a new thread in service impl constructor. That's not necessarily the best place. This is because I need to run a thread will continuously do some operation in background using database. And I need to be able to stop it when

Re: Need to create a new thread for async operations

2011-01-09 Thread Captain Cid
I have moved the thread creation to constructor of a class which is instantiated by spring. Can you elaborate how to spawn thread in it using javax.servlet.ServletContextListener ? Captain Cid wrote: I am having a CXF webservice impl class. In this I want to start a new thread in service

Re: Need to create a new thread for async operations

2011-01-09 Thread Juha Laiho
On 01/09/2011 09:30 PM, Captain Cid wrote: I have moved the thread creation to constructor of a class which is instantiated by spring. Can you elaborate how to spawn thread in it using javax.servlet.ServletContextListener ? As for ServlerContextListener, please have a look:

Re: can't start tomcat5.5.31

2011-01-09 Thread Konstantin Kolinko
That is not UASC. 1) Try to run the installer with explicit Run as administrator (from menu on that file). 2) Launch Configure Tomcat application (from Start/Programs menu, or click the Tomcat icon in the tray. or launch tomcat5w directly from the bin folder) check what JRE is selected there

RE: can't start tomcat5.5.31

2011-01-09 Thread Tim Clotworthy
Thanks for your patient support. I did all as you instructed. With log set to debug, here is the output when attempting to start tomcat: [2011-01-09 16:35:44] [info] Commons Daemon procrun (1.0.2.0) started [2011-01-09 16:35:44] [info] Running Service... [2011-01-09 16:35:44] [info] Starting

Re: Need to create a new thread for async operations

2011-01-09 Thread Captain Cid
Thanks a lot. I was not aware of how to use servletcontextlistener. - in contextinitialized I am creating my thread and stopping it in contextdestroyed. - I needed a spring bean for thread initialization, which I got in contextinitialized function. Juha Laiho wrote: On 01/09/2011 09:30 PM,

Re: can't start tomcat5.5.31

2011-01-09 Thread Konstantin Kolinko
2011/1/10 Tim Clotworthy tclotwor...@integratedsecure.com: Thanks for your patient support. I did all as you instructed. With log set to debug, here is the output when attempting to start tomcat: [2011-01-09 16:35:44] [info] Commons Daemon procrun (1.0.2.0) started [2011-01-09 16:35:44]

RE: can't start tomcat5.5.31

2011-01-09 Thread Tim Clotworthy
My tomcat5 is 76.5 kbytes, so a little less than what you say the 64 bit tomcat5 should be. -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Sunday, January 09, 2011 5:25 PM To: Tomcat Users List Subject: Re: can't start tomcat5.5.31 2011/1/10 Tim

Re: can't start tomcat5.5.31

2011-01-09 Thread Mark Thomas
On 09/01/2011 22:38, Tim Clotworthy wrote: My tomcat5 is 76.5 kbytes, so a little less than what you say the 64 bit tomcat5 should be. 78336/1024 = 76.5 Mark -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Sunday, January 09, 2011 5:25 PM To:

RE: can't start tomcat5.5.31

2011-01-09 Thread Tim Clotworthy
Got it. Thanks. And the bin/tcnative-1.dll is indeed missing. Obviously I have 64 bit tomcat. If it is useful, the C:\Java\jre6\bin\client\jvm.dll is 2,359,296 bytes. How do I confirm whether this is the 32 bit or 64 jre? -Original Message- From: Mark Thomas [mailto:ma...@apache.org]

RE: can't start tomcat5.5.31

2011-01-09 Thread Tim Clotworthy
Thanks. I was indeed pointing to the wrong jre. I got it working now. Thanks for all your patient help. I learned some basic things about troubleshooting tomcat. Thanks again for your kind help and service. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Sunday,