Java.io.InvalidClassException in WebLogic

When I use weblogic 8.1 JMS SERVICE,I encounter a problem.
Sample code like:
Properties p=new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
p.put(Context.PROVIDER_URL,"t3://localhost:7001");
Context context=new InitialContext(p);
System.out.println("search for the connecton factory...");
QueueConnectionFactory factory=(QueueConnectionFactory)context.lookup("weblogic.jms.ConnectionFactory");
System.out.println("get it!");
System.out.println("to get queueconnection...");
QueueConnection con=factory.createQueueConnection();
System.out.println("get it!");
System.out.println("to get queue session...");
QueueSession session=con.createQueueSession(false,Session.AUTO_ACKNOWLEDGE);
System.out.println("get it!");
System.out.println("search for the messagequeue...");
Queue messageQueue=(Queue)context.lookup("HelloQueue");
System.out.println("get it!");
System.out.println("to get the queue sender...");
QueueSender sender=session.createSender(messageQueue);
System.out.println("get it!");
con.start();
TextMessage message=session.createTextMessage();
message.setText("HelloSenderQueue!");
sender.send(message);
Main Exception like:
<BEA-000503> <Incoming message header or abbreviation processing failed
[java] java.io.InvalidClassException: weblogic.jms.common.DestinationImpl; local class incompatible: stream classdesc serialVersionUID = 6099783323740404732, local class serialVersionUID = -7124492888158518181
[java] java.io.InvalidClassException: weblogic.jms.common.DestinationImpl; local class incompatible: stream classdesc serialVersionUID = 6099783323740404732, local class serialVersionUID = -7124492888158518181
[java]      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
[java]      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
[java]      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
[java]      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
[java]      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
[java]      at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:33)
[java]      at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
[java]      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
[java]      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
[java]      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
[java]      at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
[java]      at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
[java]      at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:209)
[java]      at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:227)
[java]      at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:733)
[java]      at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:570)
[java]      at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:681)
[java]      at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:617)
[java]      at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:282)
[java]      at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
[java]      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
[java]      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
[java] >
[java] <2004-10-3 &#19978;&#21320;12&#26102;11&#20998;52&#31186; CST> <Error> <RJVM> <BEA-000503> <Incoming message header or abbreviation processing failed
[java] java.io.InvalidClassException: weblogic.jms.common.DestinationImpl; local class incompatible: stream classdesc serialVersionUID = 6099783323740404732, local class serialVersionUID = -7124492888158518181
[java] java.io.InvalidClassException: weblogic.jms.common.DestinationImpl; local class incompatible: stream classdesc serialVersionUID = 6099783323740404732, local class serialVersionUID = -7124492888158518181
[java]      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
[java]      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
[java]      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
[java]      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
[java]      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
[java]      at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:33)
[java]      at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
[java]      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
[java]      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
[java]      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
[java]      at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
[java]      at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
[java]      at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:209)
[java]      at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:227)
[java]      at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:733)
[java]      at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:570)
[java]      at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:681)
[java]      at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:617)
[java]      at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:282)
[java]      at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
[java]      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
[java]      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
[java] >

The InvalidClassException is not a JMS problem, but I'll try and answer anyway.
this exception is thrown when you try to unmarshall (deserialize) an object that you received from a remote location, such as an RMI server, or JNDI. The specific reason you have (serialVersionUID) indicates that the version of the class in question (weblogic.jms.common.DestinationImpl) is different between the two participating JVMs.
This is usually a classpath problem, or - sometimes it's a matter of having two installations of weblogic on your computer (i.e. - trying to get from 8.1 to 7).
Make sure that you have the correct jar in your classpath.
nimo.

