tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Layman <randy.lay...@aswethink.com>
Subject RE: Tomcat as a service...
Date Tue, 19 Feb 2002 14:05:34 GMT

	I just downloaded and installed Tomcat 4.02 binary and everything
works fine for me.  The installer detected the JVM (1.3) on installation.
The only difference is that I installed to a directory without spaces in it.

	It would seem that the service configuration is stored in the
registry at HKEY_LOCAL_MACHINE\SYSTEM\Services\Apache Tomcat\Parameters.
You might want to check these and make sure that the installer filled in the
parameters correctly (epically quoting the parameters correctly).

	Randy

> -----Original Message-----
> From: kevin.schmidt@convergys.com [mailto:kevin.schmidt@convergys.com]
> Sent: Tuesday, February 19, 2002 9:41 AM
> To: Tomcat Users List
> Subject: RE: Tomcat as a service...
> 
> 
> 
> 
> When I look at the properties for the service, it says that 
> the path to the
> executable is:
> C:\Program Files\Apache Tomcat 4.0\bin\tomcat.exe
> When I try to run this exe from the command line, tomcat, of 
> course, doesnt start.
> How does the service know to perform all the stuff that 
> startup.bat does???
> Also, the service has no settings for environmental 
> variables, so I assume it goes
> directly off whats in the system variables, correct?  
> Question: Is a reboot needed if
> one of the env variables changes?
> Also, it has a line for "Start parameters" which is empty.  
> Should something be here
> maybe???
> Dependencies tab, how do I set it up so that Tomcat starts up 
> before Apache does.
> Because, I have noticed, runnning on the command line, that 
> Apache needs a restart
> once you load up Tomcat.  Will the order of the services 
> booting affect it?  If so, it seems
> to me that the installer should detect if Apache is present 
> or not and set it up for the user.
>      Questions, questions...
>      -Kevin
> 
> 
> 
> 
> 
> Randy Layman <randy.layman@aswethink.com> on 02/19/2002 08:36:17 AM
> 
> Please respond to "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> 
> To:   "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
> cc:
> Subject:  RE: Tomcat as a service...
> 
> 
> 
>      They should be in the logs directory, but you might want to try
> searching the system for the files.  Their lack of existence 
> would point to
> the service not even getting loaded, probably a problem with your
> JAVA_HOME.
> I don't know about Tomcat 4, but with Tomcat 3 you had to edit the
> wrapper.properties file in the conf directory to set the 
> JAVA_HOME. Maybe
> someone more familiar with Tomcat 4 could indicate how to set 
> the JAVA_HOME
> for the service?
> 
>      Randy
> 
> 
> > -----Original Message-----
> > From: kevin.schmidt@convergys.com 
> [mailto:kevin.schmidt@convergys.com]
> > Sent: Tuesday, February 19, 2002 9:16 AM
> > To: Tomcat Users List
> > Subject: RE: Tomcat as a service...
> >
> >
> >
> >
> > Where can I find jvm.stderr and jvm.stdout? I dont see them 
> in the log
> > dir???
> > Sorry if I seem stupid, but I am a SUN Certified Programmer,
> > not a system
> > admin type
> > guy.
> >      -Kevin
> >
> >
> >
> >
> >
> > Randy Layman <randy.layman@aswethink.com> on 02/19/2002 08:08:51 AM
> >
> > Please respond to "Tomcat Users List" 
> <tomcat-user@jakarta.apache.org>
> >
> > To:   "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
> > cc:
> > Subject:  RE: Tomcat as a service...
> >
> >
> >
> >      The reason that you get the message is because the only
> > errors that
> > can be reported are those detected by 2000 (like missing
> > binary, improper
> > permissions, etc).
> >
> >      I would suggest that you look at the jvm.stderr and
> > jvm.stdout for
> > more information about what the error is that you are getting.
> >
> >      Randy
> >
> >
> > > -----Original Message-----
> > > From: kevin.schmidt@convergys.com
> > [mailto:kevin.schmidt@convergys.com]
> > > Sent: Tuesday, February 19, 2002 8:51 AM
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: Tomcat as a service...
> > >
> > >
> > >
> > > One other thing... I have tried now, every now and then over
> > > the past 6 months to get Tomcat to run as an NT service.
> > > I have NEVER been sucessful and I have tried 4 or 5 different
> > > ways.  I kept thinking that there was some silly bug that 
> was going
> > > to be fixed in the next release.  Well, I just installed the
> > > Tomcat 4.0.2
> > > exe file, and during the install, checked the option to
> > install as NT
> > > service.(I am running W2K), I have JAVA_HOME and CATALINA_HOME
> > > set properly, and reboot, and ONCE AGAIN, no tomcat service.
> > > The service is listed in the Admin Services console as being
> > > automatically started, but it wont actually start.  When I
> > > try to start it
> > > manually from the services panel, I get this message, "Could not
> > > start Tomcat on local computer.  The service did not return
> > an error.
> > > Could be windows internal error or internal error."  If there
> > > was no error
> > > returned, then why WONT IT START!!!!!!!!   And if there was
> > an error,
> > > why not REPORT IT.  How about telling the user what is 
> wrong so that
> > > he/she can fix it.  Duh. Sorry to be so brash, but it has
> > > been this way
> > > for a long time and noone seems to care about fixing it.
> > >      -Kevin Schmidt
> > >      Cincinnati, OH
> > >
> > >
> > >
> > >
> > > --
> > >
> > > NOTICE:  The information contained in this electronic mail
> > > transmission is
> > > intended by Convergys Corporation for the use of the named
> > > individual or
> > > entity to which it is directed and may contain information that is
> > > privileged or otherwise confidential.  If you have received
> > > this electronic
> > > mail transmission in error, please delete it from your
> > system without
> > > copying or forwarding it, and notify the sender of the error
> > > by reply email
> > > or by telephone (collect), so that the sender's address
> > records can be
> > > corrected.
> > >
> > >
> > >
> > > --
> > > To unsubscribe:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> > > Troubles with the list:
> > <mailto:tomcat-user-owner@jakarta.apache.org>
> > >
> >
> > --
> > To unsubscribe:   
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: 
> <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: 
> <mailto:tomcat-user-owner@jakarta.apache.org>
> >
> >
> >
> >
> >
> >
> >
> > --
> >
> > NOTICE:  The information contained in this electronic mail
> > transmission is
> > intended by Convergys Corporation for the use of the named
> > individual or
> > entity to which it is directed and may contain information that is
> > privileged or otherwise confidential.  If you have received
> > this electronic
> > mail transmission in error, please delete it from your 
> system without
> > copying or forwarding it, and notify the sender of the error
> > by reply email
> > or by telephone (collect), so that the sender's address 
> records can be
> > corrected.
> >
> >
> >
> > --
> > To unsubscribe:   
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: 
> <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: 
> <mailto:tomcat-user-owner@jakarta.apache.org>
> >
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 
> 
> 
> 
> 
> 
> 
> --
> 
> NOTICE:  The information contained in this electronic mail 
> transmission is
> intended by Convergys Corporation for the use of the named 
> individual or
> entity to which it is directed and may contain information that is
> privileged or otherwise confidential.  If you have received 
> this electronic
> mail transmission in error, please delete it from your system without
> copying or forwarding it, and notify the sender of the error 
> by reply email
> or by telephone (collect), so that the sender's address records can be
> corrected.
> 
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message