I have found this to occur if JDK is not installed correctly. Try going to C:\Program 
Files\Java\j2re1.4.2_01\bin\client and see if there is a jvm.dll file there. If there 
is not then uninstall the JDK, delete the Java folder and reinstall. If the jvm.dll is 
there then uninstall the JDK and remove the Java folder and reinstall. Sometimes the 
dll's do not get registered correctly. Also in your Environment Variables make sure 
your path has this included: C:\j2sdk1.4.2_01\bin, well before any Tomcat path 
statements. Also make sure that the JAVA_HOME, TOMCAT_HOME and CATALINA_HOME are all 
under the system variables and not the user variables.

Keep in mind that your vesion of JDK will determine the correct syntax. 

Dean


-----Original Message-----
From:   Seth Rubin [mailto:[EMAIL PROTECTED]
Sent:   Thu 10/2/2003 12:06 AM
To:     Tomcat Users List
Cc:     
Subject:        RE: Installing Tomcat 4.1.24 as a service on Win 2000 - won't start
Am having the same problem myself on a WinXP Home box installing 4.1.27 .

I can start tomcat manually or from Start menu, but I get this in the event
log when I start it as a service:

"The LoadLibrary function failed for the following reason: The specified
module could not be found.
Could not load the Java Virtual Machine. "

I don't know why this is happening.  JAVA_HOME and CATALINA_HOME are set
correctly.  I'm using the service as configured by the installer.  Just to
be sure, I did chmod 777 on the j2sdk and jre java trees.  I'm stumped.  My
only guess is that there must be something funky with the local system
account that runs services, but I can't see what.

-- Seth


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to