Error to lookup  ejb

HI,
what is this error:
java.lang.NoClassDefFoundError: java/lang/AssertionError
at weblogic.security.subject.DelegatingSubjectStack.<clinit>(DelegatingS
ubjectStack.java:18)
at weblogic.security.service.SubjectManagerImpl.<init>(SubjectManagerImp
l.java:40)
at weblogic.security.service.SubjectManagerImpl.ensureInitialized(Subjec
tManagerImpl.java:277)
at weblogic.jndi.WLInitialContextFactoryDelegate.<clinit>(WLInitialConte
xtFactoryDelegate.java:137)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
extFactory.java:131)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
65)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.<init>(InitialContext.java:198)
at JNDIUtil.getContextFull(JNDIUtil.java
:174)

Jen,
"Jen" <[email protected]> wrote in message news:3f823e8e$[email protected]..
what is this error:
java.lang.NoClassDefFoundError: java/lang/AssertionError
at weblogic.security.subject.DelegatingSubjectStack.<clinit>(DelegatingS
ubjectStack.java:18)
at weblogic.security.service.SubjectManagerImpl.<init>(SubjectManagerImp
l.java:40)Looks like you're trying to run weblogic 8.1 under JDK 1.3.1. Weblogic 8.1
needs JDK 1.4.1 to run under.
Slava

