1 Reply Latest reply on Sep 2, 2002 8:05 PM by Joel Vogt

    Question: trying to run the ejb TestClient for JBoss3.0 Quic

    Michael Newbie

      Can someone explain why am I getting the following runtime error, when I try to run the run-client batch file. The ejb-test.jar seems to deploy fine, but when I run the client I get the following error.

      C:\JBuilder4\myProjects\JBossApache\src\template\build\bin> run-client
      C:\JDK130\JRE\bin\java.exe -classpath ".;..\client\CLIENT~1.JAR;C:\JDK130\JRE\li
      b\tools.jar;c:\jboss-3.0.0_tomcat-4.0.3\client\jnet.jar;c:\jboss-3.0.0_tomcat-4.
      0.3\client\jnp-client.jar;c:\jboss-3.0.0_tomcat-4.0.3\lib\ext\ejb.jar" test.client.TestClient

      javax.naming.CommunicationException. Root exception is java.rmi.ServerException
      : RemoteException occurred in server thread; nested exception is:
      java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
      tion is:
      java.net.MalformedURLException: unknown protocol: tedesco
      java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

      java.net.MalformedURLException: unknown protocol: tedesco
      java.net.MalformedURLException: unknown protocol: tedesco
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
      RemoteCall.java:245)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
      220)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
      at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:445)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429)
      at javax.naming.InitialContext.lookup(InitialContext.java:350)
      at test.client.TestClient.main(TestClient.java:21)
      C:\JBuilder4\myProjects\JBossApache\src\template\build\bin>

      -- Thanks