Bug 900896 (JBEWS-476) - Tomcat6 and Tomcat7 is not starting as MS Windows Service
Summary: Tomcat6 and Tomcat7 is not starting as MS Windows Service
Keywords:
Status: CLOSED DUPLICATE of bug 2040112
Alias: JBEWS-476
Deadline: 2012-09-20
Product: JBoss Enterprise Web Server 2
Classification: JBoss
Component: unspecified
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: Mladen Turk
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-17 13:49 UTC by Libor Fuka
Modified: 2014-06-09 17:28 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
MS Windows 2008 R2, JDK 1.6.0_32
Last Closed: 2012-09-17 15:31:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 900723 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Issue Tracker JBEWS-476 0 Blocker Closed Tomcat6 and Tomcat7 is not starting as MS Windows Service 2014-05-29 11:21:32 UTC

Internal Links: 900723

Description Libor Fuka 2012-09-17 13:49:22 UTC
project_key: JBEWS

When i installed Tomcat6 as MS Windows service (service.bat install) and then tried to start with net start tomcat6 it fails.
You can see erorr in commons-daemon.2012-09-17.log:
{code}
[2012-09-17 06:40:05] [info]  Commons Daemon procrun (1.0.10.0 64-bit) started
[2012-09-17 06:40:05] [info]  Running 'Tomcat6' Service...
[2012-09-17 06:40:05] [info]  Starting service...
[2012-09-17 06:40:05] [error] The specified module could not be found.
[2012-09-17 06:40:05] [error] Failed creating java T:\opt\windows\jdk1.6.0_32\jre\bin\client\jvm.dll
[2012-09-17 06:40:05] [error] The specified module could not be found.
[2012-09-17 06:40:05] [error] ServiceStart returned 1
[2012-09-17 06:40:05] [error] The specified module could not be found.
[2012-09-17 06:40:05] [info]  Run service finished.
[2012-09-17 06:40:05] [info]  Commons Daemon procrun finished
{code}


I found solution :
===================
http://www.mkyong.com/tomcat/tomcat-error-prunsrvc-failed-creating-java-jvmdll/
or here:
http://www.iisadmin.co.uk/?p=22

Comment 1 Libor Fuka 2012-09-17 13:50:00 UTC
Link: Added: This issue relates to JBPAPP-9551


Comment 2 Mladen Turk 2012-09-17 14:39:26 UTC
That's the error caused by your Java installation
Installer picked up 32-bit Java and you run 64-bit


Comment 3 Mladen Turk 2012-09-17 14:42:51 UTC
BTW, you can always make such setup that won't work.
System environment variable JAVA_HOME should be set correctly.
Without that depending on the installed Java version(s) things
might work or might fail like in this example.



Comment 4 Mladen Turk 2012-09-17 14:44:21 UTC
... and BTW, we have how many JIRA's opened for EWS-2 tomcat installer issues.
I mean either it works or not. So one issue please.

Comment 5 Libor Fuka 2012-09-17 15:30:13 UTC
Sorry, it was solved in JBPAPP-9580
Closing.

Comment 6 Jiri Skrabal 2012-11-14 08:26:46 UTC
Docs QE Status: Removed: NEW 



Note You need to log in before you can comment on or make changes to this bug.