From: Nicolas G. <nic...@gm...> - 2005-10-27 05:27:48
|
I've installed PJB 2.0.8 and it used to work fine, but not now. I supose I do something that breaks the installation, so I check every step= , but i can't find what's is brong. The Problem: When I run the test.php Apache crush, and I can't get anything in the log (is in level 4) I'm on a Windows XP, with Apache 2 and PHP 5 (installed with XAMPP) This is what I have (only the lines that are relationated with this): PHP.INI: extension_dir =3D c:\apachefriends\xampp\php\ext\ extension =3D php_java.dll java.log_level=3D4 java.socketname=3D9267 ;java.hosts=3D"127.0.0.1:8080 <http://127.0.0.1:8080>" ;java.servlet=3DOn java.class.path =3D C:\apachefriends\xampp\php\php_java.jar java.home =3D C:\Archivos de programa\Java\jdk1.5.0_03 java.library =3D C:\Archivos de programa\Java\jdk1.5.0_03\jre\bin\client\jvm.dll In C:\apachefriends\xampp\php\ext I have: JavaBridge.jar JavaBridge.log JavaBridge.war php_java.dll php_java.jar I'm no sure if JavaBridge.jar must be in the php directory, or in the php\ext directory, so I've one in each. I start the jar with the contextual menu. The only thing that gets to log is: java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at php.java.bridge.TCPServerSocket.newServerSocket(TCPServerSocket.java:40) at php.java.bridge.TCPServerSocket.<init>(TCPServerSocket.java:59) at php.java.bridge.TCPServerSocket.create(TCPServerSocket.java:31) at php.java.bridge.JavaBridge.bind(JavaBridge.java:314) at php.java.bridge.JavaBridge.init(JavaBridge.java:372) at php.java.bridge.JavaBridge.main(JavaBridge.java:427) but this happen when I start 2 times the jar I hope anybody can enlightme :) Thanks |