Solved

Error in starting Apache Tomcat 5.5.27 under Win 2k3 x64 Standard on Intel Xeon E5410

Posted on 2008-10-09
3
3,457 Views
Last Modified: 2013-12-22
Hi,

I'm having trouble in starting Apache Tomcat under Windows Server 2003 Standard Edition x64 on Intel Xeon E5410 Quadcore Processor.

the JRE that I'm using is jre-1_5_0_07-windows-amd64.exe and I couldn't start Tomcat from the services icon on System tray.

below is the following error message from the error log. that i tried:

Error after i point the JVM to the default JRE 1.5 update 7 AMD64 installation dir.
Error after i put double quote in the JVM URL
Error again while i pointed out the JVM that is used by Oracle 10g AS
Error again when i check the 'use default' option

any idea please ?
--"Error after i point the JVM to the default JRE 1.5 update 7 AMD64 installation dir."
[2008-10-09 18:28:20] [174  javajni.c] [error] %1 is not a valid Win32 application.
[2008-10-09 18:28:20] [994  prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.5.0_07\bin\server\jvm.dll
[2008-10-09 18:28:20] [1269 prunsrv.c] [error] ServiceStart returned 1
--" Error after i put double quote in the JVM URL"
[2008-10-09 18:29:39] [174  javajni.c] [error] The specified module could not be found.
[2008-10-09 18:29:39] [994  prunsrv.c] [error] Failed creating java "C:\Program Files\Java\jre1.5.0_07\bin\server\jvm.dll"
[2008-10-09 18:29:39] [1269 prunsrv.c] [error] ServiceStart returned 1
--"Error again while i pointed out the JVM that is used by Oracle 10g AS"
[2008-10-09 18:32:29] [174  javajni.c] [error] The specified module could not be found.
[2008-10-09 18:32:29] [994  prunsrv.c] [error] Failed creating java D:\Java\jdk1.5.0_07\jre\bin\server
[2008-10-09 18:32:29] [1269 prunsrv.c] [error] ServiceStart returned 1
--"Error again when i check the 'use default' option"
[2008-10-09 18:33:06] [994  prunsrv.c] [error] Failed creating java 
[2008-10-09 18:33:06] [1269 prunsrv.c] [error] ServiceStart returned 1

Open in new window

0
Comment
Question by:jjoz
  • 2
3 Comments
 
LVL 23

Expert Comment

by:Ajay-Singh
ID: 22684285
Sounds like the java is not compatible at C:\Program Files\Java\jre1.5.0_07\bin. Can you conform that?
0
 
LVL 1

Author Comment

by:jjoz
ID: 22684303
not to sure Singh,

I'd love to know if there is anyone who ever succeed in installing JRE/JDK under Window/Intel x64 environment.
0
 
LVL 1

Accepted Solution

by:
jjoz earned 0 total points
ID: 22737207
Problem starting Tomcat with the 64-bit JVM on Maybach fixed.
 

 It was caused by the service executable itself, which is a 32-bit application. Solved by using the non-"Windows Service Installer" Tomcat distribution which has the .bat startup files.
 catalina.bat modified for the startup parameters otherwise set using the "Configure Tomcat" application. startup.bat and shutdown.bat now used to start and stop Tomcat.

--Previous error:
--"Error after i point the JVM to the default JRE 1.5 update 7 AMD64 installation dir."
[2008-10-09 18:28:20] [174 javajni.c] [error] %1 is not a valid Win32 application.
[2008-10-09 18:28:20] [994 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.5.0_0
7\bin\server\jvm.dll
[2008-10-09 18:28:20] [1269 prunsrv.c] [error] ServiceStart returned 1

Open in new window

0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question