Error reconnecting SessionBean
zenix Mar 16, 2004 6:03 AMHello,
My tools:
JBoss 3.2.2
J2SDK 1.4.2_03
JBoss-IDE 1.2.3
I'm having problems reconnecting my CartBean from Delegate.
java.io.InvalidClassException: org.jboss.util.id.UID; local class incompatible: stream classdesc serialVersionUID = 4588799618105892224, local class serialVersionUID = -8093336932569424512
This error means that i have two versions off... what?
I don't have multiple Jboss versions.
Here's my .packagin-file: <?xml version="1.0" encoding="UTF-8"?> <configurations> <archive name="KlubiToolEJB.jar" destination="" used="true" exploded="false"> <folder prefix="" includes="com/hotelzon/klubitool/entitybean/*.class,com/hotelzon/klubitool/sessionbean/*.class,com/hotelzon/klubitool/to/*.class,com/hotelzon/klubitool/locator/*.class,com/hotelzon/klubitool/dao/*.class,com/hotelzon/klubitool/pointcalculation/*.class" excludes="" project="" projectLocation="bin" name="bin" location="C:/eclipse/workspace/Klubitool/bin" used="true"/> <file prefix="META-INF" project="" projectLocation="src/META-INF/ejb-jar.xml" name="ejb-jar.xml" location="C:/eclipse/workspace/Klubitool/src/META-INF/ejb-jar.xml" used="true"/> <file prefix="META-INF" project="" projectLocation="src/META-INF/jboss.xml" name="jboss.xml" location="C:/eclipse/workspace/Klubitool/src/META-INF/jboss.xml" used="true"/> </archive> <archive name="KlubiTool-client.jar" destination="" used="true" exploded="false"> <folder prefix="" includes="com/hotelzon/klubitool/entitybean/*.class,com/hotelzon/klubitool/sessionbean/*.class" excludes="**/*Bean.class" project="" projectLocation="bin" name="bin" location="C:/eclipse/workspace/Klubitool/bin" used="true"/> </archive> <archive name="KlubiToolWEB.war" destination="" used="true" exploded="false"> <file prefix="WEB-INF" project="" projectLocation="src/WEB-INF/web.xml" name="web.xml" location="C:/eclipse/workspace/Klubitool/src/WEB-INF/web.xml" used="true"/> <file prefix="WEB-INF" project="" projectLocation="src/WEB-INF/jboss-web.xml" name="jboss-web.xml" location="C:/eclipse/workspace/Klubitool/src/WEB-INF/jboss-web.xml" used="true"/> <folder prefix="" includes="" excludes="" project="" projectLocation="docroot" name="docroot" location="C:/eclipse/workspace/Klubitool/docroot" used="true"/> <file prefix="WEB-INF" project="" projectLocation="bin/WEB-INF/taglibs-i18n.tld" name="taglibs-i18n.tld" location="C:/eclipse/workspace/Klubitool/bin/WEB-INF/taglibs-i18n.tld" used="true"/> <file prefix="WEB-INF/lib" location="C:/eclipse/workspace/Klubitool/taglibs-i18n.jar" name="taglibs-i18n.jar" used="true"/> <file prefix="WEB-INF" location="C:/eclipse/workspace/Klubitool/bin/WEB-INF/taglibs.xml" name="taglibs.xml" used="true"/> <file prefix="WEB-INF/lib" location="C:/jboss-3.2.2/client/jboss-client.jar" name="jboss-client.jar" used="false"/> <folder prefix="WEB-INF/classes" includes="com/hotelzon/klubitool/**/*.class,com/hotelzon/klubitool/taglibs/*" excludes="com/hotelzon/klubitool/entitybean/*.class, com/hotelzon/klubitool/sessionbean/*.class" project="" projectLocation="bin" name="bin" location="C:/eclipse/workspace/Klubitool/bin" used="true"/> <file prefix="WEB-INF/lib" project="" projectLocation="KlubiTool-client.jar" name="KlubiTool-client.jar" location="C:/eclipse/workspace/Klubitool/KlubiTool-client.jar" used="false"/> </archive> <archive name="KlubiApp.ear" destination="" used="true" exploded="false"> <file prefix="META-INF" project="" projectLocation="src/META-INF/application.xml" name="application.xml" location="C:/eclipse/workspace/Klubitool/src/META-INF/application.xml" used="true"/> <file prefix="" project="" projectLocation="KlubiToolEJB.jar" name="KlubiToolEJB.jar" location="C:/eclipse/workspace/Klubitool/KlubiToolEJB.jar" used="true"/> <file prefix="" project="" projectLocation="KlubiToolWEB.war" name="KlubiToolWEB.war" location="C:/eclipse/workspace/Klubitool/KlubiToolWEB.war" used="true"/> </archive> </configurations>
Here's my classpath: <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> <classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry exported="true" kind="lib" path="C:/jboss-3.2.2/server/default/lib/jboss-j2ee.jar"/> <classpathentry exported="true" kind="lib" path="C:/jboss-3.2.2/server/default/lib/javax.servlet.jar"/> <classpathentry exported="true" kind="lib" path="C:/Program Files/Microsoft SQL Server 2000 Driver for JDBC/lib/msutil.jar"/> <classpathentry exported="true" kind="lib" path="C:/Program Files/Microsoft SQL Server 2000 Driver for JDBC/lib/mssqlserver.jar"/> <classpathentry exported="true" kind="lib" path="C:/Program Files/Microsoft SQL Server 2000 Driver for JDBC/lib/msbase.jar"/> <classpathentry exported="true" kind="lib" path="C:/jakarta-log4j-1.2.8/dist/lib/log4j-1.2.8.jar"/> <classpathentry exported="true" kind="lib" path="C:/javamail-1.3.1/mail.jar"/> <classpathentry exported="true" kind="lib" path="C:/jaf-1.0.2/activation.jar"/> <classpathentry exported="true" kind="lib" path="C:/commons-fileupload-1.0/commons-fileupload-1.0.jar"/> <classpathentry exported="true" kind="lib" path="C:/multipartrequest/multipartrequest.jar"/> <classpathentry kind="output" path="bin"/> </classpath>
Thanks!!