CachedRowSet Marshalling Exception

Hey All,
I am using CashedRowset to transfer sql Query's from an ejb to a remote client (via RMI)
When I setup my CashedRowset without paging it works well.
When I setup the CashedRowset with paging, I get an error on the client side (described below).
I am working with Weblogic 8.1 under 1.4 jdk (server and client side) I downloaded the latest version of rowset implementation from sun.
Any suggestions ?
the client side error: is :
java.rmi.MarshalException: error marshalling return; nested exception is:
     java.io.NotSerializableException: weblogic.jdbc.wrapper.ResultSet_weblogic_jdbc_base_BaseResultSet
     at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
     at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:290)
     at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
     at legacy.studio.gateway.ejb.DBAccess_xechse_EOImpl_814_WLStub.executeQuery(Unknown Source)
     at il.co.ewave.remote.RemoteCall.call(RemoteCall.java:128)
     at il.co.ewave.remote.LegacyCall.execute(LegacyCall.java:133)
     at il.co.ewave.remote.LegacyCall.main(LegacyCall.java:152)
Caused by: java.io.NotSerializableException: weblogic.jdbc.wrapper.ResultSet_weblogic_jdbc_base_BaseResultSet
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
     at weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObjectOutputStream.java:120)
     at weblogic.rjvm.MsgAbbrevOutputStream.writeObject(MsgAbbrevOutputStream.java:93)
     at legacy.studio.gateway.ejb.DBAccess_xechse_EOImpl_WLSkel.invoke(Unknown Source)
     at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
     at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
     at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
     at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
     at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

Seems not to be a Sun problem, but a Bea one:
Caused by: java.io.NotSerializableException: weblogic.jdbc.wrapper.ResultSet_weblogic_jdbc_base_BaseResultSetThis class is not serializable, but is used as a field value by another object that is to be serialized. Maybe you should check for any custom-made classes containing such a field or contact Bea for help.

Similar Messages

  • Complex types with single array type element, marshaling exception

    For our JAXRPC web service, we have a complex type, as follows:
    <xs:complexType name = "SomeFault">
    <xs:sequence>
    <xs:element name = "errorMessages" type="some:ErrorMessageWSType" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
    </xs:complexType>
    <xs:simpleType name = "ErrorMessageWSType">
    <xs:restriction base = "xs:NMTOKEN">
    <xs:enumeration value = "INVALID_1"/>
    <xs:enumeration value = "INVALID_2"/>
    <xs:enumeration value = "INVALID_3"/>
    </xs:restriction>
    </xs:simpleType>
    We are running into Marshaling exceptions on the server side when the response/fault complex type has a single array type field.
    weblogic.wsee.codec.CodecException: Failed to encode
    com.bea.xml.XmlException: failed to find a suitable binding type for use in marshalling object "[Lnamespace.type.ErrorMessageWSType;@693767e9".  using schema type: t=SomeFault@http://namespace/SOME/v1 java type:namespace.type.ErrorMessageWSType[]
    If I change SomeFault, by adding another element, the error goes away.
    <xs:complexType name = "SomeFault">
    <xs:sequence>
    <xs:element name = "errorMessages" type="some:ErrorMessageWSType" maxOccurs="unbounded" />
    <xs:element name = "dummyString" type="xsd:string" minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    Am I doing something wrong during the wsdlc code generation or is this a known issue?
    <wsdlc srcWsdl="${wsdl.dir}/${wsdl.file.name}"
    destJwsDir="${gen.src.dir}/gen-src-jar"
    destImplDir="${main.src.dir}"
    packageName="${package.prefix}" type="JAXRPC">

    Any luck with this? I am running into the same error. Apparently, this is not an issue with Java binding, but when invoking remote EJBs, we run into this. I am running 10.1.3.1 and the error is:
    <fault>
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>
    com.collaxa.cube.ws.wsif.providers.ejb.WSIFOperation_EJB@e26dbf : Could not invoke 'getIdentityInfo'; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: Class 'ca.bc.gov.pssg.c3.webservices.identitymanagement.Identity' is not compatible; nested exception is:
         oracle.xml.parser.v2.XMLDOMException: cannot add a node belonging to a different document
    </summary>
    </part>
    <part name="detail">
    <detail>
    org.collaxa.thirdparty.apache.wsif.WSIFException: Class 'ca.bc.gov.pssg.c3.webservices.identitymanagement.Identity' is not compatible; nested exception is:
         oracle.xml.parser.v2.XMLDOMException: cannot add a node belonging to a different document
    </detail>
    </part>
    </bindingFault>
    </fault

  • Marshal Exception raised when using an union type

    Hi,
    I am using jdk1.4.0 and I am experiencing a problem when using union types. I was wondering if anyone would have experienced the same problem ? Or would have any idea of a possible workaround ?
    Here is the code :
    =========
    module X208 {
    typedef string AE_form1Type;
    typedef long AE_form2Type;
    enum AETypeChoice { form1Choice, form2Choice };
    union AEType
    switch(AETypeChoice) {
    case form1Choice:
              AE_form1Type form1;
    case form2Choice:
              AE_form2Type form2;
    module HelloApp {
         interface Hello
              string sayHello(in any param);
    =========
    My code, in the client, looks like this :
    AEType ae = new AEType();
    ae.form2(14);
    Any many = orb.create_any();
    AETypeHelper.insert(many, ae);
    string Hello = helloImpl.sayHello(many);     
    I have noticed that, each time I send an AEType form1 (a String) in the Any, it works fine. But when I try send an AEType form2, it fails with a Marshal exception (see below).
    I tried to switch form1 and form2 (actually their types : string and integer) to see if the problem was linked to the integer, but it failed the same on form2.
    When checking the bug database, there is one bug which might be close to this, but it's supposed to be fixed now (#4518206).
    Did someone experience the same problem ? Am I doing something wrong here ?
    Thanks for your help !
    ERROR : org.omg.CORBA.MARSHAL: underflow called with grow strategy vmcid: SUN minor code: 202 completed: No
    org.omg.CORBA.MARSHAL: underflow called with grow strategy vmcid: SUN minor code: 202 completed: No
    at com.sun.corba.se.internal.iiop.BufferManagerReadGrow.underflow(BufferManagerReadGrow.java:25)
    at com.sun.corba.se.internal.iiop.CDRInputStream_1_1.grow(CDRInputStream_1_1.java:73)
    at com.sun.corba.se.internal.iiop.CDRInputStream_1_2.alignAndCheck(CDRInputStream_1_2.java:28)
    at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_octet_array(CDRInputStream_1_0.java:567)
    at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.getConvertedChars(CDRInputStream_1_0.java:2285)
    at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.internalReadString(CDRInputStream_1_0.java:469)
    at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.readStringOrIndirection(CDRInputStream_1_0.java:460)
    at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_string(CDRInputStream_1_0.java:520)
    at com.sun.corba.se.internal.iiop.CDRInputStream.read_string(CDRInputStream.java:197)
    at com.sun.corba.se.internal.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2430)
    at com.sun.corba.se.internal.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2679)
    at com.sun.corba.se.internal.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2632)
    at com.sun.corba.se.internal.corba.AnyImpl.write_value(AnyImpl.java:581)
    at com.sun.corba.se.internal.iiop.CDROutputStream_1_0.write_any(CDROutputStream_1_0.java:534)
    at com.sun.corba.se.internal.iiop.CDROutputStream.write_any(CDROutputStream.java:235)
    at HelloApp._HelloStub.sayHello(_HelloStub.java:19)
    at HelloClient.main(HelloClient.java:37)

    I have similar problem. Except that mine throws a null exception write after com.sun.corba.se.internal.corba.AnyImpl.write_value(AnyImpl.java:581).
    do you have a workaround?

  • JSR 172 marshal exception for complex type

    Hi,
    Im trying to run a JSR 172 webservice but i always get marshall exception for complex types, below is my code:
    WSDL:
    <?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-417-SNAPSHOT. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-417-SNAPSHOT. -->
    <definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://newsletter.kp/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://newsletter.kp/" name="NewsService">
        <ns1:Policy xmlns:ns1="http://www.w3.org/ns/ws-policy" wsu:Id="NewsPortBinding_getNewslettersRemote_WSAT_Policy">
            <ns1:ExactlyOne>
                <ns1:All>
                    <ns2:ATAlwaysCapability xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns2:ATAlwaysCapability>
                    <ns3:ATAssertion xmlns:ns4="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns3="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns1:Optional="true" ns4:Optional="true"></ns3:ATAssertion>
                </ns1:All>
            </ns1:ExactlyOne>
        </ns1:Policy>
        <types>
            <xsd:schema>
                <xsd:import namespace="http://newsletter.kp/" schemaLocation="http://localhost:8080/NewsService/News?xsd=1"></xsd:import>
            </xsd:schema>
        </types>
        <message name="getNewslettersRemote">
            <part name="parameters" element="tns:getNewslettersRemote"></part>
        </message>
        <message name="getNewslettersRemoteResponse">
            <part name="parameters" element="tns:getNewslettersRemoteResponse"></part>
        </message>
        <portType name="News">
            <operation name="getNewslettersRemote">
                <ns5:PolicyReference xmlns:ns5="http://www.w3.org/ns/ws-policy" URI="#NewsPortBinding_getNewslettersRemote_WSAT_Policy"></ns5:PolicyReference>
                <input message="tns:getNewslettersRemote"></input>
                <output message="tns:getNewslettersRemoteResponse"></output>
            </operation>
        </portType>
        <binding name="NewsPortBinding" type="tns:News">
            <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
            <operation name="getNewslettersRemote">
                <ns6:PolicyReference xmlns:ns6="http://www.w3.org/ns/ws-policy" URI="#NewsPortBinding_getNewslettersRemote_WSAT_Policy"></ns6:PolicyReference>
                <soap:operation soapAction="getNews"></soap:operation>
                <input>
                    <soap:body use="literal"></soap:body>
                </input>
                <output>
                    <soap:body use="literal"></soap:body>
                </output>
            </operation>
        </binding>
        <service name="NewsService">
            <port name="NewsPort" binding="tns:NewsPortBinding">
                <soap:address location="http://localhost:8080/NewsService/News"></soap:address>
            </port>
        </service>
    </definitions>Stub:
    public class NewsService_Stub implements NewsService, javax.xml.rpc.Stub {
        private String[] _propertyNames;
        private Object[] _propertyValues;
        public NewsService_Stub() {
            _propertyNames = new String[] { ENDPOINT_ADDRESS_PROPERTY };
            _propertyValues = new Object[] { "http://localhost:8080/NewsService/News" };
        public void _setProperty( String name, Object value ) {
            int size = _propertyNames.length;
            for (int i = 0; i < size; ++i) {
                if( _propertyNames.equals( name )) {
    _propertyValues[i] = value;
    return;
    String[] newPropNames = new String[size + 1];
    System.arraycopy(_propertyNames, 0, newPropNames, 0, size);
    _propertyNames = newPropNames;
    Object[] newPropValues = new Object[size + 1];
    System.arraycopy(_propertyValues, 0, newPropValues, 0, size);
    _propertyValues = newPropValues;
    _propertyNames[size] = name;
    _propertyValues[size] = value;
    public Object _getProperty(String name) {
    for (int i = 0; i < _propertyNames.length; ++i) {
    if (_propertyNames[i].equals(name)) {
    return _propertyValues[i];
    if (ENDPOINT_ADDRESS_PROPERTY.equals(name) || USERNAME_PROPERTY.equals(name) || PASSWORD_PROPERTY.equals(name)) {
    return null;
    if (SESSION_MAINTAIN_PROPERTY.equals(name)) {
    return new Boolean(false);
    throw new JAXRPCException("Stub does not recognize property: " + name);
    protected void _prepOperation(Operation op) {
    for (int i = 0; i < _propertyNames.length; ++i) {
    op.setProperty(_propertyNames[i], _propertyValues[i].toString());
    public newsletter[] getNewslettersRemote() throws java.rmi.RemoteException {
    Object inputObject[] = new Object[] {
    Operation op = Operation.newInstance( qnameoperation_getNewslettersRemote, typegetNewslettersRemote, typegetNewslettersRemoteResponse );
    _prepOperation( op );
    op.setProperty( Operation.SOAPACTION_URI_PROPERTY, "getNews" );
    Object resultObj;
    try {
    resultObj = op.invoke( inputObject );
    } catch( JAXRPCException e ) {
    Throwable cause = e.getLinkedCause();
    if( cause instanceof java.rmi.RemoteException ) {
    throw (java.rmi.RemoteException) cause;
    throw e;
    return newsletter_ArrayfromObject((Object[])((Object[]) resultObj)[0]);
    private static newsletter[] newsletter_ArrayfromObject( Object obj[] ) {
    if(obj == null) return null;
    newsletter result[] = new newsletter[obj.length];
    for( int i = 0; i < obj.length; i++ ) {
    result[i] = new newsletter();
    Object[] oo = (Object[]) obj[i];
    result[i].setBody((String )oo[0]);
    result[i].setId((Long )oo[1]);
    result[i].setImageLocation((String )oo[2]);
    result[i].setTitle((String )oo[3]);
    return result;
    protected static final QName qnameoperation_getNewslettersRemote = new QName( "http://newsletter.kp/", "getNewslettersRemote" );
    protected static final QName qnamegetNewslettersRemote = new QName( "http://newsletter.kp/", "getNewslettersRemote" );
    protected static final QName qnamegetNewslettersRemoteResponse = new QName( "http://newsletter.kp/", "getNewslettersRemoteResponse" );
    protected static final Element typegetNewslettersRemote;
    protected static final Element typegetNewslettersRemoteResponse;
    static {
    typegetNewslettersRemote = new Element( qnamegetNewslettersRemote, _complexType( new Element[] {
    }), 1, 1, false );
    typegetNewslettersRemoteResponse = new Element( qnamegetNewslettersRemoteResponse, _complexType( new Element[] {
    new Element( new QName( "", "return" ), _complexType( new Element[] {
    new Element( new QName( "", "body" ), Type.STRING, 0, 1, false ),
    new Element( new QName( "", "id" ), Type.LONG, 0, 1, false ),
    new Element( new QName( "", "imageLocation" ), Type.STRING, 0, 1, false ),
    new Element( new QName( "", "title" ), Type.STRING, 0, 1, false )}), 0, Element.UNBOUNDED, true )}), 1, 1, false );
    private static ComplexType _complexType( Element[] elements ) {
    ComplexType result = new ComplexType();
    result.elements = elements;
    return result;
    }I tested the web service with the following xml
    input:<?xml version="1.0" encoding="UTF-8"?>
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Header/>
    <S:Body>
    <ns2:getNewslettersRemote xmlns:ns2="http://newsletter.kp/"/>
    </S:Body>
    </S:Envelope>
    output:bq. <?xml version="1.0" encoding="UTF-8"?> \\ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> \\ <S:Body> \\ <ns2:getNewslettersRemoteResponse xmlns:ns2="http://newsletter.kp/"> \\ <return> \\ <body>teste</body> \\ <id>1</id> \\ <imageLocation>testes</imageLocation> \\ <title>teste</title> \\ </return> \\ <return> \\ <body>mau</body> \\ <id>2</id> \\ <imageLocation>mau</imageLocation> \\ <title>mau</title> \\ </return> \\ <return> \\ <body>mau</body> \\ <id>3</id> \\ <imageLocation>mau</imageLocation> \\ <title>mau</title> \\ </return> \\ <return> \\ <body>mau</body> \\ <id>4</id> \\ <imageLocation>mau</imageLocation> \\ <title>teste</title> \\ </return> \\ <return> \\ <body>2</body> \\ <id>5</id> \\ <imageLocation>2</imageLocation> \\ <title>2</title> \\ </return> \\ <return> \\ <body>corpo</body> \\ <id>6</id> \\ <imageLocation>imagem</imageLocation> \\ <title>Titulo</title> \\ </return> \\ <return> \\ <body>corpos</body> \\ <id>7</id> \\ <imageLocation>imagem</imageLocation> \\ <title>Titulo</title> \\ </return> \\ <return> \\ <body>teste</body> \\ <id>8</id> \\ <imageLocation>teste</imageLocation> \\ <title>teste</title> \\ </return> \\ <return> \\ <body>rweqrrq</body> \\ <id>9</id> \\ <imageLocation>rwe</imageLocation> \\ <title>rewq</title> \\ </return> \\ </ns2:getNewslettersRemoteResponse> \\ </S:Body> \\ </S:Envelope> \\ but i always get a:
    java.rmi.MarshalException: Invalid URI From Server: , expected: http://schemas.xmlsoap.org/soap/envelope/
            at news.NewsService_Stub.getNewslettersRemote(NewsService_Stub.java:73)
            at hello.HelloMIDlet.getTextField(HelloMIDlet.java:168)
            at hello.HelloMIDlet.getForm(HelloMIDlet.java:132)
            at hello.HelloMIDlet.startMIDlet(HelloMIDlet.java:56)
            at hello.HelloMIDlet.startApp(HelloMIDlet.java:205)
            at javax.microedition.midlet.MIDletProxy.startApp(MIDletProxy.java:43)
            at com.sun.midp.midlet.Scheduler.schedule(Scheduler.java:374)
            at com.sun.midp.main.Main.runLocalClass(Main.java:466)
            at com.sun.midp.main.Main.main(Main.java:120)
    Can you please help me find the problem?
    Thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hello,
    A bit late, but I'm sure others will use this answers. We encountered the same problem in our development and after some hours playing with our WSDL we found the source of the problem.
    The problem is having a field named "body" in the Object this apparently doesn't work well with SOAP we guess because of the Envelope having also a Body.
    So the solution is changing the field body to something like msgBody.
    Regards,
    Raanan Nevet

  • XML marshalling exception

    Hello,
    I'm using Toplink JAXB to generate XML document from java classes in a JSF application (all in JDeveloper 10.1.3).
    Everything works fine in JDeveloper embedded OC4J, but when deploed to OAS 10.1.3, the application gives the following exception:
    Exception [TOPLINK-25007] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.XMLMarshalExceptionException Description: A descriptor for class com.allstate.mqq.re.xao.jaxb.map.MqqrequestImpl was not found in the project]
    Has anyone experienced the same problem?
    Please help
    Thanks
    Kate

    See:
    Re: Toplink JAXB Marshalling
    -Blaise

  • JAXB 2.0 Marshaling Exception

    Hello,
    I ran into an error when trying marshal a java class. NullPointerException is caught when this line of code is executed. I previously used XJC to generate the Java classes including ObjectFactory.java in textjaxb.student package.
    JAXBContext jaxbContext = JAXBContext.newInstance("testjaxb.student");After searching for solution, I tried to use different method for loading ObjectFactory class into .netInstance(...);. I tried using thread/context classloader, testjaxb.student.ObjectFactory.class as parameter. But the problem still persist. Any suggestion will be helpful.
    The stacktrace shows the following:
    Exception in thread "main" java.lang.NullPointerException
            at com.sun.xml.bind.v2.model.impl.PropertyInfoImpl.calcXmlName(PropertyInfoImpl.java:287)
            at com.sun.xml.bind.v2.model.impl.PropertyInfoImpl.calcXmlName(PropertyInfoImpl.java:260)
            at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl.getTypes(ElementPropertyInfoImpl.java:100)
            at com.sun.xml.bind.v2.model.impl.RuntimeElementPropertyInfoImpl.getTypes(RuntimeElementPropertyInfoImpl.java:50)
            at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.size(ElementPropertyInfoImpl.java:42)
            at java.util.AbstractList$Itr.hasNext(AbstractList.java:416)
            at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:139)
            at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:49)
            at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:41)
            at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:189)
            at com.sun.xml.bind.v2.model.impl.RegistryInfoImpl.<init>(RegistryInfoImpl.java:63)
            at com.sun.xml.bind.v2.model.impl.ModelBuilder.addRegistry(ModelBuilder.java:232)
            at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:201)
            at com.sun.xml.bind.v2.runtime.JAXBContextImpl$3.run(JAXBContextImpl.java:352)
            at com.sun.xml.bind.v2.runtime.JAXBContextImpl$3.run(JAXBContextImpl.java:350)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:349)
            at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:215)
            at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76)
            at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:55)
            at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:124)
            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:132)
            at javax.xml.bind.ContextFinder.find(ContextFinder.java:286)
            at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
            at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)
            at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)Thank you very much.
    T-ra

    I had the same problem and resolved it by removing the elementFormDefault="qualified" form the schema tag.
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:tns="http://www.calpers.ca.gov/soa/2006-12-21/CommonData.xsd"
    targetNamespace="http://www.calpers.ca.gov/soa/2006-12-21/CommonData.xsd"
    elementFormDefault="qualified">
         <xs:element name="commonData" type="tns:CommonDataType"/>
         <xs:complexType name="CommonDataType">
              <xs:sequence>
                   <xs:element name="defaultPayloadData" type="xs:string"/>
              </xs:sequence>
         </xs:complexType>
    </xs:schema>

  • Marshalling exception

    Hi
    I have encountered an error marshalling arguments exception with some piece of
    code. This happens while a call is made to the session bean method by the client
    program ,( involves passing of two arguments one of which is a serializable data
    object, and the other being a string).
    This occurs only for very large volume of data processed by the client. These
    data objects are stored in a vector and passed to the session bean in a for loop.
    The error occurs randomly after a certain number of data objects are processed.
    The application uses Weblogic 5.1 as the app. server on Solaris platform ,The
    JDK version used is a jdk 1.2.2_08 with service pack 8.
    Thje exception thrown is as follows:
    java.io.UTFDataFormatException
    at java.io.DataOutputStream.writeUTF(DataOutputStream.java, Compiled Code)
    at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java, Compiled
    Code)
    at java.io.ObjectOutputStream.outputString(ObjectOutputStream.java, Compiled
    Code)
    at java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(ObjectOutputStream.java,
    Compiled Code)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java, Compiled
    Code)
    at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java,
    Compiled Code)
    at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java,
    Compiled Code)
    at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java, Compiled
    Code)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java, Compiled
    Code)
    at weblogic.common.internal.WLObjectOutputStreamBase.writeObject(WLObjectOutputStreamBase.java:118)
    at weblogic.common.internal.WLObjectOutputStreamBase.writeSpecial(WLObjectOutputStreamBase.java,
    Compiled Code)
    at weblogic.common.internal.WLObjectOutputStreamBase.writeObject(WLObjectOutputStreamBase.java,
    Compiled Code)
    at weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(WLObjectOutputStreamBase.java,
    Compiled Code)
    at weblogic.rmi.extensions.AbstractOutputStream2.writeObject(AbstractOutputStream2.java,
    Compiled Code)
    at weblogic.rmi.extensions.AbstractOutputStream.writeObject(AbstractOutputStream.java,
    Compiled Code)
    at net.line.ov.etxatx.session.ImportEtxAtxSessionBeanEOImpl_WLStub.updateTasks(ImportEtxAtxSessionBeanEOImpl_WLStub.java:209)
    at net.line.ov.etxatx.session.ImportEtxAtxSessionBeanEOImpl_ServiceStub.updateTasks(ImportEtxAtxSessionBeanEOImpl_ServiceStub.java,
    Compiled C
    ode)
    at net.line.ov.beans.etxatx.client.ImportEtxAtxProcessor.startImportingEtxAtx(ImportEtxAtxProcessor.java,
    Compiled Code)
    at net.line.ov.util.MQPollingClient.onMessage(MQPollingClient.java:265)
    at com.ibm.mq.jms.MQQueueReceiver.receiveAsync(MQQueueReceiver.java, Compiled
    Code)
    at com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java, Compiled
    Code)
    --------------- nested within: ------------------
    weblogic.rmi.MarshalException: error marshalling arguments
    - with nested exception:
    [java.io.UTFDataFormatException]
    at net.line.ov.etxatx.session.ImportEtxAtxSessionBeanEOImpl_WLStub.updateTasks(ImportEtxAtxSessionBeanEOImpl_WLStub.java:214)
    at net.line.ov.etxatx.session.ImportEtxAtxSessionBeanEOImpl_ServiceStub.updateTasks(ImportEtxAtxSessionBeanEOImpl_ServiceStub.java,
    Compiled C
    ode)
    at net.line.ov.beans.etxatx.client.ImportEtxAtxProcessor.startImportingEtxAtx(ImportEtxAtxProcessor.java,
    Compiled Code)
    at net.line.ov.util.MQPollingClient.onMessage(MQPollingClient.java:265)
    at com.ibm.mq.jms.MQQueueReceiver.receiveAsync(MQQueueReceiver.java, Compiled
    Code)
    at com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java, Compiled
    Code)

    It is a little strange that java.io.DataOutputStream.writeUTF simply
    does
    if (utflen > 65535)
    throw new UTFDataFormatException();
    instead of
    if (utflen > 65535)
    throw new UTFDataFormatException("some meaningful message");
    Cameron Purdy <[email protected]> wrote:
    UTF data (String data) is limited to 64k. Find out where you have long
    strings and do custom serialization (externalizable).
    Peace,
    Cameron Purdy
    Tangosol Inc.
    << Tangosol Server: How Weblogic applications are customized >>
    << Download now from http://www.tangosol.com/download.jsp >>
    "Anna" <[email protected]> wrote in message
    news:[email protected]...
    Hi
    I have encountered an error marshalling arguments exception with somepiece of
    code. This happens while a call is made to the session bean method by theclient
    program ,( involves passing of two arguments one of which is aserializable data
    object, and the other being a string).
    This occurs only for very large volume of data processed by the client.These
    data objects are stored in a vector and passed to the session bean in afor loop.
    The error occurs randomly after a certain number of data objects areprocessed.
    The application uses Weblogic 5.1 as the app. server on Solaris platform,The
    JDK version used is a jdk 1.2.2_08 with service pack 8.
    Thje exception thrown is as follows:
    java.io.UTFDataFormatException
    at java.io.DataOutputStream.writeUTF(DataOutputStream.java,Compiled Code)
    at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java,Compiled
    Code)
    atjava.io.ObjectOutputStream.outputString(ObjectOutputStream.java, Compiled
    Code)
    atjava.io.ObjectOutputStream.checkSubstitutableSpecialClasses(ObjectOutputStre
    am.java,
    Compiled Code)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java,Compiled
    Code)
    atjava.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java,
    Compiled Code)
    atjava.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java,
    Compiled Code)
    atjava.io.ObjectOutputStream.outputObject(ObjectOutputStream.java, Compiled
    Code)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java,Compiled
    Code)
    atweblogic.common.internal.WLObjectOutputStreamBase.writeObject(WLObjectOutput
    StreamBase.java:118)
    atweblogic.common.internal.WLObjectOutputStreamBase.writeSpecial(WLObjectOutpu
    tStreamBase.java,
    Compiled Code)
    atweblogic.common.internal.WLObjectOutputStreamBase.writeObject(WLObjectOutput
    StreamBase.java,
    Compiled Code)
    atweblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(WLObjectOutp
    utStreamBase.java,
    Compiled Code)
    atweblogic.rmi.extensions.AbstractOutputStream2.writeObject(AbstractOutputStre
    am2.java,
    Compiled Code)
    atweblogic.rmi.extensions.AbstractOutputStream.writeObject(AbstractOutputStrea
    m.java,
    Compiled Code)
    atnet.line.ov.etxatx.session.ImportEtxAtxSessionBeanEOImpl_WLStub.updateTasks(
    ImportEtxAtxSessionBeanEOImpl_WLStub.java:209)
    atnet.line.ov.etxatx.session.ImportEtxAtxSessionBeanEOImpl_ServiceStub.updateT
    asks(ImportEtxAtxSessionBeanEOImpl_ServiceStub.java,
    Compiled C
    ode)
    atnet.line.ov.beans.etxatx.client.ImportEtxAtxProcessor.startImportingEtxAtx(I
    mportEtxAtxProcessor.java,
    Compiled Code)
    atnet.line.ov.util.MQPollingClient.onMessage(MQPollingClient.java:265)
    atcom.ibm.mq.jms.MQQueueReceiver.receiveAsync(MQQueueReceiver.java, Compiled
    Code)
    at com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java,Compiled
    Code)
    --------------- nested within: ------------------
    weblogic.rmi.MarshalException: error marshalling arguments
    - with nested exception:
    [java.io.UTFDataFormatException]
    atnet.line.ov.etxatx.session.ImportEtxAtxSessionBeanEOImpl_WLStub.updateTasks(
    ImportEtxAtxSessionBeanEOImpl_WLStub.java:214)
    atnet.line.ov.etxatx.session.ImportEtxAtxSessionBeanEOImpl_ServiceStub.updateT
    asks(ImportEtxAtxSessionBeanEOImpl_ServiceStub.java,
    Compiled C
    ode)
    atnet.line.ov.beans.etxatx.client.ImportEtxAtxProcessor.startImportingEtxAtx(I
    mportEtxAtxProcessor.java,
    Compiled Code)
    atnet.line.ov.util.MQPollingClient.onMessage(MQPollingClient.java:265)
    atcom.ibm.mq.jms.MQQueueReceiver.receiveAsync(MQQueueReceiver.java, Compiled
    Code)
    at com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java,Compiled
    Code)
    Dimitri

  • Org.omg.CORBA.MARSHAL exception For JMX Notification

    I am running Weblogic 9.2 java version 1.5.0_04 and I am tring to recieve JMX Notifications from a Custom MBean running in Weblogic but I keep recieving the following exception:
    Jan 5, 2007 12:55:25 PM ClientNotifForwarder NotifFetcher-run
    SEVERE: Failed to fetch notification, stopping thread. Error is: java.rmi.MarshalException: CORBA MARSHAL 0 Maybe; nested exception is:
         org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: Maybe
    java.rmi.MarshalException: CORBA MARSHAL 0 Maybe; nested exception is:
         org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: Maybe
         at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:197)
         at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
         at org.omg.stub.javax.management.remote.rmi._RMIConnection_Stub.fetchNotifications(Unknown Source)
         at javax.management.remote.rmi.RMIConnector$RMINotifClient.fetchNotifs(RMIConnector.java:1285)
         at com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.fetchNotifs(ClientNotifForwarder.java:508)
         at com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.run(ClientNotifForwarder.java:399)
         at com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor$1.run(ClientNotifForwarder.java:83)
    Caused by: org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: Maybe
    I received this first by trying JConsole that comes with JDK 1.5. This only occurs with JMX Notifications because I am able to execute the MBean operation of the MBean and I can see my custome MBean being executed in WebLogic but my custom mbean sends out a JMX Notifications and that causes
    the above exception.
    I wrote my own NotificationListener program to make sure that it is not a JConsole problem and I got the same problem. I tried using t3 and rmi protocol to see if one of them would work but neither worked. See the code below for the Notification Listener:
              // String protocol = "t3";
              //String jndiroot = "/jndi/";
              String protocol = "rmi";
              String jndiroot = new String("/jndi/iiop://" + hostName + ":" + port + "/");
              String myserver = "weblogic.management.mbeanservers.domainruntime";
              JMXServiceURL serviceURL = null;
              try {
                   serviceURL = new JMXServiceURL(protocol, hostName, port, jndiroot + myserver);
              } catch (MalformedURLException e1) {
                   logger.debug("malformedURLexception caught");
                   e1.printStackTrace();
              Hashtable h = new Hashtable();
              h.put(Context.SECURITY_PRINCIPAL, userName);
              h.put(Context.SECURITY_CREDENTIALS, password);
              // h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "weblogic.management.remote");
              try {
                   connector = JMXConnectorFactory.connect(serviceURL, h);
                   connection = connector.getMBeanServerConnection();
              } catch (IOException e1) {
                   e1.printStackTrace();
              logger.debug("The connection is : " + connection.toString());
              ObjectName mbeanName = null;
              try {
                   mbeanName = new ObjectName("Mbean:Name=com.test.bean,Type=TestMBean,Location=AdminServer");
                   logger.debug("Created MBeanObjectName: " + mbeanName.toString());
              } catch (MalformedObjectNameException e) {
                   e.printStackTrace();
              } catch (NullPointerException e) {
                   e.printStackTrace();
              try {
                   logger.debug("The mbean is registered " + connection.isRegistered(mbeanName));
              } catch (IOException e1) {
                   e1.printStackTrace();
              try {
                   connection.addNotificationListener(mbeanName, this,null, null);
                   logger.debug("the connection is added a listener : " + connection.isInstanceOf(mbeanName, "com.test.bean.MBean"));
                   logger.debug("Listener registered ...");
                   //Keeping the remote client active.
                   System.out.println("waiting for notifications, got to log file for details....");
                   System.in.read();
              } catch (InstanceNotFoundException e) {
                   e.printStackTrace();
              } catch (IOException e) {
                   e.printStackTrace();
              public void handleNotification(Notification n, Object arg1) {
                   logger.debug("******************************************");
                   logger.debug("* Notification count : " + counter++ + ", Notification received at "
                             + new Date().toString());
                   logger.debug("* type = " + n.getType());
                   logger.debug("* message = " + n.getMessage());
                   logger.debug("* source = " + n.getSource());
                   logger.debug("* seqNum = "
                             + Long.toString(n.getSequenceNumber()));
                   logger.debug("* timeStamp = " + new Date(n.getTimeStamp()));
                   logger.debug("* userData = " + n.getUserData());
                   logger.debug("*******************************************");
    I commented out the t3 protocol but it doesn't work for both protocol types. I implemented a Notification Listener within WebLogic and that
    worked right away using the following code below:
         InitialContext ctx = new InitialContext();
    rmbs = (MBeanServer) ctx.lookup("java:comp/env/jmx/runtime");
    As the document "Developing Custom Management Utilities with JMX" on page 4-7 "Make Local Connections to the Runtime MBean Server" described.
    Has anyone seem the above exception "Failed to fetch notification, stopping thread. Error is: java.rmi.MarshalException: CORBA MARSHAL 0" when a client is trying to receive JMX Notification? All help would be greatly appreciated.
    Thanks,
    Ajay

    Hi ajay,
    How did u manage to access the mbeanserver in BEA ? Can u pls brief on that. Even I am trying the same. But, the MBEANSERVEROBJECT i create, eventhough has NO NULL value, is not able to acces the mbean. Any method access through this object creates an EXCEPTION. Please help me too. I will try solving ur problem too.:-)
    Also, do i need to put my MBEAN CLASS in the weblogic server ? Should i create an APP SERVER in BEA ?
    I appreciate ur early response, dude..

  • Marshall exception when calling a remote business method in EJB

    Hi,
    From a java client, i am calling a business method from a ejb. the home and remote interface object is sucessfully received at the client. but at the time of calling the remote business method the following error occurs.
    java.rmi.RemoteException: ; nested exception is:
    weblogic.rmi.ServerException: A remote exception occurred while executing the method on the
    remote object
    - with nested exception:
    [weblogic.rmi.MarshalException: error marshalling return
    - with nested exception:
    [java.io.NotSerializableException: java.util.Vector$1]]
    java.io.NotSerializableException: java.util.Vector$1
    the business method returns an enumeration object.
    How to solve this?
    -chidam

    hi chidambaresh,
    you could have sent this to me directly.
    the Enumeration si an interface and so the object we get during the runtime is basically an object of some implementation of this interface.
    the Enumeration you get from HAshtable is actually Serializable.
    but the Enumeration you actually get from Vector (this is actaully an inner class of Vector viz., Vector$1) is not serializable. that is what the error you are getting.
    regards
    Srinivasan.R
    (VAMSOFT)

  • Marshaling Exception

    Hi ,i am getting the fallowing exception when i invoke an EJB Running on WebLogic9.2 from Sun One Web Server6.2 .
    and i put the wlclient.jar and weblogic.jar in the WEB-INF/LIB folder of my Aplication.
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: java.rmi.MarshalException: CORBA MARSHAL 0 Maybe; nested exception is:
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: Maybe
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at com.sun.corba.se.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:100)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at com.sp.creditmodel.session._ScoringSession_Stub.authenticate(Unknown Source)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at com.sp.creditmodel.delegate.ScoringDelegate.authenticate(Unknown Source)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at com.sp.creditmodel.action.LoginAction.execute(Unknown Source)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:413)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:225)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:293)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:289)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    [10/Mar/2007:21:07:12] failure ( 1960): for host 192.168.24.140 trying to POST /cm/login.do;jsessionid=C16157A7B6042210C4678A72EE091CC9, service-j2ee reports: ApplicationDispatcher[cm] WEB2649: Servlet.service() for servlet jsp threw exception
    java.security.AccessControlException: access denied (java.security.SecurityPermission getHttpRequestBase)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
    at java.security.AccessController.checkPermission(AccessController.java:401)
    at org.apache.catalina.connector.HttpRequestFacade.getHttpRequestBase(HttpRequestFacade.java:257)
    at org.apache.catalina.core.ApplicationDispatcher.getRequestBase(ApplicationDispatcher.java:1115)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:759)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471)
    at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:123)
    at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:138)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:374)
    at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)
    at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:292)
    at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:268)
    at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:329)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:293)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:289)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:579)
    [10/Mar/2007:21:07:12] failure ( 1960): for host 192.168.24.140 trying to POST /cm/login.do;jsessionid=C16157A7B6042210C4678A72EE091CC9, service-j2ee reports: StandardWrapperValve[action]: WEB2792: Servlet.service() for servlet action threw exception
    java.security.AccessControlException: access denied (java.security.SecurityPermission getHttpRequestBase)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
    at java.security.AccessController.checkPermission(AccessController.java:401)
    at org.apache.catalina.connector.HttpRequestFacade.getHttpRequestBase(HttpRequestFacade.java:257)
    at org.apache.catalina.core.ApplicationDispatcher.getRequestBase(ApplicationDispatcher.java:1115)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:759)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471)
    at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:123)
    at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:138)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:374)
    at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)
    at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:292)
    at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:268)
    at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:329)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:293)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:289)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:579)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.service(WebContainer.java:579)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: Caused by: org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: Maybe
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at java.lang.Class.newInstance0(Class.java:308)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at java.lang.Class.newInstance(Class.java:261)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at com.sun.corba.se.internal.iiop.messages.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:90)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:105)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:314)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
    [10/Mar/2007:21:07:12] warning ( 1960): CORE3283: stderr: ... 21 more

    Have you made any changes to the Java Security Manager permissions in your web server instance's config/server.policy file?
    Until we identify what the problem is, you could temporarily disable the Java Security Manager (by commenting out the appropriate lines in your config/server.xml file)
    e.g.
    <!--
    <JVMOPTIONS>-Djava.security.manager</JVMOPTIONS> 
    <JVMOPTIONS>-Djava.security.policy=/path/https-foo/config/server.policy</JVMOPTIONS>
    -->

  • Marshal Exception while sending BigDecimal(0.00)

    Hello..
    I have a bunch of attributes in my class A which is ofcourse Serializable. One of my field is of type BigDecimal, which is causing a MarshallException when the value in the BigDecimal is 0.00.
    If I replace the call with objA.setBigDecimalValue(null) it works!!! Any inputs?
    I am using WSAD.
    thanks,
    sanjay.

    hello pradeep,
    thanks for your reply....
    answers to your questions
    =====================
    Did you face this exception with value 0.00 only or with other value too ?only with 0.00
    How the BigDecimal is being initialized, using constant inside BigDecimal >>class or using Constructor ? I am using it as returnValue.setValue(new BigDecimal(0.00));
    so I guess the answer is using constructor
    sanjay.

  • Odd marshalling problems with EJB 3.0 stateless session bean

    Hello,
    I began encountering marshalling exceptions when invoking methods on a previously functionining facade bean. The problem seems to be almost arbitrary, in that certain packages receive marshalling exceptions, while others do not (my main client started failing, but then I realized that a simple test class was still working, along with oddly JSFs that invoke that main client, which fails outside of that scope). Is there some config issue with stateless session beans (in 3.0) that I might be missing? There are no duplicate versions of these class; they have not been modified; they've been compiled with the current IDE. Any help would be appreciated. Thanks.
    full stack trace:
    com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException
         at __Proxy1.findAllViewRight(Unknown Source)
         at com.jwt.gui.menus.beans.ViewRightBean.<init>(ViewRightBean.java:34)
         at com.jwt.gui.menus.beans.ViewRightBean.main(ViewRightBean.java:63)
    oracle.oc4j.rmi.OracleRemoteException: Invocation error: java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: com.jwt.gui.menus.persistence.ViewRight; local class incompatible: stream classdesc serialVersionUID = 2365320765203750319, local class serialVersionUID = -8750611773395720631
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:142)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:472)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:416)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
         at __Proxy1.findAllViewRight(Unknown Source)
         at com.jwt.gui.menus.beans.ViewRightBean.<init>(ViewRightBean.java:34)
         at com.jwt.gui.menus.beans.ViewRightBean.main(ViewRightBean.java:63)
         Nested exception is:
    java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: com.jwt.gui.menus.persistence.ViewRight; local class incompatible: stream classdesc serialVersionUID = 2365320765203750319, local class serialVersionUID = -8750611773395720631
         at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:128)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:472)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:416)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
         at __Proxy1.findAllViewRight(Unknown Source)
         at com.jwt.gui.menus.beans.ViewRightBean.<init>(ViewRightBean.java:34)
         at com.jwt.gui.menus.beans.ViewRightBean.main(ViewRightBean.java:63)
    oracle.oc4j.rmi.OracleRemoteException: Invocation error: java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: com.jwt.gui.menus.persistence.ViewRight; local class incompatible: stream classdesc serialVersionUID = 2365320765203750319, local class serialVersionUID = -8750611773395720631
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:142)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:472)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:416)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
         at __Proxy1.findAllViewRight(Unknown Source)
         at com.jwt.gui.menus.beans.ViewRightBean.<init>(ViewRightBean.java:34)
         at com.jwt.gui.menus.beans.ViewRightBean.main(ViewRightBean.java:63)
         Nested exception is:
    java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: com.jwt.gui.menus.persistence.ViewRight; local class incompatible: stream classdesc serialVersionUID = 2365320765203750319, local class serialVersionUID = -8750611773395720631
         at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:128)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:472)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:416)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
         at __Proxy1.findAllViewRight(Unknown Source)
         at com.jwt.gui.menus.beans.ViewRightBean.<init>(ViewRightBean.java:34)
         at com.jwt.gui.menus.beans.ViewRightBean.main(ViewRightBean.java:63)

    Hello,
    I began encountering marshalling exceptions when invoking methods on a previously functionining facade bean. The problem seems to be almost arbitrary, in that certain packages receive marshalling exceptions, while others do not (my main client started failing, but then I realized that a simple test class was still working, along with oddly JSFs that invoke that main client, which fails outside of that scope). Is there some config issue with stateless session beans (in 3.0) that I might be missing? There are no duplicate versions of these class; they have not been modified; they've been compiled with the current IDE. Any help would be appreciated. Thanks.
    full stack trace:
    com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException
         at __Proxy1.findAllViewRight(Unknown Source)
         at com.jwt.gui.menus.beans.ViewRightBean.<init>(ViewRightBean.java:34)
         at com.jwt.gui.menus.beans.ViewRightBean.main(ViewRightBean.java:63)
    oracle.oc4j.rmi.OracleRemoteException: Invocation error: java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: com.jwt.gui.menus.persistence.ViewRight; local class incompatible: stream classdesc serialVersionUID = 2365320765203750319, local class serialVersionUID = -8750611773395720631
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:142)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:472)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:416)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
         at __Proxy1.findAllViewRight(Unknown Source)
         at com.jwt.gui.menus.beans.ViewRightBean.<init>(ViewRightBean.java:34)
         at com.jwt.gui.menus.beans.ViewRightBean.main(ViewRightBean.java:63)
         Nested exception is:
    java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: com.jwt.gui.menus.persistence.ViewRight; local class incompatible: stream classdesc serialVersionUID = 2365320765203750319, local class serialVersionUID = -8750611773395720631
         at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:128)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:472)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:416)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
         at __Proxy1.findAllViewRight(Unknown Source)
         at com.jwt.gui.menus.beans.ViewRightBean.<init>(ViewRightBean.java:34)
         at com.jwt.gui.menus.beans.ViewRightBean.main(ViewRightBean.java:63)
    oracle.oc4j.rmi.OracleRemoteException: Invocation error: java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: com.jwt.gui.menus.persistence.ViewRight; local class incompatible: stream classdesc serialVersionUID = 2365320765203750319, local class serialVersionUID = -8750611773395720631
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:142)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:472)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:416)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
         at __Proxy1.findAllViewRight(Unknown Source)
         at com.jwt.gui.menus.beans.ViewRightBean.<init>(ViewRightBean.java:34)
         at com.jwt.gui.menus.beans.ViewRightBean.main(ViewRightBean.java:63)
         Nested exception is:
    java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: com.jwt.gui.menus.persistence.ViewRight; local class incompatible: stream classdesc serialVersionUID = 2365320765203750319, local class serialVersionUID = -8750611773395720631
         at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:128)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:472)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:416)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
         at __Proxy1.findAllViewRight(Unknown Source)
         at com.jwt.gui.menus.beans.ViewRightBean.<init>(ViewRightBean.java:34)
         at com.jwt.gui.menus.beans.ViewRightBean.main(ViewRightBean.java:63)

  • Exception while looking up ConnectionFactory in jms

    hi all
    i have been trying to implement a simple jms program. am able to compile it. but while running it is throwing up an exception. am including the stack trace. please help
    thanx in advance.
    stack trace
    Queue name is MyQueue
    jndicontext created
    looking up MyConnectionFactory
    Feb 16, 2007 8:14:20 PM com.sun.corba.ee.spi.logging.LogWrapperBase doLog
    INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/2287"
    Feb 16, 2007 8:14:21 PM com.sun.corba.ee.impl.encoding.CDRInputStream_1_0 read_value
    WARNING: "IOP00810211: (MARSHAL) Exception from readValue on ValueHandler in CDRInputStream"
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.valuehandlerReadException(ORBUtilSystemException.java:6845)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1045)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:879)
         at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:255)
         at com.sun.corba.ee.impl.corba.TCUtility.unmarshalIn(TCUtility.java:269)
         at com.sun.corba.ee.impl.corba.AnyImpl.read_value(AnyImpl.java:559)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_any(CDRInputStream_1_0.java:739)
         at com.sun.corba.ee.impl.encoding.CDRInputStream.read_any(CDRInputStream.java:226)
         at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.readAny(Util.java:422)
         at javax.rmi.CORBA.Util.readAny(Util.java:92)
         at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$10.read(DynamicMethodMarshallerImpl.java:251)
         at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readResult(DynamicMethodMarshallerImpl.java:424)
         at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:133)
         at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)
         at com.sun.enterprise.naming._SerialContextProvider_DynamicStub.lookup(_SerialContextProvider_DynamicStub.java)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:62)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at JmsSender.main(JmsSender.java:103)
    Caused by: java.io.IOException: Mismatched serialization UIDs : Source (Rep. IDRMI:com.sun.enterprise.deployment.ConnectorDescriptor:3766355A7E731D05:1C886CB59213196B) = 1C886CB59213196B whereas Target (Rep. ID RMI:com.sun.enterprise.deployment.ConnectorDescriptor:F4819DFF363CE47D:B379ED3E9C5AAF20) = B379ED3E9C5AAF20
         at com.sun.corba.ee.impl.util.RepositoryId.useFullValueDescription(RepositoryId.java:576)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.useFullValueDescription(ValueHandlerImpl.java:391)
         at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:397)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:330)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:296)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034)
         ... 20 more
    Feb 16, 2007 8:14:21 PM com.sun.enterprise.naming.SerialContext lookup
    SEVERE: NAM0004: Exception during name lookup : {0}
    java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception is:
         org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
         at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:197)
         at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
         at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:142)
         at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)
         at com.sun.enterprise.naming._SerialContextProvider_DynamicStub.lookup(_SerialContextProvider_DynamicStub.java)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:62)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at JmsSender.main(JmsSender.java:103)
    Caused by: org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.valuehandlerReadException(ORBUtilSystemException.java:6845)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1045)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:879)
         at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:255)
         at com.sun.corba.ee.impl.corba.TCUtility.unmarshalIn(TCUtility.java:269)
         at com.sun.corba.ee.impl.corba.AnyImpl.read_value(AnyImpl.java:559)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_any(CDRInputStream_1_0.java:739)
         at com.sun.corba.ee.impl.encoding.CDRInputStream.read_any(CDRInputStream.java:226)
         at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.readAny(Util.java:422)
         at javax.rmi.CORBA.Util.readAny(Util.java:92)
         at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$10.read(DynamicMethodMarshallerImpl.java:251)
         at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readResult(DynamicMethodMarshallerImpl.java:424)
         at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:133)
         ... 9 more
    Caused by: java.io.IOException: Mismatched serialization UIDs : Source (Rep. IDRMI:com.sun.enterprise.deployment.ConnectorDescriptor:3766355A7E731D05:1C886CB59213196B) = 1C886CB59213196B whereas Target (Rep. ID RMI:com.sun.enterprise.deployment.ConnectorDescriptor:F4819DFF363CE47D:B379ED3E9C5AAF20) = B379ED3E9C5AAF20
         at com.sun.corba.ee.impl.util.RepositoryId.useFullValueDescription(RepositoryId.java:576)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.useFullValueDescription(ValueHandlerImpl.java:391)
         at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:397)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:330)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:296)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034)
         ... 20 more
    Feb 16, 2007 8:14:21 PM com.sun.enterprise.naming.SerialContext lookup
    SEVERE: NAM0004: Exception during name lookup : {0}
    com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to look up ConnectorDescriptor from JNDI
         at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:68)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at JmsSender.main(JmsSender.java:103)
    JNDI API lookup failed: javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to look up ConnectorDescriptor from JNDI]

    hey also jms ping fails in admin console..could this be the problem..how do i set it right...thanx for ur time..

  • Java.rmi.MarshalException: CORBA MARSHAL

    I am getting the following exception when server is sending response back to client:
    Caused by: java.lang.reflect.InvocationTargetException
         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 com.octagonresearch.viewpoint.client.proxy.weblogic.ClientProxyEjb.invoke(ClientProxyEjb.java:97)
         ... 13 more
    Caused by: java.rmi.MarshalException: CORBA MARSHAL 0 Maybe; nested exception is:
         org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: Maybe
         at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:197)
         at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
         at com.octagonresearch.viewpoint.server.biztier.ws._SessionControllerWSRemote_Stub.invoke(Unknown Source)
         ... 18 more
    Caused by: org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: Maybe
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:897)
         at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:572)
         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:432)
         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:326)
         at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
         at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
    Any idea how to get rid of this problem. Thank you.

    Hi,
    I am not very sure whether it will work but I have read somewhere that this exception occurs if the Remote Object size is more than the Java stack size at the client side which is by default 256 Kb. So. it might be possible that if the Stub size exceeds, then Client is not able to load the Stubs and hence the Marshal Exception is coming.
    I think increasing the Java stack size of the Web\ EJB containers might resolve the issue.

  • It doesn�t work lazy loading with remote client (toplink)

    I am trying to use lazy loading in a @ManyToOne field but I get an exception. I have been reading in some oracle tutorials that it's necesary use -javaagent:.../lib/toplink-essentials-agent.jar for that it works because this argument activate dynamic weaving in JavaSE. I have put this command line argument javaagent but it doesn't work. Why? Can I have to do another thing? I have done a lot of tests in base to comments read in another forums but I only obtains an exception.
    Caused by: java.io.IOException: Mismatched serialization UIDs
    NOTE: The server use toplink and the remote client query the entitties through a session bean of the server. Besides, I am using Glassfish (Sun application server and toplink).
    Thanks in advance.
    hayken

    At first, thank you for your reply.
    I know that I haven´t explained the problem too well. I have a stateless bean with one remote method that execute a query an returns an entity like this
    @Entity
    public class ModuloEntity extends Serializable
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long idModulo;
    private String nombre;
    @ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="IdProyecto")
    private ProyectoEntity proyecto;
    The remote client invoke this method and in that moment I get this exception.
    21-may-2007 18:55:48 com.sun.corba.ee.impl.encoding.CDRInputStream_1_0 read_value
    ADVERTENCIA: "IOP00810211: (MARSHAL) Exception from readValue on ValueHandler in CDRInputStream"
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.valuehandlerReadException(ORBUtilSystemException.java:7053)
    Caused by: java.io.IOException: Mismatched serialization UIDs : Source (Rep. IDRMI:com.syskonic.gesplan.entities.ModuloEntity:6D06A8C14D488FFF:8E6FC8687EA9E512) = 8E6FC8687EA9E512 whereas Target (Rep. ID RMI:com.syskonic.gesplan.entities.ModuloEntity:1C6925798CDFD3DF:3455DBF4457AE337) = 3455DBF4457AE337
    at com.sun.corba.ee.impl.util.RepositoryId.useFullValueDescription(RepositoryId.java:573)
    If I look the server log, I can see that the call has not been produced, it doesn´t show any exception. It looks that the object managed by the server and the remote client aren´t the same and the corba service doesn´t work when remote client call session method. If I change the ModuloEntity and remove the fetch attribute then all this process executes correctly. The problem is in this attribute.
    NOTE: I am using the javaagent command line argument.
    Hayken

Maybe you are looking for

  • Will iOS 7 be able to have gifs as backround pictures?

    I thought that i had saw this in a recent topic discussion on a different website but i wasn't quite sure. I Would be very happy if we were able to save gifs to our gallery and have them set as our backround on our ipods and iphones.

  • My mac is running very slow.  what can i do to find out what's wrong?

    Hi! My mac is running very slow!  What can I do to check what's wrong?

  • CRM Scripting

    Hi experts I am working on CRM scripting. I have got couple of questions, can some one please clarify me: 1) Is CRM scripts will store the results of the questions asked ? If not how can we store the results of the questions? 2) Is there any version

  • Cannot Access Workspace

    I am the admin on the workspace and had added a few users to the work spaces. Their name appears in the "Manage Group" list but their name does not appear in the BOLAdmin group list. Not sure what the issue is. Also a few other external users are get

  • Rapair Disk Needed Constantly - Please help

    Hi, Every month I verify disk and repair the permissions but for the last 6 months every time i have done this it has said my disk is corrupt and I need to repair it form the installation disk. The message Disk Utility shows me is: "Performing Live V