It seems you are missing class in the JAVA runtime.
If you have additional Class JARs to add to CLASSPATH, backup and edit the following ini file,
"C:\Program Files (x86)\Zend\ZendServer\etc\java_bridge_server.ini"
then add full paths to any jar required for your Java application, into the CLASSPATH, separated by semicolons:
So the line looks like this:
CLASSPATH="C:\Program Files (x86)\Zend\ZendServer\bin\javamw.jar;.;D:\PATH\TO\CLASSA.JAR;D:\PATH\TO\CLASSB.JAR"
After saving the file, restart "Zend Java Bridge" service to load the new Class Path:
and locate "Zend Java Bridge
", right click and restart
or from admin command line execute:
Code: Select all
net stop ZendJavaBridge
net start ZendJavaBridge
After that, check the code again.
If you are calling a native JAVA Runtime which does not exist on the JRE you load with Java Bridge service,
check the output of the following command to know which JRE is used with Zend Java Bridge service:
The service "Path to Execute
" is the entity we need to examine - you can also double click the "Zend Java Bridge
" in the Windows Services and check the line.
To configure an alternate JRE, for example if you have JAVA7 and you need to downgrade to JAVA6 for your application,
you can use the sc "config
" command - reference: http://technet.microsoft.com/en-us/libr ... 90995.aspx
For example, to replace JRE7 with JRE6 on a Windows with both JAVA versions, you can run this:
[UPDATE] Fixed typo in the command below - no space between JavaServer.exe and jvm.dll.
Code: Select all
>sc config ZendJavaBridge binpath= "\"C:\Program Files (x86)\Zend\ZendServer\bin\JavaServer.exe\" \"C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll\" -Dzend.javamw.log=0 -Dzend.javamw.logfile=\"C:\Program Files (x86)\Zend\ZendServer\logs\javamw.log\" -Dzend.javamw.threads=20 -Dzend.javamw.port=10001 \"C:\Program Files (x86)\Zend\ZendServer\etc\java_bridge_server.ini\""
After modification, restart "Zend Java Bridge" service as I mentioned above.
Please report back with any results.