From: Juan A. G. <jg...@co...> - 2005-12-13 17:23:45
|
Hi, =20 I deployed JavaBridge.war 2.0.8 on Sun Java System Application Server = 8.1 on a Solaris 10 box. When I execute php -f testJavaBasic.php, I never get a response from the = AS. =20 These are the entries in the AS log: =20 [#|2005-12-13T11:43:05.919+0500|INFO|sun-appserver-ee8.1|javax.enterprise= .system.container.web|_ThreadID=3D19;|WebModule[/JavaBridge] JavaBridge = DEBUG: @5c6110 --> <C v=3D"java.lang.System" p=3D"C" i=3D"11190680" >|#] =20 [#|2005-12-13T11:43:05.920+0500|INFO|sun-appserver-ee8.1|javax.enterprise= .system.container.web|_ThreadID=3D19;|WebModule[/JavaBridge] JavaBridge = DEBUG: @5c6110 --> </C>|#] =20 [#|2005-12-13T11:43:05.921+0500|INFO|sun-appserver-ee8.1|javax.enterprise= .system.container.web|_ThreadID=3D19;|WebModule[/JavaBridge] JavaBridge = DEBUG: @5c6110 <-- <O v=3D"1" i=3D"11190680"/>|#] =20 [#|2005-12-13T11:43:05.921+0500|INFO|sun-appserver-ee8.1|javax.enterprise= .system.container.web|_ThreadID=3D19;|WebModule[/JavaBridge] JavaBridge = DEBUG: @5c6110 re-directing to port# 9567|#] =20 [#|2005-12-13T11:43:05.922+0500|INFO|sun-appserver-ee8.1|javax.enterprise= .system.container.web|_ThreadID=3D19;|WebModule[/JavaBridge] JavaBridge = DEBUG: @5c6110 waiting for context: 13|#] =20 This is testJavaBasic.php: =20 <?php // Obtienen el nombre del OS en el que se esta ejecutando PHP $system =3D new JavaClass('java.lang.System'); $time =3D $system->currentTimeMillis(); echo $time; //$os =3D $system->getProperty('os.name'); //echo $os . "\n\n"; ?> =20 Any idea about why JavaBridge never response? =20 Thanks for the help. =20 Regards, =20 Juan Andr=E9s *************************************************************************= * Nota: La informaci=F3n transmitida a trav=E9s de este correo = electr=F3nico es confidencial y est=E1 dirigida =FAnicamente a su = destinatario. Su reproducci=F3n, lectura o uso est=E1 prohibido a = cualquier persona o entidad diferente. Aunque Computec S.A. ha realizado = su mejor esfuerzo para asegurar que el presente mensaje y sus archivos = anexos se encuentran libre de virus y defectos que puedan llegar a = afectar los computadores o sistemas que lo reciban, no se hace = responsable por la eventual transmisi=F3n de virus o programas da=F1inos = por este conducto, y por lo tanto es responsabilidad del destinatario = confirmar la existencia de este tipo de elementos al momento de = recibirlo y abrirlo. Ni Computec S.A. ni ninguna de sus divisiones o = dependencias aceptan responsabilidad alguna por eventuales da=F1os o = alteraciones derivados de la recepcion o uso del presente mensaje. *************************************************************************= * Note: The information transmitted through this E-mail is confidential = and is intended to reach only its addressee. Reproduction and usage of = this message or its contents, in whole or in part, are strictly = forbidden without the prior written consent of Computec S.A. Computec = S.A. has made its best efforts to ensure that this message and any = attached files are free of any virus or other potentially harmful = content, but makes no representations to this effect. Addressee shall = assume full responsibility for ensuring that opening or reading this = message and any attachments will not result in harm to their system. = Neither Computec nor any of its divisions accepts any responsibility for = damages arising from opening or reading this message or any attachments = thereto. *************************************************************************= * |