Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2008-10-09
3
Medium Priority
?
3,467 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

604 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