  | 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
|
|
|
  | | | run service in jdk 6 | run service in jdk 6 2006-12-30 - By kkus
Back
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  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)
|
|
 |