RE: Tomcat as NT Service

2002-11-18 Thread Mehdi . Nejad

Paul,

try http://www.firedaemon.com/

I used it to set up Unreal Tournament server as a service - i dont see why
it shouldn't work for Tomcat :o)

hope it helps,

Mehdi

Mehdi Nejad - Senior Developer
[EMAIL PROTECTED]
~~
Bluewave Ltd - Business Solutions
http://www.bluewave.com
Tel. +44 (0)20 7479 8394
~~


   

  "Anderson, M.

  Paul"To:   "'Tomcat Users List'" 
<[EMAIL PROTECTED]>
                      Subject:  RE: Tomcat as NT Service  

   

  18/11/2002 13:50 

  Please respond to

  "Tomcat Users

  List"

   

   





I reinstalled tomcat to have mine run as  a service...on a similar note,
can
anyone tell me how to get tomcat and apache to load as services in the
appropriate order?  When I startup it appears that apache gets loaded first
and the association is not setup with tomcat properly.  When I start them
manually, starting tomcat first, everything works great.  Can anyone tell
me
how to get the tomcat service to start first so that they will work
properly
or am I totally barking up the wrong tree here?

-Original Message-
From: louis [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 6:21 AM
To: Tomcat Users List
Subject: Tomcat as NT Service


Hello,

When I install tomcat 4.1.12 in my w2k system, I didn't choose to
install as NT service.  And now I want to do it, is it possible to do it
without reinstall tomcat again?  Please let me know how to do it...thanks.

Regards,
Louis



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>






--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Tomcat as NT Service

2002-11-18 Thread Jacob Kjome

See http://www.mattkelli.com/tech/tomcat/ntservice.htm

Please search for this kind of stuff on the list, though.  I've answered 
this question dozens of times.

Jake

At 11:20 AM 11/18/2002 +, you wrote:
Hello,

When I install tomcat 4.1.12 in my w2k system, I didn't choose to
install as NT service.  And now I want to do it, is it possible to do it
without reinstall tomcat again?  Please let me know how to do it...thanks.

Regards,
Louis



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



RE: Tomcat as NT Service

2002-11-18 Thread Anderson, M. Paul
I reinstalled tomcat to have mine run as  a service...on a similar note, can
anyone tell me how to get tomcat and apache to load as services in the
appropriate order?  When I startup it appears that apache gets loaded first
and the association is not setup with tomcat properly.  When I start them
manually, starting tomcat first, everything works great.  Can anyone tell me
how to get the tomcat service to start first so that they will work properly
or am I totally barking up the wrong tree here?

-Original Message-
From: louis [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 6:21 AM
To: Tomcat Users List
Subject: Tomcat as NT Service


Hello,

When I install tomcat 4.1.12 in my w2k system, I didn't choose to
install as NT service.  And now I want to do it, is it possible to do it
without reinstall tomcat again?  Please let me know how to do it...thanks.

Regards,
Louis



--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tomcat as NT service going down after 2 months ???

2002-02-22 Thread David Slater

Sounds like the symptoms of a VM crash, not Tomcat per se.  The 3.2.3 
box I run, up until a very recent SQL upgrade, used to go down every 
Sunday night in the wee hours.  No logs, or so I thought, until I 
noticed them in the tomcat/bin directory of all places!  You may want to 
look there just in case.  Seems a native call was generating a memory 
exception outside of the VM and the VM was shutting down to protect 
itself, so to speak.  (Specifically it was a close() call on a db 
connection, and something on the SQL side was making the driver go 
wonky, as if the connection was removed from the SQL side but the driver 
was never informed of the fact.)  So, ask them what changed on the SAP 
side too!  Good luck.

Ralphn wrote:
> Hello 
> 
> We have installed Tomcat 3.2.3 on WinNT 4.0 as a service.
> In our webapp we use the jco.jar - a business connector from the sap ag - to connect 
>to the sap-system.
> 
> since 2 months this runs very well and was never a problem,
> but since monday tomcat just goes down without any logging or what ever.
> sometimes tomcat goes down after just being restarted (??)
> 
> very confusing! our admins say, they haven't changed anything on this system.
> any ideas? 
> log-file too full? 
> 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: tomcat as nt service

2002-02-15 Thread secfoc

okthanks to all of you...the problem is solved

because of the blank in c:\program files\ i tried "c:\program files\" but it didn´t 
work outin fact, you must avoid blanks in paths in general, therefore, for 
all people having this problem, you need to write the short-form of the path, for 
example c:\progra~1\ instead of c:\program files or "c:\program files"

my personal advise after this experience...avoid blanks in pathnames at all cost...




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: tomcat as nt service

2002-02-15 Thread secfoc

that is my problem...there is no obvious reason...and nt just says, tomcat could not 
be startet and tomcat did not say why...there is no appearance in any 
logfile.


Am 15.02.2002 15:07:09, schrieb Olaf Jahn <[EMAIL PROTECTED]>:

>secfoc <[EMAIL PROTECTED]> wrote:
>
>> i install tomcat as an nt-service, via jk_nt_service -i tomcat
>> "c:\program files\tomcat\conf\wrapper.properties" and it looks fine.
>> but then the service won´t start and won´t even give me a reason
>> why. and it looks good.  when i start tomcat via "c:\program
>> files\tomcat\bin\startup.bat" everything runs fine and smoothbut
>> i need the service...
>
>Did you modify wrapper.properties to fit your installation? 
>I'd look there first.
>
>It there something in your control.log?
>
>Olaf
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: RE: tomcat as nt service

2002-02-15 Thread secfoc

thanks for answering so fast, but this is just the way, i did it. it just doesn´t work 
for no obvious reason.


Am 15.02.2002 15:07:29, schrieb "Deep Singh Bhau" <[EMAIL PROTECTED]>:

>Hi,
>
>If u have jk_nt_service.zip file then unzip it and extract the
>executable to bin folder under tomcat home
>Go to the conf  folder under tomcat home and open the wrapper.properties
>with some text editor.
>Update the wrapper.tomcat_home to point to the tomcat home directory
>Update the wrapper.java_home to point to the jdk1.3 directory
>Run the executable to set up Jakarta as a service  ---go to the bin
>folder under tomcat home and run the following command on the command
>line prompt jk_nt_service -I Jakarta  wrapper.properties file> 
>Eg :  jk_nt_service -I Jakarta
>C:\foo\Jakarta-tomcat\conf\wrapper.properties
>
>
>On the command prompt  start Jakarta by typing in net start Jakarta  
>Fire up IE Explorer and go to http://localhost:8080/examples/jsp
>You should be able to see the jsp examples 
>Click on execute of the Numberguess example and play with the JSP until
>you get the right answer  ?
>Close the IE Explorer
>On the command prompt  stop Jakarta by typing in net stop Jakarta  
>
>You have successfully installed Jakarta as a service 
>
>
>-Original Message-
>From: secfoc [mailto:[EMAIL PROTECTED]] 
>Sent: Friday, February 15, 2002 7:29 PM
>To: [EMAIL PROTECTED]
>Subject: tomcat as nt service
>
>i install tomcat as an nt-service, via jk_nt_service -i tomcat
>"c:\program files\tomcat\conf\wrapper.properties"  and it looks fine.
>but then the service 
>won´t start and won´t even give me a reason why. and it looks good.
>when i start tomcat via "c:\program files\tomcat\bin\startup.bat"
>everything runs 
>fine and smoothbut i need the service...
>
>anybody seen this problem???
>anybody an idea???
>
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: tomcat as nt service

2002-02-15 Thread Olaf Jahn

secfoc <[EMAIL PROTECTED]> wrote:

> i install tomcat as an nt-service, via jk_nt_service -i tomcat
> "c:\program files\tomcat\conf\wrapper.properties" and it looks fine.
> but then the service won´t start and won´t even give me a reason
> why. and it looks good.  when i start tomcat via "c:\program
> files\tomcat\bin\startup.bat" everything runs fine and smoothbut
> i need the service...

Did you modify wrapper.properties to fit your installation? 
I'd look there first.

It there something in your control.log?

Olaf


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: tomcat as nt service

2002-02-15 Thread Deep Singh Bhau

Hi,

If u have jk_nt_service.zip file then unzip it and extract the
executable to bin folder under tomcat home
Go to the conf  folder under tomcat home and open the wrapper.properties
with some text editor.
Update the wrapper.tomcat_home to point to the tomcat home directory
Update the wrapper.java_home to point to the jdk1.3 directory
Run the executable to set up Jakarta as a service  ---go to the bin
folder under tomcat home and run the following command on the command
line prompt jk_nt_service -I Jakarta   
Eg :  jk_nt_service -I Jakarta
C:\foo\Jakarta-tomcat\conf\wrapper.properties


On the command prompt  start Jakarta by typing in net start Jakarta  
Fire up IE Explorer and go to http://localhost:8080/examples/jsp
You should be able to see the jsp examples 
Click on execute of the Numberguess example and play with the JSP until
you get the right answer  ?
Close the IE Explorer
On the command prompt  stop Jakarta by typing in net stop Jakarta  

You have successfully installed Jakarta as a service 


-Original Message-
From: secfoc [mailto:[EMAIL PROTECTED]] 
Sent: Friday, February 15, 2002 7:29 PM
To: [EMAIL PROTECTED]
Subject: tomcat as nt service

i install tomcat as an nt-service, via jk_nt_service -i tomcat
"c:\program files\tomcat\conf\wrapper.properties"  and it looks fine.
but then the service 
won´t start and won´t even give me a reason why. and it looks good.
when i start tomcat via "c:\program files\tomcat\bin\startup.bat"
everything runs 
fine and smoothbut i need the service...

anybody seen this problem???
anybody an idea???



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Tomcat as NT service.. problem.

2001-07-17 Thread Gary Dale

Well put. Moreover, the jk_nt_service does not require knowledge of the 
Apache directory.


Randy Layman wrote:

>   I would suggest that you investigate why this is before you call it
>a "secret trap" and "stupid".  There are lots of little gottchas like this
>in Tomcat (and Windows in general).  They are generally there because the
>people at Microsoft couldn't be bothered to make all things work all the
>time.
>
>   Randy
>
>PS This problem is related to the reason that on NT and 9x you system
>directory has hundreds, if not thousands, of dlls.
>
>-Original Message-
>From: Bruce A. Carson [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 10, 2001 12:44 AM
>To: [EMAIL PROTECTED]
>Subject: RE: Tomcat as NT service.. problem.
>
>
>Ah, you probably fell for the "secret" trap laid for you by the
>programmers...  The stupid Tomcat jk_nt_service can't handle directories
>with a space in them and the default install for Apache puts Apache in a
>directory with not one, but two spaces !!
> 
>I will send you my install directions in a private e-mail.  If anyone else
>is interested, drop me an e-mail.
> 
>Bruce
>-Original Message-
>From: Gregory Guthrie [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 10, 2001 12:37 AM
>To: [EMAIL PROTECTED]
>Subject: Tomcat as NT service.. problem.
>
>
>I tried to setup Tomcat to start as an NT service (Win2k-Pro), as per:
>  Working with the Jakarta NT Service
>  http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-howto.html
>  
>And it seems OK:
>   E:\Net\Apache\Tools>jk_nt_service -i Tomcat
>e:\Net\Apache\Tomcat\conf\wrapper.properties
>   Asked (and given) winsock 1.1
>   The service named Tomcat was created. Now adding registry entries
>   Registry values were added
>   If you have already updated wrapper.properties you may start the Tomcat
>service
>   by executing "net start Tomcat" from the command prompt
>
>But I get:
>   E:\Net\Apache\Tools>net start Tomcat
>   The Tomcat service is starting.
>   The Tomcat service could not be started.
>   The service did not report an error.
>   More help is available by typing NET HELPMSG 3534.
>
>Apache runs fine as a service.  :-)
>Tomcat runs fine by a DOS startup.
>And they run fine together via mod_jk.dll.
>
>I did edit the wrappers.properties file to point to JDK and Tomcat; seems
>simple enough.
>  
>Any help appreciated; I don't know where to look for hints, there are no log
>files or errors generated.
>
>
>
>Gregory Guthrie
>[EMAIL PROTECTED] (641)472-1125Fax: -1103
> 
>






RE: Tomcat as NT service.. problem.

2001-07-10 Thread James Radvan

I expect developers at Microsoft would disagree with that, Randy.  If you're
on the topic of 'thinking before criticising' you might want to taste a bit
of your own medicine! As a software developer, I know that the coders rarely
have the option to make every function perfect with time, budget and other
constraints - that goes for paid Microsoft developers as much as unpaid
Tomcat developers.

-
James Radvan
Websphere Analyst/Architect
London, UK
[EMAIL PROTECTED]
+44 7990 624899


-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: 10 July 2001 10:47
To: [EMAIL PROTECTED]
Subject: RE: Tomcat as NT service.. problem.

I would suggest that you investigate why this is before you call it
a "secret trap" and "stupid".  There are lots of little gottchas like this
in Tomcat (and Windows in general).  They are generally there because the
people at Microsoft couldn't be bothered to make all things work all the
time.




Click here to visit the Argos home page http://www.argos.co.uk

The information contained in this message or any of its attachments may be privileged 
and confidential, and is intended exclusively for the addressee.
The views expressed may not be official policy, but the personal views of the 
originator.  
If you are not the addressee, any disclosure, reproduction, distribution, 
dissemination or use of this communication is not authorised.
If you have received this message in error, please advise the sender by using the 
reply facility in your e-mail software.
All messages sent and received by Argos Ltd are monitored for virus, high risk file 
extensions, and inappropriate content.  As a result users should be aware that mail 
may be accessed.





RE: Tomcat as NT service.. problem.

2001-07-10 Thread Randy Layman


I would suggest that you investigate why this is before you call it
a "secret trap" and "stupid".  There are lots of little gottchas like this
in Tomcat (and Windows in general).  They are generally there because the
people at Microsoft couldn't be bothered to make all things work all the
time.

Randy

PS This problem is related to the reason that on NT and 9x you system
directory has hundreds, if not thousands, of dlls.

-Original Message-
From: Bruce A. Carson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 12:44 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat as NT service.. problem.


Ah, you probably fell for the "secret" trap laid for you by the
programmers...  The stupid Tomcat jk_nt_service can't handle directories
with a space in them and the default install for Apache puts Apache in a
directory with not one, but two spaces !!
 
I will send you my install directions in a private e-mail.  If anyone else
is interested, drop me an e-mail.
 
Bruce
-Original Message-
From: Gregory Guthrie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 12:37 AM
To: [EMAIL PROTECTED]
Subject: Tomcat as NT service.. problem.


I tried to setup Tomcat to start as an NT service (Win2k-Pro), as per:
  Working with the Jakarta NT Service
  http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-howto.html
  
And it seems OK:
   E:\Net\Apache\Tools>jk_nt_service -i Tomcat
e:\Net\Apache\Tomcat\conf\wrapper.properties
   Asked (and given) winsock 1.1
   The service named Tomcat was created. Now adding registry entries
   Registry values were added
   If you have already updated wrapper.properties you may start the Tomcat
service
   by executing "net start Tomcat" from the command prompt

But I get:
   E:\Net\Apache\Tools>net start Tomcat
   The Tomcat service is starting.
   The Tomcat service could not be started.
   The service did not report an error.
   More help is available by typing NET HELPMSG 3534.

Apache runs fine as a service.  :-)
Tomcat runs fine by a DOS startup.
And they run fine together via mod_jk.dll.

I did edit the wrappers.properties file to point to JDK and Tomcat; seems
simple enough.
  
Any help appreciated; I don't know where to look for hints, there are no log
files or errors generated.



Gregory Guthrie
[EMAIL PROTECTED] (641)472-1125Fax: -1103
 



Re: Tomcat as NT service.. problem.

2001-07-10 Thread Tomeu Bennàssar

I had the same problem and Randy Layman send me the text bellow, try it, it
worked for me

Generally this is due to some form of Path error causing the service
not to be able to start.  There are three things to check:
1.  The path to wrapper.properties is correct (its in the registry
under HKEY_LOCAL_MACHINE\Services\CurrentControlSet\.
2.  The values of TOMCAT_HOME or JAVA_HOME are incorrect
3.  You have installed Tomcat or Java into a directory that has a
space in its name.

Tomeu Bennàssar

Simon Mitchell bpc wrote:

> I had the same problem.
>
> In my case it was fixed by setting  wrapper.tomcat_home, java_home
> adding the jar files for tomcat and oracle in wrapper.properties
>
> wrapper.tomcat_home=c:\jakarta\jakarta-tomcat-3.2.2
>
> wrapper.java_home=c:\jdk1.3
>
> wrapper.class_path=$(wrapper.tomcat_home)\classes
> wrapper.class_path=$(wrapper.tomcat_home)\lib\japx.jar
> wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar
> wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar
> wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar
> wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar
> wrapper.class_path=$(wrapper.tomcat_home)\lib\classes12.jar
> wrapper.class_path=$(wrapper.tomcat_home)\lib\nls_charset12.jar
>
> Good Luck.
> Regards,
> Simon
>
> Gregory Guthrie wrote:
>
> > I tried to setup Tomcat to start as an NT service (Win2k-Pro), as per:
> >   Working with the Jakarta NT Service
> >   http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-howto.html
> >
> > And it seems OK:
> >E:\Net\Apache\Tools>jk_nt_service -i Tomcat
> > e:\Net\Apache\Tomcat\conf\wrapper.properties
> >Asked (and given) winsock 1.1
> >The service named Tomcat was created. Now adding registry entries
> >Registry values were added
> >If you have already updated wrapper.properties you may start the
> > Tomcat service
> >by executing "net start Tomcat" from the command prompt
> >
> > But I get:
> >E:\Net\Apache\Tools>net start Tomcat
> >The Tomcat service is starting.
> >The Tomcat service could not be started.
> >The service did not report an error.
> >More help is available by typing NET HELPMSG 3534.
> >
> > Apache runs fine as a service.  :-)
> > Tomcat runs fine by a DOS startup.
> > And they run fine together via mod_jk.dll.
> >
> > I did edit the wrappers.properties file to point to JDK and Tomcat;
> > seems simple enough.
> >
> > Any help appreciated; I don't know where to look for hints, there are
> > no log files or errors generated.
> >
> > 
> > Gregory Guthrie
> > [EMAIL PROTECTED] (641)472-1125Fax: -1103
> > 




Re: Tomcat as NT service.. problem.

2001-07-10 Thread Simon Mitchell bpc

I had the same problem.

In my case it was fixed by setting  wrapper.tomcat_home, java_home 
adding the jar files for tomcat and oracle in wrapper.properties

wrapper.tomcat_home=c:\jakarta\jakarta-tomcat-3.2.2

wrapper.java_home=c:\jdk1.3


wrapper.class_path=$(wrapper.tomcat_home)\classes
wrapper.class_path=$(wrapper.tomcat_home)\lib\japx.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\classes12.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\nls_charset12.jar

Good Luck.
Regards,
Simon


Gregory Guthrie wrote:

> I tried to setup Tomcat to start as an NT service (Win2k-Pro), as per:
>   Working with the Jakarta NT Service
>   http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-howto.html
>  
> And it seems OK:
>E:\Net\Apache\Tools>jk_nt_service -i Tomcat 
> e:\Net\Apache\Tomcat\conf\wrapper.properties
>Asked (and given) winsock 1.1
>The service named Tomcat was created. Now adding registry entries
>Registry values were added
>If you have already updated wrapper.properties you may start the 
> Tomcat service
>by executing "net start Tomcat" from the command prompt
>
> But I get:
>E:\Net\Apache\Tools>net start Tomcat
>The Tomcat service is starting.
>The Tomcat service could not be started.
>The service did not report an error.
>More help is available by typing NET HELPMSG 3534.
>
> Apache runs fine as a service.  :-)
> Tomcat runs fine by a DOS startup.
> And they run fine together via mod_jk.dll.
>
> I did edit the wrappers.properties file to point to JDK and Tomcat; 
> seems simple enough.
>  
> Any help appreciated; I don't know where to look for hints, there are 
> no log files or errors generated.
>
> 
> Gregory Guthrie
> [EMAIL PROTECTED] (641)472-1125Fax: -1103
> 







RE: Tomcat as NT service.. problem.

2001-07-09 Thread Bruce A. Carson



Ah, 
you probably fell for the "secret" trap laid for you by the programmers...  
The stupid Tomcat jk_nt_service can't handle directories with a space in them 
and the default install for Apache puts Apache in a directory with not one, but 
two spaces !!
 
I will 
send you my install directions in a private e-mail.  If anyone else is 
interested, drop me an e-mail.
 
Bruce

  -Original Message-From: Gregory Guthrie 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 10, 2001 12:37 
  AMTo: [EMAIL PROTECTED]Subject: Tomcat as 
  NT service.. problem.I tried to setup Tomcat to start as 
  an NT service (Win2k-Pro), as per:  Working with the Jakarta NT 
  Service  http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-howto.html  
  And it seems OK:   E:\Net\Apache\Tools>jk_nt_service -i 
  Tomcat e:\Net\Apache\Tomcat\conf\wrapper.properties   Asked (and 
  given) winsock 1.1   The service named Tomcat was created. Now 
  adding registry entries   Registry values were 
  added   If you have already updated wrapper.properties you may 
  start the Tomcat service   by executing "net start Tomcat" from 
  the command promptBut I get:   
  E:\Net\Apache\Tools>net start Tomcat   The Tomcat service is 
  starting.   The Tomcat service could not be 
  started.   The service did not report an error.   
  More help is available by typing NET HELPMSG 3534.Apache runs fine as 
  a service.  :-)Tomcat runs fine by a DOS startup.And they run 
  fine together via mod_jk.dll.I did edit the wrappers.properties file 
  to point to JDK and Tomcat; seems simple enough.  Any help 
  appreciated; I don't know where to look for hints, there are no log files or 
  errors generated.
  Gregory 
  Guthrie[EMAIL PROTECTED] 
  (641)472-1125    Fax: 
  -1103 



