|
From: Leif M. <le...@ta...> - 2003-07-04 03:45:05
|
Eelco, The "ReportEvent failed errno(1502)" messages that you are seeing are being caused because your system EventLog is full. This is a known problem that has been fixed in the next release. To get rid of these messages, open up your Event Log viewer and clear the log. Most likely other applications will be having problems as well. You should really set your wrapper.syslog.loglevel property to a lower log level. From the number of messages, I assume that you have it set to DEBUG. That will fill up your Event Log very quickly. I would suggest using the logfile or console to view debug log output. Usually a value like ERROR, or NONE are good values for the syslog. Now on to your questions. 463 - Rustenburg, Eelco wrote: >When I try it with jdk140, it gives me: > >C:\dev\java_as_a_service\bin>testwrapper.bat >"C:\dev\java_as_a_service\conf\wrapper.conf" >wrapper | --> Wrapper Started as Console >ReportEvent failed errno(1502) >ReportEvent failed errno(1502) >wrapper | Launching a JVM... >ReportEvent failed errno(1502) >ReportEvent failed errno(1502) >wrapper | can not execute ""c:\dev\jdk140\bin\java" -Xms3m -Xmx64m -Djava.library.path="../lib" -classpath "../lib/wrapper.jar;../lib/wrappertest.jar" -Dwrapper.key="H6qSQ7SP9HkqCGEz" -Dwrapper.port=1777 -Dwrapper.debug="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.test.Main" (ERR=193) > >ReportEvent failed errno(1502) >wrapper | Critical error: wait for JVM process failed >ReportEvent failed errno(1502) > The message says that the java command can not be executed. From the Windows API, error 193 = "is not a valid Win32 application." Please verify that the path to c:\dev\jdk140\bin\java is actually a Java.exe. I improved this error message as well so it will now give a human readable error message no matter what the problem is. >When I try it with jdk131, it gives me > >C:\dev\java_as_a_service\bin>testwrapper.bat >"C:\dev\java_as_a_service\conf\wrapper.conf" >wrapper | --> Wrapper Started as Console > <snip> From this output, it looks like the Wrapper is working correctly. You are seeing lots of "ReportEvent" messages due to your EventLog being full, but otherwise it looks ok. >I used the binary download. If I download the source and try to build, I get the error: > >C:\dev\java_as_a_service\src\wrapper_3.0.3_src>build > <snip> >BUILD FAILED >file:C:/dev/java_as_a_service/src/wrapper_3.0.3_src/build.xml:230: bin/Wrapper.e >xe or lib/Wrapper.dll are missing, please build them using MSVC using the projec >t workspace src/c/Wrapper.dsw > As the message says, this is because in order to build the Wrapper on Windows platforms, you need to load the Wrapper project into MSVC and build the Wrapper.dll and Wrapper.exe targets manually. At some point, I will try to automate this a little more. The Unix platforms build entirely from Ant. Cheers, Leif |