Similar Messages

  • Error during lookup of remote ejb CaseService - Oracle ACM 12C Standalone

    StandAlone Setup:
    CD %ORACLE_HOME%\soa\common\bin
    set QS_TEMPLATES=%ORACLE_HOME%\soa\common\templates\wls\oracle.soa_template_12.1.3.jar, %ORACLE_HOME%\osb\common\templates\wls\oracle.osb_template_12.1.3.jar
    qs_config.cmd
    Then ran config.cmd from WLS and extended BPM domain, then was able to see composer app in deployment.
    AdminServer Args:
    set USER_MEM_ARGS=-Xms512m -Xmx3096m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=1024m
    Error
    ====
    Error during ejb lookup from bpm services client.
    Error during lookup of remote ejb CaseService .
    Contact Oracle support if exception can not be fixed.
            at oracle.bpm.client.impl.casemgmt.CaseManagementServiceRemoteClient.get
    CaseService(CaseManagementServiceRemoteClient.java:86)
            at oracle.bpm.casemgmt.customactivity.notification.NotificationCallbackU
    til.getCaseService(NotificationCallbackUtil.java:158)
            at oracle.bpm.casemgmt.customactivity.notification.NotificationCallbackU
    til.isActivityRegistered(NotificationCallbackUtil.java:167)
            at oracle.bpm.casemgmt.customactivity.notification.NotificationCallbackU
    til.registerEmailActivity(NotificationCallbackUtil.java:83)
            at oracle.bpm.casemgmt.fabric.CaseManagementServiceEngine.stateChanged(C
    aseManagementServiceEngine.java:1340)
            at oracle.integration.platform.blocks.mesh.FabricLifecycle.notifyListene
    rs(FabricLifecycle.java:54)
            at oracle.integration.platform.blocks.mesh.FabricLifecycle.setState(Fabr
    icLifecycle.java:41)
            at oracle.integration.platform.blocks.mesh.MeshImpl.postDeployInit(MeshI
    mpl.java:204)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
            at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
    on(AopUtils.java:318)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
    inpoint(ReflectiveMethodInvocation.java:183)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
    ReflectiveMethodInvocation.java:150)
            at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEven
    tAspect.java:71)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
    ReflectiveMethodInvocation.java:172)
            at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
    cAopProxy.java:202)
            at com.sun.proxy.$Proxy324.postDeployInit(Unknown Source)
            at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.r
    un(FabricKernelInitializerServlet.java:1008)
            at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run
    (WorkManagerExecutor.java:184)
            at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManag
    er.java:184)
            at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused By: javax.naming.NameNotFoundException: While trying to lookup 'ejb.bpm.c
    ase.CaseService' didn't find subcontext 'bpm'. Resolved 'ejb'; remaining name 'b
    pm/case/CaseService'
            at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
    NamingNode.java:1180)
            at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
    a:265)
            at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j
    ava:187)
            at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:21
    0)
            at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:22
    4)
            at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j
    ava:253)
            at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:426)
            at javax.naming.InitialContext.lookup(InitialContext.java:411)
            at oracle.bpm.client.impl.casemgmt.CaseManagementServiceRemoteClient.get
    CaseService(CaseManagementServiceRemoteClient.java:80)
            at oracle.bpm.casemgmt.customactivity.notification.NotificationCallbackU
    til.getCaseService(NotificationCallbackUtil.java:158)
            at oracle.bpm.casemgmt.customactivity.notification.NotificationCallbackU
    til.isActivityRegistered(NotificationCallbackUtil.java:167)
            at oracle.bpm.casemgmt.customactivity.notification.NotificationCallbackU
    til.registerEmailActivity(NotificationCallbackUtil.java:83)
            at oracle.bpm.casemgmt.fabric.CaseManagementServiceEngine.stateChanged(C
    aseManagementServiceEngine.java:1340)
            at oracle.integration.platform.blocks.mesh.FabricLifecycle.notifyListene
    rs(FabricLifecycle.java:54)
            at oracle.integration.platform.blocks.mesh.FabricLifecycle.setState(Fabr
    icLifecycle.java:41)
            at oracle.integration.platform.blocks.mesh.MeshImpl.postDeployInit(MeshI
    mpl.java:204)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
            at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
    on(AopUtils.java:318)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
    inpoint(ReflectiveMethodInvocation.java:183)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
    ReflectiveMethodInvocation.java:150)
            at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEven
    tAspect.java:71)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
    ReflectiveMethodInvocation.java:172)
            at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
    cAopProxy.java:202)
            at com.sun.proxy.$Proxy324.postDeployInit(Unknown Source)
            at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.r
    un(FabricKernelInitializerServlet.java:1008)
            at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run
    (WorkManagerExecutor.java:184)
            at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManag
    er.java:184)
            at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    >
    Please help. The problem does not occur with Integrated WLS. I think the config scripts are correctly running from JDev.

    Hi,
    It's not easy to tell what's wrong with your example.
    Maybe you could send me a zip and I'll check when I have some time.
    By the way, you're asking a question about the lookup of an EJB3, I wrote an article that covers that topic.
    It should give you some interesting input.
    http://m-button.blogspot.com/2008/07/reminder-on-how-to-use-ejb3-with.html
    Regards.

  • Invalid guid error looking up EJB from a startup class

    Gentlemen,
    I am receiving an "invalid guid at GDS" error that is similar to others reported at:
    http://softwareforum.sun.com/servlet/ProcessRequest?RHIVEID=181&RPAGEID=135&HOID=50B500000008000000FE090000&UCATEGORY_0=_29_%24_24_6_&UCATEGORY_S=0
    and
    http://softwareforum.sun.com/servlet/ProcessRequest?RHIVEID=181&RPAGEID=135&HOID=50B500000008000000FE090000&UCATEGORY_0=_29_%24_24_6_&UCATEGORY_S=0
    In my case, I can retrieve the EJB from my rich client with no problems. However, if I execute the exact
    same code from within a startup class (i.e. com.iplanet.ias.startup.StartupClass) then I get the following error repeated until memory runs out:
    javax.naming.NameNotFoundException: MessageRepositoryBean : Invalid guid null in
    GDS
    at com.netscape.server.ejb.EjbContext.lookup(Unknown Source)
    at com.netscape.server.jndi.RootContext.lookup(Unknown Source)
    at com.netscape.server.jndi.RootContext.lookup(Unknown Source)
    at javax.naming.InitialContext.lookup(InitialContext.java:357)
    at com.netscape.ejb.CorbaHomeFactoryImpl.ConstructEJBHome(Unknown Source
    at com.netscape.CosNaming.NamingContextImpl.resolve(Unknown Source)
    at org.omg.CosNaming._NamingContextImplBase.invoke(_NamingContextImplBas
    e.java:233)
    at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegat
    e.java:236)
    at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:227)
    at com.sun.corba.ee.internal.iiop.CachedWorkerThread.doWork(IIOPConnecti
    on.java:262)
    at com.sun.corba.ee.internal.iiop.CachedWorkerThread.run(IIOPConnection.
    java:230)
    javax.naming.NameNotFoundException: MessageRepositoryBean : Invalid guid null in
    In previous answers people have suggested adding various things to the app server classpath. This does not make any difference for me. I am puzzled why code runs fine in a normal rich client, but not in a startup class. Here is the code that I am running:
    try
    String contextFactory = "com.sun.jndi.cosnaming.CNCtxFactory";
    String providerURL = "iiop://localhost:9010";
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY, contextFactory);
    p.put(Context.PROVIDER_URL, providerURL);
    Context context = new InitialContext(p);
    MessageRepositoryHome home = (MessageRepositoryHome)
    PortableRemoteObject.narrow(context.lookup("ejb/MessageRepository"), MessageRepositoryHome.class);
    MessageRepository repository = home.create();
    catch(Exception e)
    e.printStackTrace(Log.err);
    System.exit(1);
    Thanks for your help,
    Mark

    I was mistaken in this posting. I was able to access the EJB from the startup class so there must be something else that I am doing to cause this problem. I'd still like to know why I get those invalid guid errors though.
    By the way, please forgive me for using the gender-specific gentlemen in my posting. That was accidental.

  • Error in lookup

    Hi,
    I am getting this error when I am trying to lookup an EJB after looking up a
    previous EJB which seems to work. Also, if I only look up this EJB it works.
    Any ideas?
    javax.naming.NamingException: Unhandled error in lookup. Root exception is
    java.rmi.RemoteException: CORBA INTERNAL 0 Maybe; nested exception is:
    org.omg.CORBA.INTERNAL: Bad UserException:
    IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0 minor code: 0
    completed: Maybe
    org.omg.CORBA.INTERNAL: Bad UserException:
    IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0 minor code: 0
    completed: Maybe
    at weblogic.iiop.ReplyMessage.getThrowable(ReplyMessage.java:283)
    at
    weblogic.iiop.InboundResponseImpl.getThrowable(InboundResponseImpl.java:76)
    at
    weblogic.iiop.OutboundRequestImpl.sendReceive(OutboundRequestImpl.java:46)
    at
    weblogic.iiop.IIOPRemoteRef.invokeInternal(IIOPRemoteRef.java:125)
    at weblogic.iiop.IIOPRemoteRef.invoke(IIOPRemoteRef.java:87)
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
    at $Proxy95.resolve(Unknown Source)
    at
    weblogic.jndi.cosnaming.IIOPInitialContext.lookup(IIOPInitialContext.java:10
    7)
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at
    com.phiware.core.entities.AbstractDataFactoryBean.ejbCreate(AbstractDataFact
    oryBean.java:76)
    at
    com.phiware.core.entities.DimensionDOFactoryBean_hdpd2x_Impl.ejbCreate(Dimen
    sionDOFactoryBean_hdpd2x_Impl.java:112)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.jav
    a:153)
    at
    weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:1
    17)
    at
    weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.java:156)
    at
    weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:117)
    at
    weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java
    :63)
    at
    com.phiware.core.entities.DimensionDOFactoryBean_hdpd2x_EOImpl.create(Dimens
    ionDOFactoryBean_hdpd2x_EOImpl.java:113)
    at
    com.phiware.core.entities.DimensionDOFactoryBean_hdpd2x_EOImpl_WLSkel.invoke
    (Unknown Source)
    at
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
    at
    weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
    :93)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
    2)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Hi,
    I am getting this error when I am trying to lookup an EJB after looking up a
    previous EJB which seems to work. Also, if I only look up this EJB it works.
    Any ideas?
    javax.naming.NamingException: Unhandled error in lookup. Root exception is
    java.rmi.RemoteException: CORBA INTERNAL 0 Maybe; nested exception is:
    org.omg.CORBA.INTERNAL: Bad UserException:
    IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0 minor code: 0
    completed: Maybe
    org.omg.CORBA.INTERNAL: Bad UserException:
    IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0 minor code: 0
    completed: Maybe
    at weblogic.iiop.ReplyMessage.getThrowable(ReplyMessage.java:283)
    at
    weblogic.iiop.InboundResponseImpl.getThrowable(InboundResponseImpl.java:76)
    at
    weblogic.iiop.OutboundRequestImpl.sendReceive(OutboundRequestImpl.java:46)
    at
    weblogic.iiop.IIOPRemoteRef.invokeInternal(IIOPRemoteRef.java:125)
    at weblogic.iiop.IIOPRemoteRef.invoke(IIOPRemoteRef.java:87)
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
    at $Proxy95.resolve(Unknown Source)
    at
    weblogic.jndi.cosnaming.IIOPInitialContext.lookup(IIOPInitialContext.java:10
    7)
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at
    com.phiware.core.entities.AbstractDataFactoryBean.ejbCreate(AbstractDataFact
    oryBean.java:76)
    at
    com.phiware.core.entities.DimensionDOFactoryBean_hdpd2x_Impl.ejbCreate(Dimen
    sionDOFactoryBean_hdpd2x_Impl.java:112)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.jav
    a:153)
    at
    weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:1
    17)
    at
    weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.java:156)
    at
    weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:117)
    at
    weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java
    :63)
    at
    com.phiware.core.entities.DimensionDOFactoryBean_hdpd2x_EOImpl.create(Dimens
    ionDOFactoryBean_hdpd2x_EOImpl.java:113)
    at
    com.phiware.core.entities.DimensionDOFactoryBean_hdpd2x_EOImpl_WLSkel.invoke
    (Unknown Source)
    at
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
    at
    weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
    :93)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
    2)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

  • How to lookup EJBs deployed in OC4J from a standalone client application

    Hello all,
    I am trying to lookup an EJB deployed in OC4J 10.1.3 from a standalone client application using the following code:
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.PROVIDER_URL, "ormi://localhost:23791");
    env.put(Context.SECURITY_PRINCIPAL, "jazn.com/test");
    env.put(Context.SECURITY_CREDENTIALS, "test");
    Context context = new InitialContext(env);
    Object ref = context.lookup("ejb/Dispatch");
    I get the following error:
    javax.naming.NameNotFoundException: ejb/Dispatch not found
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
    For the lookup string I've also tried:
    "java:comp/env/ejb/Dispatch" and "Dispatch"
    For the Context.PROVIDER_URL property I've also tried:
    opmn:ormi://localhost:6003:instance
    The result is always the same.
    I appreciate if someone could help me with this?
    Thanks,
    Georgi

    Georgi,
    Your question has been discussed many times on this forum. Search the forum archives for "RMIInitialContextFactory".
    The PROVIDER_URL needs to include the name of the deployed application that your EJB is part of, for example:
    env.put(Context.PROVIDER_URL, "ormi://localhost:23791/MyApp");The lookup name has to be the value of the "ejb-name" element in your "ejb-jar.xml" descriptor file.
    Your SECURITY_PRINCIPAL value looks strange to me. Personally, I use "principals" (and not JAZN), so I modified the "application.xml" file (in the "j2ee/home/config" subdirectory) to use "principals". Look for the following comment in that file:
    &lt;!-- Comment out the jazn element to use principals.
          When both jazn and principals are present jazn is used  --&gt;Good Luck,
    Avi.
    Message was edited by:
    Avi Abrami

  • Error while importing EJB model in Web dynpro: Unable to fetch the EJBs.

    Hi,
    We are getting the below error while importing ejb model to Web dynpro.
    Error :
    Unable to fetch the EJBs. Check if the selected Enterprise Application contain the EJBs.
    I have created the public part-> It has a reference to EJB client and the enterprise application also has reference to the EJB project.The EJB is also added in dependency list.
    But still we are getting this error. Could anyone please explain what can i do to solve this issue.
    Best Regards,
    Karthika

    Hi Vishweshwara,
    Thanks for your reply.
    Please find the steps i followed while importing EJB model in webdynpro.
    1. The Entity forwarding permission has been enabled.
    2. public part reference has been created and through the reference entity option the ejbDC->Client public part is selected.
    I followed all the steps mentioned in the document. But still i am getting that error. In EJB DC we have list of JPA entities and stateless session beans are exposed as a webservice(top-down manner).The enterprise application has a reference to the EJB DC.
    I could be able to invoke the ejb service beans from ejb explorer and Webservice navigator.
    I am able to insert,delete and modify the records from there.
    Please let me know what could i do to resolve this error?
    Best Regards,
    Karthika
    Edited by: SAKarthika on Apr 29, 2011 1:43 PM

  • Deployment descriptor error for an EJB 3.0 entity bean module

    Hi all,
    i'm facing an error deploying an EJB 3.0 entity bean module wrapped in an enterprise application on WebLogic 10.
    The application is composed as follows:
    WASEnterprise.ear
    |-META-INF
    |-application.xml
    |-WAS.jar
    |-META-INF
    |-persistence.xml
    In other words the application server is unable to load persistence.xml deployment descriptor and,during deployment, it throws an error message like this:
    <Error> <J2EE> <BEA-160197> <Unable to load descriptor C:\bea\user_projects\domains\base_domain\autodeploy\WASEnterprise\WAS/META-INF/persistence.xml of module WAS. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
    I suppose that the persistence.xml is correct since i can deploy the application on jboss without any problem.
    The persistence.xml deployment descriptor is:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence>
    <persistence-unit name="CNT4">
    <non-jta-data-source>cnt5ds</non-jta-data-source>
    <class>it.eni.italgas.was.db.entity.AsiDisco</class>
    <class>it.eni.italgas.was.db.entity.AsiErrori</class>
    <class>it.eni.italgas.was.db.entity.WasAsiRouting</class>
    <class>it.eni.italgas.was.db.entity.WasAsiRoutingId</class>
    <class>it.eni.italgas.was.db.entity.WasAsiSchemas</class>
    </persistence-unit>
    </persistence>
    and the application.xml deployment descriptor is:
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">
    <display-name>WASEnterprise</display-name>
    <module id="myeclipse.1188512259959">
    <ejb>WAS.jar</ejb>
    </module>
    </application>
    I don't use any other weblogic specific deployment descriptor.
    Have you ever experienced such a strange behaviour? Can you suggest something to solve the problem?
    Thanks inadvance.
    Denis Maggiorotto

    Hi all,
    i'm facing an error deploying an EJB 3.0 entity bean module wrapped in an enterprise application on WebLogic 10.
    The application is composed as follows:
    WASEnterprise.ear
    |-META-INF
    |-application.xml
    |-WAS.jar
    |-META-INF
    |-persistence.xml
    In other words the application server is unable to load persistence.xml deployment descriptor and,during deployment, it throws an error message like this:
    <Error> <J2EE> <BEA-160197> <Unable to load descriptor C:\bea\user_projects\domains\base_domain\autodeploy\WASEnterprise\WAS/META-INF/persistence.xml of module WAS. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
    I suppose that the persistence.xml is correct since i can deploy the application on jboss without any problem.
    The persistence.xml deployment descriptor is:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence>
    <persistence-unit name="CNT4">
    <non-jta-data-source>cnt5ds</non-jta-data-source>
    <class>it.eni.italgas.was.db.entity.AsiDisco</class>
    <class>it.eni.italgas.was.db.entity.AsiErrori</class>
    <class>it.eni.italgas.was.db.entity.WasAsiRouting</class>
    <class>it.eni.italgas.was.db.entity.WasAsiRoutingId</class>
    <class>it.eni.italgas.was.db.entity.WasAsiSchemas</class>
    </persistence-unit>
    </persistence>
    and the application.xml deployment descriptor is:
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">
    <display-name>WASEnterprise</display-name>
    <module id="myeclipse.1188512259959">
    <ejb>WAS.jar</ejb>
    </module>
    </application>
    I don't use any other weblogic specific deployment descriptor.
    Have you ever experienced such a strange behaviour? Can you suggest something to solve the problem?
    Thanks inadvance.
    Denis Maggiorotto

  • ClassNotFoundException  (error in lookup  : stub not found by client) ??

    SampleServer.java_
    import java.rmi.*;
    public interface SampleServer extends Remote
    public int sum(int a,int b) throws RemoteException;
    SampleServerImpl.java_
    import java.rmi.*;
    import java.rmi.server.*;
    import java.rmi.registry.*;
    public class SampleServerImpl extends UnicastRemoteObject implements SampleServer{
    SampleServerImpl() throws RemoteException
    super();
    public int sum(int a,int b) throws RemoteException
    return a + b;
    public static void main(String args[])
    //set the security manager
    try
    // System.setSecurityManager(new RMISecurityManager());
    //create a local instance of the object
    SampleServerImpl Server = new SampleServerImpl();
    //put the local instance in the registry
    Naming.rebind("SAMPLE-SERVER" , Server);
    System.out.println("Server waiting.....");
    catch (java.net.MalformedURLException me)
    System.out.println("Malformed URL: " + me.toString());
    catch (RemoteException re)
    System.out.println("Remote exception: " + re.toString());
    SampleClient .java_
    import java.rmi.*;
    import java.rmi.server.*;
    public class SampleClient
    public static void main(String[] args)
    // set the security manager for the client
    //System.setSecurityManager(new RMISecurityManager());
    //get the remote object from the registry
    try
    System.out.println("Security Manager loaded");
    String url = "rmi://172.16.5.41:1099/SAMPLE-SERVER";
    SampleServer remoteObject = (SampleServer)Naming.lookup(url);
    System.out.println("Got remote object");
    //narrow the object down to a specific one
    //System.out.println("Location: " + System.getProperty("LOCATION"));
    // make the invocation
    System.out.println(" 1 + 2 = " +
    remoteObject.sum(1,2) );
    catch (RemoteException exc)
    System.out.println("Error in lookup: " + exc.toString());
    catch (java.net.MalformedURLException exc)
    System.out.println("Malformed URL: " + exc.toString());
    catch (java.rmi.NotBoundException exc)
    System.out.println("NotBound: " + exc.toString());
    errors_
    Error in lookup : java.rmi.UnmarshalException :error unmarshalling return;
    nested exception is : java.lang.ClassNotFoundException :SampleServerImpl_Stub
    dynamic code loading is not working in the client.
    the server is working fine.
    thanks

    yeah.i have my codebase files D: drive on windows .when running the server i used
    java  -Djava.rmi.server.codebase=file://d:/ -Djava.security.policy=policy.all SampleSeverImpli got these errors
    Exception in thread "main" java.security.AccessControlException: access denied (
    java.io.FilePermission \\d read)
            at java.security.AccessControlContext.checkPermission(AccessControlConte
    xt.java:323)
            at java.security.AccessController.checkPermission(AccessController.java:
    546)
            at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
            at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
            at java.io.File.exists(File.java:731)
            at sun.net.www.protocol.file.Handler.openConnection(Handler.java:80)
            at sun.net.www.protocol.file.Handler.openConnection(Handler.java:55)
            at java.net.URL.openConnection(URL.java:945)
            at sun.rmi.server.LoaderHandler.addPermissionsForURLs(LoaderHandler.java
    :1021)
            at sun.rmi.server.LoaderHandler.access$300(LoaderHandler.java:52)
            at sun.rmi.server.LoaderHandler$Loader.<init>(LoaderHandler.java:1129)
            at sun.rmi.server.LoaderHandler$Loader.<init>(LoaderHandler.java:1110)
            at sun.rmi.server.LoaderHandler$1.run(LoaderHandler.java:865)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.server.LoaderHandler.lookupLoader(LoaderHandler.java:862)
            at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:385)
            at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
            at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
            at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
            at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav
    a:197)
            at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:157
    5)
            at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
    732)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
            at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
            at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
            at sun.rmi.transport.Transport$1.run(Transport.java:159)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:5
    35)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTranspor
    t.java:790)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
    .java:649)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
    utor.java:885)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:907)
            at java.lang.Thread.run(Thread.java:619)
            at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
    n Source)
            at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
            at sun.rmi.server.UnicastRef.invoke(Unknown Source)
            at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
            at java.rmi.Naming.rebind(Unknown Source)
            at SampleServerImpl.main(SampleServerImpl.java:27)when i used just java -Djava.security.policy=policy.all SampleServerImpl
    everythin was fine at the server .
    it gave the output Server waiting...
    but at the client i got these errors when i tried
    java -Djava.rmi.server.codebase=file://d:/ SampleClient   or   java -Djava.security.policy=policy.all SampleClient
    C:\>java -Djava.security.policy=policy.all SampleClient
    Security Manager loaded
    Exception in thread "main" java.security.AccessControlException: access denied (
    java.net.SocketPermission 172.16.5.41:1099 connect,resolve)
            at java.security.AccessControlContext.checkPermission(Unknown Source)
            at java.security.AccessController.checkPermission(Unknown Source)
            at java.lang.SecurityManager.checkPermission(Unknown Source)
            at java.lang.SecurityManager.checkConnect(Unknown Source)
            at java.net.Socket.connect(Unknown Source)
            at java.net.Socket.connect(Unknown Source)
            at java.net.Socket.<init>(Unknown Source)
            at java.net.Socket.<init>(Unknown Source)
            at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown S
    ource)
            at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown S
    ource)
            at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
            at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
            at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
            at sun.rmi.server.UnicastRef.newCall(Unknown Source)
            at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
            at java.rmi.Naming.lookup(Unknown Source)
            at SampleClient.main(SampleClient.java:16)172.16.5.41 was my server.the rmiregistry was running on the same machine on which the server was running

  • Java syntax error : RFC Lookup

    My UDF Source code has an syntax error: missing return statement }
    but i can´t find the error.
    any ideas ?
    //write your code here
    String content = "";
    MappingTrace importanttrace;
    importanttrace = container.getTrace();
    // filling the string with our RFC-XML (with values)
    String m ="<?xml version="1.0" encoding="UTF-8"?><ns0:Z_GET_PRODH xmlns:ns0="urn:sap-com:document:sap:rfc:functions"><IN_MATNR>2100018693</IN_MATNR></ns0:Z_GET_PRODH>";
    RfcAccessor accessor = null;
    ByteArrayOutputStream out = null;
    try
         // 1. Determine a channel (Business system, Communication channel)
         Channel channel = LookupService.getChannel("xxxxxxxxxx","yyyyyyyy");
         // 2. Get a RFC accessor for a channel.
         accessor = LookupService.getRfcAccessor(channel);
         // 3. Create a xml input stream representing the function module request message
         InputStream inputStream = new ByteArrayInputStream(m.getBytes());
         // 4. Create xml payload
         XmlPayload payload = LookupService.getXmlPayload(inputStream);
         // 5. Execute lookup.
         Payload result = accessor.call(payload);
         InputStream in = result.getContent();
         out = new ByteArrayOutputStream(1024);
         byte[] buffer = new byte[1024];
         for (int read = in.read(buffer); read > 0; read = in.read(buffer))
              out.write(buffer, 0, read);
         content = out.toString();
    catch(LookupException e)
         importanttrace.addWarning("Error while lookup " + e.getMessage() );
    catch(IOException e)
         importanttrace.addWarning("Error " + e.getMessage() );
    finally
         if (out!=null)
               try
              out.close();
               catch (IOException e)
                   importanttrace.addWarning("Error while closing stream " + e.getMessage() );
         // 7. close the accessor in order to free resources.
         if (accessor!=null)
               try
              accessor.close();
               catch (LookupException e)
                   importanttrace.addWarning("Error while closing accessor " + e.getMessage() );
    Message was edited by:
            Gordon Breuer

    I have a solution without DOM parser. The XML code is seen as a sting and the code looks for a specific tag. In my case it is OUTPUT, you can adjust the code to your tag.
    String content = "";
    MappingTrace importanttrace;
    importanttrace = container.getTrace();
    // filling the string with our RFC-XML (with values)
    String m = "<rfc:ZZSG_TEST_XSLT_LOOKUP xmlns:rfc="urn:sap-com:document:sap:rfc:functions">"
                                + "<INPUT>" + request + "</INPUT></rfc:ZZSG_TEST_XSLT_LOOKUP>";
    RfcAccessor accessor = null;
    ByteArrayOutputStream out = null;
    try
    // 1. Determine a channel (Business system, Communication channel)
    Channel channel = LookupService.getChannel("Airline_Group_Two","RFC");
    // 2. Get a RFC accessor for a channel.
    accessor = LookupService.getRfcAccessor(channel);
    // 3. Create a xml input stream representing the function module request message.
    InputStream inputStream = new ByteArrayInputStream(m.getBytes());
    // 4. Create xml payload
    XmlPayload payload = LookupService.getXmlPayload(inputStream);
    // 5. Execute lookup.
    Payload result = accessor.call(payload);
    InputStream in = result.getContent();
    out = new ByteArrayOutputStream(1024);
    byte[] buffer = new byte[1024];
    for (int read = in.read(buffer); read > 0; read = in.read(buffer)) {
    out.write(buffer, 0, read);
    content = out.toString();
    catch(LookupException e)
    importanttrace.addWarning("Error while lookup " + e.getMessage() );
    catch(IOException e)
    importanttrace.addWarning("Error " + e.getMessage() );
    finally
    if (out!=null) {
    try {
    out.close();
    } catch (IOException e) {
    importanttrace.addWarning("Error while closing stream " + e.getMessage() );
    // 7. close the accessor in order to free resources.
    if (accessor!=null) {
    try {
    accessor.close();
    } catch (LookupException e) {
    importanttrace.addWarning("Error while closing accessor " + e.getMessage() );
    //returning the result – RFC-XML.response
      int start = content.indexOf("<OUTPUT>") + 8;
      int end = content.indexOf("</OUTPUT>");
      if (end > start && start > 8)
        content = content.substring(start,end);
    return content;

  • There was an error to lookup cluster groups.

    Hi,
    I'm quite new to the SQL Server. I have installed SQL 2012 cluster installation and I received an error when I was installing second node of the cluster. First node installed without any issue. Please see the following error.
    There was an error to lookup cluster groups. Error: There was a failure to call cluster code from a provider. Exception message: There are no more endpoints available from the endpoint mapper.
    Thanks,
    Thisaru.

    What version of the installation media are you using? I would recommend installing service pack 1 on the first node and use an installation media that included service pack 1 to add the second node.
    Now to understand the issue better, are there any other error messages reported by the installation process?
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • Lookup EJB without JNDI

    Hi,
    Using WLS7.0 on HP-UX,
    I have my client and the EJBs on the same WL server. Tilll WL6.0 I had
    to do a JNDI lookup to get to my EJB on my local machine. I noticed that
    it has a huge overhead attached to the lookup. In WL 7.0 is there any
    other way to lookup EJBs other than JNDI if they all reside in the same
    WLS container.
    Thanks
    Raj

    Hi,
    Using WLS7.0 on HP-UX,
    I have my client and the EJBs on the same WL server. Tilll WL6.0 I had
    to do a JNDI lookup to get to my EJB on my local machine. I noticed that
    it has a huge overhead attached to the lookup. In WL 7.0 is there any
    other way to lookup EJBs other than JNDI if they all reside in the same
    WLS container.
    Thanks
    Raj

  • Dovecot "Error: Auth lookup disconnected unexpectedly" ????

    I can not send/receive mail, checked the logs and in the SMTP (mail.log) I am seeing...
    +Feb 6 21:31:53 atlserver postfix/pipe[75252]: AFA35A7CB9C9: to=<[email protected]>, origto=<[email protected]>, relay=dovecot, delay=164507, delays=164501/6.1/0/0.61, dsn=4.3.0, status=deferred (temporary failure)+
    +Feb 6 21:31:54 atlserver postfix/pipe[75265]: 24E41A7DF5BE: to=<[email protected]>, relay=dovecot, delay=77792, delays=77785/6.8/0/0.42, dsn=4.3.0, status=deferred (temporary failure)+
    +Feb 6 21:31:54 atlserver postfix/pipe[75249]: 2447AA7DF215: to=<[email protected]>, relay=dovecot, delay=77990, delays=77983/6.8/0/0.42, dsn=4.3.0, status=deferred (temporary failure)+
    +Feb 6 21:31:54 atlserver postfix/pipe[75260]: B10BBA7D51F4: to=<[email protected]>, origto=<[email protected]>, relay=dovecot, delay=109963, delays=109956/6.7/0/0.42, dsn=4.3.0, status=deferred (temporary failure)+
    +Feb 6 21:31:54 atlserver postfix/pipe[75258]: B011EA7BAFA2: to=<[email protected]>, origto=<[email protected]>, relay=dovecot, delay=269109, delays=269102/6.7/0/0.42, dsn=4.3.0, status=deferred (temporary failure)+
    mailaccess.log is saying...
    +deliver(jeremy): Feb 06 21:19:40 Error: Auth lookup disconnected unexpectedly+
    +deliver(jeremy): Feb 06 21:19:40 Error: Auth lookup disconnected unexpectedly+
    +deliver(jeremy): Feb 06 21:19:40 Error: Can't connect to auth server at /var/run/dovecot/auth-master: Operation timed out+
    +deliver(jeremy): Feb 06 21:19:40 Error: Can't connect to auth server at /var/run/dovecot/auth-master: Operation timed out+
    +deliver(jeremy): Feb 06 21:19:41 Error: Auth lookup disconnected unexpectedly+
    +deliver(jeremy): Feb 06 21:19:41 Error: Auth lookup disconnected unexpectedly+
    +deliver(jeremy): Feb 06 21:19:41 Error: Can't connect to auth server at /var/run/dovecot/auth-master: Operation timed out+
    +deliver(jeremy): Feb 06 21:24:36 Error: Auth lookup disconnected unexpectedly+
    +deliver(jeremy): Feb 06 21:24:36 Error: Auth lookup disconnected unexpectedly+
    Anyone have any suggestions/ideas for me to get things working again?
    Thanks!

    I have the same errors. All mail is held in the queue with the status of temporary failure. The smtp log reports:
    Feb 11 07:32:30 melkior postfix/pipe[9742]: 576E57D85D: to=<[email protected]>, relay=dovecot, delay=0.4, delays=0.01/0.03/0/0.36, dsn=4.3.0, status=deferred (temporary failure)
    I have tried deleting and adding the user. Using the "Configure Mail Service..." button in Server Admin > Mail > Overview.
    Here is the postconf -n
    melkior:~ ladmin$ postconf -n
    biff = no
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    header_checks = pcre:/etc/postfix/customheaderchecks
    html_directory = /usr/share/doc/postfix/html
    inet_interfaces = all
    localrecipientmaps = proxy:unix:passwd.byname $alias_maps
    mail_owner = _postfix
    mailboxsizelimit = 0
    mailbox_transport = dovecot
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mapsrbldomains =
    messagesizelimit = 20971520
    mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
    mydomain = tekpretendco.com
    mydomain_fallback = localhost
    myhostname = melkior.tekpretendco.com
    mynetworks = 127.0.0.1
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    relayhost =
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = _postdrop
    smtpdclientrestrictions = permit_mynetworks permitsaslauthenticated rejectrblclient zen.spamhaus.org permit
    smtpdenforcetls = no
    smtpdhelorequired = yes
    smtpdhelorestrictions = rejectinvalid_helohostname rejectnon_fqdn_helohostname
    smtpdpw_server_securityoptions = gssapi,cram-md5
    smtpdrecipientrestrictions = permitsaslauthenticated permit_mynetworks rejectunauthdestination checkpolicyservice unix:private/policy permit
    smtpdsasl_authenable = yes
    smtpdtlsCAfile = /etc/certificates/melkior.tekpretendco.com.76F12568C7D121101AA913CF1AB01EC1036A 2FE0.chain.pem
    smtpdtls_certfile = /etc/certificates/melkior.tekpretendco.com.76F12568C7D121101AA913CF1AB01EC1036A 2FE0.cert.pem
    smtpdtls_excludeciphers = SSLv2, aNULL, ADH, eNULL
    smtpdtls_keyfile = /etc/certificates/melkior.tekpretendco.com.76F12568C7D121101AA913CF1AB01EC1036A 2FE0.key.pem
    smtpduse_pwserver = yes
    smtpdusetls = yes
    unknownlocal_recipient_rejectcode = 550
    virtualaliasmaps =

  • [EJB:011055]Error deploying the EJB with error that JNDI name already inuse

    Hi,
    I have written a trivial application consisting of 4 stateless beans and 1 MDB. The ear is developed from some code generator tool and works fine if I directly deploy on weblogic server 812.
    But in order to learn Weblogic Workshop I created new Application and EJB project. Then I imported the EJB jar and provided other source files.
    From Weblogic Workshop I could generate the ear successfully. But while trying to deploy the ear I get the following exception :
    <16/03/2005 10:02:38 PM GMT+05:30> <Error> <Deployer> <BEA-149201> <Failed to complete the deployment task with ID 1 for the application hsbc.
    weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for MCAppBEAN.jar
    Module: MCAppBEAN.jar Error: Exception preparing module: EJBModule(MCAppBEAN.jar,status=NEW)
    Unable to deploy EJB: StatelessBean from MCAppBEAN.jar:
    <b>[EJB:011055]Error deploying the EJB 'StatelessBean(Application: hsbc, EJBComponent: MCAppBEAN.jar)', the JNDI name 'StatelessBeanHSBC' is already in use. You mu
    st set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor for this EJB before it can be deployed.</b> at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2556)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    --------------- nested within: ------------------
    <b>Can someone tell where have I made the mistake?</b>
    thanks in advance.

    Try to undeploy and un target the applcation via WLS console and they try to deploy it again. Or just try to redeploy it.

  • How does the Error Row Definition and Error Message Lookup setup work?

    Suppose I use web ADI to load data to PA_TRANSACTION_INTERFACE_ALL (This is Oracle standard Interface table for Projects)
    I call a Importer (The Importer is called post upload of data to above Interface Table). The Importer will update the Interface table columns (TRANSACTION_STATUS_CODE) and (TRANSACTION_REJECTION_CODE) with values based on the clearing all validations. If validation fails, the column, TRANSACTION_STATUS_CODE is updated with value 'R' and TRANSACTION_REJECTION_CODE has the error code. This error code is stored in the Lookup, with Lookup Type = 'TRANSACTION REJECTION REASON'
    I define the Error Row Definition as follows -
    select * from PA_TRANSACTION_INTERFACE_ALL where TRANSACTION_STATUS_CODE = 'R' and BATCH_NAME = $param$.batchname (BATCH_NAME is populated in the Web ADI Template)
    I define the Error Message Lookup as -
    select meaning from apps.fnd_lookup_values where lookup_type ='TRANSACTION REJECTION REASON'
    and language='US' and lookup_code = $param$.TRANSACTION_REJECTION_CODE
    I have defined the , Document Row : Interface Attribute Mapping - with the column, ORIG_TRANSACTION_REFERENCE (THe column with the Unique value for a row and links the Excel row with the Interface table)
    I feel my setups are fine. Still why the Error -
    An error has occurred while running an API import. The ERRORED_ROWS step 275:ER_501996, parameter number 1 must contain the value BIND in attribute 1.

    Duplicate post -- https://community.oracle.com/thread/2615675

  • Webservices lookup EJB error

    This are the sever log .
    ejb ref resolution error for remote business interfacetest.session.Hello [Root exception is java.lang.RuntimeException: Could not invoke defineClass!]
         at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:350)
         at com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:61)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:314)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at my.sample.server.ServiceImpl.hello(ServiceImpl.java:24)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:589)
         at com.sun.xml.ws.server.PeptTie._invoke(PeptTie.java:58)
         at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.invokeEndpoint(SOAPMessageDispatcher.java:278)
         at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher$SoapInvoker.invoke(SOAPMessageDispatcher.java:586)
         at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:145)
         at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
         at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.handle(WSServletDelegate.java:333)
         at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:288)
         at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:77)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Caused by: java.lang.RuntimeException: Could not invoke defineClass!
         at com.sun.corba.ee.impl.codegen.CodeGeneratorUtil.makeClass(CodeGeneratorUtil.java:69)
         at com.sun.corba.ee.spi.codegen.Wrapper._generate(Wrapper.java:933)
         at com.sun.ejb.EJBUtils$2.run(EJBUtils.java:507)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.ejb.EJBUtils.generateAndLoad(EJBUtils.java:504)
         at com.sun.ejb.EJBUtils.loadGeneratedGenericEJBHomeClass(EJBUtils.java:441)
         at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:323)
         ... 43 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:589)
         at com.sun.corba.ee.impl.codegen.CodeGeneratorUtil.makeClass(CodeGeneratorUtil.java:66)
         ... 49 more
    Caused by: java.lang.NoClassDefFoundError: com/sun/ejb/containers/GenericEJBHome
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         ... 53 more
    Message was edited by:
    JDigest

    dude, if you check the profile of the original poster you'll see that the last time he/she posted was in 2006, so you can wait a long time for a response.
    Start a new thread, describe your problem well (what do you do, post relevant code, post your exception stacktrace). In the mean time, you could also try a google search for the search terms "ejb ref resolution error for remote business interface".