RE: Tomcat as NT Service Error!!

2001-03-12 Thread Ian Groff
Title: RE: Tomcat as NT Service Error!!





Check your tomcat_home and java_home settings in wrapper.properties


-Original Message-
From: Balcom, Mimi [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 12:02 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Tomcat as NT Service Error!!




I am having the same problem. Does any one have an answer for it?


Thanks.


-Original Message-
From: Serra Giovanni [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 5:44 AM
To: '[EMAIL PROTECTED]'
Subject: Tomcat as NT Service Error!!



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]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]





RE: Tomcat as NT Service Error!!

2001-03-12 Thread Balcom, Mimi


I am having the same problem. Does any one have an answer for it?

Thanks.

-Original Message-
From: Serra Giovanni [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 5:44 AM
To: '[EMAIL PROTECTED]'
Subject: Tomcat as NT Service Error!!


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]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Tomcat as NT Service Error!!

2001-02-26 Thread Benjamin Cramer

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]




RE: Tomcat as NT Service Error!!

2001-02-26 Thread shlomi sarfati


i think that you problem is very simple : 

in your wrapper.properties
search for this : 

wrapper.tomcat_home=
wrapper.java_home=

loose the "<" and ">" 

wrapper.tomcat_home=E:\tomcat
wrapper.java_home=E:\jre1_2\jre