Similar Messages

  • Could not deserialize session data, java.io.InvalidClassException

    Whenever I click on logout link from Liferay(Which deployed as application on Weblogic 10.3),It shows below Exception in the console however i am able to logout sucessfully.
    Could not deserialize session data.
    java.io.InvalidClassException: org.hibernate.proxy.pojo.javassist.SerializableProxy; local class incompatible: stream classdesc serialVersionUID = 1180036893511205383, local class serialVersionUID = -2265249369383210104 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:560)
    It seems to be Classpath polluted with different hibernate jars.But still not able to figure it out.Below is the jar files which i have in classpath.
    hibernate-annotations.jar
    hibernate-commons-annotations.jar
    hibernate-core.jar
    hibernate3.jar
    Application Server: Weblogic 10.3
    Any Help would be much appreciated.

    Sounds like you have two different versions of a class in the two applications.
              If you change a class implementation and recompile - the updated class gets a new UID. Looks like maybe one app has a jar with the older class and the other app has a jar with the new class.

  • Java.io.InvalidClassException: com.sun.msv.grammar.trex.TREXGrammar

    Hi,
    I am running JAXB 1.0 (JWSDP 1.1) with Weblogic 6.1 Below is the code that is causing the exception. Inspite of the error JAXB reads the XML in fine and everything proceeds normally. Any help would be greatly appreciated.
    Thanks in advance,
    Abhijit
    JAXBContext jc = JAXBContext.newInstance("my.package");
    // create an Unmarshaller
    Unmarshaller u = jc.createUnmarshaller();
    // enable validation
    u.setValidating( true );
    // unmarshal an instance document into a tree of Java content
    ProductsType prods = (ProductsType)u.unmarshal(new FileInputStream( "products.xml" ) );
    The last line above causes the following error
    java.io.InvalidClassException: com.sun.msv.grammar.trex.TREXGrammar; Local class
    not compatible: stream classdesc serialVersionUID=7316616993473479596 local cla
    ss serialVersionUID=1
    at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:5
    18)
    at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:562)
    at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
    :931)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at com.sun.xml.bind.GrammarInfo.getGrammar(GrammarInfo.java:63)
    at com.sun.xml.bind.GrammarInfoFacade.getGrammar(GrammarInfoFacade.java:
    129)
    at com.sun.xml.bind.DefaultJAXBContextImpl.getGrammar(DefaultJAXBContext
    Impl.java:76)
    at com.sun.xml.bind.unmarshaller.UnmarshallerImpl.createUnmarshallerHand
    ler(UnmarshallerImpl.java:98)
    at com.sun.xml.bind.unmarshaller.UnmarshallerImpl.unmarshal(Unmarshaller
    Impl.java:112)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnm
    arshallerImpl.java:139)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnm
    arshallerImpl.java:186)
    at com.manu.tp.product.ProductInputSessionBean.bindXmlDocument(ProductIn
    putSessionBean.java:98)
    at com.manu.tp.product.ProductInputSessionBean.processProducts(ProductIn
    putSessionBean.java:31)
    at com.manu.tp.product.ProductInputSessionBean_j5odob_EOImpl.processProd
    ucts(ProductInputSessionBean_j5odob_EOImpl.java:1393)
    at com.manu.tp.product.ProductInputSessionBean_j5odob_EOImpl_WLSkel.invo
    ke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:274)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- linked to ------------------
    javax.xml.bind.JAXBException: unable to extract the schema information
    - with linked exception:
    [java.io.InvalidClassException: com.sun.msv.grammar.trex.TREXGrammar; Local class not compatible: stream classdesc serialVersionUID=7316616993473479596 local cl
    ass serialVersionUID=1]
    at com.sun.xml.bind.GrammarInfo.getGrammar(GrammarInfo.java:70)
    at com.sun.xml.bind.GrammarInfoFacade.getGrammar(GrammarInfoFacade.java:
    129)
    at com.sun.xml.bind.DefaultJAXBContextImpl.getGrammar(DefaultJAXBContext
    Impl.java:76)
    at com.sun.xml.bind.unmarshaller.UnmarshallerImpl.createUnmarshallerHand
    ler(UnmarshallerImpl.java:98)
    at com.sun.xml.bind.unmarshaller.UnmarshallerImpl.unmarshal(Unmarshaller
    Impl.java:112)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnm
    arshallerImpl.java:139)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnm
    arshallerImpl.java:186)
    at com.manu.tp.product.ProductInputSessionBean.bindXmlDocument(ProductIn
    putSessionBean.java:98)
    at com.manu.tp.product.ProductInputSessionBean.processProducts(ProductIn
    putSessionBean.java:31)
    at com.manu.tp.product.ProductInputSessionBean_j5odob_EOImpl.processProd
    ucts(ProductInputSessionBean_j5odob_EOImpl.java:1393)
    at com.manu.tp.product.ProductInputSessionBean_j5odob_EOImpl_WLSkel.invo
    ke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:274)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    java.io.InvalidClassException: com.sun.msv.grammar.trex.TREXGrammar; >Local class not compatible: stream classdesc
    serialVersionUID=7316616993473479596 local class serialVersionUID=1This is the problem. Basically this tells that the class on the receiving end (the local class) and the one that was serialized to the stream are different versions. Every class is assigned a serialVersionUID when it's compiled, and if two classes that are otherwise the same have different serialVersionUIDs, they are considered to be different versions and the above exception is raised.
    You should check that the JAR files on both VMs are exactly the same versions.
    What's worrying is the UID of the local class, 1. This doesn't look like something that was automatically generated by the compiler but more like that somebody explicitly defined a serialVersionUID field when trying to avoid class incompatibility issues and initialized it to the value of 1. This is indeed extremely bad programming practice and should not be used.
    .P.

  • Java.io.InvalidClassException:local class incompatible?

    hello everyone:
    I deploy a J2EE application called A in a weblogic domain called A, it can run correctly;
    then I deploy another J2EE application called B, which is a new edition of A, in another weblogic domain called B, it can also run correctly;
    The two domains use the same server. I don't know whether this will cause problems like this.
    But the previous A can't run correctly and throw exceptions as follows in Java Console:
    java.io.InvalidClassException: com.longzhou.oa.docnet.dto.abstractdto.DnBaseRole; local class incompatible: stream classdesc serialVersionUID = 1264764439065723117, local class serialVersionUID = -6834466395328850197
         at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
         at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
         at java.io.ObjectInputStream.readClassDesc(Unknown Source)
         at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
         at java.io.ObjectInputStream.readClassDesc(Unknown Source)
         at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.readArray(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
         at java.io.ObjectInputStream.readSerialData(Unknown Source)
         at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.readObject(Unknown Source)
         at com.longzhou.oa.applet.util.EjbLocator.getInputStream(EjbLocator.java:18)
         at com.longzhou.oa.applet.DnIO.getDnAllByID(DnIO.java:63)
         at com.longzhou.oa.applet.DnIO.loadGraph(DnIO.java:33)
         at org.enhydra.jawe.DnDefine.loadDn(Unknown Source:185)
         at org.enhydra.jawe.AbstractEditor.<init>(Unknown Source:130)
         at org.enhydra.jawe.PackageEditor.<init>(PackageEditor.java:60)
         at org.enhydra.jawe.JaWE.init(JaWE.java:195)
         at org.enhydra.jawe.DnApplet.jbInit(DnApplet.java:67)
         at org.enhydra.jawe.DnApplet.init(DnApplet.java:54)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at com.longzhou.oa.applet.DnIO.getDnFromDto(DnIO.java:731)
         at com.longzhou.oa.applet.DnIO.loadGraph(DnIO.java:34)
         at org.enhydra.jawe.DnDefine.loadDn(Unknown Source:185)
         at org.enhydra.jawe.AbstractEditor.<init>(Unknown Source:130)
         at org.enhydra.jawe.PackageEditor.<init>(PackageEditor.java:60)
         at org.enhydra.jawe.JaWE.init(JaWE.java:195)
         at org.enhydra.jawe.DnApplet.jbInit(DnApplet.java:67)
         at org.enhydra.jawe.DnApplet.init(DnApplet.java:54)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.lang.Object
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.readObject(Unknown Source)
         at com.longzhou.oa.applet.util.EjbLocator.getInputStream(EjbLocator.java:18)
         at com.longzhou.oa.applet.InitModel.initEmpGroupList(InitModel.java:353)
         at org.enhydra.jawe.DnDefine._$1(Unknown Source:241)
         at org.enhydra.jawe.DnDefine.loadDn(Unknown Source:186)
         at org.enhydra.jawe.AbstractEditor.<init>(Unknown Source:130)
         at org.enhydra.jawe.PackageEditor.<init>(PackageEditor.java:60)
         at org.enhydra.jawe.JaWE.init(JaWE.java:195)
         at org.enhydra.jawe.DnApplet.jbInit(DnApplet.java:67)
         at org.enhydra.jawe.DnApplet.init(DnApplet.java:54)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.NotSerializableException: java.lang.Object
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeObject(Unknown Source)
         at com.longzhou.oa.util.EgovServlet.service(EgovServlet.java:332)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
         at java.lang.Thread.startThreadFromVM(Unknown Source)
    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.lang.Object
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.readObject(Unknown Source)
         at com.longzhou.oa.applet.util.EjbLocator.getInputStream(EjbLocator.java:18)
         at com.longzhou.oa.applet.InitModel.initSysRoleList(InitModel.java:371)
         at org.enhydra.jawe.DnDefine._$1(Unknown Source:242)
         at org.enhydra.jawe.DnDefine.loadDn(Unknown Source:186)
         at org.enhydra.jawe.AbstractEditor.<init>(Unknown Source:130)
         at org.enhydra.jawe.PackageEditor.<init>(PackageEditor.java:60)
         at org.enhydra.jawe.JaWE.init(JaWE.java:195)
         at org.enhydra.jawe.DnApplet.jbInit(DnApplet.java:67)
         at org.enhydra.jawe.DnApplet.init(DnApplet.java:54)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.NotSerializableException: java.lang.Object
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeObject(Unknown Source)
         at com.longzhou.oa.util.EgovServlet.service(EgovServlet.java:332)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
         at java.lang.Thread.startThreadFromVM(Unknown Source)
    Can anyone tell me the reason? Thanks

    "local class incompatible" error is due to the retrieving of serialized object, which might be dumping from memory to somewhere like database, file etc., that is of different edition of the class. Maybe an object A of AClass was stored in a database and lately the AClass changed to a new edition, let's call it A'Class, and they have something different, especially the serialVersionUID field. When the object A is retrieved from the database, which should be compatible with A'Class (be ware of that A'Class and AClass has the same name but of different edition), unfortunately, they don't, the error mentioned above occurs.
    So, I guess that although the app A and B uses different domain, if they uses the same database to store and retrieve something (here may refers to objects) of different edition and are run one after another, the compatible issues are going to occur.
    Separating app A from B as much as possible is not a good solution, but you could have a try.
    Hoping helpful, good luck!

  • Java.io.InvalidClassException: org.eclipse.persistence.internal.helper.DatabaseTable

    Hello im using weblogic 10.3.5 and jpa 2, but i cant make that my project works coz i have this issue....
    56177847, local class serialVersionUID = -8219935847209476671 java.io.InvalidClassException: org.eclipse.persistence.internal.helper.DatabaseTable; local class incompatible: stream classdesc serialVersionUID = 740837816705
    Can somebody help me please?
    Thanks.

    Just a guess because there is so little information given but perhaps you are attempting to deserialize a class that should not have been serialized in the first place.

  • Java.io.InvalidClassException: org.eclipse.persistence.internal.indirection.DatabaseValueHolder; local class incompatible: stream classdesc serialVersionUID = -6893195210780291759, local class serialVersionUID = 1128857921468654749

    Hi,
    I recently create a webservice application.
    It work fine when the server is implemented as java application. But when rewritten as web application( *.war),  the deploiement work on WLS.
    However it throws java.io.InvalidClassException: org.eclipse.persistence.internal.indirection.DatabaseValueHolder; local class incompatible: stream classdesc serialVersionUID = -6893195210780291759, local class serialVersionUID = 1128857921468654749 error when the client start consumming the web service methods.
    I add both eclipselink-javax.persistence-2.0.jar and eclipselink-2.0.2.jar(which are also used in the server side) in $WL_HOME/wlserver_10.3/common/deployable-libraries, that doesn't solve the problem yet.
    Any help will be appreciated, cheers.

    Abenk,
    This looks like a serial version mismatch due to multiple Eclipselink.jar files. Check if you have any under server/internal/ext folder.
    What are you putting in your classpath? Is there a "jrf.jar" and is it getting picked up first? Does this Jrf.jar have an entry of Eclipselink jar?
    Try to check the classpath of the jars used by Weblogic and remove any redundant Eclipselink/Toplink jars.
    What is the complete version of your Weblogic Server ?

  • GetBasicRequestData api throwing java.io.InvalidClassException

    Hi,
    I am new to OIM. we have OIM 11g R2 and am trying to run some sample programs to get Request Information using Java Program. I am getting an java.io.InvalidClassException while trying the getBasicRequestData.
    Here is what i am doing in my class:
    OIMClient oimClient;
                   String oimUserName = "xelsysadm";
    String oimPassword = "Welcome123";
    String oimURL = "t3://localhost:14000";
    // set the initial context factory
    String oimInitialContextFactory = "weblogic.jndi.WLInitialContextFactory";
    // set up the environment for making the OIM API invocation
    java.util.Hashtable env = new java.util.Hashtable();
    System.setProperty("APPSERVER_TYPE", "wls");
    System.setProperty("java.security.auth.login.config","C:\\Development\\JDeveloper\\OIMClientTest\\ViewController\\public_html\\config\\authwl.conf");//server or client
    env.put(oracle.iam.platform.OIMClient.JAVA_NAMING_FACTORY_INITIAL, oimInitialContextFactory);
    env.put(oracle.iam.platform.OIMClient.JAVA_NAMING_PROVIDER_URL, oimURL);
    env.put(oracle.iam.platform.OIMClient.APPSERVER_TYPE_WEBLOGIC, "WEBLOGIC");
    // get reference to OIMClient and perform login
    oimClient = new oracle.iam.platform.OIMClient(env);
                   try {
                        oimClient.login(oimUserName, oimPassword.toCharArray(), env);
                        System.out.println("Login Successful");
                   } catch (LoginException e) {
                        System.out.println("LoginException: " + e.getMessage());
                   RequestService reqSvc = (oracle.iam.request.api.RequestService)oimClient.getService(oracle.iam.request.api.RequestService.class);
                   oracle.iam.request.vo.Request req;
                   try {
                        req = (oracle.iam.request.vo.Request)reqSvc.getBasicRequestData("11");
                        System.out.println("Request Status is ****** : " + req.getRequestStatus());
                   } catch (RequestServiceException e) {
                        System.out.println("RequestServiceException: " + e.getMessage());
                   } catch (NoRequestPermissionException e) {
                        System.out.println("NoRequestPermissionException: " + e.getMessage());
    I am getting the below Exception:
    Login Successful
    Exception in thread "main" javax.ejb.EJBException: failed to unmarshal interface oracle.iam.request.vo.Request; nested exception is:
         java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible: stream classdesc serialVersionUID = 4038061360325736360, local class serialVersionUID = -494763524358427112; nested exception is: java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible: stream classdesc serialVersionUID = 4038061360325736360, local class serialVersionUID = -494763524358427112
    java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible: stream classdesc serialVersionUID = 4038061360325736360, local class serialVersionUID = -494763524358427112
         at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:208)
         at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:599)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:204)
         at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:243)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at oracle.iam.request.api.RequestService_dnwrzl_RequestServiceRemoteImpl_1036_WLStub.getBasicRequestDatax(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy2.getBasicRequestDatax(Unknown Source)
         at oracle.iam.request.api.RequestServiceDelegate.getBasicRequestData(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.security.Security.runAs(Security.java:41)
         at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
         at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
         at $Proxy3.getBasicRequestData(Unknown Source)
         at edimsoatest.OIMClientTest.main(OIMClientTest.java:83)
    I have all the jars in the class path. Any help in this regard will be much appreciated.
    Regards,
    Venkat.

    java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible:
    See the java version... the one which your JDeveloper is using vs the one which your OIM is using
    And you should have the jars ONLY from Oracle_IDM1/server/client/oimclient.zip expansion and REMOVE ALL OTHER JARS... (except wlfullclient.jar...)
    And make sure your jars are not obtained from ANYWHERE ELSE
    Actually I am afraid your jars might be from somewhere else like from some older installatin etc....

  • Patching/updating Java Applications in the WebLogic environment.

    Hi All,
    I'd like to get some feedback on our process and hear if there is some better/different
    ideas out there on how to handle patching/upgrading java applications in the WebLogic
    environment.
    Here is our process:
    1) We build using ANT our Enterprise application.
    2) We deploy our application using InstallAnywhere to drop the structure into
    an environment.
    If a patch or update is needed, we again build the Patch/Update using ANT, generating
    checksums for each file in every ear/war/jar file as well as any supporting files
    (.xml, .properties, .sh, etc.) used in the production structure. We then compare
    checksums against what is in production and come up with PATCH_(ear/war/jar) files
    with only the changed classes and duplicate production structure with the changed
    supporting files.
    Using ANT scripts and InstallAnywhere, we backup the files to be replaced in production,
    overwrite supporting files, extract packages (ear/war/jar), overwrite classes
    with new ones, re-package the ear/war/jar files into production environment and
    restart the server.
    We patch at a class level due to the configuration settings internal to the package
    files (ear/war/jar) that we don't want the customer to have to re-configure everytime
    we do a partial release.
    Right now, the whole process is automated except the creation of the Patch ANT
    script that extracts, overwrites updated classes, updates manifests, then re-packages.
    Any ideas on improvements or complete re-engineering of our process to help so
    we can get closer to 100% automation?
    Thanks,
    John

    The chances of two applications running at exactly the same time are miniscule. If they each have a connection to the database, and are both trying to modify the same table, then chances are one will be slightly after the other its changes would be committed last. In the case where one might delete a row just before another tries to access that row, you're going to have some sort of problem. However, those circumstances are pretty rare, and even so, some small amount of exception handling can deal with them gracefully.

  • Java Generics in Ejbs WebLogic 9.2 MP1 WindowsXP Sun JDK

    Hi guys,
    I tried to deploy our application on Weblogic Server 9.2 MP1 (Windows, Sun JDK) and during deployment I have this error see bellow.
    Can somebody tell me what is the problem with generics and EJB compiler?
    Is necessary to add any path or change any server settings?
    Thanks for help
    Robert
    location: interface
    ...daoadapter_DaoAdapter_rge4uk_Intf
    public void batchPersist(java.util.List<T> arg0);
    ^
    ...daoadapter_DaoAdapter_rge4uk_Intf.java:20: cannot find symbol
    symbol : class T
    location: interface
    2 errors
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:435)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:295)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:303)
    at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:309)
    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:497)
    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:464)
    at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:430)
    at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:752)
    at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:655)
    at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1199)
    at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:354)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperatio
    n.java:189)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:15
    7)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(Deploymen
    tReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiv
    erCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCal
    lbackDeliverer.java:45)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    Thanks Matt for your answer.
    But I don't finish my testing :)
    I tried to deploy the same application on Weblogic 9.2 MP2 and then MP3 (sun jdk domain) and I didn't have problem with generics (application was correctly deployed and running).
    Then something was fixed in newer versions or may be bea guys support more then is in EJB 2.x specification.
    My next step, I'll try to deploy it on Jrockit domain and I give a note to conference what happen, may be it can help to somebody else.
    Thanks
    Robert

  • How to integrate Java SSO with Oracle Weblogic

    Hi,
    I am new to Oracle weblogic, but i want to do something like below.
    I want to use Oracle weblogic as application server and want to integrate Java SSO into it. I think we can do it using Oracle access manager but since OAM itself is massive drop this plan.
    I think we can use OC4j Java SSO into Oracle weblogic, but don't knw whether it is feasible.
    Can somebody please guide me solve this problem.
    Any suggestion or comment is most appreciated.

    weblogic docs (and there identity asserters) - http://one-size-doesnt-fit-all.blogspot.com/2008/12/configuring-wls-with-ms-active.html

  • Java.lang.NullPointerException at weblogic.servlet.logging.LogManagerHttp.log(LogManagerHttp.java:292)

              Hi,
              intermittently we are seeing this exception in the server log files on weblogic 6.1
              sp2, I was wondering what the cause is:
              java.lang.NullPointerException
                   at weblogic.servlet.logging.LogManagerHttp.log(LogManagerHttp.java:292)
                   at weblogic.servlet.internal.HttpServer.log(HttpServer.java:835)
                   at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1002)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2209)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

    Did your C:\Lighthammer\Security\userdata\IlluminatorUsers.xml or other files in this directory get corrupted somehow?
    If you've rebooted the box or bounced the ServletExec-xMII service, do you see anything in the SYSTEM level messages that are forced during the initialization sequence in either the Lighthammer General log or the LHSecurity General log that would give any indications to the problem?
    Regards,
    Jeremy

  • Java.io.InvalidClassException

    Hello,
    I have tomcat running the JSP files for an online application. The error messages I am getting when I try to open a particular jsp file (summary_detail.jsp) is written in the log file of the application, and is as follows:
    ERR summary_detail.jsp: java.io.InvalidClassException: com.icwjsp.summary.java.DataSubObjectItem; Local class not compatible: stream classdesc serialVersionUID=-8981327278361376304 local class serialVersionUID=-4077089632444832393
    CALLSTACK com.inqmy.services.rmi_p4.P4RuntimeException: java.io.InvalidClassException: com.icwjsp.summary.java.DataSubObjectItem; Local class not compatible: stream classdesc serialVersionUID=-8981327278361376304 local class serialVersionUID=-4077089632444832393
         at com.icwapi.apiobjects.MedicalOverview_Stub.getData(MedicalOverview_Stub.java:375)
         at com.icwapi.apiobjects.MedicalOverviewKey.getData(MedicalOverviewKey.java:10)
         at summary.main.health.summary_detail_1._jspService(summary_detail_1.java:190)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
         at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
         at org.apache.tomcat.core.Handler.service(Handler.java:235)
         at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
         at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:341)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
         at java.lang.Thread.run(Thread.java:484)
    Any help on what could be leading to the problem (o.k. local class not compatible), or even better still, any pointers to what I could do to fix the problem, would be very much appreciated!
    Thank you,

    Thanks for answering, no it wasn't!
    I was sure it was, cos I have it running on my local machine, but there was a cache that I needed to clear.
    Cheers!

  • Applet/Servlet --java.io.InvalidClassException

    I'm trying to get an Applet to send data to a servlet and vice versa but I come upon this error:
    java.io.InvalidClassException: javax.swing.AbstractButton; Local class not compatible:
    stream classdesc serialVersionUID=-937921345538462020
    local class serialVersionUID=7577615732708390153I know the client version is 1.4.1 and the server is 1.3. However, It is not fair to ask every client to make sure they have 1.3, or to have to upgrade the server to 1.4.1.
    Isn't there a way to make them compatible? I heard about the serialVer program that comes with JAVA but I don't know how to use it to solve my problem.
    Thanks

    1. You should not try to send serialized Swing objects between different Java versions. Almost every of them has the following notice in their JavaDoc:
    Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing.
    In 1.4 you may use XML-based persistence (see XMLEncoder).
    2. SerialVer is a good program, but even if you mark two classes as compatible (by assigning an explicit serialVersionUID), they should indeed be compatible. Look for specs on serialization available within the JDK Documentation bundle.
    3. Core JDK classes (java.util, java.lang), as far as I remember, are compatible and can be read / written by different JDKs.
    4. If you would pass your own classes through serialization from 1.3 to 1.4 or back, you probably should provide some explicit serialVersionUID for them. The reason is that 1.4 in some cases may calculate a different value than 1.3, for the same class. Look around for a list of changes between that versions.

  • Java file run in weblogic

    Hi
    I am new in weblogic as i tried to run a java simple application on weblogic but i am facing a simple problem that the start option is disable..
    <BR><BR>
    the steps i did for that is
    <BR><BR>
    <b>1. create weblogic application
    2. create weblogic project
    then in WEB-INF>src create a java class</b>
    <BR><BR>
    <b>public class test
    {<BR>
    public static void main(String as[])
    {<BR>
    System.out.println("Hello World 1");<BR>
    System.out.println("Hello World 2");<BR>
    System.out.println("Hello World 3");<BR>
    System.out.println("Hello World 4");<BR>
    }<BR>
    }</b>
    <BR><BR>
    after that i build the application but when i try to debug the project or debug the java file then start button is disable so
    can any one tell me how to run this simple application in weblogic
    <BR><BR>
    Thanks & Warm Regards<BR>
    Vikas Sheel Gupta<BR>
    9911005168<BR>
    [email protected]<BR>
    Warm Regards
    Vikas Sheel Gupta
    9891424705

    Hi
    I am new in weblogic as i tried to run a java simple application on weblogic but i am facing a simple problem that the start option is disable..
    <BR><BR>
    the steps i did for that is
    <BR><BR>
    <b>1. create weblogic application
    2. create weblogic project
    then in WEB-INF>src create a java class</b>
    <BR><BR>
    <b>public class test
    {<BR>
    public static void main(String as[])
    {<BR>
    System.out.println("Hello World 1");<BR>
    System.out.println("Hello World 2");<BR>
    System.out.println("Hello World 3");<BR>
    System.out.println("Hello World 4");<BR>
    }<BR>
    }</b>
    <BR><BR>
    after that i build the application but when i try to debug the project or debug the java file then start button is disable so
    can any one tell me how to run this simple application in weblogic
    <BR><BR>
    Thanks & Warm Regards<BR>
    Vikas Sheel Gupta<BR>
    9911005168<BR>
    [email protected]<BR>
    Warm Regards
    Vikas Sheel Gupta
    9891424705

  • Java.io.InvalidClassException: java.util.concurrent.SynchronousQueue$WaitQu

    version: 1.6.0-beta2-b86
    I want to call a remote method using RMI to pass back a serialized Remote object that is composed of two SynchronousQueue objects. The exception that I get when I call the method is below.
    Client exception: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
            java.io.InvalidClassException: java.util.concurrent.SynchronousQueue$WaitQueue; local class incompatible: stream classdesc seria
    lVersionUID = 4403964863567356358, local class serialVersionUID = -858510627080488182
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
            java.io.InvalidClassException: java.util.concurrent.SynchronousQueue$WaitQueue; local class incompatible: stream classdesc seria
    lVersionUID = 4403964863567356358, local class serialVersionUID = -858510627080488182
            at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:173)
            at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
            at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
            at $Proxy0.register(Unknown Source)
            at ExchangeClient.main(ExchangeClient.java:30)
    Caused by: java.io.InvalidClassException: java.util.concurrent.SynchronousQueue$WaitQueue; local class incompatible: stream classdesc se
    rialVersionUID = 4403964863567356358, local class serialVersionUID = -858510627080488182
            at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
            at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
            at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
            at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
            at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
            at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)
            at java.util.concurrent.SynchronousQueue.readObject(SynchronousQueue.java:1120)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:589)
            at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
            at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:306)
            at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:155

    hi,
    is this j2ee application ur trying to deploy on app server?
    if so u could try re-deploying ur application and check ur settings again..datasources etc , see to it that u hv given rite and correct values for jdbc drivers,jdbc url,check java classes used,DS etc for the j2ee app in ur EM website.
    or try re-starting that oc4j component that was used , maybe this could help.god bless:)
    Edited by: lillyak on Mar 16, 2009 11:58 PM

Maybe you are looking for