You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by gubbu gubbu <gu...@yahoo.com> on 2006/12/01 00:39:55 UTC

Problem while running Jmeter remotely

I can run Jmeter(same version) on 2 machines independently without any problem.However if I try to run the tests remotely it fails with the following exception? Could JDK be an issue ? Anyone know how to point to the exact JDK on windows or what this error means ?

ERROR - jmeter.samplers.StandardSampleSender: sampleOccurred java.rmi.ServerException: RemoteException
occurred in server thread; nested exception is:
        java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
        java.io.InvalidClassException: org.apache.jmeter.samplers.SampleResult; Local class not compatible: stream classdesc serialVersionUID=-6768254036033408185 local class serialVersionUID=5650820743722680331
        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:126)
        at org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.sampleOccurred(Unknown Source)
        at org.apache.jmeter.samplers.StandardSampleSender.SampleOccurred(StandardSampleSender.java:66)
        at org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteListenerWrapper.java:85)
        at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:239)
        at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:466)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
        java.io.InvalidClassException: org.apache.jmeter.samplers.SampleResult; Local class not compatible: stream classdesc serialVersionUID=-6768254036033408185 local class serialVersionUID=5650820743722680331
Caused by: java.io.InvalidClassException: org.apache.jmeter.samplers.SampleResult; Local class not compatible: stream classdesc serialVersionUID=-6768254036033408185 local class serialVersionUID=5650820743722680331


 	
---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.

Re: Problem while running Jmeter remotely

Posted by sebb <se...@gmail.com>.
This looks as though the JMeter versions are different - are you sure
they are identical?

If so, then it must be the JDKs calculating different serial version ids.

Make sure you are running the same version of Java on both systems.

S.
On 30/11/06, gubbu gubbu <gu...@yahoo.com> wrote:
> I can run Jmeter(same version) on 2 machines independently without any problem.However if I try to run the tests remotely it fails with the following exception? Could JDK be an issue ? Anyone know how to point to the exact JDK on windows or what this error means ?
>
> ERROR - jmeter.samplers.StandardSampleSender: sampleOccurred java.rmi.ServerException: RemoteException
> occurred in server thread; nested exception is:
>         java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
>         java.io.InvalidClassException: org.apache.jmeter.samplers.SampleResult; Local class not compatible: stream classdesc serialVersionUID=-6768254036033408185 local class serialVersionUID=5650820743722680331
>         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:126)
>         at org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.sampleOccurred(Unknown Source)
>         at org.apache.jmeter.samplers.StandardSampleSender.SampleOccurred(StandardSampleSender.java:66)
>         at org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteListenerWrapper.java:85)
>         at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:239)
>         at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:466)
>         at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
>         java.io.InvalidClassException: org.apache.jmeter.samplers.SampleResult; Local class not compatible: stream classdesc serialVersionUID=-6768254036033408185 local class serialVersionUID=5650820743722680331
> Caused by: java.io.InvalidClassException: org.apache.jmeter.samplers.SampleResult; Local class not compatible: stream classdesc serialVersionUID=-6768254036033408185 local class serialVersionUID=5650820743722680331
>
>
>
> ---------------------------------
> Everyone is raving about the all-new Yahoo! Mail beta.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org