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,453 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

705 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now