Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
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
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
 
run service in jdk 6

run service in jdk 6

2006-12-30       - By kkus

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  


I first downloaded windows service installer of 5.5.20 and can't get it work,
then I switched to zip file version. Reason is I checked doc for how-to and
it indicated service.bat which can only be found in zip version.

I followed how-to and ran "service.bat install", which was successful based
on console as below,

Installing the service 'Tomcat5' ...
Using CATALINA_HOME:    C:\tomcat-5 (See http://cat-5.ora-code.com).5.20
Using CATALINA_BASE:    C:\tomcat-5 (See http://cat-5.ora-code.com).5.20
Using JAVA_HOME:        C:\Program Files\Java\jdk1.6.0
Using JVM:              C:\Program
Files\Java\jdk1.6.0\jre\bin\server\jvm.dll
The service 'Tomcat5' has been installed.

Then I clicked tomcat5w.exe and chose start button, but status still showed
stopped. I checked log file which showed me following info,

[2006-12-29 23:27:47] [info] Starting service...
[2006-12-29 23:27:47] [173  javajni.c] [error] The specified module could
not be found.
[2006-12-29 23:27:47] [924  prunsrv.c] [error] Failed creating java
C:\Program Files\Java\jdk1.6.0\jre\bin\server\jvm.dll
[2006-12-29 23:27:47] [1179 prunsrv.c] [error] ServiceStart returned 1
[2006-12-29 23:27:47] [info] Run service finished.
[2006-12-29 23:27:47] [info] Procrun finished.

Some configuration in tomcat5w.exe are,

(General tab)Path to execute: C:\tomcat-5 (See http://cat-5.ora-code.com).5.20\bin\tomcat5.exe //RS//Tomcat5
(Java tab)Use default: not checked;
Java Virtual Machine: C:\Program Files\Java\jdk1.6.0\jre\bin\server\jvm.dll
Java Classpath: C:\tomcat-5 (See http://cat-5.ora-code.com).5.20\bin\bootstrap.jar
Java Options: -Dcatalina.base=C:\tomcat-5 (See http://cat-5.ora-code.com).5.20
                  -Dcatalina.home=C:\tomcat-5 (See http://cat-5.ora-code.com).5.20
                  -Djava.endorsed.dirs=C:\tomcat-5 (See http://cat-5.ora-code.com).5.20\common\endorsed
                  -Djava.io.tmpdir=C:\tomcat-5 (See http://cat-5.ora-code.com).5.20\temp
(Startup tab) Class: org.apache.catalina.startup.Bootstrap Source code of org.apache.catalina.startup.Bootstrap
Working Path: empty (I even tried putting C:\tomcat-5 (See http://cat-5.ora-code.com).5.20 here, but still
doesn't work)
Methods: empty
Argument: start
Mode: jvm

Has anyone used JDK 6 for 5.5.20? Any idea? Thanks and Happy New Year!
--
View this message in context: http://www.nabble.com/run-service-in-jdk-6 (See http://jdk-6.ora-code.com)
-tf2897742.html#a8095867
Sent from the Tomcat - User mailing list archive at Nabble.com.


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)


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