Discussions

Performance and scalability: ECperf crashes - can't find stub class

  1. ECperf crashes - can't find stub class (1 messages)

    Hello,

    maybe someone could help a newbie, who is trying to get the ECperf benchmark running...

    I'm getting the following exception when trying to run ECperf against Sun's RI:

    java.rmi.ServerException: Server RemoteException; nested exception is:
            java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
            java.lang.ClassNotFoundException: com.sun.ecperf.driver.ControllerImpl_Stub
            at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
            at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
            at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
            at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
            at java.rmi.Naming.bind(Naming.java:110)
            at com.sun.ecperf.driver.ControllerImpl.main(ControllerImpl.java:274)
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
            java.lang.ClassNotFoundException: com.sun.ecperf.driver.ControllerImpl_Stub
    Caused by: java.lang.ClassNotFoundException: com.sun.ecperf.driver.ControllerImpl_Stub

    Looks like I forgot to include a JAR into my CLASSPATH. But which one? Or is it a class which should be generated automatically by the appserver?

    Any help here would be greatly appreciated!

    Thank you,
    Lars
  2. ECperf crashes - can't find stub class[ Go to top ]

    Ok,

    I finally managed to get this straight on my own. Just for your benefit, the driver script loaded an old rmiregistry (of the 1.1.7 SDK!), which was in a more prominent position in my PATH.

    Thanks nonetheless,
    Lars