Maybe you are looking for

  • Transformationsde-activating after changing write optimized to standard dso

    Hi experts, i changed write optimized dso to standard dso because of some changes, but after changes done i activated the changed transformations  standard dso(previously write optimized), but it is not activating , after gone through the issue its h

  • Condition type value rounding

    Hi Experts I want to know about rounding of decimal in PO conditions. We have customised condition type like ZFRE in % and it is found that when PO is created i see  that ZFRE value is rounded i.e suppose if value is coming as 3.97 then the system ta

  • OS 10.7, SMB Connection, Change to Unicode with Extended Security on Windows Server 2008 Standard

    Hi All,  I've searched Google, and I've also contacted Apple Support with no luck:  I want to implement unicode with extended security on Windows Server 2008 Standard server shared folders so that Lion can connect normally (i.e. Finder->Go->Connect t

  • ERPsim 2009-2010 : Sneak peek

    In this video, Derick Lyle offers a sneak peek at the new outsourcing and warehousing functionalities of 2009-2010 version of ERPsim : http://www.youtube.com/watch?v=C0_2C0mBv4g More information about the 2009-2010 ERPsim version will be presented at

  • CS5 Save as Jpeg gives colour shift - OK as PSD/Tiff

    Hi Guys, This is a follow on from the "lightroom /CS5 colour shift post" which I have now narrowed down to the following: I use Win XP pro sp3 fully updated, Dell PC 4GB Ram, LR and CS5 both latest versions. Print through Qimage to epson 7880 - Workf