maby this is your problem 


-Original Message-
From: Serra Giovanni [mailto:[EMAIL PROTECTED]]
Sent: Mon, February 26, 2001 3:44 PM
To: '[EMAIL PROTECTED]'
Subject: Tomcat as NT Service Error!!


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]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat as NT service

2001-01-04 Thread Damiano Pezzotti

> This has been discussed.  It is a bug in the 1.3 JVM.  You can get
> around it by using an NT service that use JNI like jsrvany at
> 
> http://jsrvany.sourceforge.net/
> 
> or by running 1.2.2 or by waiting until Sun fixes the bug in 1.3.1

Ok, thanks
I downloaded jsrvany and I try to use it.


Pezzotti Damiano

E-Mail: [EMAIL PROTECTED]
Telefono : 0333-21.16.258
ICQ#  : 50101745

Alambitco
Laboratorio di design e sviluppo web based
Web  : www.alambitco.com
Fax   : 02-700.432.209


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat as NT service

2001-01-03 Thread John Ellis

Damiano,

This has been discussed.  It is a bug in the 1.3 JVM.  You can get
around it by using an NT service that use JNI like jsrvany at

http://jsrvany.sourceforge.net/

or by running 1.2.2 or by waiting until Sun fixes the bug in 1.3.1

John

Damiano Pezzotti wrote:

