Community
Participate
Working Groups
When interacting with a process started from the command line, the serialVersionUID is not compatible with that used by a process running inside Eclipse. Both versions are running the same VM version (as verified by printing the java.version system property. The same compiled classes executed from outside Eclipse do allow interacting with the other process. The specific case today is accessing JMX MBeans from WebLogic 8.1 from an external client application running in and out of Eclipse. The classes are not ones I can modified to add a serialVersionUID, and they have no expliit serialVersionUID presumeably to ensure that only compatible versions of the JMX library are connecting.
Please see bug 10104. I don't think this has anything to do with the "java debugger". *** This bug has been marked as a duplicate of 10104 ***
Check that you are using the jar file when you are launching your app from eclipse. You can see the command line used by opening the properties dialog from the VM in the debug view (right click on the VM element, named ".../bin/java ...", in the debug view and select 'Properties').