-
Bug
-
Resolution: Done
-
Critical
-
JBossSecurity_2.0.2.GA, JBossSecurity_2.0.2.SP1, JBossSecurity_2.0.2.SP2, JBossSecurity_2.0.2.SP3
-
Compatibility/Configuration
-
Workaround Exists
-
-
Low
The serialVersionUID field in class SimplePrincipal is set to 1L instead of the expected 7701951188631723261L. This breaks compatibility with the external tools, preventing interaction with the server.
Specifically, the application server started from within Eclipse fails early (in about or less than 1 second from starting) with the following exception:
eclipse.buildId=M20080911-1700
java.version=1.5.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=es_ES
Command-line arguments: -os linux -ws gtk -arch x86
Error
Wed Jan 21 13:53:03 CET 2009
Failure in Poll Thread
org.jboss.ide.eclipse.as.core.server.IServerStatePoller$PollingException: error unmarshalling arguments; nested exception is:
java.io.InvalidClassException: org.jboss.security.SimplePrincipal; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 7701951188631723261
at org.jboss.ide.eclipse.as.core.extensions.polling.JMXPoller$PollerRunnable.handleException(JMXPoller.java:165)
at org.jboss.ide.eclipse.as.core.extensions.polling.JMXPoller$PollerRunnable.run(JMXPoller.java:111)
at java.lang.Thread.run(Thread.java:595)