• RELEVANCY SCORE 4.92

    DB:4.92:Java.Io.Interruptedioexception In Wls7.0.Sp2 8j





    Hello All,

    Platform: Sun OS 5.8
    Weblogic 7.0.SP2
    Database Oracle 8.1.7 and Thin Driver

    When we run our multi-threaded client, we get the following exception. Could someone
    give a hint.

    Thanks in advance
    MS

    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.IOException: RJVM has already been shutdown
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.IOException: RJVM has already been shutdown
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.IOException: RJVM has already been shutdown
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException

    DB:4.92:Java.Io.Interruptedioexception In Wls7.0.Sp2 8j


    Hello All,

    Platform: Sun OS 5.8
    Weblogic 7.0.SP2
    Database Oracle 8.1.7 and Thin Driver

    When we run our multi-threaded client, we get the following exception. Could someone
    give a hint.

    Thanks in advance
    MS

    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.IOException: RJVM has already been shutdown
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.IOException: RJVM has already been shutdown
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.IOException: RJVM has already been shutdown
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException

  • RELEVANCY SCORE 4.92

    DB:4.92:Java.Io.Interruptedioexception In Wls7.0.Sp2 8s





    Hello All,

    Platform: Sun OS 5.8
    Weblogic 7.0.SP2
    Database Oracle 8.1.7 and Thin Driver

    When we run our multi-threaded client, we get the following exception. Could someone
    give a hint.

    Thanks in advance
    MS

    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.IOException: RJVM has already been shutdown
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.IOException: RJVM has already been shutdown
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.IOException: RJVM has already been shutdown
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException

    DB:4.92:Java.Io.Interruptedioexception In Wls7.0.Sp2 8s


    Hello All,

    Platform: Sun OS 5.8
    Weblogic 7.0.SP2
    Database Oracle 8.1.7 and Thin Driver

    When we run our multi-threaded client, we get the following exception. Could someone
    give a hint.

    Thanks in advance
    MS

    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.IOException: RJVM has already been shutdown
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.IOException: RJVM has already been shutdown
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.IOException: RJVM has already been shutdown
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException
    Exception Occurred: [java.rmi.UnmarshalException:BasicOutboundRequest.java:109]-
    failed to unmarshal cookie; nested exception is:
    java.io.InterruptedIOException

  • RELEVANCY SCORE 4.41

    DB:4.41:Problems With Serializable j9




    hello for all

    I am using a class model that this inside of a package (. jar) to access an EJB and when I call a method of the Remote interface the exception is generated:

    Exception executeIncluir Handler: failed to unmarshal cookie; nested exception i:
    java.io.NotSerializableException: model.FaixaDimensional

    But the class FaixaDimensional implements the Serializable class.
    A particularity of model class is that it use it, as a recursive class.

    Please, help me

    DB:4.41:Problems With Serializable j9


    hi,

    I'm verry sorry for my mistake, dgraham1980 is right.
    I knew it but forgot.

    Stijn

  • RELEVANCY SCORE 3.95

    DB:3.95:Java.Io.Streamcorruptedexception: Type Code Out Of Range, Is -20 m7


    Hi ,
    When i am connecting from a client to an EJB running in Weblogic on the localhost , I got the follwoing exception.

    GENERAL-EXCEPTION: java.rmi.UnmarshalException: failed to unmarshal cookie; nest
    ed exception is:
    java.io.StreamCorruptedException: Type code out of range, is -20
    java.rmi.UnmarshalException: failed to unmarshal cookie; nested exception is:
    java.io.StreamCorruptedException: Type code out of range, is -20
    java.io.StreamCorruptedException: Type code out of range, is -20
    at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1551)
    at java.io.ObjectInputStream.refill(ObjectInputStream.java:1679)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:278)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:140)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
    va:91)
    at weblogic.rjvm.ResponseImpl.getReplicaInfo(ResponseImpl.java:171)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:264)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:229)

    Can anyone tell what this type code -20 is?

    DB:3.95:Java.Io.Streamcorruptedexception: Type Code Out Of Range, Is -20 m7

    www.google.com is your friend.

    http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=Type+code+out+of+range%2C+is+-20btnG=Google+Search

  • RELEVANCY SCORE 3.90

    DB:3.90:Jaxb Unmarshal/Marshal With Accentuate Characters p8


    Is it an option to set to manage accentuate characters with unmarshal/marshal methods in jaxb interface.

    We are getting the content of your xml document but the accentuate character appear coded and after we marshal an updated content with normal accentuate character we are no more able to parse the document again.

    DB:3.90:Jaxb Unmarshal/Marshal With Accentuate Characters p8

    We are using utf-8 encoding.

    Here is the xml document header :

    ?xml version="1.0" encoding="UTF-8"?
    classification schema-version="alpha 1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:/DOCUME~1/micwic/Bureau/ofs_xml_repository/xmlSchema/classification.xsd"

    Here is a part of our document content :

    classification-entry-title
    classification-entry-main-title language="fr"autres infections intestinales bactriennes/classification-entry-main-title
    classification-entry-main-title language="en"Other bacterial intestinal infections/classification-entry-main-title
    classification-entry-main-title language="de"Sonstige bakterielle Darminfektionen/classification-entry-main-title
    /classification-entry-title
    classification-entry-external-reference
    classification-entry-external-reference-systemCIM 10 Access database/classification-entry-external-reference-system
    classification-entry-external-reference-key26/classification-entry-external-reference-key
    classification-data-entry-external-reference-import-date2006-10-19/classification-data-entry-external-reference-import-date
    /classification-entry-external-reference
    /classification-entry
    classification-entry
    classification-entry-identification8/classification-entry-identification
    classification-entry-codeA05/classification-entry-code
    classification-entry-code-fullPath(A00-B99).(A00-A09).A05/classification-entry-code-fullPath
    classification-entry-category-codeCode level 1/classification-entry-category-code
    classification-entry-statusenable/classification-entry-status
    classification-entry-title
    classification-entry-main-title language="fr"autres intoxications bactriennes dapos;origine alimentaire/classification-entry-main-title
    classification-entry-main-title language="en"Other bacterial foodborne intoxications/classification-entry-main-title
    classification-entry-main-title language="de"Sonstige bakteriell bedingte Lebensmittelvergiftungen/classification-entry-main-title
    /classification-entry-title

    Thanks for help

  • RELEVANCY SCORE 3.88

    DB:3.88:Unmarshal - Jaxb 8x


    I am consuming a .NET webservice. I generated a Java client using Eclipse to consume the Web service.I am returned a XML tree of type MessageElement [] and I am trying to unmarshaller.unmarshal() the XML but I am having problems doing the conversion.

    The unmarshal only takes the following input types:
    File
    InputSource
    InputStream
    Node
    Source

    Help me plz. .. . How do I unmarshal this XML???

    DB:3.88:Unmarshal - Jaxb 8x

    Your client's runtime environment should take care of the unmarshalling for you so that you just end up dealing with a Java object or normal parameters.

    It sounds like you've generated the necessary helper classes from the WSDL, but does your client use these?

    There's a good article on getting the various types of Java clients up and running here if you need a hand:

    http://www-128.ibm.com/developerworks/webservices/library/ws-javaclient/

  • RELEVANCY SCORE 3.79

    DB:3.79:Java.Rmi.Unmarshalexception f7


    i have an EJB application where the Batch application acts as a client and it connects to JRun application but both are running on same machine.
    Most of the times the application works fine but some of the we are getting Unmarshal exception and says 'Failed to communicate with server:port'
    Here is the print stacktrace

    java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
    java.io.EOFException: Expecting code
    java.io.EOFException: Expecting code
    at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1547)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:287)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:207)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
    at allaire.ejipt.Ejipt_Stub._getNamingContext(Unknown Source)
    at allaire.ejipt.ContextFactory.getInitialContext(ContextFactory.java:116)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241)
    at javax.naming.InitialContext.init(InitialContext.java:217)
    at javax.naming.InitialContext.init(InitialContext.java:173

    Can somebody help me knowing what could cause this problem

    DB:3.79:Java.Rmi.Unmarshalexception f7

    yes all the objects are serialized. the problem is that the exception is not thrown always but only sometimes.

  • RELEVANCY SCORE 3.74

    DB:3.74:Peculiar Problem 11


    I have applet servlet module which uses rmi
    I have deployed this module on the tomcat webserver 3.2.linux mandrake 7.1
    i am facing a peculiar problem that is when i deploy all the modules with their calls files directly on tomcat everything is working fine
    when when i try to jar and keep it on tomcat it not at all working
    in the client side it gives rmi.notboundexception
    while in server side it gives rmi.serverexception
    unmarshal exception
    and xxx_stub not found exception
    does anybody know about this problem can anybody give a solution for this
    any suggestion will be aprrecaited
    thanks in advance
    anilsh

    DB:3.74:Peculiar Problem 11

    If your server works fine without jar - it must be a problem with your jar archive.

    1. check if all classes are there (inclusive stubs of the client if you use it)
    2. check also the package names of the classes
    3. check the Class-Path entry in the manifest of your jar file

    Server must be running without exceptions prior to starting the client.

    Best regards,
    Martin

  • RELEVANCY SCORE 3.63

    DB:3.63:Java.Rmi.Unmarshalexception With Ejbs zf


    Hi,
    I am running a weblogic 8.1 clustered environment. The application is throwing the following unmarshal exception and duplicate values are inserted to the database!

    error
    java.rmi.UnmarshalException: failed to unmarshal class java.util.ArrayList; nested exception is:
    java.io.OptionalDataException
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:285)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
    at gosi.business.socialinsurance.annuities.common.session.MaintainDependantSession_2utjox_EOImpl_813_WLStub.getDependantsList(Unknown Source)
    at gosi.userinterface.socialinsurance.annuities.benefit.viewcontrollers.ViewBenefitServlet.getDependantDetails(ViewBenefitServlet.java:1544)
    at gosi.userinterface.socialinsurance.annuities.benefit.viewcontrollers.ViewBenefitServlet.doPost(ViewBenefitServlet.java:201)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:312)
    at gosi.core.security.viewcontrollers.SecurityServlet.doPost(SecurityServlet.java:391)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.io.OptionalDataException
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1231)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:120)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:117)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
    ... 24 more

    any idea what's causing this? is it a bug within weblogic 8.1?
    any help/hint will be truly appreciated, thanks

    DB:3.63:Java.Rmi.Unmarshalexception With Ejbs zf

    You will probably have better luck getting an answer to your question if you post your question in EJB newsgroups.

    Thanks,
    -satya
    BEA Blog:
    http://dev2dev.bea.com/blog/sghattu/
    Get Involved in CodeShare:
    https://wls-console-extensions.projects.dev2dev.bea.com/
    https://wlnav.projects.dev2dev.bea.com/
    https://eclipse-wlst.projects.dev2dev.bea.com/
    https://wlst.projects.dev2dev.bea.com/

  • RELEVANCY SCORE 3.52

    DB:3.52:Serialization Error When Client App On Jdk1.6 Access Weblogic On Jdk1.5 ck


    I have a client application running on JDK1.6 and trying to connect to a JMX running on Weblogic 9.2 server with JDK1.5.0_06.

    An exception was thrown on client side when processing return from JMX server, the most relevant exception seems to be:

    Caused by: java.rmi.UnmarshalException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
    java.io.StreamCorruptedException: invalid type code: 31

    Could this be an interoperability issues between 1.6 and 1.5 or is it a Weblogic implementation issue?

    Thanks,

    Danny
    -----------------------------------------------------------------------------------------------------
    Full stack trace below:

    java.io.IOException
    at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:156)
    at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
    at javax.management.remote.JMXConnectorFactory.newJMXConnector(Unknown Source)
    at javax.management.remote.JMXConnectorFactory.connect(Unknown Source)
    at
    ...

    Caused by: javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
    java.io.StreamCorruptedException: invalid type code: 31]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:74)
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:32)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:773)
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:673)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:466)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:373)
    at weblogic.jndi.Environment.getContext(Environment.java:307)
    at weblogic.jndi.Environment.getContext(Environment.java:277)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:143)
    ... 9 more
    Caused by: java.rmi.UnmarshalException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
    java.io.StreamCorruptedException: invalid type code: 31
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:225)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
    at weblogic.common.internal.RMIBootServiceImpl_1001_WLStub.authenticate(Unknown Source)
    at weblogic.security.acl.internal.Security$1.run(Security.java:185)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:181)
    at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRemotely(WLInitialContextFactoryDelegate.java:734)
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:667)
    ... 19 more
    Caused by: java.io.StreamCorruptedException: invalid type code: 31
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:223)
    ... 27 more

    DB:3.52:Serialization Error When Client App On Jdk1.6 Access Weblogic On Jdk1.5 ck

    Found a cause the problem. There was a behavior change in
    ClassLoader.loadClass() handling byte array. As discussed in

    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6434149

    Adding this VM argument to client JVM preserves the backward compatible behavior of loadClass() and provides a workaround without patching JDK or WebLogic server:

    -Dsun.lang.ClassLoader.allowArraySyntax=true

  • RELEVANCY SCORE 3.50

    DB:3.50:Broken Pipe Error When Storing Large Files To Db df


    Hi I'm using weblogic 7.0 and when generating large report files (20M) to store in database, I encounter this error:

    java.lang.Exception: java.lang.Exception: java.rmi.UnmarshalException: failed to
    unmarshal cookie; nested exception is:
    java.net.SocketException: Broken pipe
    at com.ecquaria.report.mgmt.ReportJobThread.runReportJob(ReportJobThread
    .java:185)
    at com.ecquaria.report.mgmt.ReportJobThread.run(ReportJobThread.java:52)
    at com.ecquaria.report.mgmt.ReportJobProcessor.executeJobs(ReportJobProc
    essor.java:113)
    at com.ecquaria.report.mgmt.ReportSchedulerClient.run(ReportSchedulerCli
    ent.java:40)
    at com.ecquaria.report.mgmt.ReportSchedulerClient.main(ReportSchedulerCl
    ient.java:68)
    Caused by: java.lang.Exception: java.rmi.UnmarshalException: failed to unmarshal
    cookie; nested exception is:
    java.net.SocketException: Broken pipe
    at com.ecquaria.report.mgmt.ReportJob.insertDoc(ReportJob.java:164)
    at com.ecquaria.report.mgmt.ReportJob.executeJob(ReportJob.java:110)
    at com.ecquaria.report.mgmt.ReportJobThread.runReportJob(ReportJobThread
    .java:178)
    ... 4 more
    Caused by: java.rmi.UnmarshalException: failed to unmarshal cookie; nested excep
    tion is:
    java.net.SocketException: Broken pipe
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:273)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:230)
    at sop.transaction.GenericTxnBean_fg6m96_EOImpl_WLStub.startTransaction(
    Unknown Source)
    at com.ecquaria.report.mgmt.ReportJob.insertDoc(ReportJob.java:150)
    ... 6 more
    Caused by: java.net.SocketException: Broken pipe
    at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundR
    equest.java:109)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:263)
    ... 9 more

    This error does not occur for smaller files. Is this error caused by clustering? Is there any settings that I can set to prevent the error?
    Thanks.

    DB:3.50:Broken Pipe Error When Storing Large Files To Db df

    Hi I'm using weblogic 7.0 and when generating large report files (20M) to store in database, I encounter this error:

    java.lang.Exception: java.lang.Exception: java.rmi.UnmarshalException: failed to
    unmarshal cookie; nested exception is:
    java.net.SocketException: Broken pipe
    at com.ecquaria.report.mgmt.ReportJobThread.runReportJob(ReportJobThread
    .java:185)
    at com.ecquaria.report.mgmt.ReportJobThread.run(ReportJobThread.java:52)
    at com.ecquaria.report.mgmt.ReportJobProcessor.executeJobs(ReportJobProc
    essor.java:113)
    at com.ecquaria.report.mgmt.ReportSchedulerClient.run(ReportSchedulerCli
    ent.java:40)
    at com.ecquaria.report.mgmt.ReportSchedulerClient.main(ReportSchedulerCl
    ient.java:68)
    Caused by: java.lang.Exception: java.rmi.UnmarshalException: failed to unmarshal
    cookie; nested exception is:
    java.net.SocketException: Broken pipe
    at com.ecquaria.report.mgmt.ReportJob.insertDoc(ReportJob.java:164)
    at com.ecquaria.report.mgmt.ReportJob.executeJob(ReportJob.java:110)
    at com.ecquaria.report.mgmt.ReportJobThread.runReportJob(ReportJobThread
    .java:178)
    ... 4 more
    Caused by: java.rmi.UnmarshalException: failed to unmarshal cookie; nested excep
    tion is:
    java.net.SocketException: Broken pipe
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:273)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:230)
    at sop.transaction.GenericTxnBean_fg6m96_EOImpl_WLStub.startTransaction(
    Unknown Source)
    at com.ecquaria.report.mgmt.ReportJob.insertDoc(ReportJob.java:150)
    ... 6 more
    Caused by: java.net.SocketException: Broken pipe
    at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundR
    equest.java:109)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:263)
    ... 9 more

    This error does not occur for smaller files. Is this error caused by clustering? Is there any settings that I can set to prevent the error?
    Thanks.

  • RELEVANCY SCORE 3.50

    DB:3.50:Problem When Running Jaxb Ri Samples pp


    Hi all
    i was trying to run some of the sample applications provided by sun's jwsdp-1.6, and had some errors which i could not figure out the reason. maybe some of you guys had run it successfully and are able to explain why.
    i was running the sample - unmarshal-read and had the following exception:
    [echo] Running the sample application...
    [java] java.lang.NoSuchMethodError: javax.xml.parsers.SAXParserFactory.getS
    chema()Ljavax/xml/validation/Schema;
    [java] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.init(
    Unknown Source)
    [java] at com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.
    newSAXParser(Unknown Source)
    [java] at javax.xml.bind.helpers.AbstractUnmarshallerImpl.getXMLReader(
    AbstractUnmarshallerImpl.java:80)
    [java] at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Abs
    tractUnmarshallerImpl.java:131)
    [java] at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Abs
    tractUnmarshallerImpl.java:178)
    [java] at Main.main(Main.java:44)
    [java] Exception in thread "main"
    [java] Java Result: 1the error occurs at the point of :
    PurchaseOrder po =
    (PurchaseOrder)u.unmarshal( new FileInputStream( "po.xml" ) );in the Main class. i checked the help implementation class -AbstractUnmarshallerImpl using a decompiler and did not find the implemetation method - unmarshal. anyone has any idea what went wrong? is it possible that those sample applications have errors?

    DB:3.50:Problem When Running Jaxb Ri Samples pp

    There's a conflict between the Xerces class of your JDK and that in the JWSDP.

    The following post explains what you need to do:

    http://forum.java.sun.com/thread.jspa?threadID=642441messageID=3796454#3796454

  • RELEVANCY SCORE 3.50

    DB:3.50:Jaxb 2 Validation? sk


    Hi,

    Just right now I installed JAXB 2.0.
    Although the Java Web Services Tutorial for JWSDP v2.0 p33
    mentions a "Unmarshal Validate Example", this is
    not included in the samples dir anymore.

    Furthermore the Validator interface as well as
    the JAXBContext.setValidating() function is depricated.
    Calling this function anyway yields an exception ("not supported").

    How can I do validation in JAXB 2.0?

    Have fun,
    Klaus

    DB:3.50:Jaxb 2 Validation? sk

    Thanks a lot for your reply and the example code, much appreciated!

  • RELEVANCY SCORE 3.46

    DB:3.46:Unable To Login Wlpi Studio/Worklist sj



    Hi !

    I'm working on an WLS/WLPI application who seems to work perfectly fine, but when
    I try to login WLPI Studio or Worklist, i got this error :
    Failed to logon to WebLogic Process Integrator because of error below
    null failed to unmarshal class java.lang.Object; nested exception is :
    java.lang.ClassNotFoundException: com.bea.wlpi.server.principal.WLPIPrincipalBeanHomeImpl_WLStubI tried many things but it doesn't change anything ! What should I do ?

    Thank you.

    DB:3.46:Unable To Login Wlpi Studio/Worklist sj


    Hi !

    I'm working on an WLS/WLPI application who seems to work perfectly fine, but when
    I try to login WLPI Studio or Worklist, i got this error :
    Failed to logon to WebLogic Process Integrator because of error below
    null failed to unmarshal class java.lang.Object; nested exception is :
    java.lang.ClassNotFoundException: com.bea.wlpi.server.principal.WLPIPrincipalBeanHomeImpl_WLStubI tried many things but it doesn't change anything ! What should I do ?

    Thank you.

  • RELEVANCY SCORE 3.46

    DB:3.46:How To Manually Unmarshal Xml Into Jax-Rpc Artifacts? z9


    WL 10.3, I want to unit test some code that uses JAX-RPC generated parameter classes. Is there any way to unmarshal from an XML file into the generated classes?

    DB:3.46:How To Manually Unmarshal Xml Into Jax-Rpc Artifacts? z9

    WL 10.3, I want to unit test some code that uses JAX-RPC generated parameter classes. Is there any way to unmarshal from an XML file into the generated classes?

  • RELEVANCY SCORE 3.44

    DB:3.44:Oia - Oim 11g R2 Integration - Java.Io.Invalidclassexception j9


    Hello, i have OIA 11.1.1.5.6 and OIM 11.1.2.1.3 integrated with preferred mode. If i want to import Resource Metadata i got the following error:Any ideas? Is OIA compatible with OIM 11g R2?16:25:07,914 ERROR [DBIAMSolution] Error importing roles:: Error importing roles: failed to unmarshal interface Thor.API.tcResultSet; nested exception is: java.io.InvalidClassException: Thor.API.tcMetaDataSet; local class incompatible: stream classdesc serialVersionUID = 497665130057943698, local class serialVersionUID = -2604260793729521479; nested exception is: java.io.InvalidClassException: Thor.API.tcMetaDataSet; local class incompatible: stream classdesc serialVersionUID = 497665130057943698, local class serialVersionUID = -260426079372952147916:25:07,918 ERROR [DBIAMSolution] Error reading roles ---javax.ejb.EJBException: failed to unmarshal interface Thor.API.tcResultSet; nested exception is: java.io.InvalidClassException: Thor.API.tcMetaDataSet; local class incompatible: stream classdesc serialVersionUID = 497665130057943698, local class serialVersionUID = -2604260793729521479; nested exception is: java.io.InvalidClassException: Thor.API.tcMetaDataSet; local class incompatible: stream classdesc serialVersionUID = 497665130057943698, local class serialVersionUID = -2604260793729521479java.io.InvalidClassException: Thor.API.tcMetaDataSet; local class incompatible: stream classdesc serialVersionUID = 497665130057943698, local class serialVersionUID = -2604260793729521479 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:560) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1599) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1494) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1748) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) 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:240) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259) at Thor.API.Operations.tcGroupOperationsIntf_13pobh_tcGroupOperationsIntfRemoteImpl_1036_WLStub.findGroupsFilteredx(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 com.sun.proxy.$Proxy174.findGroupsFilteredx(Unknown Source) at Thor.API.Operations.tcGroupOperationsIntfDelegate.findGroupsFiltered(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)

    DB:3.44:Oia - Oim 11g R2 Integration - Java.Io.Invalidclassexception j9

    HI,Because there seems to be an inconsistency with the class serial version numbers, I would determine if there's any binary differentials by checking the following jar files between OIM and OIACopy the following .jar files from $OIM_HOME/designconsole/lib -------- $OIA_HOME/WEB-INF/libxlAPI.jarxlCache.jarxlDataObjectBeans.jarxlDataObjects.jarxlScheduler.jarxlUtils.jarxlVO.jaroimclient.jariam-platform-utils.jarCopy the following .jars from $OIM_HOME/server/lib -------- $OIA_HOME/WEB-INF/libxlCrypto.jarwlXLSecurityProviders.jarxlAuthentication.jarxlLogger.jarCopy the following .jars from $WLS_HOME/server/lib -------- $OIA_HOME/WEB-INF/libwlfullclient.jarFull List on link belowhttp://technicalconfessions.com/posts.php?post_id=24Hope this helps,Regards,Daniel

  • RELEVANCY SCORE 3.41

    DB:3.41:Ws-Atomictransaction11 And Msdtc Failure 9p


    I'm trying to use distributed transactions with wsAtomicTransaction11.I'm getting the following error:The flowed transaction could not be unmarshaled. The following exception occurred: The MSDTC transaction manager's WS-AtomicTransaction protocol service 'Version11' is disabled and cannot unmarshal incoming transactions.Anyone know how to enable this on MSDTC?Thanks,Kevingood night and good luck

  • RELEVANCY SCORE 3.39

    DB:3.39:Flatgroup Does Not Have A No Arg Constructor fk



    Hi All,

    I am using weblogic 6.0 sp1, wrote a custom realm that contains
    a class

    public class CustomGroup extends FlatGroup implements Serializable
    {......}

    I have a method,
    CustomGroup getGroup(String groupId){....}

    When the method returns an object of type CustomGroup to the client,
    I get the following error,

    ERROR:java.rmi.UnmarshalException: failed to unmarshal class admin.rdbmsrealm.CustomGroup;
    nested exception is:
    * java.io.InvalidClassException: weblogic.security.acl.FlatGroup,
    Missing no-arg constructor for class

    Do I HAVE to extend from Flatgroup to implement a group in the
    custom realm ?? And does Weblogic always use the Caching realm
    to access the RDBMSRealm ??

    Thanks in advance,
    SKolli

    DB:3.39:Flatgroup Does Not Have A No Arg Constructor fk


    Hi All,

    I am using weblogic 6.0 sp1, wrote a custom realm that contains
    a class

    public class CustomGroup extends FlatGroup implements Serializable
    {......}

    I have a method,
    CustomGroup getGroup(String groupId){....}

    When the method returns an object of type CustomGroup to the client,
    I get the following error,

    ERROR:java.rmi.UnmarshalException: failed to unmarshal class admin.rdbmsrealm.CustomGroup;
    nested exception is:
    * java.io.InvalidClassException: weblogic.security.acl.FlatGroup,
    Missing no-arg constructor for class

    Do I HAVE to extend from Flatgroup to implement a group in the
    custom realm ?? And does Weblogic always use the Caching realm
    to access the RDBMSRealm ??

    Thanks in advance,
    SKolli

  • RELEVANCY SCORE 3.39

    DB:3.39:Weblogic8.1 &Amp; Oracle10g - Problem In Executing The Statement. sz


    Hi,

    I have created connection in weblogic 8.1 of a type4 driver. And associated that connection with a JNDI name and DataSource. And I'm looking up that jndi and getting the connection. It is connecting but when executing the statement it is throwing exception. Please adivce. Thanks.
    Both code and exception are below:

    Here is the Program:
    ----------------------------

    public class JDBCConnectionPool {

    Connection connection = null;
    InitialContext initialContext = null;
    Context context = null;
    DataSource datasource = null;
    Properties properties = null;

    public Connection getConnection() {
    properties = new Properties();
    properties.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.T3InitialContextFactory");
    properties.put(Context.PROVIDER_URL, "t3://CBR-SRV-HPORA:7001/");
    try {
    initialContext = new InitialContext(properties);
    datasource = (DataSource) initialContext.lookup("sample_jndi");
    try {
    connection = datasource.getConnection();
    } catch (SQLException e) {
    e.printStackTrace();
    }

    } catch (NamingException e) {
    e.printStackTrace();
    }

    return connection;
    }

    public static void main(String args[]) throws SQLException {

    JDBCConnectionPool conpool = new JDBCConnectionPool();
    Connection con = conpool.getConnection();

    if (con != null) {
    System.out.println("Connected.........");

    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT ENAME FROM EMP");
    while (rs.next()){
    System.out.println(rs.getString("ENAME"));
    }
    }

    }
    }

    Here is the EXCEPTION:
    --------------------------------

    Connected.........
    Jun 15, 2010 4:42:20 PM IST Info JDBC BEA-001155 The following exception has occurred:

    java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'createArrayOf(Ljava.lang.String;[Ljava.lang.Object;)'
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:164)
    at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_weblogic_jdbc_oracle_OracleConnection_816_WLStub.createStatement(Unknown Source)
    at weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:157)
    at com.code.sample.connectionDB.JDBCConnectionPool.main(JDBCConnectionPool.java:54)
    Caused by: java.rmi.UnmarshalException: Method not found: 'createArrayOf(Ljava.lang.String;[Ljava.lang.Object;)'
    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:156)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:272)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:1114)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:1032)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:225)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:809)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:782)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

    --------------------------------------------------------------------------------
    nested within:
    --------------------------------------------------------------------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'createArrayOf(Ljava.lang.String;[Ljava.lang.Object;)']
    at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_weblogic_jdbc_oracle_OracleConnection_816_WLStub.createStatement(Unknown Source)
    at weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:157)
    at com.code.sample.connectionDB.JDBCConnectionPool.main(JDBCConnectionPool.java:54)

    DB:3.39:Weblogic8.1 &Amp; Oracle10g - Problem In Executing The Statement. sz

    But are they the exact same versions of those jars as the weblogic has?
    Take the oracle driver out of your client classpath.

  • RELEVANCY SCORE 3.38

    DB:3.38:Access Jms Headers 39



    Hi there,

    I am trying to access the JMS headers on a TextMessage send by a client but I am unable to do so. My route is

    from("switchyard://RegistrationRoute").routeId("RegistrationRoute")
    .process(new Processor() {
    public void process(Exchange exchange) throws Exception {

    MapString, Object headers = exchange.getIn().getHeaders();

    for (Map.EntryString, Object e : headers.entrySet())
    System.out.println(e.getKey() + ": " + e.getValue());

    } })
    .choice()
    .when(header("type").isEqualTo("register"))
    .unmarshal().json(JsonLibrary.Jackson, RegistrationCommandMessage.class)
    .to("bean:Routing?method=addRouteFromRegistrationCommandMsg")
    .log("registration completed")
    .otherwise()
    .to("can't process it");

    I use the Processor just to dump the message headers. On the console I am getting only one header

    breadcrumbId: ID-casper-rd-forthnet-gr-54172-1326374328862-15-6

    On the client side I set the property with
    msg.setStringProperty("type", "register");

    Also I can't access the standard JMS properties e.g. JMSDestination, JMSMessageID, etc.

    Any help?

    Regards

    DB:3.38:Access Jms Headers 39


    NP. Thanks for bringing it to our attention.

  • RELEVANCY SCORE 3.34

    DB:3.34:Java.Rmi.Unmarshalexception: Could Not Unmarshal Method Id 1k



    I'm not sure whether to post this on RMI or EJB b/c I'm getting an RMI exception
    with an EJB (so I've posted to both).

    Anyway, here's the deal.

    I'm getting the exception stack trace below when I've inspected the JAR files
    and I KNOW that the methods it's complaining about are in there.

    If it's an issue with the class loader, I can't figure out why. I've deleted the
    class files, and I've defined the JAR in the class path.

    If anyone has seen this and knows what's wrong, I'll owe you lunch if you can
    get me unstuck :-).

    Gary B.

    ------------------ stack trace follows --------

    Start server side stack trace: java.rmi.UnmarshalException: Could not unmarshal
    method ID; nested exception is: java.rmi.UnmarshalException: Method not found:
    'bogusTest()' java.rmi.UnmarshalException: Method not found: 'bogusTest()' at
    weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:154) at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272) at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:807)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:738) at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:207)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777) at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:508)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664) at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    End server side stack trace ; nested exception is: java.rmi.UnmarshalException:
    Method not found: 'bogusTest()'

    Start server side stack trace: java.rmi.UnmarshalException: Method not found:
    'bogusTest()' at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:154)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220) at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:807) at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:738)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:207)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777) at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:508)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664) at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    End server side stack trace

    DB:3.34:Java.Rmi.Unmarshalexception: Could Not Unmarshal Method Id 1k

    "Gary Braswell" gbraswell@manh.com wrote in message news:40f2fdf6$1@mktnews1...
    I'm not sure whether to post this on RMI or EJB b/c I'm getting an RMI exception
    with an EJB (so I've posted to both).

    Anyway, here's the deal.

    I'm getting the exception stack trace below when I've inspected the JAR files
    and I KNOW that the methods it's complaining about are in there.Well, the stack trace does mean that versions of the serialized class
    and the class being deserialized are different.

    Regards,

    Slava Imeshev

  • RELEVANCY SCORE 3.32

    DB:3.32:Unmarshalexception - Method Not Found a1



    I am using weblogic 7. The server and client are separate machines. When I ran
    the client, the following error appeared:

    Start server side stack trace:
    java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:

    java.rmi.UnmarshalException: Method not found: 'calculateRate(Lcom.Transporter;)'

    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:157)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:724)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:655)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:194)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:495)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace

    Could anyone suggest any possible solutions to fix this problem?

    DB:3.32:Unmarshalexception - Method Not Found a1


    I am using weblogic 7. The server and client are separate machines. When I ran
    the client, the following error appeared:

    Start server side stack trace:
    java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:

    java.rmi.UnmarshalException: Method not found: 'calculateRate(Lcom.Transporter;)'

    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:157)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:724)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:655)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:194)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:495)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace

    Could anyone suggest any possible solutions to fix this problem?

  • RELEVANCY SCORE 3.32

    DB:3.32:Regarding Unmarshal Using Xsd f8


    Hi i need little clarifiaction, that whether we can unmarshal XSD or we need XML only?

    Thanks in Advance,

    DB:3.32:Regarding Unmarshal Using Xsd f8

    Hi i need little clarifiaction, that whether we can unmarshal XSD or we need XML only?

    Thanks in Advance,

  • RELEVANCY SCORE 3.30

    DB:3.30:A Design Problem fd


    I have a client/server application in which the client sends a request (in the form of xml) and the expects a response to come back from the server for that particular request.

    Let's say the client sends a "login" request to the server, then it expects a "login" response. This part is very clear for the client side. I have used XML binding for each request, in the sense if lets say the XML login request is:

    login
    user_namesri/user_name
    passwordsome_password/password
    /loginThen I have a classes for generating this request:

    public class LoginRequest {
    // All the setters/getters and marshalling/unmarshalling code here
    // for "LoginRequest"
    }When I want to generate a login request (from client side), I just say:

    loginRequest.setUser("sri");
    loginRequest.setPassword("some_password");
    loginRequest.marshal(writer);

    // And send this generated XML to the serverAnd when it gets a response, it expects a "login" response to come in from the server.

    LoginResponse loginResponse = new LoginResponse();

    // Try and Unmarshal the response
    try {
    loginResponse.unmarshal("the_response_from_server");

    // We have a login response, let's do the other steps...
    } catch (Exception e) {
    // Do something when the response is incorrect.
    }It's very obvious from the client side on what to give and what to expect. But my problem is with the server side. The server can get any type of request, may be "login", may be "logout" or something like "delete a resource" or "fetch a resource".

    But how do I unmarshal the XML request on the server side when I don't know what request it is... For example I can't say loginRequest.unmarshal() because it may not be a login request. And it seems like this is a very common issue which every server of this kind may face.

    How do I design the server to unmarshal with the right kind of object, that is a "login" request with a LoginRequest object? I hope I have explained my problem clearly, if I have not made myself clear on anything please let me know. I will explain my problem more on that.

    Thanks,
    Srikanth

    DB:3.30:A Design Problem fd

    Thanks YooGee,

    I am looking at Castor now. I will let you know once I succeed.

    Thanks again,
    Srikanth

  • RELEVANCY SCORE 3.30

    DB:3.30:How To Treat Exception Thrown By Setter On Jaxb Automatic Unmarshal From Request Body? dz


    Hello!I have already explained my situation on http://stackoverflow.com/questions/20357832/how-to-treat-exception-thrown-by-setter-on-jaxb-automatic-unmarshal-from-requestPlease have a look and let me know if you have an answer, because on stackoverflow I haven't got any.Thank you!Sorin Carbunaru

    DB:3.30:How To Treat Exception Thrown By Setter On Jaxb Automatic Unmarshal From Request Body? dz

    Hello!I have already explained my situation on http://stackoverflow.com/questions/20357832/how-to-treat-exception-thrown-by-setter-on-jaxb-automatic-unmarshal-from-requestPlease have a look and let me know if you have an answer, because on stackoverflow I haven't got any.Thank you!Sorin Carbunaru

  • RELEVANCY SCORE 3.30

    DB:3.30:Unmarshalling Exception ( Failed To Unmarshal The Class) 78


    Hi All,

    We are getting the following exception some times and we need to restart the server to run the application if we get following exception.

    This exception is repeating many times . Please suggest us possible causes for the exception.

    ***************************

    java.rmi.UnmarshalException: failed to unmarshal class java.util.HashMap; nested exception is:
    *java.io.StreamCorruptedException*
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:139)
    at weblogic.cluster.replication.ReplicationManager_812_WLStub.fetch(Unknown Source)
    at weblogic.cluster.replication.ReplicationManager.lookup(ReplicationManager.java:473)
    at weblogic.servlet.internal.session.ReplicatedSessionContext.lookupROs(ReplicatedSessionContext.java:337)
    at weblogic.servlet.internal.session.ReplicatedSessionContext.getSessionInternal(ReplicatedSessionContext.java:448)
    at weblogic.servlet.internal.ServletRequestImpl.getValidSession(ServletRequestImpl.java:2489)
    at weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:2153)

    DB:3.30:Unmarshalling Exception ( Failed To Unmarshal The Class) 78

    Hi All,

    We are getting the following exception some times and we need to restart the server to run the application if we get following exception.

    This exception is repeating many times . Please suggest us possible causes for the exception.

    ***************************

    java.rmi.UnmarshalException: failed to unmarshal class java.util.HashMap; nested exception is:
    *java.io.StreamCorruptedException*
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:139)
    at weblogic.cluster.replication.ReplicationManager_812_WLStub.fetch(Unknown Source)
    at weblogic.cluster.replication.ReplicationManager.lookup(ReplicationManager.java:473)
    at weblogic.servlet.internal.session.ReplicatedSessionContext.lookupROs(ReplicatedSessionContext.java:337)
    at weblogic.servlet.internal.session.ReplicatedSessionContext.getSessionInternal(ReplicatedSessionContext.java:448)
    at weblogic.servlet.internal.ServletRequestImpl.getValidSession(ServletRequestImpl.java:2489)
    at weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:2153)

  • RELEVANCY SCORE 3.30

    DB:3.30:Wls7.0 Sp2 To Sp5 Upgrade Problem. xz


    Hi
    I manage to follow instructions as per bea docs and upgraded WLX7.0 sp2 to sp5 on Solaris boxes. I started Admin Node manager successfully. But when i try to start cluster, It throws following Error. Please help:

    ####Apr 12, 2005 2:40:15 PM BST Info socket snmeprad01 cstrad0M1 main kernel identity 000415 System has file descriptor limits of - soft: 4,096, hard: 4,096
    ####Apr 12, 2005 2:40:15 PM BST Info socket snmeprad01 cstrad0M1 main kernel identity 000416 Using effective file descriptor limit of: 4,096 open sockets/files.
    ####Apr 12, 2005 2:40:15 PM BST Info socket snmeprad01 cstrad0M1 main kernel identity 000406 PosixSocketMuxer was built on Jun 16 2003 15:45:25
    ####Apr 12, 2005 2:40:15 PM BST Info socket snmeprad01 cstrad0M1 main kernel identity 000418 Allocating: 3 POSIX reader threads
    ####Apr 12, 2005 2:40:36 PM BST Critical WebLogicServer snmeprad01 cstrad0M1 main kernel identity 000364 Server failed during initialization. Exception:weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: failed to unmarshal interface weblogic.management.WebLogicMBean; nested exception is:
    java.io.UTFDataFormatException]
    java.rmi.UnmarshalException: failed to unmarshal interface weblogic.management.WebLogicMBean; nested exception is:
    java.io.UTFDataFormatException
    java.io.UTFDataFormatException
    at weblogic.utils.io.DataIO.readUTF(DataIO.java:686)
    at weblogic.utils.io.ChunkedDataInputStream.readUTF(ChunkedDataInputStream.java:117)
    at weblogic.rjvm.MsgAbbrevInputStream.resolveProxyClass(MsgAbbrevInputStream.java:311)
    at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.resolveProxyClass(ChunkedObjectInputStream.java:331)
    at java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:977)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
    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 weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:120)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:103)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:128)
    at weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBean(Unknown Source)
    at weblogic.management.ManagedServerAdmin.getAdminServer(ManagedServerAdmin.java:428)
    at weblogic.ldap.EmbeddedLDAP.initReplicas(EmbeddedLDAP.java:1178)
    at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:287)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:721)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: failed to unmarshal interface weblogic.management.WebLogicMBean; nested exception is:
    java.io.UTFDataFormatException]
    at weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBean(Unknown Source)
    at weblogic.management.ManagedServerAdmin.getAdminServer(ManagedServerAdmin.java:428)
    at weblogic.ldap.EmbeddedLDAP.initReplicas(EmbeddedLDAP.java:1178)
    at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:287)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:721)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    ####Apr 12, 2005 2:40:36 PM BST Emergency WebLogicServer snmeprad01 cstrad0M1 main kernel identity 000342 Unable to initialize the server: Fatal initialization exception
    Throwable: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: failed to unmarshal interface weblogic.management.WebLogicMBean; nested exception is:
    java.io.UTFDataFormatException]
    java.rmi.UnmarshalException: failed to unmarshal interface weblogic.management.WebLogicMBean; nested exception is:
    java.io.UTFDataFormatException
    java.io.UTFDataFormatException
    at weblogic.utils.io.DataIO.readUTF(DataIO.java:686)
    at weblogic.utils.io.ChunkedDataInputStream.readUTF(ChunkedDataInputStream.java:117)
    at weblogic.rjvm.MsgAbbrevInputStream.resolveProxyClass(MsgAbbrevInputStream.java:311)
    at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.resolveProxyClass(ChunkedObjectInputStream.java:331)
    at java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:977)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
    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 weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:120)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:103)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:128)
    at weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBean(Unknown Source)
    at weblogic.management.ManagedServerAdmin.getAdminServer(ManagedServerAdmin.java:428)
    at weblogic.ldap.EmbeddedLDAP.initReplicas(EmbeddedLDAP.java:1178)
    at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:287)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:721)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: failed to unmarshal interface weblogic.management.WebLogicMBean; nested exception is:
    java.io.UTFDataFormatException]
    at weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBean(Unknown Source)
    at weblogic.management.ManagedServerAdmin.getAdminServer(ManagedServerAdmin.java:428)
    at weblogic.ldap.EmbeddedLDAP.initReplicas(EmbeddedLDAP.java:1178)
    at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:287)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:721)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)

    Can anybody throw some light on the above problem.

    Thanks Regards

    DB:3.30:Wls7.0 Sp2 To Sp5 Upgrade Problem. xz

    Hi Even i am getting the same issue, I upgarded the server from 7.0 sp1 to sp6. I have 6 managed instances running on 2 boxes. But i am facing this problem with only one managed instance. This problem i am facing when i start the 2nd instance of the managed instance where my Webservice component is running.

  • RELEVANCY SCORE 3.29

    DB:3.29:Client Doesn't Unmarshal The Response. zc


    Hi,
    I have a client which makes a call to a remote web service. I was able to intercept the return response from server and validate it by using a SOAPHandler object.
    But the client doesn't deserialize the reponse and make Java object from response. It also doesn't throw any parsing exception or error.It seems that the JAXB it not invoked
    Any help would be appreciated.

    Thanks

    Edited by: rezsam on Dec 15, 2009 2:18 PM

    Edited by: rezsam on Dec 15, 2009 2:19 PM

    Edited by: rezsam on Dec 15, 2009 2:19 PM

    Edited by: rezsam on Dec 16, 2009 12:24 PM

    DB:3.29:Client Doesn't Unmarshal The Response. zc

    what does the returned xml look like? what is the rate value after the operation executes?

  • RELEVANCY SCORE 3.25

    DB:3.25:Integration a3


    Hi All,

    I have deployed an EJB on the Integration server which takes the Application
    View Handle and invokes the Service. I am invoking a Input Processor from
    one of my portlets in my Commerce Server which in turn accesses the above
    EJB but I get the following Exception.

    exception : javax.naming.CommunicationException [Root exception is
    java.rmi.UnmarshalException: fai
    led to unmarshal class java.lang.Object; nested exception is:
    java.lang.ClassNotFoundException: ejb20.AppviewBeanHomeImpl_WLStub:
    This error could indica
    te that a component was deployed on a cluster member but not other members
    of that cluster. Make su
    re that any component deployed on a server that is part of a cluster is also
    deployed on all other m
    embers of that cluster]

    What I need to do is to invoke a service from the Commerce Server IP class.

    Is this the right way to do, please suggest if there is any alternative way.

    Thanks in advance
    Nipun

    DB:3.25:Integration a3

    Hi All,

    I have deployed an EJB on the Integration server which takes the Application
    View Handle and invokes the Service. I am invoking a Input Processor from
    one of my portlets in my Commerce Server which in turn accesses the above
    EJB but I get the following Exception.

    exception : javax.naming.CommunicationException [Root exception is
    java.rmi.UnmarshalException: fai
    led to unmarshal class java.lang.Object; nested exception is:
    java.lang.ClassNotFoundException: ejb20.AppviewBeanHomeImpl_WLStub:
    This error could indica
    te that a component was deployed on a cluster member but not other members
    of that cluster. Make su
    re that any component deployed on a server that is part of a cluster is also
    deployed on all other m
    embers of that cluster]

    What I need to do is to invoke a service from the Commerce Server IP class.

    Is this the right way to do, please suggest if there is any alternative way.

    Thanks in advance
    Nipun

  • RELEVANCY SCORE 3.24

    DB:3.24:Jdbc Driver Issue (Weblogic.Jdbc.Mssqlserver4) With Wl7.0 Sp5 9c


    We have just upgrade from SP2 to SP5 and we are getting the following errors:

    Errors on console: weblogic.jdbc.mssqlserver4.TdsException: Statement.executeQuery - No result sets were produced by ' execute sp_storedprocedure_data ?,? '].

    weblogic.jdbc.mssqlserver4.TdsException: Statement.executeQuery - No result sets were produced by 'SELECT XXX ............... WHERE ( YYY ) ORDER BY ZZZ DESC '

    weblogic.jdbc.mssqlserver4.TdsException: getXXX cannot be used to get type 4 (int).
    at weblogic.jdbc.mssqlserver4.TdsEntry.invalidConversion(TdsEntry.java:1287)

    We have received a possible patch for solve this apparently JDBC issue, the patch is : CR196738_70sp4.jar
    but when we applied this patch to our weblogic server (SP5) were getting the following error when server A came up:(admin server works fine..)

    Critical WebLogicServer 000364 Server failed during initialization. Exception:weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: failed to unmarshal interface weblogic.management.WebLogicMBean; nested exception is:
    java.io.UTFDataFormatException]
    java.rmi.UnmarshalException: failed to unmarshal interface weblogic.management.WebLogicMBean; nested exception is:
    java.io.UTFDataFormatException
    java.io.UTFDataFormatException
    at weblogic.utils.io.DataIO.readUTF(DataIO.java:686)
    at weblogic.utils.io.ChunkedDataInputStream.readUTF(ChunkedDataInputStream.java:117)
    at weblogic.rjvm.MsgAbbrevInputStream.resolveProxyClass(MsgAbbrevInputStream.java:311)
    at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.resolveProxyClass(ChunkedObjectInputStream.java:331)
    at java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:977)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
    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 weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:120)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:103)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:128)
    at weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBean(Unknown Source)
    at weblogic.management.ManagedServerAdmin.getAdminServer(ManagedServerAdmin.java:428)
    at weblogic.ldap.EmbeddedLDAP.initReplicas(EmbeddedLDAP.java:1178)
    at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:287)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:721)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: failed to unmarshal interface weblogic.management.WebLogicMBean; nested exception is:
    java.io.UTFDataFormatException]
    at weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBean(Unknown Source)
    at weblogic.management.ManagedServerAdmin.getAdminServer(ManagedServerAdmin.java:428)

    Does any one have a patch for this JDBC problem with SP5 ? or is there any other sql jdbc driver besides the one that came with bea (weblogic.jdbc.mssqldriver4) or the one from microsoft?

    Any ideas??

    Thanks a lot!
    Guillermo

    Message was edited by guilledelarosa at Nov 24, 2004 1:46 PM

    DB:3.24:Jdbc Driver Issue (Weblogic.Jdbc.Mssqlserver4) With Wl7.0 Sp5 9c

    Guillermo De La Rosa wrote:

    We have just upgrade from SP2 to SP5 and we are getting the following errors:

    Errors on console: weblogic.jdbc.mssqlserver4.TdsException: Statement.executeQuery - No result sets were produced by ' execute sp_storedprocedure_data ?,? '].

    weblogic.jdbc.mssqlserver4.TdsException: Statement.executeQuery - No result sets were produced by 'SELECT XXX ............... WHERE ( YYY ) ORDER BY ZZZ DESC '

    weblogic.jdbc.mssqlserver4.TdsException: getXXX cannot be used to get type 4 (int).
    at weblogic.jdbc.mssqlserver4.TdsEntry.invalidConversion(TdsEntry.java:1287)

    We have received a possible patch for solve this apparently JDBC issue, the patch is : CR196738_70sp4.jar
    but when we applied this patch to our weblogic server (SP5) were getting the following error when server A came up:(admin server works fine..)Hi. Yes that patch is supposed to address that driver problem, and it's functional
    contents should absolutely work with the sp5 server as well as the sp4 server. However,
    we do put extra stuff in CR patches to try to restrict them to the service pack
    for which they were intended. Would you please re-verify that the 70sp5 boots up
    correctly without the patch, but fails to with it? I ask, because the exception
    below has nothing obviously to do with the patch...
    If this is verified, you will probably need to contact support for an official
    70sp5-compatible patch. Here is an unofficial, not-officially-supported one...
    Joe

    Critical WebLogicServer 000364 Server failed during initialization. Exception:weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: failed to unmarshal interface weblogic.management.WebLogicMBean; nested exception is:
    java.io.UTFDataFormatException]
    java.rmi.UnmarshalException: failed to unmarshal interface weblogic.management.WebLogicMBean; nested exception is:
    java.io.UTFDataFormatException
    java.io.UTFDataFormatException
    at weblogic.utils.io.DataIO.readUTF(DataIO.java:686)
    at weblogic.utils.io.ChunkedDataInputStream.readUTF(ChunkedDataInputStream.java:117)
    at weblogic.rjvm.MsgAbbrevInputStream.resolveProxyClass(MsgAbbrevInputStream.java:311)
    at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.resolveProxyClass(ChunkedObjectInputStream.java:331)
    at java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:977)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
    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 weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:120)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:103)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:128)
    at weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBean(Unknown Source)
    at weblogic.management.ManagedServerAdmin.getAdminServer(ManagedServerAdmin.java:428)
    at weblogic.ldap.EmbeddedLDAP.initReplicas(EmbeddedLDAP.java:1178)
    at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:287)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:721)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: failed to unmarshal interface weblogic.management.WebLogicMBean; nested exception is:
    java.io.UTFDataFormatException]
    at weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBean(Unknown Source)
    at weblogic.management.ManagedServerAdmin.getAdminServer(ManagedServerAdmin.java:428)

    Does any one have a patch for this JDBC problem with SP5 ? or is there any other sql jdbc driver besides the one that came with bea (weblogic.jdbc.mssqldriver4) or the one from microsoft?

    Any ideas??

    Thanks a lot!
    Guillermo[CR196738_70.any.unsupported.jar]

  • RELEVANCY SCORE 3.24

    DB:3.24:Failed To Unmarshal Interface Java.Sql.Connection dd


    we have migrated our application from WLS 8.1 to WLS 10.3. After migration we are not able to insert data using ibatis insert method. Ibatis will use remote connection for doing this operation.

    we are getting the below exception.

    Caused by: java.rmi.UnmarshalException: failed to unmarshal interface java.sql.Connection; nested exception is:
    java.io.InvalidObjectException: Local reference could not be found
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:242)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    ... 36 more
    Caused by: java.io.InvalidObjectException: Local reference could not be found
    at weblogic.rmi.internal.BasicRemoteRef.readResolve(BasicRemoteRef.java:360)
    at sun.reflect.GeneratedMethodAccessor554.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:599)
    at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1072)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1773)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1340)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1958)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:491)
    at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:176)
    at sun.reflect.GeneratedMethodAccessor408.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:599)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:985)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1860)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1764)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1340)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:362)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:564)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:240)
    ... 38 more
    Caused by: java.rmi.NoSuchObjectException: The object identified by: '390' could not be found. Either it was has not been exported or it has been collected by the distributed garbage collector.
    at weblogic.rmi.internal.OIDManager.getServerReference(OIDManager.java:251)
    at weblogic.rmi.internal.BasicRemoteRef.readResolve(BasicRemoteRef.java:356)

    Can u please help to solve this issue.

    DB:3.24:Failed To Unmarshal Interface Java.Sql.Connection dd

    both the server and client are using the JAVA 6. Also the server is reffering the weblogic jar available inside the weblogic istallation.
    There are two insert operation happening parallely. the first one is inserting the data properly.while invoking the second insert method i am getting the exception. we are using the sqlmaptemplate from the spring library

  • RELEVANCY SCORE 3.23

    DB:3.23:Remote Exception Error While Calling Getmbeansbytype 8f


    HI,

    I am getting the following error when I invoke this statement,
    Set objs = mbean_home.getMBeansByType(mbean_type);

    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: failed to unmarshal interface java.util.Set; nested exception is:
    java.io.StreamCorruptedException: unexpected end of block data]

    any idea on this error?

    Thanks
    Savitha

    DB:3.23:Remote Exception Error While Calling Getmbeansbytype 8f

    HI,

    I am getting the following error when I invoke this statement,
    Set objs = mbean_home.getMBeansByType(mbean_type);

    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: failed to unmarshal interface java.util.Set; nested exception is:
    java.io.StreamCorruptedException: unexpected end of block data]

    any idea on this error?

    Thanks
    Savitha

  • RELEVANCY SCORE 3.21

    DB:3.21:Access Ejb 3 Session Bean From Remote Client c3


    I deployed ejb 3 session staeless bean on my weblogic 1033 server. It deployed successfully. However when i try to access the remote interface from my remote client, it gives me following error.

    javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: failed to unmarshal class java.lang.Object; nested exception is:
    java.lang.ClassNotFoundException: com.ejb.MySessionRemote]

    What could be the problem. the JNDI name that i am using is of the following form

    mappedName#package.remoteInterfaceName

    When I strip the remote interface name from the JNDI name, it returns me a WLContext object. I cannot cast this object into my remote interface.

    Could anyone suggest a way for resolving this issue.

    NB: I have bundeled the remote and local interface into a jar file and made it available at in the build path of client project.

    DB:3.21:Access Ejb 3 Session Bean From Remote Client c3

    I had to load the interface class using class.forName

  • RELEVANCY SCORE 3.20

    DB:3.20:How To Return A Xml Document From An Ejb? am



    Hi there:

    I got an error when passing a xml document from a EJB on WL 7.0 to a client. the
    error said:

    java.rmi.UnmarshalException: failed to unmarshal interface org.w3c.dom.Document;
    nested exception is:
    java.io.EOFException: Externalizable (oracle.xml.parser.v2.XMLDocument) reads
    too much data.

    it seems that the data is too much. could any one help?

    thanks in advance!

    Andy

    DB:3.20:How To Return A Xml Document From An Ejb? am

    I got an error when passing a xml document from a EJB on
    WL 7.0 to a client. the error said:java.rmi.UnmarshalException: failed to unmarshal interface
    org.w3c.dom.Document;
    nested exception is:
    java.io.EOFException: Externalizable
    (oracle.xml.parser.v2.XMLDocument) reads
    too much data.it seems that the data is too much. could any one help?Interestingly, you are using an Oracle parser. Had you noticed that?

    How big is the XML document? Is it well-formed? Does it have an XML header?
    (The ? thing.)

    Peace,

    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com/coherence.jsp
    Tangosol Coherence: Clustered Replicated Cache for Weblogic

    "Andy Zhang" andy.zhang@lc.ca.gov wrote in message
    news:3e10c3e5$1@newsgroups.bea.com...

  • RELEVANCY SCORE 3.19

    DB:3.19:Can't Unmarshal Wrapped Elements mz


    The following program uses a wrapper element around XML representation.
    @XmlRootElement
    @XmlAccessorType(AccessType.FIELD)
    public class Class3
    {
    public Class3()
    {
    }
    @XmlElementWrapper(name = "addresses")
    @XmlElement(name = "address")
    private List val = new ArrayList();

    public static void main(String[] args)
    throws Exception
    {
    Class3 class3 = new Class3();
    class3.val = new ArrayList();
    class3.val.add("add1");
    class3.val.add("add2");
    JAXBContext jaxbContext = JAXBContext.newInstance(Class3.class);
    Marshaller marshaller = jaxbContext.createMarshaller();
    marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
    marshaller.marshal(class3, System.out);
    marshaller.marshal(class3, new FileOutputStream("d:\\test.xml"));
    Unmarshaller um = jaxbContext.createUnmarshaller();
    System.out.println(um.unmarshal(new File("d:\\test.xml")));
    }

    public void setVal(List val)
    {
    this.val = val;
    }

    public List getVal()
    {
    return val;
    }
    }It seems the marshal works fine with output:

    ?xml version="1.0" encoding="UTF-8" standalone="yes"?
    class3
    addresses
    address xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string"add1/address
    address xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string"add2/address
    /addresses
    /class3

    But the unmarshal throws a unexpected exception:

    Exception in thread "main" java.lang.NullPointerException
    at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:36)
    at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:18)
    at java.lang.reflect.Field.get(Field.java:357)
    at com.sun.xml.bind.v2.runtime.reflect.Accessor$FieldReflection.get(Accessor.java:185)
    at com.sun.xml.bind.v2.runtime.reflect.Lister$CollectionLister.startPacking(Lister.java:249)
    at com.sun.xml.bind.v2.runtime.reflect.Lister$CollectionLister.startPacking(Lister.java:224)
    at com.sun.xml.bind.v2.runtime.unmarshaller.Scope.add(Scope.java:78)
    at com.sun.xml.bind.v2.runtime.property.ArrayERProperty$ReceiverImpl.receive(ArrayERProperty.java:150)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.endElement(UnmarshallingContext.java:404)
    at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.endElement(SAXConnector.java:125)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:200)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:173)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:142)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:151)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:169)
    at test.Class3.main(Class3.java:43)
    Where did I go wrong.
    Thanks,

    DB:3.19:Can't Unmarshal Wrapped Elements mz

    The following program uses a wrapper element around XML representation.
    @XmlRootElement
    @XmlAccessorType(AccessType.FIELD)
    public class Class3
    {
    public Class3()
    {
    }
    @XmlElementWrapper(name = "addresses")
    @XmlElement(name = "address")
    private List val = new ArrayList();

    public static void main(String[] args)
    throws Exception
    {
    Class3 class3 = new Class3();
    class3.val = new ArrayList();
    class3.val.add("add1");
    class3.val.add("add2");
    JAXBContext jaxbContext = JAXBContext.newInstance(Class3.class);
    Marshaller marshaller = jaxbContext.createMarshaller();
    marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
    marshaller.marshal(class3, System.out);
    marshaller.marshal(class3, new FileOutputStream("d:\\test.xml"));
    Unmarshaller um = jaxbContext.createUnmarshaller();
    System.out.println(um.unmarshal(new File("d:\\test.xml")));
    }

    public void setVal(List val)
    {
    this.val = val;
    }

    public List getVal()
    {
    return val;
    }
    }It seems the marshal works fine with output:

    ?xml version="1.0" encoding="UTF-8" standalone="yes"?
    class3
    addresses
    address xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string"add1/address
    address xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string"add2/address
    /addresses
    /class3

    But the unmarshal throws a unexpected exception:

    Exception in thread "main" java.lang.NullPointerException
    at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:36)
    at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:18)
    at java.lang.reflect.Field.get(Field.java:357)
    at com.sun.xml.bind.v2.runtime.reflect.Accessor$FieldReflection.get(Accessor.java:185)
    at com.sun.xml.bind.v2.runtime.reflect.Lister$CollectionLister.startPacking(Lister.java:249)
    at com.sun.xml.bind.v2.runtime.reflect.Lister$CollectionLister.startPacking(Lister.java:224)
    at com.sun.xml.bind.v2.runtime.unmarshaller.Scope.add(Scope.java:78)
    at com.sun.xml.bind.v2.runtime.property.ArrayERProperty$ReceiverImpl.receive(ArrayERProperty.java:150)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.endElement(UnmarshallingContext.java:404)
    at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.endElement(SAXConnector.java:125)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:200)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:173)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:142)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:151)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:169)
    at test.Class3.main(Class3.java:43)
    Where did I go wrong.
    Thanks,

  • RELEVANCY SCORE 3.18

    DB:3.18:Failed To Unmarshal Error While Doing Lookup Template ap


    Hello OIM experts, had anyone come across issue while doing lookupTemplate() with NotificationService ? Appreciate if you can help me to resolve this *"failed to unmarshal error".*
    when I invoke NotificationService.lookupTemplate(), I get InvalidClassException as shown below. I have oimclient.jar from .../server/client/oimclient.zip in my classpath.

    As per documentation, lookupTemplate() shoud return NotificationTemplate object. I am using NotificationTemplate template=NotificationService.lookupTemplate(templatename, Local.US). It could be related to either the locale or oimclient.jar.

    I tried even Locale.ENGLISH for which I get TemplateNotFound Exception.

    avax.ejb.EJBException: failed to unmarshal class oracle.iam.notification.vo.NotificationTemplate; nested exception is:
    java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectMap; local class incompatible: stream classdesc serialVersionUID = -782904824537232969, local class serialVersionUID = -2678417028012513895; nested exception is: java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectMap; local class incompatible: stream classdesc serialVersionUID = -782904824537232969, local class serialVersionUID = -2678417028012513895
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:121)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:96)

    thanks

    DB:3.18:Failed To Unmarshal Error While Doing Lookup Template ap

    Hope you have to include the updated OIMServer.jar

    find at below location
    OIM_HOME/server/apps/oim.ear/APP-INF/lib

    this is the jar which hold oracle.iam.notification.vo.NotificationTemplate

  • RELEVANCY SCORE 3.18

    DB:3.18:Custom Serialization / Marshalling Of Java.Util.Date 3m


    I am trying to provide a CORBA OBV C++ implementation of java.util.Date (which uses
    custom serialization).

    I am getting an exception during the unmarshalling of the Date - however the exception
    is not in my code. In fact, my java_util_Date_i::unmarshal(::CORBA::DataInputStream_ptr
    is) isnt getting called before the exception hits.

    I have registered the factory... (in fact it makes no difference if I dont register
    the factory or not).

    The exception is an odd one (its a Microsoft C++ exception, but its not getting caught
    by the catch (...) .... ???

    Apart from implementing the marshal/unmarshal, registering the OBV factory, is there
    anything else I should be doing?

    Cheers,
    Nick

    DB:3.18:Custom Serialization / Marshalling Of Java.Util.Date 3m

    "Nick Minutello" NickMinutello@REMOVE-THISccomservices.demon.co.uk writes:

    I am trying to provide a CORBA OBV C++ implementation of java.util.Date (which uses
    custom serialization).

    I am getting an exception during the unmarshalling of the Date - however the exception
    is not in my code. In fact, my java_util_Date_i::unmarshal(::CORBA::DataInputStream_ptr
    is) isnt getting called before the exception hits.

    I have registered the factory... (in fact it makes no difference if I dont register
    the factory or not).

    The exception is an odd one (its a Microsoft C++ exception, but its not getting caught
    by the catch (...) .... ???

    Apart from implementing the marshal/unmarshal, registering the OBV factory, is there
    anything else I should be doing?Not that I know of. The
    samples/examples/iiop/ejb/entity/tuxclient/ArrayList_i.cpp does this
    correctly. Also make sure you have rtti and eh enabled in the compiler
    (-GX -GR). Tux adds one of these I think but I forget which.

    andy

    --

  • RELEVANCY SCORE 3.18

    DB:3.18:Wsn Producer, Jaxbexception With Xs:Any 19



    I'm writing a WSN producer which has a payload of xs:any for sending messages. It's expecting some class with an @XmlRootElement annotation, which my class "MyAlertMessageDefinition" does have. When it attempt to send the message, I get the following exception.

    Caused by: javax.xml.bind.MarshalException

    - with linked exception:

    Caused by: javax.xml.bind.JAXBException: class MyAlertMessageDefinition nor any of its super class is known to this context.

    at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:594)

    at com.sun.xml.bind.v2.runtime.property.SingleReferenceNodeProperty.serializeBody(SingleReferenceNodeProperty.java:105)

    I've been able to marshal/unmarshal jaxb classes without issue before, the question is, how do I make this work?

    I think I can simply change the WSN wsdls/xsd to replace the xs:any with that of MyAlertMessageDefinition, then rebuild the class libraries from wsconsume, but is this the best solution?

    Is there some kind of context accessor for JAXBcontext or something along the lines so that I can add the MyAlertMessageDefinition into the context?

    DB:3.18:Wsn Producer, Jaxbexception With Xs:Any 19


    http://stackoverflow.com/questions/3773802/jax-ws-and-sharepoint-usergroup-web-service

    This answered by own question

  • RELEVANCY SCORE 3.18

    DB:3.18:Soa Exception After Applying Bp4 For Oim 11g mf


    Hi all,

    I've installed p14102430 for Oracle Identity Management 11g (11.1.1.5) (and the required p13106312 for Oracle SOA Suite 11.1.1.5). Trying to submit a request as previously known, and so triggering an approval workflow associated with the properly given approval policies) I get the following exception (obviously the approval task is not assigned to the approver).

    javax.ejb.EJBException: failed to unmarshal interface oracle.iam.request.vo.Request; nested exception is:
    java.io.InvalidClassException: oracle.iam.request.vo.BasicRequest; local class incompatible: stream classdesc serialVersionU
    ID = -2262758124290148827, local class serialVersionUID = -8623617350315090890; nested exception is: java.io.InvalidClassException:
    oracle.iam.request.vo.BasicRequest; local class incompatible: stream classdesc serialVersionUID = -2262758124290148827, local class
    serialVersionUID = -8623617350315090890
    java.io.InvalidClassException: oracle.iam.request.vo.BasicRequest; local class incompatible: stream classdesc serialVersionUID = -22
    62758124290148827, local class serialVersionUID = -8623617350315090890

    Have I to undeploy and redeploy the SOA composite? Otherwise, how can I overcome this issue?

    Thank you for your help.

    Regards,
    Giuseppe.

    DB:3.18:Soa Exception After Applying Bp4 For Oim 11g mf

    I was able to solve only modifying oimclient.jar. Thank you!

  • RELEVANCY SCORE 3.11

    DB:3.11:Unmarshallexception On Return From Session Bean j1



    I have deployed a session bean into WL61sp3. The thing deploys fine and its processing
    completes ok on the server side, but my client gets a really strange error back
    from the stub: java.rmi.UnmarshalException: failed to unmarshal interface test.Company;
    nested exception is:
    java.lang.ClassNotFoundException: boolean

    Anyone have any ideas?
    Thanks,
    Steve

    DB:3.11:Unmarshallexception On Return From Session Bean j1


    The client is just a normal "main", nothing fancy. It is running outside the weblogic
    instance's JVM.

    I don't think that this should matter, but the returns from these session bean
    method are proxies themselves (not remotable).

    I'm not sure about the samples. I just did the upgrade to sp3, maybe that is
    causing the problems.

    Rob Woollen rob@nomail.org wrote:
    Very odd. Is there anything strange / unusual about your client? Is
    it
    running the same JVM version as the server? Does it have the same WLS

    classes?

    Do the example EJBs work for you?

    -- Rob

  • RELEVANCY SCORE 3.10

    DB:3.10:Not Able To Retreive Values From Oim Using 11gr2 Api's pm


    Hi,

    I'm not able to retrieve lookup/ITResource values from OIM using API's in my custom code. Getting the below exceptions while using tcLookupOperationsIntf/tcITResourceInstanceOperationsIntf interfaces.

    javax.ejb.EJBException: failed to unmarshal interface Thor.API.tcResultSet; nested exception is:
    java.io.InvalidClassException: Thor.API.tcMetaDataSet; local class incompatible: stream classdesc serialVersionUID = 497665130057943698, local class serialVersionUID = -2604260793729521479; nested exception is: java.io.InvalidClassException: Thor.API.tcMetaDataSet; local class incompatible: stream classdesc serialVersionUID = 497665130057943698, local class serialVersionUID = -2604260793729521479
    java.io.InvalidClassException: Thor.API.tcMetaDataSet; local class incompatible: stream classdesc serialVersionUID = 497665130057943698, local class serialVersionUID = -2604260793729521479

    I have checked this following OTN discussion link and applied those suggestions but still facing the same issue.

    tcLookupOperationsIntf lookupoperation is not woking in standalone program

    Please help me to fix this issue.

    DB:3.10:Not Able To Retreive Values From Oim Using 11gr2 Api's pm

    Hi,

    I'm not able to retrieve lookup/ITResource values from OIM using API's in my custom code. Getting the below exceptions while using tcLookupOperationsIntf/tcITResourceInstanceOperationsIntf interfaces.

    javax.ejb.EJBException: failed to unmarshal interface Thor.API.tcResultSet; nested exception is:
    java.io.InvalidClassException: Thor.API.tcMetaDataSet; local class incompatible: stream classdesc serialVersionUID = 497665130057943698, local class serialVersionUID = -2604260793729521479; nested exception is: java.io.InvalidClassException: Thor.API.tcMetaDataSet; local class incompatible: stream classdesc serialVersionUID = 497665130057943698, local class serialVersionUID = -2604260793729521479
    java.io.InvalidClassException: Thor.API.tcMetaDataSet; local class incompatible: stream classdesc serialVersionUID = 497665130057943698, local class serialVersionUID = -2604260793729521479

    I have checked this following OTN discussion link and applied those suggestions but still facing the same issue.

    tcLookupOperationsIntf lookupoperation is not woking in standalone program

    Please help me to fix this issue.

  • RELEVANCY SCORE 3.10

    DB:3.10:Streamcorruptedexception From Java Client Calling Stateless Ejbs as


    When calling an EJB from a command line client machine I get the
    following exception. This works in one of my environments, but the same
    software doesn't in another. I can't find the differences between the
    two environments. Anybody have any ideas where to look? I've made sure
    both machines are running the same versions

    Java:
    java version "1.3.1_03"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03)
    Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)

    Solaris:
    SunOS lakeville 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-80

    Weblogic, 2 machines in a cluster: (WLS 7.0)
    Machine1: WebLogic Temporary Patch for CR087872 10/14/2002 11:13:13
    Machine2: WebLogic Temporary Patch for CR087872 10/14/2002 11:13:13

    The client is running on Machine1 doing its Bean lookups on Machine1

    main:Exception -failed to unmarshal interface java.util.Collection;
    nested exception is:
    java.io.StreamCorruptedException: Type code out of range, is 103
    java.rmi.UnmarshalException: failed to unmarshal interface
    java.util.Collection; nested exception is:
    java.io.StreamCorruptedException: Type code out of range, is 103
    java.io.StreamCorruptedException: Type code out of range, is 103
    at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1551)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:287)
    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.skipToEndOfBlockData(ObjectInputStream.java:1489)
    at
    java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1211)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at java.util.ArrayList.readObject(ArrayList.java:526)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
    at
    java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:140)
    at
    weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:91)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at
    weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
    at
    com.tfn.autex.ejb.support.impl.FFGroupManagerBean_97vaby_EOImpl_WLStub.getGroups(Unknown
    Source)
    at com.tfn.autex.util.ASCClient.getClusterMap(ASCClient.java:583)
    at com.tfn.autex.util.ASCClient.getAllSessions(ASCClient.java:262)
    at
    com.tfn.autex.util.ASCClient.displayAllHelper(ASCClient.java:339)
    at com.tfn.autex.util.ASCClient.displayAll(ASCClient.java:406)
    at com.tfn.autex.util.ASCClient.init(ASCClient.java:132)
    at com.tfn.autex.util.ASCClient.main(ASCClient.java:552)

    DB:3.10:Streamcorruptedexception From Java Client Calling Stateless Ejbs as

    Thanks for the reply.

    My Java client resolves the home from the clustered machines (which has
    the beans built with clustered homes) and calls the EJB and expects an
    object implimenting the Collection interface in return.

    The Stateless session bean queries a Sybase database, puts the result
    set into an ArrayList of value objects. The value object class is
    externalizable and only uses primitive types or object versions of those
    primitive types. The EJB returns the ArrayList.

    The classpath for both environments is the same for both the WLS servers
    and the Java client.

    Ryan LeCompte wrote:
    Hello William,

    I would suggest comparing the CLASSPATH variables of the two environments. Try
    to figure out if there is something in the CLASSPATH of the machine that's throwing
    the exception that could be blocking the actual API that you wish to use. For
    example, I have seen this error occur when trying to use java.sql.Blob instead
    of using WebLogic's OracleBlob in weblogic.jar. I'm not sure if you are working
    with BLOBs at all, but I'm sure that this could be a CLASSPATH issue. If the CLASSPATH's
    are the same, then please provide further information about what your code is
    actually doing so that we may further investigate the problem.

    Also, see the following link for more possible causes of the problem:

    https://lists.xcf.berkeley.edu/lists/advanced-java/2002-June/018895.html

    Best regards,

    Ryan LeCompte
    ryanlecompte@louisiana.edu
    http://www.louisiana.edu/~rml7669

    William Poitras William.Poitras@tfn.com wrote:

    When calling an EJB from a command line client machine I get the
    following exception. This works in one of my environments, but the same

    software doesn't in another. I can't find the differences between the

    two environments. Anybody have any ideas where to look? I've made sure

    both machines are running the same versions

    Java:
    java version "1.3.1_03"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03)
    Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)

    Solaris:
    SunOS lakeville 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-80

    Weblogic, 2 machines in a cluster: (WLS 7.0)
    Machine1: WebLogic Temporary Patch for CR087872 10/14/2002 11:13:13
    Machine2: WebLogic Temporary Patch for CR087872 10/14/2002 11:13:13

    The client is running on Machine1 doing its Bean lookups on Machine1

    main:Exception -failed to unmarshal interface java.util.Collection;

    nested exception is:
    java.io.StreamCorruptedException: Type code out of range, is
    103
    java.rmi.UnmarshalException: failed to unmarshal interface
    java.util.Collection; nested exception is:
    java.io.StreamCorruptedException: Type code out of range, is
    103
    java.io.StreamCorruptedException: Type code out of range, is 103
    at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1551)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:287)
    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.skipToEndOfBlockData(ObjectInputStream.java:1489)
    at
    java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1211)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at java.util.ArrayList.readObject(ArrayList.java:526)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
    at
    java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:140)
    at
    weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:91)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at
    weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
    at
    com.tfn.autex.ejb.support.impl.FFGroupManagerBean_97vaby_EOImpl_WLStub.getGroups(Unknown

    Source)
    at com.tfn.autex.util.ASCClient.getClusterMap(ASCClient.java:583)
    at com.tfn.autex.util.ASCClient.getAllSessions(ASCClient.java:262)
    at
    com.tfn.autex.util.ASCClient.displayAllHelper(ASCClient.java:339)
    at com.tfn.autex.util.ASCClient.displayAll(ASCClient.java:406)
    at com.tfn.autex.util.ASCClient.init(ASCClient.java:132)
    at com.tfn.autex.util.ASCClient.main(ASCClient.java:552)

  • RELEVANCY SCORE 3.10

    DB:3.10:Wlstubmissing No-Arg Constructor For Class 17



    Hello Everyone,

    I get this stack trace when I do a JNDI lookup? Can anyone help me figure
    it out? I am using WL6.0. I have three other beans which work fine and they are
    using the exact same code so I am kinda stumped here...

    javax.naming.CommunicationException: Root exception is java.rmi.unmarshalException:
    failed to unmarshal class java.lang.Object; nested exception is:

    jva.io.InvalidClassException:com.tallan.wapapp.timesheet.TimesheetBeanHomeImpl_WLStubMissing
    no-arg constructor for class...

    I am using Weblogic 6.0SP1

    DB:3.10:Wlstubmissing No-Arg Constructor For Class 17


    Hello Everyone,

    I get this stack trace when I do a JNDI lookup? Can anyone help me figure
    it out? I am using WL6.0. I have three other beans which work fine and they are
    using the exact same code so I am kinda stumped here...

    javax.naming.CommunicationException: Root exception is java.rmi.unmarshalException:
    failed to unmarshal class java.lang.Object; nested exception is:

    jva.io.InvalidClassException:com.tallan.wapapp.timesheet.TimesheetBeanHomeImpl_WLStubMissing
    no-arg constructor for class...

    I am using Weblogic 6.0SP1

  • RELEVANCY SCORE 3.10

    DB:3.10:Jaxb - Can Not Unmarshal xf


    Hi all

    I have an xsd structure as follows:

    xs:element name="MyRoot"
    xs:complexType
    xs:all
    xs:element ref="A" minOccurs="0"/
    xs:element ref="B" minOccurs="0"/
    xs:element ref="C" minOccurs="0"/
    /xs:all
    /xs:complexType
    /xs:element

    xs:element name="A" type="AType"/
    xs:simpleType name="AType"
    /xs:simpleType
    ....................................................
    I have created all the files using xjc.

    When i create an xml file starting with element A. I can unmarshal and reach the element values.
    But when create an xml file with MyRoot as root element
    i get
    java.lang.ClassCastException : primer.po.MyRoot

    any ideas? i got stuck with this exception:(
    thanks

    DB:3.10:Jaxb - Can Not Unmarshal xf

    hello,
    in that case u will have to take a reference of the class "MyRoot" and typecast the return of Unmarshaller.unmarshal() to MyRoot
    tutan

  • RELEVANCY SCORE 3.10

    DB:3.10:Communicationexception ≫ Unmarshalexception On Authenticateduser fx


    Hi,

    I try to connect on a EJB using T3 (Weblogic 8.1.2) inside an Eclipse plugin, the first time it is working fine but the second time is crash

    If I run my unit test, it is working fine. So the problem came from Eclipse. Does anybody can give me a clue ?

    I have this exception :

    javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
    java.io.StreamCorruptedException]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:83)
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:39)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:618)
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:535)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:341)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:313)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:239)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.init(InitialContext.java:195)Thx,
    -emmanuel

    DB:3.10:Communicationexception ≫ Unmarshalexception On Authenticateduser fx

    Hello,

    Unmarshal Exception occur (according to javadocs) :

    1) if an exception occurs while unmarshalling the call header

    2) if the protocol for the return value is invalid

    3) if a java.io.IOException occurs unmarshalling parameters (on the server side) or the return value (on the client side).

    4) if a java.lang.ClassNotFoundException occurs during unmarshalling parameters or return values

    5) if no skeleton can be loaded on the server-side; note that skeletons are required in the 1.1 stub protocol, but not in the 1.2 stub protocol.

    6) if the method hash is invalid (i.e., missing method).

    7) if there is a failure to create a remote reference object for a remote object's stub when it is unmarshalled.

    It's odd that the first time you connect it works but then fails on subsequent requests. Can you alter your unit test to also make multiple calls to the EJB to see if when it makes multiple calls it still passes.

    Does your EJB have security constraints defined in its deployment descriptor?

  • RELEVANCY SCORE 3.10

    DB:3.10:Java.Rmi.Unmarshalexception: Could Not Unmarshal Method Id 9p



    I'm not sure whether to post this on RMI or EJB b/c I'm getting an RMI exception
    with an EJB.

    Anyway, here's the deal.

    I'm getting the exception stack trace below when I've inspected the JAR files
    and I KNOW that the methods it's complaining about are in there.

    If it's an issue with the class loader, I can't figure out why. I've deleted
    the class files, and I've defined the JAR in the class path.

    If anyone has seen this and knows what's wrong, I'll owe you lunch if you can
    get me unstuck :-).

    Gary B.

    ------------------ stack trace follows --------

    Start server side stack trace:
    java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'bogusTest()'
    java.rmi.UnmarshalException: Method not found: 'bogusTest()'
    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:154)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:807)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:738)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:207)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:508)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    End server side stack trace
    ; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'bogusTest()'

    Start server side stack trace:
    java.rmi.UnmarshalException: Method not found: 'bogusTest()'
    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:154)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:807)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:738)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:207)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:508)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    End server side stack trace

    DB:3.10:Java.Rmi.Unmarshalexception: Could Not Unmarshal Method Id 9p

    Hi,

    I got a similar exception... and five hours later I realised I was talking to the wrong server and picking up an old Object, which ofcourse didn't have the method I was looking for.

    Hope this helps,

  • RELEVANCY SCORE 3.10

    DB:3.10:Rmi Unmarshal Error: User Javax.Xml.Bind.Unrecognizedelementnameexception m9


    Hi,
    Migrating RMI application from jdk1.3 to jdk1.5. Received following error while starting the RMI server.
    I am using JAXB 1.0 xjc compiler to create Java Objects. My dtd and xjs file are ok. I could successfully compile and create the Java objects.
    But while using these classes in RMI server facing following issue.

    An exception was thrown from within the application. Message: User javax.xml.bind.UnrecognizedElementNameException: User
    at javax.xml.bind.Dispatcher.lookup(Dispatcher.java:264)
    at javax.xml.bind.Dispatcher.lookup(Dispatcher.java:286)
    at javax.xml.bind.Unmarshaller.unmarshal(Unmarshaller.java:133)
    at com.kpno.in.spaceconnector.DataObjects.SpaceConnector.unmarshal(Unknown Source)
    at javax.xml.bind.Unmarshaller.unmarshal(Unmarshaller.java:199)
    at javax.xml.bind.Unmarshaller.unmarshalRoot(Unmarshaller.java:222)
    at javax.xml.bind.Dispatcher.unmarshal(Dispatcher.java:350)
    at com.kpno.in.spaceconnector.DataObjects.SpaceConnector.unmarshal(Unknown Source)
    at com.kpno.in.spaceconnector.DataObjects.SpaceConnector.unmarshal(Unknown Source)
    at com.kpno.in.spaceconnector.DataObjects.SpaceConnector.unmarshal(Unknown Source)

    Please what could be the reason for error.

    Edited by: Rahul_Limkar on Sep 14, 2010 10:33 PM

  • RELEVANCY SCORE 3.09

    DB:3.09:Failed To Unmarshal Interface Java.Util.Set fs


    I am trying to get all mbeans using getAllMBeans() method after
    getting MBeanHome successfully. The method fails with the following
    error.

    Any clues ?

    Thanks
    karthik

    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception -
    with nested exception:

    [java.rmi.UnmarshalException: failed to unmarshal interface
    java.util.Set; nested exception is:

    java.io.InvalidClassException: javax.management.MBeanAttributeInfo;
    local class incompatible: stream classdesc serialVersionUID =
    7043855487133450673, local class serialVersionUID =
    8644704819898565848]

    at weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getAllMBeans(Unknown
    Source)

    DB:3.09:Failed To Unmarshal Interface Java.Util.Set fs

    I am trying to get all mbeans using getAllMBeans() method after
    getting MBeanHome successfully. The method fails with the following
    error.

    Any clues ?

    Thanks
    karthik

    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception -
    with nested exception:

    [java.rmi.UnmarshalException: failed to unmarshal interface
    java.util.Set; nested exception is:

    java.io.InvalidClassException: javax.management.MBeanAttributeInfo;
    local class incompatible: stream classdesc serialVersionUID =
    7043855487133450673, local class serialVersionUID =
    8644704819898565848]

    at weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getAllMBeans(Unknown
    Source)

  • RELEVANCY SCORE 3.08

    DB:3.08:Failed To Communicate. Problem During Marshalling/Unmarshal 8a



    Server log:2008-05-12 12:53:39,760 ERROR [org.jboss.remoting.transport.socket.ServerThread] Worker thread initialization failurejava.io.EOFException at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:530) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)Application log:Caused by: com.pcm.rules.service.RuleServiceException: Error occurred in obtaining the Remote Reference of the Blaze EJB at com.pcm.rules.service.blaze.BlazeEJBExecutor.getEJBHandle(BlazeEJBExecutor.java:84) at com.pcm.rules.service.blaze.BlazeEJBExecutor.invokeRuleService(BlazeEJBExecutor.java:53) ... 4 moreCaused by: java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is: java.io.OptionalDataException at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:306) at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143) at org.jboss.remoting.Client.invoke(Client.java:525) at org.jboss.remoting.Client.invoke(Client.java:488) at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:175) at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) at $Proxy0.create(Unknown Source) at com.pcm.rules.service.blaze.BlazeEJBExecutor.getEJBHandle(BlazeEJBExecutor.java:82) ... 5 moreCaused by: java.io.OptionalDataException at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128) at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66) at org.jboss.invocation.unified.marshall.InvocationUnMarshaller.read(InvocationUnMarshaller.java:48) at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279) ... 17 more

  • RELEVANCY SCORE 3.07

    DB:3.07:Unmarshalling Error With Fsw j8



    I have modified the quickstart example, bpm-service by regenerating the WSDL using the ProcessOrder interface. I have modified the ProcessOrder implementation to be a bean component instead of the BPM component that comes with the example. The composite service has a SOAP binding. I am using JAXB transformer for marshaling/unmarshaling. The transformers are all set accordingly. I have used wsconsume on the WSDL to create the corresponding Java artifacts. Whenever I try to consume the web service using soapui, I get the following unmarshal exception:

    org.switchyard.SwitchYardException: SWITCHYARD010813: Cannot convert from 'org.sanjay.swdemo.bpm_demo.SubmitOrder' to 'org.sanjay.swdemo.bpm_demo.Order'. No registered Transformer available for transforming from 'java:org.sanjay.swdemo.bpm_demo.SubmitOrder' to 'java:org.sanjay.swdemo.bpm_demo.Order'. A Transformer must be registered.

    The trace output and the stack trace is attached as a file.

    Any help will be greatly appreciated.

    Thanks,

    Sanjay

    Edit:

    Apologies for forgetting to mention the product details. I am using FSW 6.0.0.GA-redhat-4 and JBDS 7.1.1 GA.

    DB:3.07:Unmarshalling Error With Fsw j8


    I have modified the quickstart example, bpm-service by regenerating the WSDL using the ProcessOrder interface. I have modified the ProcessOrder implementation to be a bean component instead of the BPM component that comes with the example. The composite service has a SOAP binding. I am using JAXB transformer for marshaling/unmarshaling. The transformers are all set accordingly. I have used wsconsume on the WSDL to create the corresponding Java artifacts. Whenever I try to consume the web service using soapui, I get the following unmarshal exception:

    org.switchyard.SwitchYardException: SWITCHYARD010813: Cannot convert from 'org.sanjay.swdemo.bpm_demo.SubmitOrder' to 'org.sanjay.swdemo.bpm_demo.Order'. No registered Transformer available for transforming from 'java:org.sanjay.swdemo.bpm_demo.SubmitOrder' to 'java:org.sanjay.swdemo.bpm_demo.Order'. A Transformer must be registered.

    The trace output and the stack trace is attached as a file.

    Any help will be greatly appreciated.

    Thanks,

    Sanjay

    Edit:

    Apologies for forgetting to mention the product details. I am using FSW 6.0.0.GA-redhat-4 and JBDS 7.1.1 GA.

  • RELEVANCY SCORE 3.07

    DB:3.07:Workflowserviceclient Api - Error j3


    Hi,

    I am using soa suite 11.1.1.3.0.

    I have executed bpel flow contains human task and trying to retrieve available tasks using workflow service client api (oracle.bpel.services.workflow.query.ITaskQueryService)
    from jdeveloper.

    example code:
    Task task = taskQuerySvc.getTaskDetailsById(wfCtx, "727dc4ae-9924-4c79-92d2-d21c1b4c794c");
    the above specified task id, taken from DEV_SOAINFRA/WFTASK_TL table.

    above code giving following error in Jdev.

    Exception in thread "main" oracle.bpel.services.workflow.client.WorkflowServiceClientException: java.rmi.UnmarshalException: failed to unmarshal interface oracle.bpel.services.workflow.task.model.Task; nested exception is:
    java.io.IOException: Error in serialization

    In soa server console, showing the following error.

    Caused By: ORABPEL-30017

    Invalid task definition.
    The task definition at default/SampleRequest!1.0*soa_0dd8fbf1-7351-4a1a-adff-09642a79ff9c/SampleRequestTask could not be read.
    The task definition is associated with workflow null.
    Make sure that the task definition is available at the specified URL and that it
    is a valid XML document.

    Appreciate your help.

    Thanks

    DB:3.07:Workflowserviceclient Api - Error j3

    Hi,

    I am using soa suite 11.1.1.3.0.

    I have executed bpel flow contains human task and trying to retrieve available tasks using workflow service client api (oracle.bpel.services.workflow.query.ITaskQueryService)
    from jdeveloper.

    example code:
    Task task = taskQuerySvc.getTaskDetailsById(wfCtx, "727dc4ae-9924-4c79-92d2-d21c1b4c794c");
    the above specified task id, taken from DEV_SOAINFRA/WFTASK_TL table.

    above code giving following error in Jdev.

    Exception in thread "main" oracle.bpel.services.workflow.client.WorkflowServiceClientException: java.rmi.UnmarshalException: failed to unmarshal interface oracle.bpel.services.workflow.task.model.Task; nested exception is:
    java.io.IOException: Error in serialization

    In soa server console, showing the following error.

    Caused By: ORABPEL-30017

    Invalid task definition.
    The task definition at default/SampleRequest!1.0*soa_0dd8fbf1-7351-4a1a-adff-09642a79ff9c/SampleRequestTask could not be read.
    The task definition is associated with workflow null.
    Make sure that the task definition is available at the specified URL and that it
    is a valid XML document.

    Appreciate your help.

    Thanks

  • RELEVANCY SCORE 3.05

    DB:3.05:Problem In Unmarshaling String 78


    client prog send a string to queue

    mdb gets the mes and tries to unmarshal it to a castor object and i am getting nullpinter exception why????

    pl help very urgent

    DB:3.05:Problem In Unmarshaling String 78

    hey guys pl help i am using a jboss server...............bt when i run a standalone prog using jbuilder it runs fine.........?????????????????????????????????????????????????.........(

  • RELEVANCY SCORE 3.05

    DB:3.05:Xml Persistent Format For Attachments s9



    I created some simple tests trying to persists some metadata as xml with JAXB,using ManagedConnectionFactoryDeploymentGroup, ServiceDeployment/ServiceMetaData and AbstractKernelDeployment/AbstractBeanMetaDataBaiscally for ManagedConnectionFactoryDeploymentGroup the problem is that the @XmlAdapter for the mbean just implements the unmarshal part.So there is only ServiceMetaDataParser and nothing equivalent for the marshalling part. So the mbean would get lost :)Similar for ServiceDeployment. We could maybe reuse the org.w3c.dom.Element information, although it would need to get updated with the information of the changed ManagedComponent.So not sure if updating the element makes more sense than writing a counterpart of the parsing.JAXB also does not like the annotated BeanMetaData for marshalling.This ends up in a exception like this:

    com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 45 counts of IllegalAnnotationExceptions
    org.jboss.kernel.plugins.deployment.AbstractKernelDeployment#beanFactories has mutually exclusive annotations @javax.xml.bind.annotation.XmlElements and @javax.xml.bind.annotation.XmlAnyElement
    ...
    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployment
    @XmlValue is not allowed on a class that derives another class.
    ...

    DB:3.05:Xml Persistent Format For Attachments s9


    The DeploymentRepository spi has been updated with this change.

  • RELEVANCY SCORE 3.05

    DB:3.05:Possible To Have Weblogic 9 Client Use Weblogic 8 Jmx Server? dj


    I have a client that i want to run in weblogic 9, but it needs to access mbeans remotely in weblogic 8 servers.

    At first I got the folowing error, which could be fixed by setting -Djmx.serial.form=1.0

    Caused by: java.io.InvalidClassException: javax.management.ObjectName; local class incompatible: stream classdesc serialVersionUID = -5467795090068647408, local class serialVersionUID = 1081892073854801359

    But now I have problems with other classes

    Caused by: java.rmi.UnmarshalException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is: java.io.StreamCorruptedException

    Caused by: java.rmi.UnmarshalException: failed to unmarshal interface java.util.Set; nested exception is: java.io.StreamCorruptedException

    It seems like it will not be possible. Is there any way for a jmx client running in weblogic 9 to access weblogic 8 mbeans?

    DB:3.05:Possible To Have Weblogic 9 Client Use Weblogic 8 Jmx Server? dj

    Hello. Interesting, I posted a separate post just today about the same StreamCorruptedException when calling a RemoteEJB. The EJB is hosted on WLS 8.1.5 running on JSE 1.4. The client is running on WLS 10.0 running on JSE 6.

    Did you ever get your issue resolved?

    -Gregory

  • RELEVANCY SCORE 3.05

    DB:3.05:Unmarshalexception 9x



    Hello All,
    I am using a datasource, multipool, and connection pool. I get a connect and
    statement object from the datasource, making sure they are not null. I then execute
    a very simple statement: 'select * from tableName'. The following error occors
    giving an unmarshalled exception. This is from an applet using a utility class
    for the database connectivity. This error is from the Java Console.
    This error occurs on weblogic 6.1, 7.0.1.0, and 7.0.2.0. The database is ms sqlserver.
    The database is not on the same machine as the weblogic server.

    Thank you,
    Brent

    !----------Begin error message ---------------------
    Executing statement: select * from genericTable

    DbUtility Error: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception
    - with nested exception:

    [java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception
    is:
    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    Start server side stack trace:
    java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:

    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:154)

    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)

    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)

    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:807)

    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:738)

    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:207)

    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)

    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:508)

    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664)

    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)

    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)

    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)

    End server side stack trace
    ; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    Start server side stack trace:
    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:154)

    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)

    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)

    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:807)

    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:738)

    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:207)

    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)

    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:508)

    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664)

    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)

    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)

    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)

    End server side stack trace
    ]

    java.sql.SQLException: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected
    Exception - with nested exception:

    [java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception
    is:
    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    Start server side stack trace:
    java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:

    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:154)

    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)

    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)

    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:807)

    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:738)

    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:207)

    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)

    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:508)

    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664)

    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)

    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)

    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)

    End server side stack trace
    ; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    Start server side stack trace:
    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:154)

    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)

    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)

    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:807)

    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:738)

    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:207)

    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)

    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:508)

    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664)

    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)

    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)

    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)

    End server side stack trace
    ]

    at weblogic.jdbc.rmi.SerialStatement.executeQuery(SerialStatement.java:92)

    at jmsutility.DbUtility.executeStatement(DbUtility.java:243)

    at tableupdate.TableUpdateApplet.updateTable(TableUpdateApplet.java:164)

    at tableupdate.TableUpdateApplet.jbInit(TableUpdateApplet.java:79)

    at tableupdate.TableUpdateApplet.init(TableUpdateApplet.java:49)

    at sun.applet.AppletPanel.run(AppletPanel.java:347)

    at java.lang.Thread.run(Thread.java:536)
    !--------------End Error Message -----------------------

    DB:3.05:Unmarshalexception 9x


    Hello All,
    I am using a datasource, multipool, and connection pool. I get a connect and
    statement object from the datasource, making sure they are not null. I then execute
    a very simple statement: 'select * from tableName'. The following error occors
    giving an unmarshalled exception. This is from an applet using a utility class
    for the database connectivity. This error is from the Java Console.
    This error occurs on weblogic 6.1, 7.0.1.0, and 7.0.2.0. The database is ms sqlserver.
    The database is not on the same machine as the weblogic server.

    Thank you,
    Brent

    !----------Begin error message ---------------------
    Executing statement: select * from genericTable

    DbUtility Error: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception
    - with nested exception:

    [java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception
    is:
    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    Start server side stack trace:
    java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:

    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:154)

    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)

    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)

    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:807)

    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:738)

    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:207)

    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)

    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:508)

    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664)

    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)

    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)

    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)

    End server side stack trace
    ; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    Start server side stack trace:
    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:154)

    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)

    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)

    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:807)

    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:738)

    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:207)

    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)

    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:508)

    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664)

    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)

    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)

    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)

    End server side stack trace
    ]

    java.sql.SQLException: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected
    Exception - with nested exception:

    [java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception
    is:
    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    Start server side stack trace:
    java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:

    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:154)

    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)

    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)

    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:807)

    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:738)

    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:207)

    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)

    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:508)

    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664)

    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)

    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)

    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)

    End server side stack trace
    ; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    Start server side stack trace:
    java.rmi.UnmarshalException: Method not found: 'execute(Ljava.lang.String;[I)'

    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:154)

    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)

    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)

    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:807)

    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:738)

    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:207)

    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)

    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:508)

    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664)

    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)

    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)

    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)

    End server side stack trace
    ]

    at weblogic.jdbc.rmi.SerialStatement.executeQuery(SerialStatement.java:92)

    at jmsutility.DbUtility.executeStatement(DbUtility.java:243)

    at tableupdate.TableUpdateApplet.updateTable(TableUpdateApplet.java:164)

    at tableupdate.TableUpdateApplet.jbInit(TableUpdateApplet.java:79)

    at tableupdate.TableUpdateApplet.init(TableUpdateApplet.java:49)

    at sun.applet.AppletPanel.run(AppletPanel.java:347)

    at java.lang.Thread.run(Thread.java:536)
    !--------------End Error Message -----------------------

  • RELEVANCY SCORE 3.05

    DB:3.05:Java.Rmi.Unmarshalexception ac


    Hi,

    I am getting this error when i am running a program that uses JavaSpaces:
    found TransactionManager = com.sun.jini.mahalo.TxnManagerImpl_Stub[RemoteStub [ref: null]]

    MANG IS com.sun.jini.mahalo.TxnManagerImpl_Stub[RemoteStub [ref: null]]
    Not written into space java.rmi.ServerException:
    RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

    java.lang.ClassNotFoundException:com.sun.jini.mahalo.TxnManagerImpl_Stub

    so what is an Unmarshal Exception.. and does anyone know how to solve this?

    DB:3.05:Java.Rmi.Unmarshalexception ac

    The java.rmi.UnmarshalException occurs when your server can not
    1. find the stub in its path
    2. tell the registry where is the stub for the client download
    For client can not
    1. find the stub in its path for download
    2. the version of the stub in the client is different from the one from the server

    I believe your problem is related to where your stub is. Make sure that the registry is start from the same directory where your server is located or you can start the registry directly within your server

  • RELEVANCY SCORE 3.04

    DB:3.04:Integration 9s


    Hi All,

    I have deployed an EJB on the Integration server which takes the Application
    View Handle and invokes the Service. I am invoking a Input Processor from
    one of my portlets in my Commerce Server which in turn accesses the above
    EJB but I get the following Exception.

    exception : javax.naming.CommunicationException [Root exception is
    java.rmi.UnmarshalException: fai
    led to unmarshal class java.lang.Object; nested exception is:
    java.lang.ClassNotFoundException: ejb20.AppviewBeanHomeImpl_WLStub:
    This error could indica
    te that a component was deployed on a cluster member but not other members
    of that cluster. Make su
    re that any component deployed on a server that is part of a cluster is also
    deployed on all other m
    embers of that cluster]

    What I need to do is to invoke a service from the Commerce Server IP class.

    Is this the right way to do, please suggest if there is any alternative way.

    Thanks in advance
    Nipun

    DB:3.04:Integration 9s

    Hi All,

    I have deployed an EJB on the Integration server which takes the Application
    View Handle and invokes the Service. I am invoking a Input Processor from
    one of my portlets in my Commerce Server which in turn accesses the above
    EJB but I get the following Exception.

    exception : javax.naming.CommunicationException [Root exception is
    java.rmi.UnmarshalException: fai
    led to unmarshal class java.lang.Object; nested exception is:
    java.lang.ClassNotFoundException: ejb20.AppviewBeanHomeImpl_WLStub:
    This error could indica
    te that a component was deployed on a cluster member but not other members
    of that cluster. Make su
    re that any component deployed on a server that is part of a cluster is also
    deployed on all other m
    embers of that cluster]

    What I need to do is to invoke a service from the Commerce Server IP class.

    Is this the right way to do, please suggest if there is any alternative way.

    Thanks in advance
    Nipun

  • RELEVANCY SCORE 3.04

    DB:3.04:Java.Rmi.Unmarshalexception xa


    Hi,
    I am running a weblogic 8.1 clustered environment. The application is throwing the following unmarshal exception and duplicate values are inserted to the database!

    ---------------
    java.rmi.UnmarshalException: failed to unmarshal class java.util.ArrayList; nested exception is:
    java.io.OptionalDataException
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:285)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
    at gosi.business.socialinsurance.annuities.common.session.MaintainDependantSession_2utjox_EOImpl_813_WLStub.getDependantsList(Unknown Source)
    at gosi.userinterface.socialinsurance.annuities.benefit.viewcontrollers.ViewBenefitServlet.getDependantDetails(ViewBenefitServlet.java:1544)
    at gosi.userinterface.socialinsurance.annuities.benefit.viewcontrollers.ViewBenefitServlet.doPost(ViewBenefitServlet.java:201)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:312)
    at gosi.core.security.viewcontrollers.SecurityServlet.doPost(SecurityServlet.java:391)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.io.OptionalDataException
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1231)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:120)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:117)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
    ... 24 more

    any idea what's causing this? is it a bug within weblogic 8.1?
    any help/hint will be truly appreciated, thanks

    DB:3.04:Java.Rmi.Unmarshalexception xa

    I am facing the same issue also. Can you please Rob tell me what information you need from me to help solving this problem.
    In our case, there was not change in the confiuration and it is happening for files that weren't causing a problems before. We faced that in sp3. We thought that sp5 would solve the problem. But still we are facing the problem.
    This is part of the exception:
    java.rmi.UnmarshalException: failed to unmarshal class java.util.ArrayList; nested exception is:
    java.io.OptionalDataException
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:166)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:293)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:248)
    at gosi.business.socialinsurance.annuities.beneficiary.session.SearchContributorSession_f5bdmx_EOImpl_815_WLStub.getContributorDetails(Unknown Source)
    ---
    Caused by: java.io.OptionalDataException
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1231)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:120)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:121)

    Can you please provide any hints or solution.
    Regards,
    Bdr

  • RELEVANCY SCORE 3.03

    DB:3.03:Writing To Sap (Marshal Exception) fa


    I have a problem when running the first line, a StringIndexOutOfBoundsException is thrown, complaining that index 1063 does not exist.

    I would like to know why this error occurs. The output.marshal method returns a string of 9 characters. I suspect that the marshalled output is used to find info.
    RFC_IDOC_INBOUND_ASYNCHRONOUS_1.getIDOC_INBOUND_ASYNCHRONOUS().unmarshal( output.marshal() );
    RFC_IDOC_INBOUND_ASYNCHRONOUS_1.getIDOC_INBOUND_ASYNCHRONOUS().executeAsynchronous( "GUIID" );

    here is the resulting exception thrown by the 1st line:
    output.marshal(): [B@c751fd
    java.lang.StringIndexOutOfBoundsException: String index out of range: 1063
    at java.lang.String.checkBounds(String.java:287)
    at java.lang.String.init(String.java:319)
    at rFC_IDOC_INBOUND_ASYNCHRONOUS.RfcRepositoryBase.tableRowInsert(RfcRepositoryBase.java:269)
    at rFC_IDOC_INBOUND_ASYNCHRONOUS.RFC_IDOC_INBOUND_ASYNCHRONOUS$IDOC_INBOUND_ASYNCHRONOUS.convertIDocToTables(RFC_IDOC_INBOUND_ASYNCHRONOUS.java:2166)
    at rFC_IDOC_INBOUND_ASYNCHRONOUS.RFC_IDOC_INBOUND_ASYNCHRONOUS$IDOC_INBOUND_ASYNCHRONOUS.unmarshal(RFC_IDOC_INBOUND_ASYNCHRONOUS.java:2065)

    DB:3.03:Writing To Sap (Marshal Exception) fa

    I have a problem when running the first line, a StringIndexOutOfBoundsException is thrown, complaining that index 1063 does not exist.

    I would like to know why this error occurs. The output.marshal method returns a string of 9 characters. I suspect that the marshalled output is used to find info.
    RFC_IDOC_INBOUND_ASYNCHRONOUS_1.getIDOC_INBOUND_ASYNCHRONOUS().unmarshal( output.marshal() );
    RFC_IDOC_INBOUND_ASYNCHRONOUS_1.getIDOC_INBOUND_ASYNCHRONOUS().executeAsynchronous( "GUIID" );

    here is the resulting exception thrown by the 1st line:
    output.marshal(): [B@c751fd
    java.lang.StringIndexOutOfBoundsException: String index out of range: 1063
    at java.lang.String.checkBounds(String.java:287)
    at java.lang.String.init(String.java:319)
    at rFC_IDOC_INBOUND_ASYNCHRONOUS.RfcRepositoryBase.tableRowInsert(RfcRepositoryBase.java:269)
    at rFC_IDOC_INBOUND_ASYNCHRONOUS.RFC_IDOC_INBOUND_ASYNCHRONOUS$IDOC_INBOUND_ASYNCHRONOUS.convertIDocToTables(RFC_IDOC_INBOUND_ASYNCHRONOUS.java:2166)
    at rFC_IDOC_INBOUND_ASYNCHRONOUS.RFC_IDOC_INBOUND_ASYNCHRONOUS$IDOC_INBOUND_ASYNCHRONOUS.unmarshal(RFC_IDOC_INBOUND_ASYNCHRONOUS.java:2065)

  • RELEVANCY SCORE 3.03

    DB:3.03:Jaxb Unmarshalling Error Com/Sun/Msv/Datatype/Xsd/Datetype k9



    try { JAXBContext jc = JAXBContext.newInstance("com.vzw.xmlmapping"); Unmarshaller unmarshaller = jc.createUnmarshaller(); HostInformation collection= (HostInformation)unmarshaller.unmarshal(new File("c:/sample.xml")); System.out.println("Testing"); } catch (Exception ex) { System.out.println(" Testing" + ex.toString()); }Steps Followed :Tools used( (JAXB,Jboss4.0.1sp1,JWSDp1.6,java "1.5.0_02")1) I generated all the java bindings using JAXB compiler in jwsdp1.6 package2) copied them over to eclipse project ,packaged the web service in a jar and deployed it to jboss3) in one of the server side classes i have the code pasted above to unmarshal the xml file4) I copied all the JAXB 'jars' from jwsdp1.6 to jboss/server/default/liband also the xsdlib.jar5)Whenever the execution or debugger steps over this particular lineHostInformation collection= (HostInformation)unmarshaller.unmarshal(new File("c:/sample.xml"));I get the following errorjava.lang.NoClassDefFoundError: com/sun/msv/datatype/xsd/DateTypeI tried to include all the jars mentioned above inside the edorsed folder of jboss/lib but did not help.Thank's a head .

    DB:3.03:Jaxb Unmarshalling Error Com/Sun/Msv/Datatype/Xsd/Datetype k9


    javax.xml.bind.JAXBException must be loadable by the LoaderRepository that is used for your deployment. If have not configured scoped class loading than there is only one LR in your server.server/yourconfig/lib is a good place

  • RELEVANCY SCORE 3.03

    DB:3.03:Weblogic Jms - Jmsclientexceptions:055053 - Help 13


    All,
    We are seeing below exception on the managed servers nohup logs. The set we have all the managed - clustered WebLogic App serves talk to WebLogic JMS Servers (clustered) via a Foreign JMS Servers. Appreciate any insight as to why this is occuring please? We don't see any apprent issue thou but like to check if something is going underhood.....

    //---------------------------
    // Error Message
    //---------------------------

    at weblogic.ejb.container.internal.MDConnectionManager.timerExpired(MDConnectionManager.java:169)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: java.rmi.UnmarshalException: failed to unmarshal class weblogic.jms.client.JMSConnection; nested exception is:
    java.io.StreamCorruptedException
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:229)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:338)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
    at weblogic.jms.frontend.FEConnectionFactoryImpl_1001_WLStub.connectionCreate(Unknown Source)
    at weblogic.jms.client.JMSConnectionFactory.setupJMSConnection(JMSConnectionFactory.java:244)
    ... 10 more
    Caused by: java.io.StreamCorruptedException
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1332)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:227)
    ... 14 more
    NestedException Message is :[JMSClientExceptions:055053]Error creating connection to the server: java.rmi.UnmarshalException: failed to unmarshal class weblogic.jms.client.JMSConnection; nested exception is:
    java.io.StreamCorruptedException

    Thanks a lot in advance

    DB:3.03:Weblogic Jms - Jmsclientexceptions:055053 - Help 13

    I suspect there's a patch for this. Perhaps via "CR343580". You can contact support with the stack trace to get the patch.

  • RELEVANCY SCORE 3.03

    DB:3.03:Connecting Weblogic 8.1 To Oracle 10g ac


    Hi,

    I have created connection in weblogic 8.1 of a type4 driver. And associated that connection with a JNDI name and DataSource. And I'm looking up that jndi and getting the connection. It is connecting but when executing the statement it is throwing exception. Please adivce. Thanks.
    Both code and exception are below:

    Here is the Program:
    ------------------------------
    public class JDBCConnectionPool {

    Connection connection = null;
    InitialContext initialContext = null;
    Context context = null;
    DataSource datasource = null;
    Properties properties = null;

    public Connection getConnection() {
    properties = new Properties();
    properties.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.T3InitialContextFactory");
    properties.put(Context.PROVIDER_URL, "t3://CBR-SRV-HPORA:7001/");
    try {
    initialContext = new InitialContext(properties);
    datasource = (DataSource) initialContext.lookup("sample_jndi");
    try {
    connection = datasource.getConnection();
    } catch (SQLException e) {
    e.printStackTrace();
    }

    } catch (NamingException e) {
    e.printStackTrace();
    }

    return connection;
    }

    public static void main(String args[]) throws SQLException {

    JDBCConnectionPool conpool = new JDBCConnectionPool();
    Connection con = conpool.getConnection();

    if (con != null) {
    System.out.println("Connected.........");

    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT ENAME FROM EMP");
    while (rs.next()){
    System.out.println(rs.getString("ENAME"));
    }
    }

    }
    }

    Here is the EXCEPTION:
    ----------------------------------

    Connected.........
    Jun 15, 2010 4:42:20 PM IST Info JDBC BEA-001155 The following exception has occurred:

    java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'createArrayOf(Ljava.lang.String;[Ljava.lang.Object;)'
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:164)
    at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_weblogic_jdbc_oracle_OracleConnection_816_WLStub.createStatement(Unknown Source)
    at weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:157)
    at com.code.sample.connectionDB.JDBCConnectionPool.main(JDBCConnectionPool.java:54)
    Caused by: java.rmi.UnmarshalException: Method not found: 'createArrayOf(Ljava.lang.String;[Ljava.lang.Object;)'
    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:156)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:272)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:1114)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:1032)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:225)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:809)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:782)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'createArrayOf(Ljava.lang.String;[Ljava.lang.Object;)']
    at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_weblogic_jdbc_oracle_OracleConnection_816_WLStub.createStatement(Unknown Source)
    at weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:157)
    at com.code.sample.connectionDB.JDBCConnectionPool.main(JDBCConnectionPool.java:54)

    DB:3.03:Connecting Weblogic 8.1 To Oracle 10g ac

    Thanks Jay...

    I'm using the same jar ojdbc14.jar. There is no other jar placed in server classpath. It is directly refereing to that jar.
    But still the exception is thrown.

  • RELEVANCY SCORE 3.01

    DB:3.01:Problam With Jaxb Unmarshal x9


    Hi, all
    When I try to run my code to unmarshal a XML instance, I got this error message "java.lang.ClassCastException: javax.xml.bind.JAXBElement cannot be cast to edu.fulleton.cs474f07.hm1.FullAddressType". Can someone help me out? I appreciate.

    Here is my sample code.
    package edu.fulleton.cs474f07.hm1;

    import javax.xml.bind.JAXBContext;
    import javax.xml.bind.Unmarshaller;
    import java.io.*;
    import java.io.File;
    import java.util.List;

    import javax.xml.validation.SchemaFactory;
    import javax.xml.validation.Schema;
    import javax.xml.XMLConstants;

    /**
    * This shows how to use JAXB to unmarshal an xml file
    * Then display the information from the content tree
    */

    public class JAXBValidation {

    public static void main (String args[]) {
    try {
    JAXBContext jc = JAXBContext.newInstance("edu.fulleton.cs474f07.hm1");
    Unmarshaller unmarshaller = jc.createUnmarshaller();

    FullAddressType fulladdresstype= (FullAddressType)
    unmarshaller.unmarshal(new File("FullAddress.xml"));

    System.out.println("UnMarshal an FullAddress.xml instance file.");
    System.out.println();

    }catch (Exception e ) {
    e.printStackTrace();
    }
    }
    }Schema
    ?xml version="1.0" encoding="UTF-8" ?
    xsd:schema xmlns="http://www.cs474_f07.cs.fullerton.edu/addr" targetNamespace="http://www.cs474_f07.cs.fullerton.edu/addr" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xsd:annotation
    xsd:documentation xml:lang="en"
    Address Schema for cs474_f07 homework1.
    /xsd:documentation
    /xsd:annotation
    xsd:element name="fullAddr" type="FullAddressType" /
    xsd:complexType name="FullAddressType"
    xsd:sequence
    xsd:element name="street" type="xsd:string" maxOccurs="2" /
    xsd:element name="city" type="xsd:string" /
    xsd:element name="state" type="xsd:string" /
    xsd:element name="postalCode" type="xsd:string" /
    xsd:element name="country" type="xsd:string" minOccurs="0" /
    /xsd:sequence
    xsd:attribute name="id" type="xsd:ID" /
    /xsd:complexType
    /xsd:schemaFullAddress.xml Instance
    ?xml version="1.0"?
    ns:fullAddr id="id_1" xmlns:ns="http://www.cs474_f07.cs.fullerton.edu/addr"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="FullAddress.xsd"
    street1722 Mt. Hermman/street
    cityFountain Valley/city
    stateCA/state
    postalCode92050/postalCode
    countryUSA/country
    /ns:fullAddr

    DB:3.01:Problam With Jaxb Unmarshal x9

    Hi Joseph

    Please try the following in JAXBValidation class
    FullAddressType fulladdresstype= (FullAddressType)((JAXBElement)
    unmarshaller.unmarshal(new File("FullAddress.xml"))).getValue();

    Regards
    Joss Armstrong

  • RELEVANCY SCORE 3.01

    DB:3.01:Java.Rmi.Unmarshalexception sd


    Hi all,

    I m trying to do lookup on a session bean.while doing so i m getting
    following exception

    java.rmi.UnmarshalException: failed to unmarshal
    interface com.pointdx.rex.rr.session.RRSessionRemote; nested exception is:
    java.io.InvalidClassException:
    com.pointdx.rex.rr.session.RRSessionBeanE
    OImpl_WLStub; Local class not compatible: stream classdesc
    serialVersionUID=-691
    5445038891123532 local class serialVersionUID=-8847476386759088800

    I have made sure that i have same copy of that class on server and on my
    machine.
    I have no copies of that class on my machine.

    Any help in this matter is appreciated.

    Thanks
    -Shree

    DB:3.01:Java.Rmi.Unmarshalexception sd

    Hi all,

    I m trying to do lookup on a session bean.while doing so i m getting
    following exception

    java.rmi.UnmarshalException: failed to unmarshal
    interface com.pointdx.rex.rr.session.RRSessionRemote; nested exception is:
    java.io.InvalidClassException:
    com.pointdx.rex.rr.session.RRSessionBeanE
    OImpl_WLStub; Local class not compatible: stream classdesc
    serialVersionUID=-691
    5445038891123532 local class serialVersionUID=-8847476386759088800

    I have made sure that i have same copy of that class on server and on my
    machine.
    I have no copies of that class on my machine.

    Any help in this matter is appreciated.

    Thanks
    -Shree

  • RELEVANCY SCORE 3.01

    DB:3.01:Jaxb Unmarshalexception - Filename W/ # Or ? Or % zs


    I have a requirement to allow file names with a set of non alpha numeric characters (except /). All of them seem to do fine except for filenames with the characters # or ? or % when it comes time to unmarshal the xml file. The error displayed below is for a file with the name: 2#2.txt.xml
    I have traced through my code and the file path and full name remain intact and the file is verified as being on the system. When I get to the call below in the code, the application throws the JAXB Exception shown below:
    // Unmarshall the data in the file
    object = getUnmarshalledObject( unmarshaller.unmarshal( file ) );

    I am using JAXB 2.0

    Is there a way to get the JAXB Unmarshaller to recognize these special characters?

    I receive the JAXB Exception:
    javax.xml.bind.UnmarshalException
    - with linked exception:
    [java.io.FileNotFoundException: \var\data\EMU1.EMUApplication\.metadata\2 (The system cannot find the file specified.)]
    at javax.xml.bind.UnmarshalException.init(UnmarshalException.java:56)

    Complete Method:
    JAXBContext jaxbContext;
    Unmarshaller unmarshaller;
    Object object;

    // Make sure the file exists, is a file and is readable
    // -----------------------------------------------------
    if ( ! file.exists() ) throw new OnsConfigException("Missing document file " + file.getAbsolutePath() );
    if ( ! file.canRead() ) throw new OnsConfigException("Non readable document file " + file.getAbsolutePath() );
    if ( file.isDirectory() ) throw new OnsConfigException("Cannot unmarshall directory " + file.getAbsolutePath() );

    try {

    // Create the context
    // ------------------
    jaxbContext = JAXBContext.newInstance( packageName );

    // Create the unmarshaller
    // -----------------------
    unmarshaller = jaxbContext.createUnmarshaller();

    // Enable/disable validation
    // -------------------------
    unmarshaller.setSchema( schema );

    // Unmarshall the data in the file
    // --------------------------------
    object = getUnmarshalledObject( unmarshaller.unmarshal( file ) );

    } catch (JAXBException jaxbExc) {

    // Rethrow as ONS exception
    // ------------------------
    jaxbExc.printStackTrace();
    throw new OnsConfigException( "XML Parse File Error", jaxbExc );

    } catch (Throwable e) {

    // Rethrow as ONS exception
    // ------------------------
    e.printStackTrace();
    throw new OnsConfigException( "XML Unmarshal File System Error", e );
    }Thank you for your assistance.

    Edited by: Barbara5 on May 7, 2009 11:10 PM

    DB:3.01:Jaxb Unmarshalexception - Filename W/ # Or ? Or % zs

    I ran into this same issue (my file had # characters in it).

    Instead of passing a File or URL object to the unmarshaller method, use a FileInputStream as indicated in the previous post.

    File myFile = new File("........");
    Object obj = unmarshaller.unmarshal(new FileInputStream(myFile));

  • RELEVANCY SCORE 3.00

    DB:3.00:Jms Exception In Jms Client af


    Hi AllERROR [org.springframework.jms.listener.AbstractPollingMessageListenerContainer]: Listener exception overridden by rollback exceptionweblogic.jms.common.JMSException: weblogic.messaging.dispatcher.DispatcherException: java.rmi.UnmarshalException: failed to unmarshal response; nested exception is: java.io.UTFDataFormatException at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:116) at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:61) at weblogic.jms.client.JMSSession.receiveMessage(JMSSession.java:886) at weblogic.jms.client.JMSConsumer.receiveInternal(JMSConsumer.java:647) at weblogic.jms.client.JMSConsumer.receive(JMSConsumer.java:526) at weblogic.jms.client.WLConsumerImpl.receive(WLConsumerImpl.java:184) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveMessage(AbstractPollingMessageListenerContainer.java:405) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:308) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:241) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876) at java.lang.Thread.run(Thread.java:619)Caused by: weblogic.messaging.dispatcher.DispatcherException: java.rmi.UnmarshalException: failed to unmarshal response; nested exception is: java.io.UTFDataFormatException at weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:350) at weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:386) at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:59) ... 11 moreCaused by: java.rmi.UnmarshalException: failed to unmarshal response; nested exception is: java.io.UTFDataFormatException at weblogic.messaging.dispatcher.DispatcherProxy.unmarshalResponse(DispatcherProxy.java:271) at weblogic.messaging.dispatcher.DispatcherProxy.dispatchSyncTranFuture(DispatcherProxy.java:134) at weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:338) ... 13 moreCaused by: java.io.UTFDataFormatException at weblogic.utils.io.ChunkedDataInputStream.readUTFFromChunk(ChunkedDataInputStream.java:298) at weblogic.utils.io.ChunkedDataInputStream.readUTF(ChunkedDataInputStream.java:178) at weblogic.workarea.spi.WorkContextEntryImpl.readEntry(WorkContextEntryImpl.java:92) at weblogic.workarea.WorkContextLocalMap.receiveRequest(WorkContextLocalMap.java:151) at weblogic.jms.common.JMSWorkContextHelper.readWorkContext(JMSWorkContextHelper.java:89) at weblogic.jms.common.MessageImpl.readExternal(MessageImpl.java:2275) at weblogic.jms.common.TextMessageImpl.readExternal(TextMessageImpl.java:354) at weblogic.jms.common.JMSConsumerReceiveResponse.readExternal(JMSConsumerReceiveResponse.java:133) at weblogic.messaging.dispatcher.DispatcherObjectHandler.readResponse(DispatcherObjectHandler.java:154) at weblogic.messaging.dispatcher.DispatcherProxy.unmarshalResponse(DispatcherProxy.java:269) ... 15 more INFO [org.springframework.jms.listener.DefaultMessageListenerContainer]: Setup of JMS message listener invoker failed for destination 'QUEUE' - trying to recover. Cause: Could not roll back JMS transaction; nested exception is weblogic.jms.common.LostServerException: [JMSClientExceptions:055169]Network connection to server was lost.I am getting this exception while receiving inbound messages.we are fetching message from JMS server then we get this error but the occasional message does get through.I can see UTFdataexception in error log but we haven't changed anything at client end.So why are we getting this exception?is it encoding issue?we are using weblogic client 10.3.2.0.Please let me know if any information is required.Regardsxyz

    DB:3.00:Jms Exception In Jms Client af

    Hi AllERROR [org.springframework.jms.listener.AbstractPollingMessageListenerContainer]: Listener exception overridden by rollback exceptionweblogic.jms.common.JMSException: weblogic.messaging.dispatcher.DispatcherException: java.rmi.UnmarshalException: failed to unmarshal response; nested exception is: java.io.UTFDataFormatException at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:116) at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:61) at weblogic.jms.client.JMSSession.receiveMessage(JMSSession.java:886) at weblogic.jms.client.JMSConsumer.receiveInternal(JMSConsumer.java:647) at weblogic.jms.client.JMSConsumer.receive(JMSConsumer.java:526) at weblogic.jms.client.WLConsumerImpl.receive(WLConsumerImpl.java:184) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveMessage(AbstractPollingMessageListenerContainer.java:405) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:308) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:241) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876) at java.lang.Thread.run(Thread.java:619)Caused by: weblogic.messaging.dispatcher.DispatcherException: java.rmi.UnmarshalException: failed to unmarshal response; nested exception is: java.io.UTFDataFormatException at weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:350) at weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:386) at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:59) ... 11 moreCaused by: java.rmi.UnmarshalException: failed to unmarshal response; nested exception is: java.io.UTFDataFormatException at weblogic.messaging.dispatcher.DispatcherProxy.unmarshalResponse(DispatcherProxy.java:271) at weblogic.messaging.dispatcher.DispatcherProxy.dispatchSyncTranFuture(DispatcherProxy.java:134) at weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:338) ... 13 moreCaused by: java.io.UTFDataFormatException at weblogic.utils.io.ChunkedDataInputStream.readUTFFromChunk(ChunkedDataInputStream.java:298) at weblogic.utils.io.ChunkedDataInputStream.readUTF(ChunkedDataInputStream.java:178) at weblogic.workarea.spi.WorkContextEntryImpl.readEntry(WorkContextEntryImpl.java:92) at weblogic.workarea.WorkContextLocalMap.receiveRequest(WorkContextLocalMap.java:151) at weblogic.jms.common.JMSWorkContextHelper.readWorkContext(JMSWorkContextHelper.java:89) at weblogic.jms.common.MessageImpl.readExternal(MessageImpl.java:2275) at weblogic.jms.common.TextMessageImpl.readExternal(TextMessageImpl.java:354) at weblogic.jms.common.JMSConsumerReceiveResponse.readExternal(JMSConsumerReceiveResponse.java:133) at weblogic.messaging.dispatcher.DispatcherObjectHandler.readResponse(DispatcherObjectHandler.java:154) at weblogic.messaging.dispatcher.DispatcherProxy.unmarshalResponse(DispatcherProxy.java:269) ... 15 more INFO [org.springframework.jms.listener.DefaultMessageListenerContainer]: Setup of JMS message listener invoker failed for destination 'QUEUE' - trying to recover. Cause: Could not roll back JMS transaction; nested exception is weblogic.jms.common.LostServerException: [JMSClientExceptions:055169]Network connection to server was lost.I am getting this exception while receiving inbound messages.we are fetching message from JMS server then we get this error but the occasional message does get through.I can see UTFdataexception in error log but we haven't changed anything at client end.So why are we getting this exception?is it encoding issue?we are using weblogic client 10.3.2.0.Please let me know if any information is required.Regardsxyz

  • RELEVANCY SCORE 2.98

    DB:2.98:Jaxb &Amp; Sockets *Urgent* sd


    Hi

    I'm using jaxb and sockets to communicate between to apps. But i have a problem when I try to unmarshal the the inputstream I get of the socket. No exception is thrown. Just seems like the code stalls at the line that does the unmarshalling of the inputstream

    Inputstream is = socket.getInputstream();
    Object o = unmarshaller.unmarshall(is); // stalls at this line

    if I try and get the same xml document of a filestream everything works fine...

    anyone have any tips?

    DB:2.98:Jaxb &Amp; Sockets *Urgent* sd

    I met the same problem when I was using JAXB through sockets. I made some modification.

    At the client, send a string parsed by baos.toString() through socket.
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    m_marsh.marshal(message, baos);At the server, read line from the socket's input stream and connect all the lines to xmlMessage.
    Unmarshaller u = m_jc.createUnmarshaller();
    message = (Message)u.unmarshal(new ByteArrayInputStream(xmlMessage.getBytes()));

  • RELEVANCY SCORE 2.97

    DB:2.97:Weblogic 9.2 Ejb Client ap


    I could see below error while calling an ejb deployed in weblogic 9.2 from the client. I am using compatibility realm for loading the users from database. I get this error at the point when intial context is initialized. Please, let me know the cause for the problem.

    javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: failed to unmarshal class weblogic.securit
    y.acl.internal.AuthenticatedUser; nested exception is:
    java.io.StreamCorruptedException: invalid type code: 31]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:85)
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:41)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:765)
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:665)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:465)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:372)
    at weblogic.jndi.Environment.getContext(Environment.java:307)
    at weblogic.jndi.Environment.getContext(Environment.java:277)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.init(InitialContext.java:197)
    at myapp.EJBHandler.getHandlerService(EJBHandler.java:94)
    Caused by: java.rmi.UnmarshalException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
    java.io.StreamCorruptedException: invalid type code: 31
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:219)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
    at weblogic.common.internal.RMIBootServiceImpl_922_WLStub.authenticate(Unknown Source)
    at weblogic.security.acl.internal.Security$1.run(Security.java:185)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:181)
    at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRemotely(WLInitialContextFactoryDelegate.java:726)
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:659)
    ... 14 more
    Caused by: java.io.StreamCorruptedException: invalid type code: 31
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
    :

    DB:2.97:Weblogic 9.2 Ejb Client ap

    I could see below error while calling an ejb deployed in weblogic 9.2 from the client. I am using compatibility realm for loading the users from database. I get this error at the point when intial context is initialized. Please, let me know the cause for the problem.

    javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: failed to unmarshal class weblogic.securit
    y.acl.internal.AuthenticatedUser; nested exception is:
    java.io.StreamCorruptedException: invalid type code: 31]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:85)
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:41)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:765)
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:665)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:465)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:372)
    at weblogic.jndi.Environment.getContext(Environment.java:307)
    at weblogic.jndi.Environment.getContext(Environment.java:277)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.init(InitialContext.java:197)
    at myapp.EJBHandler.getHandlerService(EJBHandler.java:94)
    Caused by: java.rmi.UnmarshalException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
    java.io.StreamCorruptedException: invalid type code: 31
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:219)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
    at weblogic.common.internal.RMIBootServiceImpl_922_WLStub.authenticate(Unknown Source)
    at weblogic.security.acl.internal.Security$1.run(Security.java:185)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:181)
    at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRemotely(WLInitialContextFactoryDelegate.java:726)
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:659)
    ... 14 more
    Caused by: java.io.StreamCorruptedException: invalid type code: 31
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
    :

  • RELEVANCY SCORE 2.97

    DB:2.97:How To Unmarshall List Tags/Unbounded Elements Using Jax-Ws Auto Generated Classes In Weblogic 12c md


    hii have a need wherein i need to create/host jax-ws webservice ( starting from wsdl) and in that service translate the xml using xsl to a different structure and call another webservice hosted to another server ( non-weblogic).so my approach is as soon as request comes to the service impl, i marshal the object to a xml then apply the required xsl transformation and then unmarshal the transformed xml to the object which can be used to trigger another webservice.This approach works fine for the xmls without list tags/unbounded elements , however it gives marshal exception whenever the xmls has list/unbounded elements.i am using jaxb and jax-ws generated class for marshalling and unmarshalling.so need some help on how to deal in this scenario?any help is appreciated

    DB:2.97:How To Unmarshall List Tags/Unbounded Elements Using Jax-Ws Auto Generated Classes In Weblogic 12c md

    hii have a need wherein i need to create/host jax-ws webservice ( starting from wsdl) and in that service translate the xml using xsl to a different structure and call another webservice hosted to another server ( non-weblogic).so my approach is as soon as request comes to the service impl, i marshal the object to a xml then apply the required xsl transformation and then unmarshal the transformed xml to the object which can be used to trigger another webservice.This approach works fine for the xmls without list tags/unbounded elements , however it gives marshal exception whenever the xmls has list/unbounded elements.i am using jaxb and jax-ws generated class for marshalling and unmarshalling.so need some help on how to deal in this scenario?any help is appreciated

  • RELEVANCY SCORE 2.97

    DB:2.97:Unmarshalexception - Method Not Found 78



    I am using weblogic 7. The server and client are separate machines. When I ran
    the client, the following error appeared:

    Start server side stack trace:
    java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:

    java.rmi.UnmarshalException: Method not found: 'calculateRate(Lcom.Transporter;)'

    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:157)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:724)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:655)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:194)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:495)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace

    Could anyone suggest any possible solutions to fix this problem?

    DB:2.97:Unmarshalexception - Method Not Found 78


    I am using weblogic 7. The server and client are separate machines. When I ran
    the client, the following error appeared:

    Start server side stack trace:
    java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:

    java.rmi.UnmarshalException: Method not found: 'calculateRate(Lcom.Transporter;)'

    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:157)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:220)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:272)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:724)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:655)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:194)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:495)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:664)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace

    Could anyone suggest any possible solutions to fix this problem?

  • RELEVANCY SCORE 2.97

    DB:2.97:Rmi Unmarshal When Using Jar File Under Jdk1.4 9z


    We uncounter a strange problem.
    Our client/server application worked OK with RMI,
    using JDK 1.3.1.
    As we passed to JDK 1.4.1_01, the client displays
    a remote exception coming from the server
    where arguments are not marshaled.

    What is strange is that the problem occurs only
    when we run the server from a Jar file.
    If we run the server from a hierarchy of classes,
    the problem does not show up. The Jar file is not
    sealed, not indexed and compressed.
    The stubs and skeletons were created in debug mode
    rmic -g.
    The .java.policy on the server allows all permission.

    Any idea welcome.

    DB:2.97:Rmi Unmarshal When Using Jar File Under Jdk1.4 9z

    Thank you for the suggestion.
    But it did not solved the problem.

    We found the real reason:
    the .class files gathered into the JAR files
    were compiled using javac -target 1.1
    whereas the stubs and skeletons were generated
    using rmic .
    This creates a mismatch between the .class
    files that produced a CorruptedStreamException
    in the server side in some cases.

    On the opposite, the .class files used individually
    were compiled without the -target 1.1 option.

    Going from JDK 1.3 to JDK 1.4, the default
    target format moved from 1.1 to 1.2
    I believe that Sun compatibility information
    was not enough clear on that point.

  • RELEVANCY SCORE 2.97

    DB:2.97:Rmi Unmarshal Exception d8


    While creating a distributed application using RMI,the unmarshal Exception is occuring with the nested exception "readWriteObject Exception" followed by "Serializible Exception".The exception might be the result during the return of a Vector object which contains a ResultSet object and ResultSetMetaData object.
    PLease suggest me ways to fix this bug.

    DB:2.97:Rmi Unmarshal Exception d8

    Based on the info you provided, I would say that you have attempted to use RMI to transfer a non-Serializable object. Generally speaking, an object is non-Serializeable if it performs file IO.

    Your solution is to transform your data into "pure" data objects - objects that you declare to be serializable.
    .

  • RELEVANCY SCORE 2.97

    DB:2.97:Intermittent Unmarshal / Classnotfound Exceptions In 6.1sp1 xm



    Our application is a fairly straightforward web/ejb app with 6 stateless session
    beans, everything deployed in a .ear file.

    In our domain log file we're seeing intermittent unmarshalling exceptions whose
    root causes are ClassNotFoundExceptions. These are always when the EJBs throw
    a checked exception to the web app. However, it does not happen every time the
    EJBs throw an exception of a particular type. In fact, most of the time there
    is no problem - the web app gets the exception unmarshalled just fine and logs/displays
    the accompanying info just fine. I can look at the timestamps in the domain log
    file and our app log file and see within a minute either way of each other exceptions
    that unmarshalled fine and one or two that had the problem. If I had to guess,
    the unmarshal problem happens perhaps 1 out of every 25 times, maybe less.

    Any ideas on why this would be happening? It's a problem because our code (rightly,
    IMO) treats those unmarshal exceptions as serious problems, rendering a "Call
    the Help Desk" message.

    Thanks,

    Donnie

    DB:2.97:Intermittent Unmarshal / Classnotfound Exceptions In 6.1sp1 xm


    Our application is a fairly straightforward web/ejb app with 6 stateless session
    beans, everything deployed in a .ear file.

    In our domain log file we're seeing intermittent unmarshalling exceptions whose
    root causes are ClassNotFoundExceptions. These are always when the EJBs throw
    a checked exception to the web app. However, it does not happen every time the
    EJBs throw an exception of a particular type. In fact, most of the time there
    is no problem - the web app gets the exception unmarshalled just fine and logs/displays
    the accompanying info just fine. I can look at the timestamps in the domain log
    file and our app log file and see within a minute either way of each other exceptions
    that unmarshalled fine and one or two that had the problem. If I had to guess,
    the unmarshal problem happens perhaps 1 out of every 25 times, maybe less.

    Any ideas on why this would be happening? It's a problem because our code (rightly,
    IMO) treats those unmarshal exceptions as serious problems, rendering a "Call
    the Help Desk" message.

    Thanks,

    Donnie

  • RELEVANCY SCORE 2.97

    DB:2.97:Managed Server Log File Java.Rmi.Marshalexception: No Serializableexception 3k


    Hi
    In Managed servers log file can see these messages :

    BEA-101326 The server could not send the HTTP message during the configured timeout value. The socket has been closed.

    HTTP bdc-intra811 ManagedServer2 ExecuteThread: '14' for queue: 'weblogic.kernel.Default' WLS Kernel BEA-101020 [ServletContext(id=25253396,name=Saba,context-path=/Saba)] Servlet failed with Exception
    java.lang.NullPointerException
    at weblogic.servlet.internal.MultibyteOutput.remaining(ChunkOutput.java:517)
    at weblogic.servlet.internal.MultibyteOutput.write(ChunkOutput.java:490)

    BEA-010051 EJB Exception occurred during invocation from home: com.saba.learning.registration.business.RegistrationManager_3cdzgd_HomeImpl@47210 threw exception: com.saba.exception.SabaRuntimeException : (305) Internal Error - A fatal exception occurred.
    (305) Internal Error - A fatal exception occurred. Connection timed out. SQL operation probably took too long.

    Error HTTP Session bdc-intra808 ManagedServer4 ExecuteThread: '18' for queue: 'weblogic.kernel.Default' WLS Kernel BEA-100049 Error looking up session with id:LfhNZMMj4JdSgdtHDqK0dDvfwnjnsfQZw44RFvKnBKmZc3lGXGpk!-1451486648!NONE
    java.rmi.MarshalException: error marshalling return; nested exception is:
    java.io.NotSerializableException: com.saba.uiconfig.CombinedResourceBundle
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)

    java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@d37839 - idle timeout: '30000' ms, socket timeout: '5000' ms', in the configured timeout period of '60' secs

    Error HTTP Session bdc-intra808 ManagedServer4 ExecuteThread: '4' for queue: 'weblogic.kernel.Default' WLS Kernel BEA-100049 Error looking up session with id:Lg0phM910HhLXYbxtB7YMq7hLnHyy9VP8nCJKpY9CGxSL7HqxxTB!-1207246508!NONE
    java.rmi.UnmarshalException: failed to unmarshal class java.util.HashMap; nested exception is:
    java.io.InvalidClassException: com.saba.client.learningoffering.CatalogFinderResultCustomizer; no valid constructor
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:166)

    DB:2.97:Managed Server Log File Java.Rmi.Marshalexception: No Serializableexception 3k

    Die Website http://www.testpassport.de/ ist super, mit ihrer Hilfe habe ich schon LOT-829 http://www.testpassport.de/IBM-LOTUS/LOT-829.asp, LOT-825 http://www.testpassport.de/IBM-LOTUS/LOT-825.asp gepasst. viel Erfolg!

  • RELEVANCY SCORE 2.96

    DB:2.96:Streamcorruptedexception Communicating Remote Ejb Between Wls 8 &Amp; 10 m1


    Hi friends:

    I'm having this exception when i tried to comunicate with a EJB deployed in WLS 10.3.4 from a WebspherePortal runnig in WLS 8.1.

    2011-05-18 20:59:35,661 23564679 14123321-1 1305766773196 INFO ( ?:?) 23564679 14123321-1 1305766773196 - Missed jndi:wcorp.aplicaciones.productos.colocaciones.consumo.facade.CreditoDeConsumoFacade
    2011-05-18 20:59:36,734 23564679 14123321-1 1305766773196 ERROR (ConsumoOnlineController.jpf:789) 23564679 14123321-1 1305766773196 - java.rmi.UnmarshalException: failed to unmarshal interface wcorp.aplicaciones.productos.colocaciones.consumo.strategy.IContenedorCreditos; nested exception is:
    java.io.StreamCorruptedException

    I dont have any more trace for the moment, but a controller is accessing the EJB using a Delegate. The method pass en expect a ValueObject that is serializable, and all the atributes too. The VO is huge and have a complex object structure, that finally makes a instance with more than 80 atributes.

    Anyone knows if there is a problem unmarshalling huges VOs beetween java 1.4 and java 6?

    Thank you for your response

    Saludos

    DB:2.96:Streamcorruptedexception Communicating Remote Ejb Between Wls 8 &Amp; 10 m1

    Hi friends:

    I'm having this exception when i tried to comunicate with a EJB deployed in WLS 10.3.4 from a WebspherePortal runnig in WLS 8.1.

    2011-05-18 20:59:35,661 23564679 14123321-1 1305766773196 INFO ( ?:?) 23564679 14123321-1 1305766773196 - Missed jndi:wcorp.aplicaciones.productos.colocaciones.consumo.facade.CreditoDeConsumoFacade
    2011-05-18 20:59:36,734 23564679 14123321-1 1305766773196 ERROR (ConsumoOnlineController.jpf:789) 23564679 14123321-1 1305766773196 - java.rmi.UnmarshalException: failed to unmarshal interface wcorp.aplicaciones.productos.colocaciones.consumo.strategy.IContenedorCreditos; nested exception is:
    java.io.StreamCorruptedException

    I dont have any more trace for the moment, but a controller is accessing the EJB using a Delegate. The method pass en expect a ValueObject that is serializable, and all the atributes too. The VO is huge and have a complex object structure, that finally makes a instance with more than 80 atributes.

    Anyone knows if there is a problem unmarshalling huges VOs beetween java 1.4 and java 6?

    Thank you for your response

    Saludos

  • RELEVANCY SCORE 2.96

    DB:2.96:@Xmljavatypeadapter Used On Class Failed pc



    I used @Xmljavatypeadapter on my class like below@XmlJavaTypeAdapter(XMLStringAdapter.class)public class XMLCollection { public Integer content ; public XMLCollection() { super(); }public class XMLStringAdapter extends XmlAdapterString, XMLCollection { @Override public String marshal(XMLCollection arg0) throws Exception { return "8888"; } @Override public XMLCollection unmarshal(String arg0) throws Exception { return new XMLCollection(); }I found it not take effect. but when I put @XmlJavaTypeAdapter on class field it work, Annotation on class has not been implement?

  • RELEVANCY SCORE 2.96

    DB:2.96:Tclookupoperationsintf Lookupoperation Is Not Woking In Standalone Program az


    HI all
    i am trying to perform certain operation in OIM 11g r2 with the lookup interface
    I added the
    *1) oimclient.jar*
    *2)eclipseLink.jar*
    *3)spring.jar*
    *4)wlfullclient.jar*
    *5)common-logging.jar*
    *6)jrf.jar*

    but i didnt intiate the service like

    tcLookupOperationsIntf lookupoperation = client.getService(tcLookupOperationsIntf.class);

    i am getting

    Exception in thread "main" javax.ejb.EJBException: failed to unmarshal interface Thor.API.tcResultSet; nested exception is:
    *java.io.InvalidClassException: Thor.API.tcMetaDataSet; local class incompatible: stream classdesc serialVersionUID = 497665130057943698, local class serialVersionUID = -2604260793729521479; nested exception is: java.io.InvalidClassException: Thor.API.tcMetaDataSet; local class incompatible: stream classdesc serialVersionUID = 497665130057943698, local class serialVersionUID = -2604260793729521479*
    java.io.InvalidClassException: Thor.API.tcMetaDataSet; local class incompatible: stream classdesc serialVersionUID = 497665130057943698, local class serialVersionUID = -2604260793729521479

    if any suggestions,help me out on this issue

    DB:2.96:Tclookupoperationsintf Lookupoperation Is Not Woking In Standalone Program az

    oimclient jar is not updated one.
    get OIM_HOME/server/client/oimclient.zip. extract it and include these jars in your code base. Make sure you removed the old one.

  • RELEVANCY SCORE 2.96

    DB:2.96:Weblogic.Management.Jmx.Remoteruntimeexception While Deployment sj


    Hi,

    I am getting this exception while deploying application in weblogic.Any idea about this?

    weblogic.management.jmx.RemoteRuntimeException: java.rmi.UnmarshalException: failed to unmarshal class java.lang.Object; nested exception is:
    java.lang.ClassNotFoundException: Failed to load class org.springframework.beans.factory.BeanDefinitionStoreException
    at weblogic.management.jmx.MBeanServerInvocationHandler.checkThrowsIOException(MBeanServerInvocationHandler.java:569)
    at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:384)
    at $Proxy8.getTargets(Unknown Source)
    at weblogic.deploy.api.tools.deployer.Operation.showRawTaskInfo(Operation.java:116)
    at weblogic.deploy.api.tools.deployer.Operation.showTaskInformation(Operation.java:144)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.showTaskInformation(Jsr88Operation.java:624)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:537)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.Deployer.run(Deployer.java:70)
    at weblogic.Deployer.main(Deployer.java:54)
    Caused by: java.rmi.UnmarshalException: failed to unmarshal class java.lang.Object; nested exception is:
    java.lang.ClassNotFoundException: Failed to load class org.springframework.beans.factory.BeanDefinitionStoreException
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:231)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
    at javax.management.remote.rmi.RMIConnectionImpl_1001_WLStub.getAttribute(Unknown Source)
    at weblogic.management.remote.common.RMIConnectionWrapper$11.run(ClientProviderBase.java:531)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:61)
    at weblogic.management.remote.common.RMIConnectionWrapper.getAttribute(ClientProviderBase.java:529)
    at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getAttribute(RMIConnector.java:857)
    at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:175)
    at weblogic.management.jmx.MBeanServerInvocationHandler.doInvoke(MBeanServerInvocationHandler.java:504)
    at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:380)
    ... 11 more
    Caused by: java.lang.ClassNotFoundException: Failed to load class org.springframework.beans.factory.BeanDefinitionStoreException
    at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:203)
    at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:128)
    at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:308)
    at weblogic.rjvm.MsgAbbrevInputStream.resolveClass(MsgAbbrevInputStream.java:400)
    at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.resolveClass(ChunkedObjectInputStream.java:255)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
    at java.util.ArrayList.readObject(ArrayList.java:591)
    at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:227)

    DB:2.96:Weblogic.Management.Jmx.Remoteruntimeexception While Deployment sj

    Hi,

    I am getting this exception while deploying application in weblogic.Any idea about this?

    weblogic.management.jmx.RemoteRuntimeException: java.rmi.UnmarshalException: failed to unmarshal class java.lang.Object; nested exception is:
    java.lang.ClassNotFoundException: Failed to load class org.springframework.beans.factory.BeanDefinitionStoreException
    at weblogic.management.jmx.MBeanServerInvocationHandler.checkThrowsIOException(MBeanServerInvocationHandler.java:569)
    at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:384)
    at $Proxy8.getTargets(Unknown Source)
    at weblogic.deploy.api.tools.deployer.Operation.showRawTaskInfo(Operation.java:116)
    at weblogic.deploy.api.tools.deployer.Operation.showTaskInformation(Operation.java:144)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.showTaskInformation(Jsr88Operation.java:624)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:537)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.Deployer.run(Deployer.java:70)
    at weblogic.Deployer.main(Deployer.java:54)
    Caused by: java.rmi.UnmarshalException: failed to unmarshal class java.lang.Object; nested exception is:
    java.lang.ClassNotFoundException: Failed to load class org.springframework.beans.factory.BeanDefinitionStoreException
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:231)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
    at javax.management.remote.rmi.RMIConnectionImpl_1001_WLStub.getAttribute(Unknown Source)
    at weblogic.management.remote.common.RMIConnectionWrapper$11.run(ClientProviderBase.java:531)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:61)
    at weblogic.management.remote.common.RMIConnectionWrapper.getAttribute(ClientProviderBase.java:529)
    at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getAttribute(RMIConnector.java:857)
    at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:175)
    at weblogic.management.jmx.MBeanServerInvocationHandler.doInvoke(MBeanServerInvocationHandler.java:504)
    at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:380)
    ... 11 more
    Caused by: java.lang.ClassNotFoundException: Failed to load class org.springframework.beans.factory.BeanDefinitionStoreException
    at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:203)
    at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:128)
    at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:308)
    at weblogic.rjvm.MsgAbbrevInputStream.resolveClass(MsgAbbrevInputStream.java:400)
    at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.resolveClass(ChunkedObjectInputStream.java:255)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
    at java.util.ArrayList.readObject(ArrayList.java:591)
    at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:227)

  • RELEVANCY SCORE 2.93

    DB:2.93:Jaxb Fails To Unmarshal After Jdk 6 Upgrade 5 md


    I had some JAXM marshalled content that worked both ways (Java - XML) perfectly while in 6u3. When I upgraded to u5 just few days ago, nothing is unmarshalled. And no Unmarshal Exceptions are thrown.

    Any ideas?

    DB:2.93:Jaxb Fails To Unmarshal After Jdk 6 Upgrade 5 md

    A bit more info.

    I upgraded from JDK 6u3 to u5. I think u3 had JAXB 2.0, and it was upgraded to 2.1 for u5. It could be a JAXB 2.0 to JAXB 2.1 issue.

    The exact problem is that I had one List Element that was mapped to any of sub-classes using somthing like:

    class AB {
    }
    class A extends AB {
    }
    class B extends AB {
    }
    class Compound {

    @XmlElements({@XmlElement(type=a.class), @XmlElement(type=b.class})
    ListAB getSubs() {
    // return the list..
    }
    void setSubs(ListAB newList) {
    // set the list
    }
    }Basically I have a list property that contain zero, one or more elements of type A or B. The generated xml is something like:
    Compound p="v"
    a p="v2"/
    a p="v3"/
    b p="v4"/
    /CompoundAll was Okay, until the upgrade. I put a breakpoint when unmarshaling on the setList, and the newList param to the method is an empty list. It used to be the list of elements a,a,b.

  • RELEVANCY SCORE 2.93

    DB:2.93:Jaxb Type Binding p9


    Hi,

    I want to set XML data Type to map to a Java data type that is different from the default binding specification.
    I am using custom jaxb binding file to do that.

    here's how i define the globalbinding

    jxb:globalBindings
    jxb:javaType name="java.net.URI"
    xmlType="xsd:anyURI"
    /jxb:javaType
    /jxb:globalBindings

    But, when I do this, build fails with this error

    org\w3\_2001\xmlschema\Adapter1.java:13: unreported exception java.net.URISyntaxException; must be caught or declared to be thrown

    Adaptor class is generated like this; it does not generate the code to throw URISyntaxException that is required.

    public class Adapter1
    extends XmlAdapterString, URI
    {

    public URI unmarshal(String value) {
    return new URI(value);
    }

    public String marshal(URI value) {
    if (value == null) {
    return null;
    }
    return value.toString();
    }

    }

    How can I fix this, how can I modify my custom binding file to include the exception when customizing the type.

    Appreciate your reply

    Thanks

    DB:2.93:Jaxb Type Binding p9

    Hi,

    I want to set XML data Type to map to a Java data type that is different from the default binding specification.
    I am using custom jaxb binding file to do that.

    here's how i define the globalbinding

    jxb:globalBindings
    jxb:javaType name="java.net.URI"
    xmlType="xsd:anyURI"
    /jxb:javaType
    /jxb:globalBindings

    But, when I do this, build fails with this error

    org\w3\_2001\xmlschema\Adapter1.java:13: unreported exception java.net.URISyntaxException; must be caught or declared to be thrown

    Adaptor class is generated like this; it does not generate the code to throw URISyntaxException that is required.

    public class Adapter1
    extends XmlAdapterString, URI
    {

    public URI unmarshal(String value) {
    return new URI(value);
    }

    public String marshal(URI value) {
    if (value == null) {
    return null;
    }
    return value.toString();
    }

    }

    How can I fix this, how can I modify my custom binding file to include the exception when customizing the type.

    Appreciate your reply

    Thanks

  • RELEVANCY SCORE 2.93

    DB:2.93:Toplink-Jaxb Unmarshal Problem :Saxplatform Createplatformdefaultsequence z1


    Hi All,

    I'm trying to import some classes (generated by JAXB out of an XSD) into Toplink-Relational project and unmarshal the XML contents. But I get the following exception.

    07/01/22 13:13:18 javax.xml.bind.JAXBException: Provider oracle.toplink.ox.jaxb.JAXBContextFactory could not be instantiated: Exception [TOPLINK-7147] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.ValidationException

    Exception [TOPLINK-7147] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.ValidationException
    Exception Description: Platform SAXPlatform cannot create platform default sequence - it doesn't override createPlatformDefaultSequence method
    at oracle.toplink.exceptions.ValidationException.createPlatformDefaultSequenceUndefined(ValidationException.java:1515)
    at oracle.toplink.internal.databaseaccess.DatasourcePlatform.createPlatformDefaultSequence(DatasourcePlatform.java:540)
    at oracle.toplink.internal.databaseaccess.DatasourcePlatform.getDefaultSequence(DatasourcePlatform.java:479)
    at oracle.toplink.internal.sequencing.SequencingManager.getDefaultSequence(SequencingManager.java:917)
    at oracle.toplink.internal.sequencing.SequencingManager.onConnectAllSequences(SequencingManager.java:713)
    at oracle.toplink.internal.sequencing.SequencingManager.onConnect(SequencingManager.java:602)
    at oracle.toplink.publicinterface.DatabaseSession.initializeSequencing(DatabaseSession.java:115)
    at oracle.toplink.publicinterface.DatabaseSession.initializeDescriptors(DatabaseSession.java:341)
    at oracle.toplink.publicinterface.DatabaseSession.initializeDescriptors(DatabaseSession.java:330)
    at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:512)
    at oracle.toplink.ox.XMLContext.buildSession(XMLContext.java:120)
    at oracle.toplink.ox.XMLContext.init(XMLContext.java:73)
    at oracle.toplink.ox.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:9)
    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:585)
    at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:96)
    at javax.xml.bind.ContextFinder.searchcontextPath(ContextFinder.java:229)
    at javax.xml.bind.ContextFinder.find(ContextFinder.java:149)
    at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:281)
    at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:238)
    at oracle.epcis.services.queryservice.executor.ScheduledQueryExecutor.parseXML(ScheduledQueryExecutor.java:111)
    at oracle.epcis.services.queryservice.EPCISServicePortTypeImpl.subscribe(EPCISServicePortTypeImpl.java:36)
    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:585)
    at oracle.j2ee.ws.server.ImplInvocationHandler.invoke(ImplInvocationHandler.java:126)
    at $Proxy1.subscribe(Unknown Source)
    at oracle.epcis.services.queryservice.runtime.EPCISServiceBinding_Tie.invoke_subscribe(EPCISServiceBinding_Tie.java:450)
    at oracle.epcis.services.queryservice.runtime.EPCISServiceBinding_Tie.processingHook(EPCISServiceBinding_Tie.java:952)
    at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:287)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:356)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:283)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:272)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:94)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:128)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:170)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    07/01/22 13:13:18 --------------- linked to ------------------

    Can anyone please let me know the solution for this..?

    Thanks
    Rajasekaran

    DB:2.93:Toplink-Jaxb Unmarshal Problem :Saxplatform Createplatformdefaultsequence z1

    Rajasekaran,

    You will need to have two TopLink projects. In your use case the TopLink OXM project has been created by the TopLink JAXB compiler. You will need to create a seperate TopLink ORM project to map the generated JAXB objects to a relational database.

    Since we already have an offline email discussion going about your particular use case feel free to email me some of your code and we can work through it together.

    -Blaise

  • RELEVANCY SCORE 2.93

    DB:2.93:Problem Unmarshalling Xml - File Useing Inheritance sk


    My application uses an xml - schema that describes a scene containing geometric objects. I use simple objects (sphere, box...) and complex objects (groups). every object is derived from the base type "node_type". I create Java-Files from this schema and this works fine. but when I try to unmarshal an xml file written according to the schema I receive an exception. It seems like the unmarshaller does not notice the "xsi:type" attribute. Everything works fine if I do not use inheritance.

    Is there anything I do not see? Do I have to consider anything special if i want to use derived types in my xml file?

    Thanks a lot,

    Katja

    // ------------ part of the xml schema i use -------- //
    xs:complexType name="group_type"
    xs:complexContent
    xs:extension base="node_type"
    xs:sequence
    xs:element name="child" type="node_type" minOccurs="0" maxOccurs="unbounded"/
    /xs:sequence
    /xs:extension
    /xs:complexContent
    /xs:complexType

    xs:complexType name="sphere_type"
    xs:complexContent
    xs:extension base="node_type"
    xs:sequence
    xs:element name="radius" type="xs:float"/
    /xs:sequence
    /xs:extension
    /xs:complexContent
    /xs:complexType

    // ---------- the xml file i am trying to unmarshal -------- //

    ?xml version="1.0" encoding="UTF-8"?
    !-- edited by Katja Hofmann --
    xml_scene xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="geometry.xsd"
    xml_group !-- xml_group is of type group_type --
    child xsi:type="sphere_type"
    radius0.3/radius
    /child
    /xml_branch
    /xml_scene

    // ------------ the exception I get ----------------------- //

    !! -- class javax.xml.bind.UnmarshalException was thrown during operation!
    Unexpected element {}:height
    javax.xml.bind.UnmarshalException: Unexpected element {}:height
    at com.sun.xml.bind.unmarshaller.UnreportedException.createUnmarshalException(UnreportedException.java:59)
    at com.sun.xml.bind.unmarshaller.SAXUnmarshallerHandlerImpl.reportAndThrow(SAXUnmarshallerHandlerImpl.java:406)
    at com.sun.xml.bind.unmarshaller.SAXUnmarshallerHandlerImpl.startElement(SAXUnmarshallerHandlerImpl.java:96)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1488)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
    at com.sun.xml.bind.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:139)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:129)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:134)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:138)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:151)

    ... and so on ... :-(

    DB:2.93:Problem Unmarshalling Xml - File Useing Inheritance sk

    Hello.

    As I know current JAXB API does not support xsi:type
    attribute. You should redesign your schema and set the
    child's type directly in sphere_type instead
    node_type.
    But I think that you want to have childs with
    different types. So in this case you should add a
    choise to the xml_group element with different
    childs.

    Good luck.Using a choice is a good workaround - strange design but it works. Thanks a lot.

    p.s.
    Hope there will be support for xsi:type in future releases of the JAXB as the schema type inheritance seem quite useless to me if the derived types can not be asssigned to fields of their base type.

  • RELEVANCY SCORE 2.91

    DB:2.91:Why Cannot Execute Db Operation At Client Side With Dynamic Proxy? dx


    I want to execute a DB operation at client side with dynamic proxy. that is bypass EJBs to execute DB operation. And there is a data source in weblogic server, and I get an EJB instance using dynamic proxy, get connection using this instance, then invoke executeQuery method. But it is failed, and throw exception when execute "conn.setAutoCommit(false)" as below:

    Caused by: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'newArrayDataResultSet(Loracle.sql.ARRAY;JILjava.util.Map;)']
    at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_OracleConnection_813_WLStub.setAutoCommit(Unknown Source)
    at weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_OracleConnection_813_WLStub.setAutoCommit(Unknown Source)

    but it is no exception and run well using EJB, who can tell me why? if it is a weblogic limitation? and my version of WLS is 8.1 sp3

    DB:2.91:Why Cannot Execute Db Operation At Client Side With Dynamic Proxy? dx

    Even I have the same problem :(

    I have written a EJB which is deployed in the weblogic 8.1 sp3 , and have a Junit Test case class invoking those methods in the EJB. Can anybody tell me what does this exception mean and why is thrown ???

    Exception stack trace:
    [junit] java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
    [junit] java.rmi.UnmarshalException: Method not found: 'getUserProfile(Ljava.lang.String;)'
    [junit] at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
    [junit] at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
    [junit] at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
    [junit] at com.bea.elicense.server.services.test.ProfileDAOTest_u1lyy_EOImpl_813_WLStub.getUserProfile(Unknown Sou
    e)
    [junit] at com.bea.elicense.dal.test.ProfileDAOTest.testGetUserProfile(ProfileDAOTest.java:549)
    [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] at java.lang.reflect.Method.invoke(Method.java:324)
    [junit] at junit.framework.TestCase.runTest(TestCase.java:154)
    [junit] at junit.framework.TestCase.runBare(TestCase.java:127)
    [junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit] at junit.framework.TestResult.run(TestResult.java:109)
    [junit] at junit.framework.TestCase.run(TestCase.java:118)
    [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit] at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
    [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848)
    [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
    [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
    [junit] at org.apache.tools.ant.Task.perform(Task.java:341)
    [junit] at org.apache.tools.ant.Target.execute(Target.java:309)
    [junit] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [junit] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [junit] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [junit] at org.apache.tools.ant.Main.start(Main.java:196)
    [junit] at org.apache.tools.ant.Main.main(Main.java:235)
    [junit] Caused by: java.rmi.UnmarshalException: Method not found: 'getUserProfile(Ljava.lang.String;)'
    [junit] at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:155)
    [junit] at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:265)
    [junit] at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:996)
    [junit] at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:917)
    [junit] at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:225)
    [junit] at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:794)
    [junit] at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:742)
    [junit] at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:682)
    [junit] at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:628)
    [junit] at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:123)
    [junit] at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
    [junit] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    [junit] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178):-(:-(

  • RELEVANCY SCORE 2.90

    DB:2.90:Alsb Behaviour - Soap Response Not Well Formed xc


    Hi,

    ALSB appears to have a different behaviour when the request and response and not well formed.

    In the case when the request is not well formed. Control is immediately transferred to the Error handler pipeline with the error code BEA-382030: unable to unmarshal xml.

    However, if the response soap is not well formed, the request it processed in the response pipeline. And we see an error when we try to process the response.
    In our case we had a java callout in the response pipeline and we saw the error: ALSB Transform:382516]Failed to evaluate expression for callout to java method Argument index: 2, exception: Failure while unmarshalling message: Failed to parse XML text

    Why dont invalid responses behave the same as invalid requests?

    Thanks

    :)
    Sulakshan

    DB:2.90:Alsb Behaviour - Soap Response Not Well Formed xc

    XML errors will be caught at the time you start processing the message. I think if you don't put any processing in your request pipeline you won't get any errors either.
    An unprocessed message is streamed through and no errors will be triggered.

    --
    Gregory Haardt
    ALSB Prg. Manager
    ghaardt@bea.com

  • RELEVANCY SCORE 2.90

    DB:2.90:Local Class Incompatible Problem xs


    Actually i m trying to get values from an EJB.while retrieving the value it shows InvalidClassException.So what ay be the problem...
    My code is Like this :

    public ServiceResponse getBillingDetails(ServiceRqst request)

    throws RecoverableException,

    UnrecoverableException,

    BusinessException,

    EJBException,

    RemoteException{

    BillingDetailsExecutor bccsExecutor = new BillingDetailsExecutor();

    return bccsExecutor.getBillingDetails(request);

    }

    Trying to get the value here

    ServiceResponse responseForTest= controller.getBillingDetails(request);

    Exceptions ::
    java.rmi.UnmarshalException: failed to unmarshal interface ca.cgi.ebccs.common.response.ServiceResponse; nested exception is:

    java.io.InvalidClassException: ca.cgi.ebccs.common.cims.BillingDetailsResponseImpl; local class incompatible: stream classdesc serialVersionUID = -2426648995755024390, local class serialVersio

    nUID = 5139703292139445933

    300947;ERROR;[sysLog.ca.cgi.ebccs.common.CustomerProfileHostProxy];RemoteException;-1;;

    java.rmi.UnmarshalException: failed to unmarshal interface ca.cgi.ebccs.common.response.ServiceResponse; nested exception is:

    java.io.InvalidClassException: ca.cgi.ebccs.common.cims.BillingDetailsResponseImpl; local class incompatible: stream classdesc serialVersionUID = -2426648995755024390, local class serialVersio

    nUID = 5139703292139445933

    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:166)

    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:293)

    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)

    at ca.cgi.ebccs.common.cims.cims_AcctDetailsController_ufsh4z_EOImpl_814_WLStub.getBillingDetails(Unknown Source)

    at ca.cgi.ebccs.common.customerprofile.CustomerProfileHostProxy.getMC35Response(Unknown Source)

    at ca.cgi.ebccs.common.customerprofile.CustomerProfileHostProxy.getBillingDetails(Unknown Source)

    at ca.cgi.ebccs.common.customerprofile.CustomerProfileHostProxy.getProfAcctBillingInfo(Unknown Source)

    at ca.cgi.ebccs.common.customerprofile.CustomerProfile.getProfAcctBillingInfo(Unknown Source)

    at ca.cgi.ebccs.common.customerprofile.AccountBillingInfoQueryCommand.query(Unknown Source)

    at ca.cgi.ebccs.common.customerprofile.CustomerProfileControllerImpl.fillCustomerProfile(Unknown Source)

    at ca.cgi.ebccs.common.customerprofile.CustomerProfileControllerBean.fillCustomerProfile(Unknown Source)

    at ca.cgi.ebccs.common.customerprofile.CustomerProfileControllerBean_t6ru5c_ELOImpl.fillCustomerProfile(CustomerProfileControllerBean_t6ru5c_ELOImpl.java:168)

    at ca.cgi.ebccs.bchcustomerprofile.BCHCustomerProfileControllerBean.getBCHCustomerProfileResponse(Unknown Source)

    at ca.cgi.ebccs.bchcustomerprofile.BCHCustomerProfileControllerBean_c9t5cw_ELOImpl.getBCHCustomerProfileResponse(BCHCustomerProfileControllerBean_c9t5cw_ELOImpl.java:46)

    at ca.cgi.ebccs.bchcustomerprofile.BCOPCustomerProfileHelper.processRequest(Unknown Source)

    at ca.cgi.ebccs.common.servicerequestcontroller.ServiceRequestControlBean.doProcessRequest(Unknown Source)

    at ca.cgi.ebccs.common.servicerequestcontroller.ServiceRequestControlBean.doProcessRequest(Unknown Source)

    at ca.cgi.ebccs.common.servicerequestcontroller.servicerequestcontroller_98e2d9_EOImpl.doProcessRequest(servicerequestcontroller_98e2d9_EOImpl.java:158)

    at ca.cgi.ebccs.common.input.BCOPXMLInputServlet.doPost(Unknown Source)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)

    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)

    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)

    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)

    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:3764)

    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)

    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)

    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    Caused by: java.io.InvalidClassException: ca.cgi.ebccs.common.cims.BillingDetailsResponseImpl; local class incompatible: stream classdesc serialVersionUID = -2426648995755024390, local class serialVer

    sionUID = 5139703292139445933

    at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)

    Plz help me regarding this...

    Thanks in Advance.....

    DB:2.90:Local Class Incompatible Problem xs

    public ServiceResponse getBillingDetails(ServiceRqst request)

    I don't belive you can do that... is that your class's constructor?

  • RELEVANCY SCORE 2.90

    DB:2.90:Unmarshalling With Castor Problem 31


    Hello everyone, i have run into a small problem with unmarshalling. Lets say my xml is something like this:
    Client
    Namea/Name
    Somethingb/Something
    /ClientThen everything works, i unmarshal it into a Client Object.
    public class Client{
    //getters and setters
    }Also i have a mapping, but now if my XML is something like this:
    Book
    Page1
    Client
    Namea/Name
    Somethingb/Something
    /Client
    /Page1
    /BookThen what would the mapping be and how do i get the Client object out of it. I tried creating a class for every element.
    like
    public class Book{
    getBook(){
    //return the book object
    }
    }Then

    public class Page{
    getPage(){
    //return the page
    }
    }So to get the client object i first unmarshalled the Book object, then i did Book.getPage().getClient().getName(); And then i got Nullpointer exception. How do i parse documents like that?

    Thanks

    DB:2.90:Unmarshalling With Castor Problem 31

    Hello everyone, i have run into a small problem with unmarshalling. Lets say my xml is something like this:
    Client
    Namea/Name
    Somethingb/Something
    /ClientThen everything works, i unmarshal it into a Client Object.
    public class Client{
    //getters and setters
    }Also i have a mapping, but now if my XML is something like this:
    Book
    Page1
    Client
    Namea/Name
    Somethingb/Something
    /Client
    /Page1
    /BookThen what would the mapping be and how do i get the Client object out of it. I tried creating a class for every element.
    like
    public class Book{
    getBook(){
    //return the book object
    }
    }Then

    public class Page{
    getPage(){
    //return the page
    }
    }So to get the client object i first unmarshalled the Book object, then i did Book.getPage().getClient().getName(); And then i got Nullpointer exception. How do i parse documents like that?

    Thanks

  • RELEVANCY SCORE 2.90

    DB:2.90:Integration jz


    Hi All,

    I have deployed an EJB on the Integration server which takes the Application
    View Handle and invokes the Service. I am invoking a Input Processor from
    one of my portlets in my Commerce Server which in turn accesses the above
    EJB but I get the following Exception.

    exception : javax.naming.CommunicationException [Root exception is
    java.rmi.UnmarshalException: fai
    led to unmarshal class java.lang.Object; nested exception is:
    java.lang.ClassNotFoundException: ejb20.AppviewBeanHomeImpl_WLStub:
    This error could indica
    te that a component was deployed on a cluster member but not other members
    of that cluster. Make su
    re that any component deployed on a server that is part of a cluster is also
    deployed on all other m
    embers of that cluster]

    What I need to do is to invoke a service from the Commerce Server IP class.

    Is this the right way to do, please suggest if there is any alternative way.

    Thanks in advance
    Nipun

    DB:2.90:Integration jz

    Hi.

    You might try posting this to the weblogic.integration.developer newsgroup.

    Regards,
    Michael

    Nipun Shah wrote:

    Hi All,

    I have deployed an EJB on the Integration server which takes the Application
    View Handle and invokes the Service. I am invoking a Input Processor from
    one of my portlets in my Commerce Server which in turn accesses the above
    EJB but I get the following Exception.

    exception : javax.naming.CommunicationException [Root exception is
    java.rmi.UnmarshalException: fai
    led to unmarshal class java.lang.Object; nested exception is:
    java.lang.ClassNotFoundException: ejb20.AppviewBeanHomeImpl_WLStub:
    This error could indica
    te that a component was deployed on a cluster member but not other members
    of that cluster. Make su
    re that any component deployed on a server that is part of a cluster is also
    deployed on all other m
    embers of that cluster]

    What I need to do is to invoke a service from the Commerce Server IP class.

    Is this the right way to do, please suggest if there is any alternative way.

    Thanks in advance
    Nipun--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • RELEVANCY SCORE 2.90

    DB:2.90:Unmarshalexception c3


    I've am getting an java.rmi.UnmarshalException when trying to call a function on the middle tier. My middle tier application is written using EJB 2.1 and is running on Weblogic 9.2 application server.

    Other functions in the same session bean work and return successfully so i suspect that there is a problem with the DTO that is being returned. It also seems like the DTO is successfully created and returned from the middle tier, however on unmarshalling the response at the client the exception is thrown.

    The main details of the exception are:

    java.rmi.UnmarshalException: failed to unmarshal class [Lcontent.places.siteDTO;; nested exception is:
    java.lang.ClassNotFoundException: Failed to load class [Lcontent.places.siteDTO;
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:221)
    at weblogic.rmi.cluster.ClusterableRemoteRef(ClusterableRemoteRef.java:338)
    at weblogic.rmi.cluster.ClusterableRemoteRef(ClusterableRemoteRef.java:252)
    ....Further in the exception:

    Caused by: java.lang.ClassNotFoundException: Failed to load class [Lcontent.places.siteDTO;
    at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:203)
    at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:128)
    at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:308)
    ....Anybody got any ideas where this could be coming from?

    DB:2.90:Unmarshalexception c3

    I've am getting an java.rmi.UnmarshalException when trying to call a function on the middle tier. My middle tier application is written using EJB 2.1 and is running on Weblogic 9.2 application server.

    Other functions in the same session bean work and return successfully so i suspect that there is a problem with the DTO that is being returned. It also seems like the DTO is successfully created and returned from the middle tier, however on unmarshalling the response at the client the exception is thrown.

    The main details of the exception are:

    java.rmi.UnmarshalException: failed to unmarshal class [Lcontent.places.siteDTO;; nested exception is:
    java.lang.ClassNotFoundException: Failed to load class [Lcontent.places.siteDTO;
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:221)
    at weblogic.rmi.cluster.ClusterableRemoteRef(ClusterableRemoteRef.java:338)
    at weblogic.rmi.cluster.ClusterableRemoteRef(ClusterableRemoteRef.java:252)
    ....Further in the exception:

    Caused by: java.lang.ClassNotFoundException: Failed to load class [Lcontent.places.siteDTO;
    at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:203)
    at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:128)
    at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:308)
    ....Anybody got any ideas where this could be coming from?

  • RELEVANCY SCORE 2.90

    DB:2.90:Newbie Failed To Start Wlpi Studio f8



    I've just installed WLS 6.0 SP2 and WLPI 2.0 using the default
    cloudscape db on Win2000. WLS can be started as well as the console. I can start
    the sample server from WLPI group
    using "security" as password) but when I tried to start the WLPI
    Studio, I got the following error message:
    "Failed to logon to WLPI because of error below,
    please make sure your username, password and server URL are all
    correct.
    null failed to unmarshal class java.lang.Object;nested exception
    is:
    java.lang.ClassNotFoundException: com.bea.wlpi.server.principal.WLPIPrincipalBeanHomeImpl_WLStudio..."

    The following logon info is used:
    uid: system
    pwd: security
    server: t3://localhost:7001

    please help. Thanks!

    DB:2.90:Newbie Failed To Start Wlpi Studio f8


    Thanks Tarkeshwar! I have already installed ejb20.jar, still got this error, any
    ideas?

    "Tarkeshwar Thakur" tarkeshwar.thakur@tavant.com wrote:

    Install EJB 2.0 upgrade (ejb20.jar) for your WebLogic Server. You can
    download
    it from downloads.bea.com.

    "Ling Chen" ling.chen@csc.com wrote:
    I've just installed WLS 6.0 SP2 and WLPI 2.0 using the default
    cloudscape db on Win2000. WLS can be started as well as the console.
    I can start
    the sample server from WLPI group
    using "security" as password) but when I tried to start the WLPI
    Studio, I got the following error message:
    "Failed to logon to WLPI because of error below,
    please make sure your username, password and server URL are all
    correct.
    null failed to unmarshal class java.lang.Object;nested exception
    is:
    java.lang.ClassNotFoundException: com.bea.wlpi.server.principal.WLPIPrincipalBeanHomeImpl_WLStudio..."

    The following logon info is used:
    uid: system
    pwd: security
    server: t3://localhost:7001

    please help. Thanks!

  • RELEVANCY SCORE 2.90

    DB:2.90:Xml Unmarshal Problem - Web Service Model 77



    Hi, I have generated a Webdynpro-Model out of a WebService (J2EE WAS 6.4 SP9 + IDE SP9). The WebService works within the WebServices Navigator, but being called from within WDDoInit() I get this exception. The generated proxy code "looks" ok and I am pretty lost here, any help appreciated:

    Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Serialization Error. Object of Class [de.hpi.admui.models.lecture.proxies.types.p2.GetLecturesResponse] does not have property [Response] of type [[Lde.hpi.admui.models.lecture.proxies.types.MLecture;]. Check if the right object is passed to the serialization routine.

    DB:2.90:Xml Unmarshal Problem - Web Service Model 77


    Can you give more details? Did you use a Web Dynpro Tree UI element, how did you do the databinding, declaratively or programmatically?

    Armin

  • RELEVANCY SCORE 2.90

    DB:2.90:Feature Or Bug? sm


    Hi,

    The following snippet of code behaves differently on JSE 1.6.0_02 and JSE 1.6.0_18-b07:

    public class Tester {

    private static JAXBContext jaxbContext = null;
    private static Unmarshaller unmarshaller = null;

    /**
    * @param args
    */
    public static void main(String[] args) {
    String xml = "R10801NODE1NODE1/NODE1NODE2NODE2/NODE2NODE3NODE3/NODE3NODE4NODE4/NODE4/R10801";

    Pattern pattern = Pattern.compile("/{0,1}(\\w*)");

    Matcher matcher = pattern.matcher(xml);

    ListString nodes = new ArrayListString();
    while( matcher.find() ) {
    String node = matcher.group(1);

    if( !nodes.contains(node) ) {
    nodes.add(node);
    }
    }

    IteratorString it = nodes.iterator();

    String code = "";

    for (int index = 0; it.hasNext();) {
    String node = (String) it.next();

    if( index++ 0 ) {
    xml = xml.replaceAll("" + node + "", "" + node.toLowerCase() + "");
    xml = xml.replaceAll("/" + node + "", "/" + node.toLowerCase() + "");
    } else {
    code = node;
    }
    }

    try {
    InputStream is = new ByteArrayInputStream(xml.getBytes());

    Class c = Class.forName("nodes." + code);

    R10801 reply = unmarshal(c, is);

    is.close();

    System.err.println(reply.getNode1());
    } catch (Exception e) {
    e.printStackTrace();
    }
    }

    @SuppressWarnings("unchecked")
    public static T T unmarshal(ClassT docClass, InputStream inputStream) throws JAXBException {
    String packageName = docClass.getPackage().getName();
    JAXBContext jc = JAXBContext.newInstance(packageName);
    Unmarshaller u = jc.createUnmarshaller();
    Object o = u.unmarshal(inputStream);
    return (T) o;
    }
    }The main difference is this line:

    R10801 reply = unmarshal(c, is);The compiler is not demanding an explicit cast on the later version.
    Why this different behavior?

    Kind regards,

    Carlos Ferreira

    DB:2.90:Feature Or Bug? sm

    Bug. If you had written ClassR10801 it should compile, otherwise not.

  • RELEVANCY SCORE 2.90

    DB:2.90:How To De/Serialize Nested Maps Using Xml Anotations? dm


    [http://www.caucho.com/resin/doc/jaxb-annotations.xtp#@XmlJavaTypeAdapter|http://www.caucho.com/resin/doc/jaxb-annotations.xtp#@XmlJavaTypeAdapter]

    I want to de/searialize nested maps. Apparently that bug for serializing java.util.map using XML annotations is still not fixed!

    As a work-around I'm trying to implement the code at [http://www.caucho.com/resin/doc/jaxb-annotations.xtp#@XmlJavaTypeAdapter |http://www.caucho.com/resin/doc/jaxb-annotations.xtp#@XmlJavaTypeAdapter ] and I need some help.

    Can someone help me implement the marshal and unmarshal methods? I'm having trouble understand how class Temp works. Why would marshal return a single temp? Wouldn't it return a java.util.listTemp?

    Perhaps the problem is that eclipse generated the stub for marshal and unmarshal incorrectly?

    Thanks,
    Siegfried


    /*
    * Begin commands to execute this file using Java with bash
    * if [ `uname` == 'Linux' ]
    * then
    * export CLASSPATH=bin:.
    * else
    * export CLASSPATH=bin\;.
    * fi
    * pushd ../../
    * if [ -e "bin" ]
    * then
    * echo "already have build (bin) directory"
    * else
    * echo "mkdir bin"
    * mkdir bin
    * fi
    * javac -g com/heintze/DemoMaps.java -d bin
    * java com.heintze.DemoMaps "/demoMaps/datum[1]/value/text()" '/demoMaps/datum[@name="abc"]' EOF
    * ?xml version="1.0" encoding="UTF-8" standalone="yes"?
    * demoMaps
    * datum name="xyz"valueInsert your sample data here/value/datum
    * datum name="abc"valuedef/value/datum
    * /demoMaps
    * EOF
    * rm bin/com/heintze/DemoMaps.class
    * popd
    * End commands to execute this file using Java with bash
    *
    */

    package com.heintze;
    import java.io.FileReader;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.TreeMap;

    import javax.xml.bind.JAXBContext;
    import javax.xml.bind.JAXBException;
    import javax.xml.bind.Marshaller;
    import javax.xml.bind.Unmarshaller;
    import javax.xml.bind.annotation.XmlAttribute;
    import javax.xml.bind.annotation.XmlElement;
    import javax.xml.bind.annotation.XmlRootElement;
    import javax.xml.bind.annotation.XmlType;
    import javax.xml.bind.annotation.adapters.XmlAdapter;
    import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

    @XmlType
    class Pair{
    Pair(){}
    Pair(String name, String value){ this.name = name; this.value = value; }
    @XmlAttribute
    String name;
    @XmlElement
    String value;
    }

    // http://www.caucho.com/resin/doc/jaxb-annotations.xtp#@XmlJavaTypeAdapter

    class Bean {
    @XmlJavaTypeAdapter(MyMapAdapter.class)
    public HashMapString,String map = new HashMapString,String();
    }

    class MyMapAdapter
    extends XmlAdapterTemp,java.util.MapString,String {

    @Override
    public Temp marshal(MapString, String arg0) throws Exception {
    // TODO Auto-generated method stub
    return null;
    }

    @Override
    public MapString, String unmarshal(Temp v) throws Exception {
    // TODO Auto-generated method stub
    return null;
    }
    }

    class Item {
    @XmlAttribute
    private String key;

    @XmlAttribute
    private String value;
    }

    class Temp {
    @XmlElement
    private ListItem entry = new java.util.ArrayListItem();
    }

    @XmlRootElement
    public class DemoMaps {
    static java.io.PrintStream out = System.out;
    public static void main(String[] args) {
    DemoMaps data = new DemoMaps();
    try {
    JAXBContext context = JAXBContext.newInstance(DemoMaps.class);
    Marshaller m = context.createMarshaller();
    Unmarshaller um = context.createUnmarshaller();
    data = (DemoMaps)um.unmarshal(new FileReader(java.io.FileDescriptor.in) );
    data.datum[0].name+="_modified";
    data.datum[0].value+="_modified";
    data.map.put("hello", "world");
    data.map2.map.put("hello", "world");
    m.marshal(data, System.out);
    } catch (JAXBException e) {
    e.printStackTrace();
    }
    }
    @XmlElement
    Pair[] datum =new Pair[0];
    @XmlElement(nillable=true, required=false)
    TreeMapString,String map=new TreeMapString,String();
    Bean map2 = new Bean();
    }

    DB:2.90:How To De/Serialize Nested Maps Using Xml Anotations? dm

    You can use xStream to de/seriablize nested maps. It is an open source library.

  • RELEVANCY SCORE 2.90

    DB:2.90:Writing Dfs Client Based On Wsdl jx


    Hi All,In our current non DCTM environment application is using java 1.4 and Axis 1.2 version.I want to call the Documentum webservices(D6Sp1 and it is java 1.5 and Axis 1.4) from the same environtment (it is not posible to upgrade the java or axis version). So we are trying to call documentum services and had write a Client program which generats SOAP message based on the ObjectService.wsdl. when I run client it is throwing error at the client side "Unmarshal Exception" but I can't see any of the log on the serverside.where do i get the logs on server, I had check all the logs but it says nothing.Is my approach is correct or is there any other solution.Please suggest me.

    DB:2.90:Writing Dfs Client Based On Wsdl jx

    I also checked access.log ,which shows client host name from where the request is coming, but not any other Log Information.The server-side exceptions are returned as part of the response to the client, you simply need to catch and print. If you absolutely have to see the server side logs, then I can tell you that on both my non-windows machine and Windows standalone DFS install, server exceptions are not being output to the logs and are instead going to the stdout of the app server startup script. So, for non-Windows, look at the console where you ran the startup script (i.e. startMethodServer.sh or DFS standalone equivalent) and on Windows, stop the service, and instead run startDFS.cmd from the command line.C:\Documentum\bea9.2\domains\DctmDomain\startDFS.cmdYou may also want to look into monitoring the SOAP messages so you get a better idea for what is actually being passed back and forth. See this article:http://developer.emc.com/developer/Articles/wsf/Inside_the_Web_Services_Framework.htm#monitoringAny Documentation is available to generate the client using wsdl(with out using DFS jars)?This article was written for the WSF, but the WSDL2Java usage still applies:http://developer.emc.com/developer/Articles/wsf/Consumers_of_the_Web_Services_Framework.htmwhat is the axis version DFS Built?DFS does internally not use AXIS, it uses JAX-WS.

  • RELEVANCY SCORE 2.90

    DB:2.90:"Error Unmarshaling Return Header", But Return Type Is Void fj



    I don't understand this. My remote call works, but the calling code gets an exception.

    The remote method has this signature:
    public void mymethod(Object value) throws RemoteException;- The code/process that implements mymethod has logging statements that appear in the log, so I know that it is successfully getting called, printing stuff about value, and getting to the end.

    - The code/process that calls mymethod gets this exception from the remote call:
    java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
    java.io.EOFException
    java.io.EOFException
    at java.io.DataInputStream.readByte(DataInputStream.java:219)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:181)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
    at MyRemoteClass.mymethod
    ... (rest is my code)Maybe it's because I do not understand what it means by "unmarshaling return header", but it doesn't sound to be like it should be trying to unmarshal anything when the return type is void.

    ??!!!??!?!
    Anyone?

    /Mel

    DB:2.90:"Error Unmarshaling Return Header", But Return Type Is Void fj


    Oh jeez-o-petes. Here's what it was: I had a System.exit in the remote method.

    (I was also sometimes getting SocketException instead of UnmarshalException, depending upon whether this process had started the registry or not.)

    But it turned out that System.exit was getting called from the remote method, thus shutting down the server process (and its sockets) before it properly returned; that would account for the problems.

    I hope maybe someone else can benefit from this uniquely silly troubleshooting experience.

    /Mel

  • RELEVANCY SCORE 2.90

    DB:2.90:Utfdataformatexception When Parsing Incoming Xml cc


    Hi,

    I am constantly seeing this message bellow when upgrade OCEP from 11.1.1.2 to 11.1.1.3 when parsing the XML from inbound JMSAdapter . Anyone knows the problem and how to fix it?

    patcherException: java.rmi.UnmarshalException: failed to unmarshal response; nested exception is:
    java.io.UTFDataFormatException
    weblogic.jms.common.JMSException: weblogic.messaging.dispatcher.DispatcherException: java.rmi.UnmarshalException: failed
    to unmarshal response; nested exception is:
    java.io.UTFDataFormatException
    at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:116)
    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:61)
    at weblogic.jms.client.JMSSession.receiveMessage(JMSSession.java:894)
    at weblogic.jms.client.JMSConsumer.receiveInternal(JMSConsumer.java:647)
    at weblogic.jms.client.JMSConsumer.receive(JMSConsumer.java:526)
    at weblogic.jms.client.WLConsumerImpl.receive(WLConsumerImpl.java:184)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveMessage(AbstractPollingMessag
    eListenerContainer.java:405)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingM
    essageListenerContainer.java:309)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMes
    sageListenerContainer.java:261)
    at com.bea.core.asyncbeans.internal.DefaultMessageListenerContainer.receiveAndExecute(DefaultMessageListenerCont
    ainer.java:59)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(D
    efaultMessageListenerContainer.java:983)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLo
    op(DefaultMessageListenerContainer.java:974)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessa
    geListenerContainer.java:876)
    at com.bea.core.asyncbeans.internal.WorkManagerTaskExecutor$1.run(WorkManagerTaskExecutor.java:39)
    at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:196)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Thanks,

    Brandon

    DB:2.90:Utfdataformatexception When Parsing Incoming Xml cc

    I also got the same exception:

    I am trying to access the JMS queue from CEP application and the JMS queue are configured and populated by the OBS server.

    OSB server Version : 11g R1
    Weblogic version : 10.3.3
    CEP server Version : 11.1.1.3

    Also I disable the DMS option in both CEP and OSB server.

    In CEP Server:

    I disable DMS option in startwlevs.cmd file in CEP domain folder as shown below.

    "%JAVA_HOME%\bin\java" %JVM_ARGS% %DGC% %DEBUG% -Doracle.dms.context=OFF
    -Dwlevs.home="%USER_INSTALL_DIR%" -Dbea.home="%BEA_HOME%" -jar
    "%USER_INSTALL_DIR%\bin\wlevs.jar" %1 %2 %3 %4 %5 %6
    :finish

    In OSB Server:

    OSB11g WLS Path : C:\Oracle11g\user_projects\domains\base_domain\bin
    File Name : startWebLogic.cmd

    if "%WLS_REDIRECT_LOG%"=="" (
    echo Starting WLS with line:
    echo %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Doracle.dms.context=OFF -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS%
    %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS%
    ) else (
    echo Redirecting output from WLS window to %WLS_REDIRECT_LOG%
    %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Doracle.dms.context=OFF -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS% "%WLS_REDIRECT_LOG%" 21
    )

    Please share your suggestion

  • RELEVANCY SCORE 2.90

    DB:2.90:Jmsclientexceptions:055053 -Weblogic10 Cluster - Remote Weblogic Jms - Help sd


    All,
    We are using a foreign JMS provider from WeLogic 10 cluster to connect to the Remote WebLogic JMS Server. We are getting below error while posting the data to the queue. Any help , ideas as to why this is occuring please?

    /---------------------------------------------
    / Error
    /---------------------------------------------
    Error during connection/session creation:weblogic.jms.common.JMSException: [*JMSClientExceptions:055053*]Error creating connection to the server: java.rmi.UnmarshalException: failed to unmarshal class weblogic.jms.client.JMSConnection; nested exception is: java.io.StreamCorruptedException|portal

    Thanks a lot for your help.

    DB:2.90:Jmsclientexceptions:055053 -Weblogic10 Cluster - Remote Weblogic Jms - Help sd

    This problem doesn't ring any bells with me. Some questions/thoughts/shots-in-the-dark:

    Is the problem intermittent, or does reproduce every single time? If the problem is intermittent, do you know what conditions it occurs under?

    It is intermittent doesn't happens every single time. Haven't got a concrete pattern thou but looks like it happens during a restart of the "Client WebLogic Servers (where the JMS Client run". And I have seen the traces of it...later during the normal run. These Managed Servers are connecting to JMS through "Foregin JMS Server" defination in the console.

    Are there any other errors/warnings logged either on the local server or on the remote server?
    No not in particular.

    Do the two communicating domains have the same domain name? Or are there servers with the same server name on both? WebLogic requires that communicating domains have different domain names and that there are no matching server names between the two domains.

    Commnunicating Domains have different domains.

    Thanks a lot for your help.

  • RELEVANCY SCORE 2.89

    DB:2.89:Weblogic 6 Sp3 On Hp-Ux With Tomcat On Win2k pz


    Hi,

    I can trying to lookup a Stateless Session EJB residing on Weblogic 6 SP3 on HP-UX; from a Tomcat 5.0.28 running on Win2k Server SP4.

    I am getting the following exception. It seems to be ok with I run the weblogic on my Win2k machine.

    (CbssLookup.java:91)- namingContext: javax.naming.InitialContext@dc0435, location:
    capco.cbss.beans.CobassWebGatewayHome

    javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: failed to unmarshal class java.lang.Object; nested exception is:
    java.io.StreamCorruptedException]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:80)
    at weblogic.jndi.internal.WLContextImpl.translateException(WLContextImpl.java:381)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:343)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at capco.cbss.util.CbssLookup.lookup(CbssLookup.java:92)
    at capco.cbss.cbw.rda.CbwMessageSender.clinit(CbwMessageSender.java:59
    )
    at capco.cbss.webshell.servlet.InitServlet.downloadStaticTable(InitServlet.java:106)
    at capco.cbss.webshell.servlet.InitServlet.init(InitServlet.java:38)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
    java:1029)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:86
    2)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
    t.java:4013)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
    357)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
    .java:823)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
    7)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)

    at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
    loyer.java:277)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
    ava:701)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432
    )
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
    :349)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
    eSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)

    at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)

    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478
    )
    at org.apache.catalina.core.StandardService.start(StandardService.java:4
    80)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:231
    3)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Caused by: java.rmi.UnmarshalException: failed to unmarshal class java.lang.Obje
    ct; nested exception is:
    java.io.StreamCorruptedException
    at weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.j
    ava:236)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:263)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:229)
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
    at $Proxy0.lookup(Unknown Source)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:341)
    ... 32 more
    Caused by: java.io.StreamCorruptedException
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1301)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:110)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:123)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.j
    ava:233)
    ... 37 more

    DB:2.89:Weblogic 6 Sp3 On Hp-Ux With Tomcat On Win2k pz

    Hi,

    I can trying to lookup a Stateless Session EJB residing on Weblogic 6 SP3 on HP-UX; from a Tomcat 5.0.28 running on Win2k Server SP4.

    I am getting the following exception. It seems to be ok with I run the weblogic on my Win2k machine.

    (CbssLookup.java:91)- namingContext: javax.naming.InitialContext@dc0435, location:
    capco.cbss.beans.CobassWebGatewayHome

    javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: failed to unmarshal class java.lang.Object; nested exception is:
    java.io.StreamCorruptedException]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:80)
    at weblogic.jndi.internal.WLContextImpl.translateException(WLContextImpl.java:381)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:343)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at capco.cbss.util.CbssLookup.lookup(CbssLookup.java:92)
    at capco.cbss.cbw.rda.CbwMessageSender.clinit(CbwMessageSender.java:59
    )
    at capco.cbss.webshell.servlet.InitServlet.downloadStaticTable(InitServlet.java:106)
    at capco.cbss.webshell.servlet.InitServlet.init(InitServlet.java:38)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
    java:1029)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:86
    2)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
    t.java:4013)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
    357)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
    .java:823)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
    7)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)

    at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
    loyer.java:277)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
    ava:701)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432
    )
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
    :349)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
    eSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)

    at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)

    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478
    )
    at org.apache.catalina.core.StandardService.start(StandardService.java:4
    80)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:231
    3)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Caused by: java.rmi.UnmarshalException: failed to unmarshal class java.lang.Obje
    ct; nested exception is:
    java.io.StreamCorruptedException
    at weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.j
    ava:236)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:263)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:229)
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
    at $Proxy0.lookup(Unknown Source)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:341)
    ... 32 more
    Caused by: java.io.StreamCorruptedException
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1301)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:110)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:123)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.j
    ava:233)
    ... 37 more

  • RELEVANCY SCORE 2.89

    DB:2.89:How To Unmarshal Non-Root Jaxb Class z3


    How to unmarshal non-root JAXB class? I used work around to marshal an object without *@XmlRootElement*:
    marshaller.marshal( new JAXBElement(
    new QName("uri","local"), MessageType.class, messageType ));Now I need to unmarshal this object.

  • RELEVANCY SCORE 2.88

    DB:2.88:Rmi Problem jm


    Hello everybody,

    I am trying to develop a RMI application. There I need to pass one java.util.ArrayList object to the client from server. But it is giving some Unmarshal exception. What should I do? Please help me.

    thanks.......

    DB:2.88:Rmi Problem jm

    Great. You haven't told us the problem, you haven't shown us the code, you haven't told us the solution.

    Thanks for coming.

  • RELEVANCY SCORE 2.86

    DB:2.86:Jaxb Parsing Failing fx


    Hi,
    I am using JAXB compiler to generate class.
    I generate the package and when i tried to unmarshal................
    It is failing with below error. I tried invoking http://www.tar.bet.com/my/deal/comp/
    I am getting host not found exception, could you please let me know whether this will result in below error.

    javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.tar.bet.com/my/deal/comp/", local:"EnterDetail"). Expected elements are {http://www.tar.bet.com/my/deal/datatype/}ENTER_NAME_OF_ROOT_ELEMENT_HERE

    Edited by: user575682 on Apr 9, 2012 4:34 PM

    Edited by: user575682 on Apr 9, 2012 4:35 PM

    DB:2.86:Jaxb Parsing Failing fx

    Hi,
    I am using JAXB compiler to generate class.
    I generate the package and when i tried to unmarshal................
    It is failing with below error. I tried invoking http://www.tar.bet.com/my/deal/comp/
    I am getting host not found exception, could you please let me know whether this will result in below error.

    javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.tar.bet.com/my/deal/comp/", local:"EnterDetail"). Expected elements are {http://www.tar.bet.com/my/deal/datatype/}ENTER_NAME_OF_ROOT_ELEMENT_HERE

    Edited by: user575682 on Apr 9, 2012 4:34 PM

    Edited by: user575682 on Apr 9, 2012 4:35 PM

  • RELEVANCY SCORE 2.86

    DB:2.86:Bpm 10g Jms Error Using Jdk 1.6 Vs 1.5 a8


    We have a BPM project that has a Global Automatic Activity setup as an Automatic JMS Listener to monitor an event queue. When the project is run through Studio it works fine. When the project is deployed on Enterprise server using JDK 1.5 it works as expected. When we change the JDK to 1.6 we get exceptions at startup. We need to run under 1.6 to support other external jars that require 1.6.

    Here is a snippet of the exception:

    Process '/JMSTest#Default-1.0' could not be started. Details:\nfuego.connector.ConnectorException: An exception occurred while getting a resource from a connector.
    Detail:The connector [P6 WLS:J2EE:J2EE] caused an exception when getting a resource.

    Caused by: An exception occurred while getting a resource from a connector.
    Detail:The connector [P6 WLS:J2EE:J2EE] caused an exception when getting a resource.

    Caused by: javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
    java.io.StreamCorruptedException: invalid type code: 31]
    Caused by: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
    java.io.StreamCorruptedException: invalid type code: 31
    Caused by: invalid type code: 31
    java.lang.RuntimeException: fuego.connector.ConnectorException: An exception occurred while getting a resource from a connector.
    Detail:The connector [P6 WLS:J2EE:J2EE] caused an exception when getting a resource.

    at fuego.server.execution.GlobalAutomaticJMSListeningHelper.startListening(GlobalAutomaticJMSListeningHelper.java:70)
    ...
    Caused by: fuego.connector.ConnectorException: An exception occurred while getting a resource from a connector.
    Detail:The connector [P6 WLS:J2EE:J2EE] caused an exception when getting a resource.

    at fuego.connector.ConnectorException.exceptionOnGetResource(ConnectorException.java:88)
    ....
    Caused by: javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
    java.io.StreamCorruptedException: invalid type code: 31]
    ...
    Caused by: java.rmi.UnmarshalException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
    java.io.StreamCorruptedException: invalid type code: 31
    ...
    Caused by: java.io.StreamCorruptedException: invalid type code: 31
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356)

    Has anyone seen this and have a resolution?

    Thank you.

    DB:2.86:Bpm 10g Jms Error Using Jdk 1.6 Vs 1.5 a8

    Are you using the Oracle JDBC drivers for 1.6?

    You can get some very misleading error messages if you use Oracle JDBC drivers for Java 1.5 under Java 1.6.

  • RELEVANCY SCORE 2.86

    DB:2.86:Remote Connection To Weblogic Jmx Mbeanserver cj


    I tried to connect to weblogic server to obtain the MBeanServer but not able to proceed as i receive exception.
    The code is,
    weblogic.jndi.Environment env = new weblogic.jndi.Environment();
    env.setProviderUrl("t3://localhost:8080");
    env.setSecurityPrincipal(username);
    env.setSecurityCredentials(pasword);
    env.setInitialContextFactory("weblogic.jndi.WLInitialContextFactory");
    Context ctx = env.getInitialContext();
    weblogic.management.MBeanHome mbh = (MBeanHome)ctx.lookup(MBeanHome.LOCAL_JNDI_NAME);
    RemoteMBeanServer rmbs = mbs.getMBeanServer(); System.out.println(rmbs.getDefaultDomain());

    The exception is thrown at the last line:

    java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'getClassLoaderFor(Ljavax.management.ObjectName; )'
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:137)
    at weblogic.management.internal.RemoteMBeanServerImpl_813_WLStub.getDefaultDomain(Unknown Source)
    at Test.getMBeanServer(Test.java:114)
    at Test.main(Test.java:133)
    Caused by: java.rmi.UnmarshalException: Method not found: 'getClassLoaderFor(Ljavax.management.ObjectName; )'
    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:155)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:265)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:996)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:917)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:225)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:794)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:742)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:682)
    at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:628)
    at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:123)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    at java.lang.Thread.startThreadFromVM(Unknown Source)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'getClassLoaderFor(Ljavax.management.ObjectName; )']
    at weblogic.management.internal.RemoteMBeanServerImpl_813_WLStub.getDefaultDomain(Unknown Source)
    at Test.getMBeanServer(Test.java:114)
    at Test.main(Test.java:133)
    Exception in thread "main"

    Please help in solving this.

    DB:2.86:Remote Connection To Weblogic Jmx Mbeanserver cj

    I tried to connect to weblogic server to obtain the MBeanServer but not able to proceed as i receive exception.
    The code is,
    weblogic.jndi.Environment env = new weblogic.jndi.Environment();
    env.setProviderUrl("t3://localhost:8080");
    env.setSecurityPrincipal(username);
    env.setSecurityCredentials(pasword);
    env.setInitialContextFactory("weblogic.jndi.WLInitialContextFactory");
    Context ctx = env.getInitialContext();
    weblogic.management.MBeanHome mbh = (MBeanHome)ctx.lookup(MBeanHome.LOCAL_JNDI_NAME);
    RemoteMBeanServer rmbs = mbs.getMBeanServer(); System.out.println(rmbs.getDefaultDomain());

    The exception is thrown at the last line:

    java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'getClassLoaderFor(Ljavax.management.ObjectName; )'
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:137)
    at weblogic.management.internal.RemoteMBeanServerImpl_813_WLStub.getDefaultDomain(Unknown Source)
    at Test.getMBeanServer(Test.java:114)
    at Test.main(Test.java:133)
    Caused by: java.rmi.UnmarshalException: Method not found: 'getClassLoaderFor(Ljavax.management.ObjectName; )'
    at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:155)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:265)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:996)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:917)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:225)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:794)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:742)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:682)
    at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:628)
    at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:123)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    at java.lang.Thread.startThreadFromVM(Unknown Source)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
    java.rmi.UnmarshalException: Method not found: 'getClassLoaderFor(Ljavax.management.ObjectName; )']
    at weblogic.management.internal.RemoteMBeanServerImpl_813_WLStub.getDefaultDomain(Unknown Source)
    at Test.getMBeanServer(Test.java:114)
    at Test.main(Test.java:133)
    Exception in thread "main"

    Please help in solving this.