javax.naming.NamingException: ejb-ref: ejb/Account, no ejb-link match, use jndi-name in jboss-web.xml

Oracle Community | 843797 | 1 decade ago
  1. 0

    Jboss help

    Oracle Community | 1 decade ago | 843797
    javax.naming.NamingException: ejb-ref: ejb/Account, no ejb-link match, use jndi-name in jboss-web.xml
  2. 0

    Unable to create EJB beans in RemoteServiceServlet

    Google Groups | 9 years ago | fanislas
    javax.naming.NamingException: ejb-ref: UserEJB, no ejb-link in web.xml and no jndi-name in jboss-web.xml)
  3. 0

    Unable to create EJB beans in RemoteServiceServlet

    Google Groups | 9 years ago | fanislas
    javax.naming.NamingException: ejb-ref: UserEJB, no ejb-link in web.xml and no jndi-name in jboss-web.xml)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Migrate WebLogic EJB component to Jboss

    Oracle Community | 9 years ago | 843830
    org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-ref: my1, no ejb-link in web.xml and no jndi-name in jboss-web.xml)
  6. 0

    GF 3.1.1 using CORBA interoperable naming syntax for JNDI lookup

    Oracle Community | 5 years ago | Bernhard Thalmayr Guest
    javax.naming.NamingException: Lookup failed for 'java:comp/env/ejb/Calculator' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=ejb/Calculator,Remote 3.x interface =null,ejb-link=null,lookup=,mappedName=,jndi-name=corba:iiop:localhost:3700#ejb/Calc,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'corba:iiop:localhost:3700#ejb/Calc#null' [Root exception is java.lang.NullPointerException]]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.NamingException

      ejb-ref: ejb/Account, no ejb-link match, use jndi-name in jboss-web.xml

      at org.jboss.web.AbstractWebContainer.linkEjbRefs()
    2. JBoss Application Server Server
      AbstractWebContainer$DescriptorParser.parseWebAppDescriptors
      1. org.jboss.web.AbstractWebContainer.linkEjbRefs(AbstractWebContainer.java:634)
      2. org.jboss.web.AbstractWebContainer.parseWebAppDescriptors(AbstractWebContainer.java:459)
      3. org.jboss.web.AbstractWebContainer$DescriptorParser.parseWebAppDescriptors(AbstractWebContainer.java:954)
      3 frames
    3. org.jboss.web
      EmbeddedCatalinaService41.performDeploy
      1. org.jboss.web.catalina.EmbeddedCatalinaService41.initENC(EmbeddedCatalinaService41.java:440)
      2. org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41.java:427)
      3. org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.java:306)
      3 frames
    4. JBoss Application Server Server
      AbstractWebContainer.start
      1. org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
      1 frame
    5. JBoss Application Server System JMX
      MainDeployer.deploy
      1. org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
      2. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
      3. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
      3 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    7. org.jboss.mx
      ReflectedMBeanDispatcher.invoke
      1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      1 frame
    8. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      1 frame
    9. org.jboss.util
      MBeanProxy.invoke
      1. org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      1 frame
    10. Unknown
      $Proxy3.deploy
      1. $Proxy3.deploy(Unknown Source)
      1 frame
    11. org.jboss.deployment
      AbstractDeploymentScanner.startService
      1. org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
      2. org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656)
      3. org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
      4. org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:261)
      4 frames
    12. JBoss Application Server System
      ServiceMBeanSupport.start
      1. org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
      1 frame
    13. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    14. org.jboss.mx
      ReflectedMBeanDispatcher.invoke
      1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      1 frame
    15. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      1 frame
    16. JBoss Application Server System
      ServiceController$ServiceProxy.invoke
      1. org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
      1 frame
    17. Unknown
      $Proxy0.start
      1. $Proxy0.start(Unknown Source)
      1 frame
    18. JBoss Application Server System
      ServiceController.start
      1. org.jboss.system.ServiceController.start(ServiceController.java:413)
      1 frame
    19. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    20. org.jboss.mx
      ReflectedMBeanDispatcher.invoke
      1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      1 frame
    21. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      1 frame
    22. org.jboss.util
      MBeanProxy.invoke
      1. org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      1 frame
    23. Unknown
      $Proxy2.start
      1. $Proxy2.start(Unknown Source)
      1 frame
    24. JBoss Application Server System JMX
      MainDeployer.deploy
      1. org.jboss.deployment.SARDeployer.start(SARDeployer.java:230)
      2. org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
      3. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
      4. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
      5. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
      5 frames
    25. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    26. org.jboss.mx
      ReflectedMBeanDispatcher.invoke
      1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      1 frame
    27. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      1 frame
    28. JBoss Application Server System JMX
      ServerImpl.start
      1. org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325)
      2. org.jboss.system.server.ServerImpl.start(ServerImpl.java:222)
      2 frames
    29. JBoss Application Server Server
      Main$1.run
      1. org.jboss.Main.boot(Main.java:148)
      2. org.jboss.Main$1.run(Main.java:381)
      2 frames
    30. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:484)
      1 frame