[Building Sakai] Tomcat won't start (on Windows)... help!

will at serensoft.com will at serensoft.com
Fri May 15 12:14:51 PDT 2009


All we get is "error 0x0"...?

This is on Windows Server 2003 R2 Enterprise x64 (SP2)
Tried tomcat from apache-tomcat-5.5.27.exe installer and from straight ZIP
Java is 1.5.0_18
Nothing has port 80 open according to netstat -an

Executing "tomcat5.exe" from the command line shows only a blank line,
then the command prompt pops up again (no text-to-console logged).
Executing "startup.bat" shows
Using CATALINA_BASE:   C:\Tomcat55
Using CATALINA_HOME:   C:\Tomcat55
Using CATALINA_TMPDIR: C:\Tomcat55\temp
Using JRE_HOME:        C:\Java\jdk1.5.0_18

The start>admin>componentServices>event viewer shows only:
"""
The Apache Tomcat service terminated with service-specific error 0 (0x0).

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
"""

We've tried running it as a service (setting it up via 'service.bat'), too:
C:\Tomcat55\logs>type jakarta_service_20090515.log
[2009-05-15 15:03:59] [info] Procrun (2.0.4.0) started
[2009-05-15 15:03:59] [info] Service sakai name Apache Tomcat sakai
[2009-05-15 15:04:00] [info] Service sakai installed
[2009-05-15 15:04:00] [info] Procrun finished.
[2009-05-15 15:04:00] [info] Procrun (2.0.4.0) started
[2009-05-15 15:04:00] [info] Updating service...
[2009-05-15 15:04:00] [info] Service sakai updated
[2009-05-15 15:04:00] [info] Update service finished.
[2009-05-15 15:04:00] [info] Procrun finished.
[2009-05-15 15:04:00] [info] Procrun (2.0.4.0) started
[2009-05-15 15:04:00] [info] Updating service...
[2009-05-15 15:04:00] [info] Service sakai updated
[2009-05-15 15:04:00] [info] Update service finished.
[2009-05-15 15:04:00] [info] Procrun finished.
[2009-05-15 15:05:19] [info] Procrun (2.0.4.0) started
[2009-05-15 15:05:19] [info] Running Service...
[2009-05-15 15:05:19] [info] Starting service...
[2009-05-15 15:05:19] [174  javajni.c] [error] %1 is not a valid Win32
application.
[2009-05-15 15:05:19] [994  prunsrv.c] [error] Failed creating java
C:\Java\jdk1.5.0_18\jre\bin\server\jvm.dll
[2009-05-15 15:05:19] [1269 prunsrv.c] [error] ServiceStart returned 1
[2009-05-15 15:05:19] [info] Run service finished.
[2009-05-15 15:05:19] [info] Procrun finished.

Both stderr and stdout logs are empty.

We did find a thread online that recommended "copy the file
msvcr71.dll from the bin dir of your java installation, to the bin dir
of the tomcat installation." Of course, we don't have a msvcr71 (tho
we did find a msvcrt.dll which didn't do the trick.)

Any pointers would be great!

-- 
will trillich
"Our only real economic security lies in our power to meet human
needs." -- S.Covey, the 8th Habit


More information about the sakai-dev mailing list