|
From: Vitor N. e <vnt...@de...> - 2003-07-24 20:35:44
|
Patrick, I've replaced JDK 1.3.1 with JDK 1.4.2 and now there is no problem=20 running RunLoopback. Do you have more applications to test the 4 modes of Hermes? Thanks very much for the support. Best Regards, V. T=E1vora At 18:34 24-07-2003 +0800, you wrote: >I tried Tomcat 4.0.6 with JDK 1.3.1, still no luck. >No problem with JDK1.4 .. will continue to investigate. >-Patrick > > >Patrick Yee wrote: >>I can repeat your problem... I found that this problem is related to=20 >>tomcat 4.1.24 and JDK 1.3.1 and their class loaders. The exact cause is=20 >>still under investigation. >> >>Could you try to use Tomcat 4.0.6 or JDK 1.4? It should solve the problem. >> >>Regards, -Patrick >> >> >> >> >> >>Vitor Noronha e T=E1vora wrote: >>>Hi, >>> >>> I am trying to test the Hermes MSH package (v 0.9.3.1) but I can not=20 >>> run the RunLoopBack client application due to problems with the=20 >>> registration in the MSH Server. >>> >>> I am using the Tomcat (v. 2.1.24), jdk 1.3.1 and I am testing Hermes=20 >>> sw in a PC with Win2000 OS and with a HSQLDB database. I have deployed= =20 >>> the applications from the distribution package. >>> >>> There is no problem starting the MSH in Tomcat but then I can not=20 >>> start the client application. I've tryied to change several parameters= =20 >>> in configurations but the problem is allways the same. >>> >>>Starting the MSH in Tomcat I have the info >>> >>>Info: using property file in=20 >>>C:\TOMCAT\jakarta-tomcat-4.1.24\bin\msh.properties.xml >>>[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080 >>>[INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009 >>>[INFO] JkMain - -Jk running ID=3D0=20 >>>time=3D30/200 config=3Dc:\tomcat\jakarta-tomcat-4.1.24\conf\jk2.properti= es >>> >>> >>>In the client window I have the following info: >>> >>>Packaging... >>>Info: using property file in /E:/ebxmlms/sample/ >>>hk.hku.cecid.phoenix.message.handler.RequestExce >>> Failed to send query to MSH. >>> HTTP response code =3D 200 >>> HTTP response message =3D OK >>> >>> at=20 >>> hk.hku.cecid.phoenix.message.handler.Request.expectMapResponse(Unknown= Source) >>> at=20 >>>= hk.hku.cecid.phoenix.message.handler.Request.sendMessageServiceHandleConfig= (Unknown=20 >>> Source) >>> at hk.hku.cecid.phoenix.message.handler.Request.register(Unknown= =20 >>> Source) >>> >>> at hk.hku.cecid.phoenix.message.handler.Request.<init>(Unknown=20 >>> Source) >>> at hk.hku.cecid.phoenix.message.handler.Request.<init>(Unknown=20 >>> Source) >>> at LoopBack.run(LoopBack.java:32) >>> at LoopBack.main(LoopBack.java:11) >>> >>> >>>In the server log (msh.log) I have the info: >>> >>>2003-07-23 05:31:32,903 INFO [Thread-6]: Process command: Register MSH= =20 >>>Configuration (1) >>>2003-07-23 05:31:32,903 INFO [Thread-6]: Received request for=20 >>>registering msh config >>>2003-07-23 05:31:32,903 DEBUG [Thread-6]: =3D>= MessageServiceHandler.register >>>2003-07-23 05:31:32,903 ERROR [Thread-6]: [10002] Unknown=20 >>>errorException: java.lang.NullPointerException >>>Message: null >>> >>>In attach are the config files that I am using. >>> >>> >>>When I shutdown the Tomcat I have also an error msg: >>> >>>Stopping service Tomcat-Standalone >>>java.lang.NullPointerException >>> at=20 >>>= org.apache.tomcat.util.net.PoolTcpEndpoint.closeServerSocket(PoolTcpEndpoin= t.java:338) >>> at=20 >>>= org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.jav= a:397) >>> at=20 >>>= org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529) >>> at=20 >>>= org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja= va:619) >>> at java.lang.Thread.run(Thread.java:484) >>>[ERROR] PoolTcpEndpoint - -Caught exception trying to close socket.=20 >>><java.lang.NullPointerException> >>>[WARN] PoolTcpEndpoint - -Reinitializing ServerSocket >>>java.net.BindException: Cannot assign requested address: connect >>> at java.net.PlainSocketImpl.socketConnect(Native Method) >>> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320) >>> at=20 >>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133) >>> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120) >>> at java.net.Socket.<init>(Socket.java:273) >>> at java.net.Socket.<init>(Socket.java:127) >>> at=20 >>> org.apache.jk.common.ChannelSocket.destroy(ChannelSocket.java:384) >>> at org.apache.jk.server.JkMain.stop(JkMain.java:308) >>> at=20 >>> org.apache.jk.server.JkCoyoteHandler.destroy(JkCoyoteHandler.java:179) >>> at=20 >>>= org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1166) >>> at=20 >>> org.apache.catalina.core.StandardService.stop(StandardService.java:546) >>> at=20 >>> org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225) >>> at org.apache.catalina.startup.Catalina.start(Catalina.java:543) >>> at= org.apache.catalina.startup.Catalina.execute(Catalina.java:400) >>> at= org.apache.catalina.startup.Catalina.process(Catalina.java:180) >>> at java.lang.reflect.Method.invoke(Native Method) >>> at= org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) >>> >>>Can somebody help me? Probably there is some error with config=20 >>>files.... and in the last 4 days I=B4ve tryed to solve it without= success. >>> >>>Thanks in advance. >>> >>>Best Regards, >>>V. T=E1vora >>> >>> >------------------------------------------------------- This SF.Net email= =20 >sponsored by: Free pre-built ASP.NET sites including Data Reports,=20 >E-commerce, Portals, and Forums are available now. Download today and=20 >enter to win an XBOX or Visual Studio .NET.=20 >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01= =20 > _______________________________________________ ebxmlms-general mailing= =20 >list ebx...@li...=20 >https://lists.sourceforge.net/lists/listinfo/ebxmlms-general |