> Hi,I installed Tomcat 3.2 with Apache 1.3.9 using mod_jk on a NT4
> system. It works fine, but I have a problem.I installed Tomcat as NT
> Service with jk_nt_service.exe and it works.But if I log out from the
> system, Tomcat crash, while Apache obviously runs. Is it
> normal??Anybody can help me??  Pezzotti Damiano E-Mail:
> [EMAIL PROTECTED]
> Telefono : 0333-21.16.258
> ICQ#  : 50101745 Alambitco
> Laboratorio di design e sviluppo web based
> Web  : www.alambitco.com
> Fax   : 02-700.432.209


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Tomcat as NT service

2001-01-03 Thread Randy Layman

Its normal if you are using JDK1.3.  Its Sun's problem.
 
Randy
 
-Original Message-
From: Damiano Pezzotti [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 03, 2001 1:52 PM
To: Jakarta-Tomcat
Subject: Tomcat as NT service


Hi,
I installed Tomcat 3.2 with Apache 1.3.9 using mod_jk on a NT4 system.
 
It works fine, but I have a problem.
I installed Tomcat as NT Service with jk_nt_service.exe and it works.
But if I log out from the system, Tomcat crash, while Apache obviously runs.
 
Is it normal??
Anybody can help me??
 
 
Pezzotti Damiano
 
E-Mail: [EMAIL PROTECTED]
 
Telefono : 0333-21.16.258
ICQ#  : 50101745
 
Alambitco
Laboratorio di design e sviluppo web based
Web  : www.alambitco.com  
Fax   : 02-700.432.209

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]