Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Re: Really dumb question -- how do I set up Tomcat 5 to run as
a service on N

Re: Really dumb question -- how do I set up Tomcat 5 to run as
a service on N

2004-01-03       - By Jacob Kjome

 Back
Reply:     1     2  

Hi Bill,

Couple suggestions and a question...

First, the service.bat script should really be setting -Djava.io.tmpdir,
just as the catalina.bat script does.  Additionally, unless you provide
%JAVA_HOME%\lib\tools.jar to the --ImagePath, JSP compilation will fail,
although you might be fooled in cases where JSP's were pre-compiled and
mapped as servlets.  Try out a plain-jane non-precompiled JSP.  Probably
also dump the contents of the work directory just to be sure.

Now for the question.  How does one tell the service to use the -server
VM?  I've tried setting -server as one of the --JavaOptions, but that
causes the server not to start.  I've also tried doing...
--Java "%JAVA_HOME%\jre\bin\server\jvm.dll".  That seems to work, but then
logging (at least to stdout.log) no longer works.

I assume that "--Java java" is just going to start up the default client
VM, correct?  There's got to be a way to use the -server switch and not
interfere with the service starting or logging to stdout stopping,
otherwise this should be considered a bug in the procrun daemon.

Jake

At 07:01 PM 1/2/2004 -0800, you wrote:
>The instructions to do it manually are at
>http://jakarta.apache.org/commons/daemon/procrun.html.  There is also a new
>'service.bat' file in the CVS
>http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/bin
/service.bat,
>that simplifies the process of manually installing Tomcat as a service.
>
>"Chang, Betty" <bchang@(protected)> wrote in message
>news:D0E6FE5581932248B4E0B496322D10771C3F6C@(protected)
>Hi -
>
>
>
>I've looked through the docs,  and it says the following:
>
>"Tomcat will be installed as a Windows NT/2k/XP service no matter what
>setting is selected."
>
>
>
>However,  I  never ran an installation program - I just unzipped a file.
>What do I run to install Tomcat 5 as a service?  I don't see an install
>program.
>
>
>
>Please forgive if this was a really dumb question.  I did try to scour
>through the docs --  but a lot of the stuff is on the older versions of
>Tomcat.
>
>
>
>Thanks
>
>
>
>Betty
>
>
>
>
>
>
>
>
>
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)




©2008 junlu.com - Jax Systems, LLC, U.S.A.