From: <php...@li...> - 2006-04-17 14:50:09
|
Hi, > -- Expection ---:java.net.SocketException: Invalid > argument or cannot assign requested > addressTranval----->-1 [I assume you mean "Exception"] -1 is an invalid TCP and LOCAL address. Most likely the -1 comes from the java.socketname from your php.ini or /etc/php.d/java*.ini. What does phpinfo() show and how have you started the java back-end (if any)? Another possibility is that jdk1.4.2 has tried to use IP6 instead of IP4 to connect to the local interface or that the SEL restrictions denied socket bind/connect. If that's the case please check your SEL and/or IP configuration. Or use LOCAL ("unix domain") sockets instead, they are faster than IP sockets anyway: java -jar JavaBridge.jar LOCAL:pjb 4 "" and the php.ini entry: java.socketname=pjb Unlike TCP, LOCAL sockets are allowed by the SEL policy (assuming that you've correctly installed the SEL policy files). Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |