Client exception

I get this run time error when I try to invoke create method in container managed Entity Bean. This error acured only when I unmark the options: create table on deploy and delete table on undeploy at the deploytool. is any one can help me.
org.omg.CORBA.UNKNOWN: vmcid: 0x0 minor code: 0 completed: Maybe
     at com.sun.corba.ee.internal.core.UEInfoServiceContext.<init>(UEInfoServiceContext.java:36)
     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:274)
     at com.sun.corba.ee.internal.core.ServiceContextData.makeServiceContext(ServiceContextData.java:115)
     at com.sun.corba.ee.internal.core.ServiceContexts.<init>(ServiceContexts.java:110)
     at com.sun.corba.ee.internal.iiop.messages.ReplyMessage_1_2.read(ReplyMessage_1_2.java:120)
     at com.sun.corba.ee.internal.iiop.IIOPInputStream.unmarshalHeader(IIOPInputStream.java:126)
     at com.sun.corba.ee.internal.iiop.IIOPConnection.getResponse(IIOPConnection.java:671)
     at com.sun.corba.ee.internal.iiop.IIOPOutputStream.invoke(IIOPOutputStream.java:124)
     at com.sun.corba.ee.internal.iiop.ClientRequestImpl.invoke(ClientRequestImpl.java:79)
     at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:232)
     at com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOAClientSC.java:96)
     at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
     at CustomerHomeStub.create(Unknown Source)
     at Client.main(Client.java:31)
Exception in thread "main" Process terminated with exit code 1

Hi,
I met the exact problem...
Did you find out the why it would happen?
Thx a lot!
Cheers,
Annie

Similar Messages

  • HTTP-Client: exception during receive: HTTP_COMMUNICATION_FAILURE

    Hi,
    I am getting the following error in XI 3.0 SP12.
    This error is occured in the Call Adapter step.
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
      <SAP:P1>108</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when receiving by HTTP (error code: 108, error text: )</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    and in the trace of that messages the error is as follows:
    System_Error  HTTP-Client: exception during receive: HTTP_COMMUNICATION_FAILURE
    The scenario is a BPM in which calling a BAPI using RFC adapter Synchronously and after getting the response from BAPI generating a file for that response data.
    I think message is failing in receiving response from BAPI.
    Kindly reply me back ASAP.
    Thanks
    Gopesh

    Hi,
    Can you check SICF services are active or not. in Transaction SICF.
    Also Check the HTTP ports (using transaction SMICM –choose Services),
    Check RFC adapter Configuration, Gateway, etc
    Regards,
    moorthy

  • Cannot create HTTP client Exception in Http -- XI -- RFC scenario

    Hi,
    We are testing Http --> XI --> RFC scenario
    While testing this scenario from RWB we are getting following error message in the SXMB_MONI logs:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_CREATE_FAILED</SAP:Code>
      <SAP:P1>1</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Cannot create HTTP client (exception 1)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Following is the info from the Trace:
      <Trace level="1" type="System_Error">cl_http_client exc = argument_not_found</Trace>
    We have tried following things:
    1. In SICF we made sure the /default_host/sap/xi/adapter_plain is active
    2. Applied SAP Note: 716739
    Any response will be greatly appreciated.
    Thanks,
    Paresh

    Hi UDO,
    Thanks for your reply. The error was gone when I tested again this morning. I am guessing it must be the SAP Note 716739 that we applied and might not have refreshed the cache.
    I am still intereseted in confirming what exacly fixed this issue.
    As per your suggestion, I looked at the left Nav bar and the error was at the "Call Adapter" step. Even in the log message it says the same. The reciever/interface determination and mapping were successfull. I could successfully test the scenario in the integration directory.
    Here is what the 716739 Note said:
    Symptom
    If you call the Integration Server from a sending Integration Engine (proxy), the following error message occurs:
    Category = XIServer
    Area = INTERNAL
    Id = CLIENT_CREATE_FAILED.
    In transaction SXMB_ADM, you used the Configure Integration Engine function to enter a URL of the type http://<host>:<port>/sap/xi/engine?type=entry instead of a URL of the type dest://<name>.
    Other terms
    SICF, SXMB_MONI, SXMB_ADM, XI
    Reason and Prerequisites
    You have configured the communication route from the sending proxy (Integration Engine) to the Integration Server using the URL of the type
    http://<host>:<port>/sap/xi/engine?type=entry and have saved the logon data on the Integration Server in the Service
    /sap/xi/engine (transaction SICF).
    A program error has occurred: the communication log is not correctly set when the HTTP client is set up.
    Solution
    The problem is eliminated with SAP_BASIS Support Package 2. To eliminate the problem, you can use an URL of the type dest://<name>, where <name>  refers to the name of a HTTP destination that you have maintained with transaction SM59.
    Now, I was not using the proxies but Http post to XI. Do you guys also think this might have fixed my issue?
    Thanks,
    Paresh

  • Webservices client exception

    Our application has servlets talking to webservices. To communicate we place webservices client in WEB-INF directory in war files. The problem we are facing is that when we try to access one of our webservices , It throws following exception
    java.lang.VerifyError: Cannot inherit from final class
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLo
    ader.java:476)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.
    java:181)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClas
    sLoader.java:62)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.
    java:223)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClas
    sLoader.java:41)
    at weblogic.xml.schema.binding.ClassLoadingUtils.loadNonArrayClass(ClassLoading
    Utils.java:68)
    at weblogic.xml.schema.binding.ClassLoadingUtils.loadClass(ClassLoadingUtils.ja
    va:43)
    at weblogic.xml.schema.binding.internal.TypeMappingBase.loadClass(TypeMappingBa
    se.java:627)
    at weblogic.xml.schema.binding.internal.TypeMappingBase.newInstance(TypeMapping
    Base.java:611)
    at weblogic.xml.schema.binding.internal.TypeMappingBase.addTypeMapping(TypeMapp
    ingBase.java:587)
    at weblogic.xml.schema.binding.internal.TypeMappingBase.readXML(TypeMappingBase
    .java:771)
    at weblogic.xml.schema.binding.internal.TypeMappingBase.readXML(TypeMappingBase
    .java:550)
    at weblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegistry.jav
    a:73)
    at weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:78)
    at com.telverse.soap.admin.user.provisioning.process.Provisioning_Impl.<init>(Provisioning_Impl.java:22)
    at com.telverse.manager.ProvisioningManager.findFaceplateButtonsByUID(Provision
    ingManager.java:109)
    at com.telverse.actions.PhoneAction.displayPage(PhoneAction.java:434)
    The code which tries to access is as following:
    1. Provisioning_Impl prov = new Provisioning_Impl(url+"/provisioning/provisioning?WSDL");
    2. ProvisioningPort provPort = prov.getprovisioningPort();
    3. provPort.CALLFUNCTION();
    The above exception is thrown at Line no1.
    Does anybody know the solution of this error?

    I am not sure what is causing this error. Are you able to run this client outside the web app as a standalone client?
    http://manojc.com

  • Dynamic Client Exception - Need help

    Hi,
    Need help.......
    I am getting following exception, when I run
    my dynamic client.
    Attached below is my code as well as WSDL.
    Thanks in advance..
    Regards
    -Shakeel
    [java] javax.xml.rpc.JAXRPCException: failed to invoke operation 'Print' du
    e to an error in the soap layer (SAAJ); nested exception is: Message[ failed to
    serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.Serial
    izationException: mapping lookup failure. class=interface javax.xml.soap.SOAPEle
    ment class context=TypedClassContext{schemaType=['http://learn.technologies.com/
    WS']:PrintRequest}]StackTrace[
    [java] javax.xml.soap.SOAPException: failed to serialize interface javax.x
    ml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping l
    ookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedCla
    ssContext{schemaType=['http://learn.technologies.com/WS']:PrintRequest}
    [java] at weblogic.webservice.core.DefaultPart.invokeSerializer(Default
    Part.java:328)
    CODE
    // Setup the global SAAJ message factory
    System.setProperty("javax.xml.soap.MessageFactory", "weblogic.webservice.core.soap.MessageFactoryImpl");
    // Setup the global JAX-RPC service factory
    System.setProperty( "javax.xml.rpc.ServiceFactory", "weblogic.webservice.core.rpc.ServiceFactoryImpl");
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
    // define qnames
    String targetNamespace = "http://learn.technologies.com/WS";
    QName serviceName = new QName(targetNamespace, "PersonalDataService");
    QName portName = new QName(targetNamespace, "PersonalDataInterface");
    QName operationName = new QName(targetNamespace, "Print");
    URL wsdlLocation = new URL("http://localhost:7001/simpleexample/PersonalDataInterface?WSDL");
    // create service
    Service service = serviceFactory.createService(wsdlLocation, serviceName);
    // create call
    Call call = service.createCall(portName, operationName);
    WSDL
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://learn.technologies.com/WS"
    targetNamespace="http://learn.technologies.com/WS">
    <types>
    <schema targetNamespace="http://learn.technologies.com/WS"
    xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    <element name="PrintRequest">
    <complexType>
    <sequence>
    <element name="firstName" type="string"/>
    <element name="age" type="int"/>
    <element name="salary" type="double"/>
    </sequence>
    </complexType>
    </element>
    <element name="PrintResponse">
    <complexType>
    <sequence/>
    </complexType>
    </element>
    <element name="QueryRequest">
    <complexType>
    <sequence>
    <element name="id" type="double"/>
    </sequence>
    </complexType>
    </element>
    <element name="QueryResponse">
    <complexType>
    <sequence>
    <element name="return" type="tns:ArrayOfPersonalData"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="PersonalData">
              <sequence>
              <element name="name" type="string"/>
              <element name="age" type="int"/>
              <element name="salary" type="double"/>
              </sequence>
    </complexType>
    <complexType name="ArrayOfPersonalData">
              <sequence>
              <element maxOccurs="unbounded" minOccurs="0" name="Item" type="tns:PersonalData"/>
              </sequence>
    </complexType>
    </schema>
    </types>
         <message name="PrintRequestMessage">
         <part name="PrintRequest" element="tns:PrintRequest"/>
         </message>
         <message name="PrintResponseMessage">
         <part name="PrintResponse" element="tns:PrintResponse"/>
         </message>
         <message name="QueryRequestMessage">
         <part name="QueryRequest" element="tns:QueryRequest"/>
         </message>
         <message name="QueryResponseMessage">
         <part name="QueryResponse" element="tns:QueryResponse"/>
         </message>
         <portType name="PersonalDataInterface">
              <operation name="Print">
                   <input name="PrintRequestMessage" message="tns:PrintRequestMessage"/>
              <output name="PrintResponseMessage" message="tns:PrintResponseMessage"/>
              </operation>
              <operation name="Query">
                   <input name="QueryRequestMessage" message="tns:QueryRequestMessage"/>
                   <output name="QueryResponseMessage" message="tns:QueryResponseMessage"/>
              </operation>
         </portType>
         <binding name="PersonalDataIntfBinding" type="tns:PersonalDataInterface">
         <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
         <operation name="Print">
              <soap:operation/>
              <input> <soap:body use="literal"/> </input>
              <output> <soap:body use="literal"/> </output>
         </operation>
         <operation name="Query">
              <soap:operation/>
              <input> <soap:body use="literal"/> </input>
              <output> <soap:body use="literal"/> </output>
         </operation>
         </binding>
         <service name="PersonalDataService">
         <port name="PersonalDataInterface" binding="tns:PersonalDataIntfBinding">
              <soap:address location="http://localhost:7001/simpleexample/PersonalDataInterface"/>
         </port>
         </service>
    </definitions>

    Exception is coming on following line (forgot
    to paste in first post)
         Object result = call.invoke(new Object[] { "Shakeel", new Integer (30), new Double(2000) });

  • JCAPS webservice client exception

    Hi,
    I have a project in JCAPS which uses an external web service. The web service returns the following object:
    <xsd:complexType name="Parameter">
         <xsd:sequence>
              <xsd:element name="codigo1" nillable="true" type="xsd:string"/>
              <xsd:element name="codigo2" nillable="true" type="xsd:string"/>
              <xsd:element name="codigoParametro" nillable="true" type="xsd:string"/>
              <xsd:element name="data1" nillable="true" type="xsd:dateTime"/>
              <xsd:element name="data2" nillable="true" type="xsd:dateTime"/>
              <xsd:element name="dataInicioAplicacao" nillable="true" type="xsd:dateTime"/>
              <xsd:element name="designacao" nillable="true" type="xsd:string"/>
              <xsd:element name="numerico1" nillable="true" type="xsd:float"/>
              <xsd:element name="numerico2" nillable="true" type="xsd:float"/>
              <xsd:element name="texto" nillable="true" type="xsd:string"/>
              <xsd:element name="tipo" nillable="true" type="xsd:string"/>
         </xsd:sequence>
    </xsd:complexType>When I use the web service client in JCAPS, the object returned is:
            <result>
                <codigo1 xsi:nil="1"/>
                <codigo2 xsi:nil="1"/>
                <codigoParametro>ABC</codigoParametro>
                <data1 xsi:nil="1"/>
                <data2 xsi:nil="1"/>
                <dataInicioAplicacao>2006-02-01T00:00:00.000+00:00</dataInicioAplicacao>
                <designacao>ABC</designacao>
                <numerico1>123</numerico1>
                <numerico2 xsi:nil="1"/>
                <texto xsi:nil="1"/>
                <tipo>N</tipo>
             </result>This should work without any problems (I also tested using a java client), but JCAPS throws an exception because "data1", "data2" and "numerico2" are null. Shouldn't this be interpreted by JCAPS perfectly?
    The exception thrown is the one below:
    [#|2008-02-19T10:52:06.531+0000|WARNING|IS5.1.3|com.stc.wsclient.runtime.ejb.impl.WSClientService|_ThreadID=26; ThreadName=Worker: 10;|Generating CMFault: <?xml version="1.0" encoding="UTF-8"?><Fault xmlns="http://seebeyond/com/xsddefined/FaultMessages"><faultcode xmlns="">CLIENT_ERROR</faultcode><faultstring xmlns="">com.stc.otd.runtime.UnmarshalException: error: Date value is of wrong type:  error: Date value is of wrong type:  error: Invalid float value </faultstring><faultactor xmlns="">wsclient</faultactor><detail xmlns="">com.stc.otd.runtime.UnmarshalException: error: Date value is of wrong type:  error: Date value is of wrong type:  error: Invalid float value  and the associated fault container is not available</detail></Fault>|
    Edited by: gmsa on Feb 19, 2008 4:32 AM
    Edited by: gmsa on Feb 19, 2008 4:33 AM

    I am having the same problem, did you get a solution to this.
    Thanks.

  • Axis2 client- Exception while processing response from web service

    Hi,
    My client request is sending the request successfully but on receiving response , it throws the following exceptions:
    Exception in thread "main" org.apache.axis2.AxisFault: Must Understand check failed for header http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd : Security
         at org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.java:97)
         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
         at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:364)
         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
    Client using Rampart module for WS-Security, plus addressing module by default which is engaged gloabally in axis2.
    Some user suggested me to disable addressing module in axis2 client but no use. Please help!

    Check the header that is being generated in the request , I do not think it has all the elements that has been put in the contract , you can print the SOAP request using handlers in Axis2 . check that and also can you post your config file and the actual contract so that i can help

  • Webservices Client, Exceptions and Log4J

    Hi all.
    Let me explain the setup of our project before asking for a solution on my problem!
    We are implementing a project with 2 teams. One team handles everything that has to deal with the front-end and uses a wsdl to generate a webservices client side that is trigger for most of the requests.
    Another team creates the complete backend including the webservices server side.
    Thus, we (as team one) do not interfere nor guide team two in how they implement things.
    Now here's the problem.
    Our side uses Log4J to log all the exceptions. There side probably doesn't (we don't know). If however an exception is triggered from within a WebService call, it is not send to Log4J but to the standard System.out !
    Is there any way to change this? Because the only thing we do is generate a client from the WSDL and nothing else! We do however catch any exception and store a message in our log files, but before the catch happens, our System.out has already added the WSexcpetion :(
    Is this clear in any way?
    Anyone?
    Thanks in advance,
    Kind Regards,
    Les.

    A web service client written on WLS [1], should work with
    service hosted by any vendor, including .Net, AXIS, Sun RI,
    etc.
    The client code you write in WLS which is based on JAX-RPC [1]
    should compile as is on other vendor JAX-RPC implementation.
    So, if you are looking for client code portability then JAX-RPC
    is your best bet.
    Regards,
    -manoj
    [1] http://edocs.bea.com/wls/docs81/webserv/client.html#1069703
    [2] http://java.sun.com/xml/jaxrpc/
    "hanks" <[email protected]> wrote in message
    news:3ea3392d$[email protected]..
    >
    I have tried webservices with apache and weblogic7.0 but i realised thatboth was
    to be done very specific to servers.I may be wrong. I am trying tounderstand
    how can i write a sercive for one server and access using another server.
    When i write webservice in java tomcat server, I create a service andregister
    as urn name. For a client to access this service, code kind of looks ejbcode
    where we lookup the service and call its method. Instead of looking upJNDI name
    we lookup urn and access method. Mind you this client uses ORG packagesspecific
    to tomcat.
    Now when we write a websercice with weblogic we have to create a ear whichhas
    webserverice and write a client to access that service, which lookscompletely
    diffrent from one that we wrote for tomcat. I am wondering how can i usethe same
    client to access both the services. It rarely happens that both side wouldbe
    using same servers.
    I am sure that there is some mistake i m doing cos webservices is supposeto be
    even language independent.
    Can you guys help me in resolving this, more questions later ;-)

  • SUP 2.2 SP4 iOS client exception

    Hi 
    When i try to retrieve data from SUP, an exception occurs "<Warning>: [SQL TRACE][ERROR] {thread:0x175cf770}: fail to get connection: -840, -840 (ERROR)"
    Registration, login etc works fine. The above exception happens when i save personalization parameter. Because of this exception, data is not retrieved from backend server. does anyone faced same issue ? how do we know the cause of this exception ?
    Development Environment:
    iOS 7.1
    SUP 2.2 SP4
    Xcode 5.1.1
    Regards
    Jinesh Krishnan

    Hi Jitnedra
    Thank you for your reply.
    i understand the compatibility issue. This reported issue happens in few occasion and we have not yet found out a definite step to reproduce the issue. The code i am using to set personalization parameter is
    PersonalizationParameters *pp = [V01DB getPersonalizationParameters];
        [pp setUsername:aUser];
        [pp setPassword:aPassword];
        [pp setRequestNumber:aRequestID];
        [pp setComments:@""];   
        [pp setModifiedBy:@""];
        @try {
            [pp save];
        @catch (NSException* e) {
    Regards
    Jinesh Krishnan

  • ISight with ANY windows client (except Yahoo!)

    Hi,
    My iSight works admirably with anyone using ichat/OSX, but everytime I try to use it with someone using AIM/Trillian/or MSN, it doesnt work. Ive tried having my windows using friends DL trillian, trillian pro (2 week trial), and Ive tried downloading aMSN (open source OSX msn that is supposed to be able to do webcam), as well as Adium (which is a great program but apparently doesnt support video ! )
    Does anyone have any idea how I can video/webcam chat with someone using windows?
    ( I am using a Macbook with built in isight)
    Thanks

    I guess what Im really asking is: has anyone had success communicating video to a windows user with Trillian? I was wondering if I was doing it wrong, or if it was simply not possible.
    MacBook White, 2.0Ghz, 1 gig, 80 gig

  • Consuming dataservice as a stand alone java client, givng an exception com

    when i am trying to access data service from a stand alone java application ,it giving an exception .
    The dataservice is in remote machine.
    Exception:
    com.bea.dsp.dsmediator.client.exception.SDOMediatorException: weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.io.EOFException
         at com.bea.dsp.dsmediator.client.XmlDataServiceBase.invokeFunction(XmlDataServiceBase.java:322)
         at empldetappdataservices.EmployeeDetails.getEmployeesByid(EmployeeDetails.java:84)
         at com.patni.tsg.poc.DataServiceClient.DataServiceClient.main(DataServiceClient.java:42)
    Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.io.EOFException
         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:248)
         at com.bea.ld.Server_ydm4ie_EOImpl_815_WLStub.executeFunction(Unknown Source)
         at com.bea.dsp.dsmediator.client.XmlDataServiceBase.invokeFunction(XmlDataServiceBase.java:312)
         ... 2 more
    Caused by: java.io.EOFException
         at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVMConnection.java:897)
         at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:586)
         at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:536)
         at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:694)
         at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:641)
         at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:282)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    my class path i added all neccessary jars:
    weblogic.jar,xbean.jar,DataServices.jar,ld-server-core.jar,ld-client.jar,wlsdo.jar
    code sample:
    public static InitialContext getInitialContext() throws NamingException {
    Environment env = new Environment();
    env.setProviderUrl("t3://pc-p40892:7001");
    env.setInitialContextFactory("weblogic.jndi.WLInitialContextFactory");
    env.setSecurityPrincipal("weblogic");
    env.setSecurityCredentials("weblogic");
    return new InitialContext(env.getInitialContext().getEnvironment());
    public static void main (String args[]) {
    try {
    EmployeeDetailsDocument.EmployeeDetails edet=null;
    EmployeeDetails ds=EmployeeDetails.getInstance(getInitialContext(),"EmplDetApp");
    //The below statement generating the exception.
    EmployeeDetailsDocument[]doc =ds.getEmployeesByid("1001");
    } catch (Exception e) {
    e.printStackTrace();
    pls help me to solve this problem
    Edited by sandeepc221 at 09/19/2007 2:50 AM

    You didn't post the stack trace from the server, but I'm guessing it's complaining about the QName class. Sun changed the QName class in JDK 1.5 wreaking havoc on JDK 1.5 clients that use JDK 1.4 servers and attempt to pass a QName object from one to the other. If your client uses JDK 1.5, your sever will need to use a QName class which is compatible. The file liquiddata/lib/wls90interop.jar contains a QName class that is compatible with the one in JDK1.5. You can put it first in the classpath of your server.
    If you already have wls90interop.jar first in the classpath of your server, then, for your client, you need to either (1) use the Sun JDK 1.5; or (2) put wls90interop.jar first in the classpath of your client (if you are running JDK 1.4).
    http://e-docs.bea.com/aldsp/docs25/appdev/ejbclt.html#wp1090900
    btw - BEA Customer Support is available 24/7 - they should be able to provide you quick answers to questions like this.

  • Tcode to assign Client to Logical System (except SCC4)

    Hi all,
    I have created logical system for sender and receiver in SALE Tocde.
    Now my receiver client is not listed in SCC4 Tocde and I am not suppose to create it there also but I need to assigning my logical system to my receiver client.
    I am told that there is another way to assign So can anyone tell me which is the other way to assigning logical system to client except SCC4.
    Thanks,
    Maharshi

    Hi,
    You did create a client in SCC4.
    firstly,
    1. did you create a logical system via BD54 and then did you assign that logical system to this newly created client ?
    2. did you perform a local client copy to put data into this new client from an old or from a standard client like 000 ?
    If you didn't perform above two things, then please do.
    Hope it works!!
    Regards,
    Amruta

  • Error while invoking a Dataservice from client application

    Hi,<br><br>
    Code snippet of Client to invoke DataService is....<br><br>
    Hashtable h = new Hashtable();<br>
    h.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");<br>
    h.put(Context.PROVIDER_URL,"t3://10.1.5.31:7001");<br>
    h.put(Context.SECURITY_PRINCIPAL,"weblogic");<br>
    h.put(Context.SECURITY_CREDENTIALS,"weblogic"); <br>
    Context context = new InitialContext(h);<br>
    DataService ds =DataServiceFactory.newDataService(context, "HLCApp","ld:HLCAppDataServices/com/pfizer/hlc/dataservices/HCP_DETAILS"); <br>
    <u>DataObject obj= (DataObject) ds.invoke("HCP_DETAILS", null);</u><br>
    System.out.println(" HCP details : \n" + obj);
    <br><br><br>
    The line(which is underlind) is causing the error(I checked by putting some System.outs).
    <br>
    While invoking a DataService from the Client application(Java Client) I am getting the following error in the console.
    <br><br>
    Exception in thread "main" com.bea.ld.dsmediator.client.exception.SDOMediatorExc
    eption: com.bea.ld.dsmediator.client.exception.SDOMediatorException: weblogic.rj
    vm.PeerGoneException: ; nested exception is:
    java.io.EOFException
    at com.bea.ld.dsmediator.client.XmlDataServiceBase.invoke(XmlDataService
    Base.java:114)
    at com.pfizer.hlc.DSClient.HCP.main(HCP.java:23)
    Caused by: com.bea.ld.dsmediator.client.exception.SDOMediatorException: weblogic
    .rjvm.PeerGoneException: ; nested exception is:
    java.io.EOFException
    at com.bea.ld.dsmediator.client.XmlDataServiceBase.invokeQuery(XmlDataSe
    rviceBase.java:183)
    at com.bea.ld.dsmediator.client.XmlDataServiceBase.invoke(XmlDataService
    Base.java:102)
    ... 1 more
    Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is:
    java.io.EOFException
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.j
    ava:108)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:290)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:248)
    at com.bea.ld.Server_ydm4ie_EOImpl_816_WLStub.executeFunction(Unknown So
    urce)
    at com.bea.ld.dsmediator.client.XmlDataServiceBase.invokeQuery(XmlDataSe
    rviceBase.java:157)
    ... 2 more
    Caused by: java.io.EOFException
    at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVMConnection.java:897
    at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.ja
    va:599)
    at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:549)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:707)
    at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:654)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:2
    82)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
    32)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    <br><br><br><br>
    <b>And in the server's log file the exception is like below</b><br><br>
    <Nov 1, 2006 4:29:31 PM IST> <Error> <RJVM> <gsipl-c2-8> <cgServer> <ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-000503> <Incoming message header or abbreviation processing failed
    <b>java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940</b>
    java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940
         at java.io.ObjectStreamClass.initNonProxy(Ljava.io.ObjectStreamClass;Ljava.lang.Class;Ljava.lang.ClassNotFoundException;Ljava.io.ObjectStreamClass;)V(Unknown Source)
         at java.io.ObjectInputStream.readNonProxyDesc(Z)Ljava.io.ObjectStreamClass;(Unknown Source)
         at java.io.ObjectInputStream.readClassDesc(Z)Ljava.io.ObjectStreamClass;(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
         at java.io.ObjectInputStream.readObject()Ljava.lang.Object;(Unknown Source)
         at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:33)
         at java.io.ObjectInputStream.readExternalData(Ljava.io.Externalizable;Ljava.io.ObjectStreamClass;)V(Unknown Source)
         at java.io.ObjectInputStream.readOrdinaryObject(Z)Ljava.lang.Object;(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
         at java.io.ObjectInputStream.readObject()Ljava.lang.Object;(Unknown Source)
         at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
         at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
         at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:212)
         at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:251)
         at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:748)
         at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:782)
         at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    <br><br><br>
    <b>My workstation environment is</b>
    Weblogic 8.1 SP6,Aqualogic 2.0 ,os is WindowsXP and JDK is jrockit81sp6_142_10.
    <br><br><br>
    Does anyone have any idea, why i am getting this error.
    <br><br>
    Thanks,<br>
    Suresh varma.

    Hi Suresh varma
    Did you get any answer for your problem?
    I'm having the exact same problem. Working with Weblogic 8.1 SP6 and getting this strange message whenever I'm calling my data service.
    I've followed the guidlines given on the URL posted here, and still getting the same message.
    Let me know if you have any idea.
    Cheers
    Rod

  • 'The provider is not compatible with the version of Oracle client' exceptio

    Hi
    I installed ODAC-11.1.0.7.10 Beta on my development system and developed a .net application which uses Oracle.DataAccess.dll to connect to Oracle10g database.
    the application is working fine, means opening connection successfully when I run it from my development system. but the same application is throwing
    'The provider is not compatible with the version of Oracle client' exception when I run it on my 10g database server system.
    what I need to do to run the application successfully on the machine where 10g server exists?
    any help is appreciated.
    thanks,
    harry

    Hi Harry,
    I am not sure why you installed 11.1.0.7.10 Beta as 11.1.0.7.20 has been released and you should not be using the beta at this time. That error message is because the dependencies being loaded by the process are the wrong version. When you deploy an ODP .NET application using 11.1.7.x, you need to make sure you deploy it to a machine where the 11.1.0.7.x dependencies are installed. My guess is if I read your poat correctly is that Oracle.DataAccess.dll version 11.1 is loaded but its finding 10.2 dependencies on the target deployment box.
    HTH
    Jenny

  • EJB 3.0 client problem

    here is my Entity class :
    package com.azry.employee;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.GenerationType;
    import javax.persistence.Id;
    import javax.persistence.Table;
    import javax.persistence.TableGenerator;
    @Entity
    @TableGenerator(name = "EMP_GENERATOR",
                      table = "EMPLOYEE",
                      pkColumnName = "EMPLOYEE_ID",
                      pkColumnValue = "EMPLOYEE_ID",
                      allocationSize = 10)
    @Table(name = "EMPLOYEE")
    public class Employee implements java.io.Serializable {
         private int id;
         private String name;
         private String email;
         private int money;
         @Id
         @GeneratedValue(strategy = GenerationType.TABLE, generator = "EMP_GENERATOR")
         public int getId() {
              return id;
         public void setId(int id) {
              this.id = id;
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
         public String getEmail() {
              return email;
         public void setEmail(String email) {
              this.email = email;
         public int getMoney() {
              return money;
         public void setMoney(int money) {
              this.money = money;
    }i also have created database EmployeeDB in mysql and have also mysql-ds.xml :
    and also have a client class:
    package com.azry.employee.clients;
    import java.util.Properties;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.rmi.PortableRemoteObject;
    import com.azry.employee.*;
    public class Client {
         public static void main(String[] args) {
         try {
              Context jndContext=getInitialContext();
              Object ref=jndContext.lookup("EmployeeSession/remote");
              EmployeeRemote rem=(EmployeeRemote)PortableRemoteObject.narrow(ref,EmployeeRemote.class);
              Employee emp=new Employee();
             // emp.setId(1);
              emp.setMoney(1000);
              emp.setName("david");
              emp.setEmail("email");
              rem.insert(emp);
         catch(Exception ex) {
              ex.printStackTrace();
         private static Context getInitialContext()throws NamingException{
              Properties p=new Properties();
              p.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
              p.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
              p.setProperty(Context.PROVIDER_URL, "jnp://localhost:1099");
              return new InitialContext(p);
    }i also have remote interface and session bean that overrides remote interface but the real problem is that when i run server everything goes well but when i run client exception occurs :
    javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get or update next value
        at com.azry.employee.clients.Client.main(Client.java:24)
    Caused by: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get or update next value
         at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629)
         at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:218)
         at org.jboss.ejb3.entity.TransactionScopedEntityManager.persist(TransactionScopedEntityManager.java:182)
         at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:173)
    Caused by: org.hibernate.exception.SQLGrammarException: could not get or update next value
         at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
         at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
         at org.hibernate.engine.TransactionHelper$1Work.doWork(TransactionHelper.java:41)
         at org.hibernate.engine.transaction.Isolater$JtaDelegate.delegateWork(Isolater.java:106)
         at org.hibernate.engine.transaction.Isolater.doIsolatedWork(Isolater.java:40)
         at org.hibernate.engine.TransactionHelper.doWorkInNewTransaction(TransactionHelper.java:51)
         at org.hibernate.id.MultipleHiLoPerTableGenerator.generate(MultipleHiLoPerTableGenerator.java:191)
         at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99)
         at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:131)
         at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:87)
         at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38)
         at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:618)
         at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:592)
         at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:596)
         at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:212)
         ... 37 more
    can anyone tell me what i am doing wrong?_

    here is my Entity class :
    package com.azry.employee;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.GenerationType;
    import javax.persistence.Id;
    import javax.persistence.Table;
    import javax.persistence.TableGenerator;
    @Entity
    @TableGenerator(name = "EMP_GENERATOR",
                      table = "EMPLOYEE",
                      pkColumnName = "EMPLOYEE_ID",
                      pkColumnValue = "EMPLOYEE_ID",
                      allocationSize = 10)
    @Table(name = "EMPLOYEE")
    public class Employee implements java.io.Serializable {
         private int id;
         private String name;
         private String email;
         private int money;
         @Id
         @GeneratedValue(strategy = GenerationType.TABLE, generator = "EMP_GENERATOR")
         public int getId() {
              return id;
         public void setId(int id) {
              this.id = id;
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
         public String getEmail() {
              return email;
         public void setEmail(String email) {
              this.email = email;
         public int getMoney() {
              return money;
         public void setMoney(int money) {
              this.money = money;
    }i also have created database EmployeeDB in mysql and have also mysql-ds.xml :
    and also have a client class:
    package com.azry.employee.clients;
    import java.util.Properties;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.rmi.PortableRemoteObject;
    import com.azry.employee.*;
    public class Client {
         public static void main(String[] args) {
         try {
              Context jndContext=getInitialContext();
              Object ref=jndContext.lookup("EmployeeSession/remote");
              EmployeeRemote rem=(EmployeeRemote)PortableRemoteObject.narrow(ref,EmployeeRemote.class);
              Employee emp=new Employee();
             // emp.setId(1);
              emp.setMoney(1000);
              emp.setName("david");
              emp.setEmail("email");
              rem.insert(emp);
         catch(Exception ex) {
              ex.printStackTrace();
         private static Context getInitialContext()throws NamingException{
              Properties p=new Properties();
              p.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
              p.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
              p.setProperty(Context.PROVIDER_URL, "jnp://localhost:1099");
              return new InitialContext(p);
    }i also have remote interface and session bean that overrides remote interface but the real problem is that when i run server everything goes well but when i run client exception occurs :
    javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get or update next value
        at com.azry.employee.clients.Client.main(Client.java:24)
    Caused by: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get or update next value
         at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629)
         at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:218)
         at org.jboss.ejb3.entity.TransactionScopedEntityManager.persist(TransactionScopedEntityManager.java:182)
         at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:173)
    Caused by: org.hibernate.exception.SQLGrammarException: could not get or update next value
         at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
         at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
         at org.hibernate.engine.TransactionHelper$1Work.doWork(TransactionHelper.java:41)
         at org.hibernate.engine.transaction.Isolater$JtaDelegate.delegateWork(Isolater.java:106)
         at org.hibernate.engine.transaction.Isolater.doIsolatedWork(Isolater.java:40)
         at org.hibernate.engine.TransactionHelper.doWorkInNewTransaction(TransactionHelper.java:51)
         at org.hibernate.id.MultipleHiLoPerTableGenerator.generate(MultipleHiLoPerTableGenerator.java:191)
         at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99)
         at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:131)
         at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:87)
         at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38)
         at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:618)
         at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:592)
         at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:596)
         at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:212)
         ... 37 more
    can anyone tell me what i am doing wrong?_

Maybe you are looking for

  • How to prevent the logging of a single field in XI ?

    Hi Guys, we have developed the interfaces for payment card services using the Enterprise services and the major problem what we are facing is to prevent the logging of the 3 digit security code in XI. According to the payment card industry standards

  • You Should Be Ashamed

    To the Adobe Help Team: You should be ashamed. Like many others I recently upgraded my CS6 suite. Much to my surprise when I installed the upgrade I was met with a completely re-written and broken HELP system. Any attempt to access the help through o

  • Ghost connections "Java(TM) 2 Platform Standard Edition"

    We have a server application with multiple threads each using JDBC connections. On the Database server (MS SQL Server 7) we notice more and more connections with the SQLQueryAnalyzer-ProgramName "Java(TM) 2 Platform Standard Edition". But all our (kn

  • Dropdown menus flicker only & can't be selected

    When I type a web address, a drop down menu used to appear with suggestions. Now it flickers but cannot be viewed or selections made. Similarly the Most recently viewed dropdown box only flickers. Same this happens when using the quick search box at

  • How to create dropdown box, radio button,check box in wad

    Hi, How to create dropdown box, radio button,check box in wad. Thanks, cheta.