Hi Again..
I tried to look at the sources:
http://svn.apache.org/viewvc/jakarta/commons/proper/daemon/trunk/src/nat
ive/nt/procrun/src/
I'm not a really into C but someone here could maybe see whats wrong, I
have come to the conclusion that the method: serviceStart()
Is failing on row (~946):
----8<---
/* Set the environment using putenv, so JVM can use it */
setInprocEnvironment();
/* Create the JVM glbal worker */
gWorker = apxCreateJava(gPool, _jni_jvmpath);
if (IS_INVALID_HANDLE(gWorker)) {
apxLogWrite(APXLOG_MARK_ERROR "Failed creating java %S", _jni_jvmpath);
return 1;
}
----8<---
I have tried reinstall both tomcat5.5.20, reinstall jre1.6.0 and
jdk1.6.0 tried all the different options in the java virtual machine
setting in service, from default to jre/client/jvm.dll, jdk/client and
server jvm.dll...
I have run out of options, and I haven't got the knowledge to debug this
furhter, so...
Does anyone know what the IS_INVALID_HANDLE(gWorker) is checking?
Or why the apxCreateJava(..) is failing why?
/Per Jonsson
-----Original Message-----
From: Per Johnsson [mailto:Per.Johnsson@(protected)]
Sent: den 1 februari 2007 11:02
To: Tomcat Users List
Subject: RE: Tomcat and Java6
I get this error in jakarta_service_20070201.log which don't give me
much of a clue :-/
But it seams that java itself won't load
---8<---
[2007-02-01 10:33:10] [173 javajni.c] [error] The specified module
could not be found.
[2007-02-01 10:33:10] [924 prunsrv.c] [error] Failed creating java
C:\Java\jdk1.6.0\jre\bin\server\jvm.dll
[2007-02-01 10:33:10] [1179 prunsrv.c] [error] ServiceStart returned 1
--8<---
You could run tomcat witout the service but I don't have the run.bat
scripts etc in the installation in the environment right now.. Will
maybe test it later.
There was an earlier thread abaout this here:
http://www.mail-archive.com/users@(protected)
/per jonsson
-----Original Message-----
From: Kristian Rink [mailto:kristian@(protected)]
Sent: den 31 januari 2007 14:35
To: users@(protected)
Subject: Re: Tomcat and Java6
["Per Johnsson" <Per.Johnsson@(protected)
+0100]
> Do you run on windows with the Tomcat Service? Did you do a clean
> install of tomcat after installing java 6? I have tried both the
> server and client jvm.dll in both the jre and jdk withouit luck.
Ahh, no, our production systems are Linux and Solaris exclusively.
Isn't there a way to also run tomcat without the service atop Win32?
Just in order to figure out which piece of the setup is actually
broken...
Cheers,
Kristian
--
Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/
jab: kawazu@(protected)
dreaming alone, it will be only a dream; many dreaming together is the
beginning of a new reality." (Hundertwasser)
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected),
e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)
************************************************************************
********
This e-mail and the information it contains may be privileged and/or
confidential. It is for the intended addressee(s) only.
The unauthorised use, disclosure or copying of this e-mail, or any
information it contains, is prohibited.
If you are not an intended recipient, please contact the sender and
delete the material from your computer.
************************************************************************
********
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected),
e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)
********************************************************************************
This e-mail and the information it contains may be privileged and/or
confidential. It is for the intended addressee(s) only.
The unauthorised use, disclosure or copying of this e-mail, or any information it contains, is prohibited.
If you are not an intended recipient, please contact the sender and delete the material from your computer.
********************************************************************************
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)