Giovanni,
I too had some difficulty getting things running smoothly as an NT Service
on Win2K. I experienced the same error. Here's how I fixed mine:
1. Go to the c:\{My Tomcat Directory}\bin directory.
2. Rewrite your net service command like this: jk_nt_service -i service_name
conf\wrapper.properties
By excluding the conf\ directory from the command, the service is looking at
the wrong directory for the wrapper.properties file.
3. Once you rerun this, you have to reboot. Go to the NT Services
application through your Settings>Control Panel>Services and make sure that
your service_name is listed in the services directory. You may have to reset
the start up to Automatic. Mine defaults to Manual.
4. Start the service from the Services panel.
5. Test your service by going to your browser and running a sample.jsp...
This should do it.
Ben Cramer
iPath Solutions
[EMAIL PROTECTED]
>Date: Mon, 26 Feb 2001 14:44:17 +0100
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>From: Serra Giovanni <[EMAIL PROTECTED]>
>Subject: Tomcat as NT Service Error!!
>Message-ID: <313FABF24A2AD311A34800508B2CD3902F6816@KRESSNT>
>Hi all,
>I am trying to set up Tomcat as a Nt Service but i always got the same
>error!!
>it is :
>The service_name is starting.
>The service_name service could not be started.
>The service did not report an error.
>More help is available by typing NET HELPMSG 3534.
>what i've done is :
>1. open a dos window
>2. jk_nt_service -i service_name wrapper.properties (after modified it)
>3. net start service_name
>I am working on win 2k professional
>I read lot of mailing list and lot of peoples answered that it's a 1.3 jdk
>bug.
>I tried with 1.2 and it's the same!!
>I CANT START THE SERVICE !!
>Can anyone help please..
>thanks a lot !!
>Giovanni
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]