javax.naming.NamingException: Lookup failed for 'java:global/myEAR1/myEAR1-ejb/myServices!mypackage.myServicesRemote' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.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: ejb ref resolution error for remote business interface mypackage.myServicesRemote [Root exception is sun.misc.InvalidJarIndexException: Invalid index]]

Oracle Community | haleh | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Runnging application client as web start

    Oracle Community | 5 years ago | haleh
    javax.naming.NamingException: Lookup failed for 'java:global/myEAR1/myEAR1-ejb/myServices!mypackage.myServicesRemote' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.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: ejb ref resolution error for remote business interface mypackage.myServicesRemote [Root exception is sun.misc.InvalidJarIndexException: Invalid index]]
  2. 0

    Glassfish 3.1.2 Webservice and Hibernate don't work

    Stack Overflow | 3 years ago | DevJava13
    javax.naming.NamingException: Lookup failed for 'jdbc/ProjectJava' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is java.lang.RuntimeException: Orb initialization erorr]]
  3. 0

    javax.naming.NameNotFoundException: jms

    Stack Overflow | 5 years ago | g123k
    javax.naming.NamingException: Lookup failed for 'jms/ConnectionFactory' 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.NameNotFoundException: jms]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception attempting to inject Remote ejb-ref + pagina laad niet, EJB exception

    GitHub | 2 years ago | r0450086
    java.lang.IllegalStateException: Exception attempting to inject Remote ejb-ref name=org.thomasmore.oo3.course.resortui.controller.CustomerController/CustomerDao,Remote 3.x interface =org.thomasmore.oo3.course.resortui.dao.CustomerDao,ejb-link=null,lookup=,mappedName=,jndi-name=org.thomasmore.oo3.course.resortui.dao.CustomerDao,refType=Session into class org.thomasmore.oo3.course.resortui.controller.CustomerController: Lookup failed for 'java:comp/env/org.thomasmore.oo3.course.resortui.controller.CustomerController/CustomerDao' 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}
  6. 0

    Error In Java EE Web App_ NetBeans

    Stack Overflow | 4 years ago | user128806
    java.lang.IllegalStateException: Exception attempting to inject Remote ejb-ref name=PresentationLayer.PlacesManagedBean/placesSessionBean,Remote 3.x interface =LogicLayer.PlacesSessionBean,ejb-link=null,lookup=,mappedName=,jndi-name=LogicLayer.PlacesSessionBean,refType=Session into class PresentationLayer.PlacesManagedBean: Lookup failed for 'java:comp/env/PresentationLayer.PlacesManagedBean/placesSessionBean' 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}

    20 unregistered visitors
    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

      Lookup failed for 'java:global/myEAR1/myEAR1-ejb/myServices!mypackage.myServicesRemote' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.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: ejb ref resolution error for remote business interface mypackage.myServicesRemote [Root exception is sun.misc.InvalidJarIndexException: Invalid index]]

      at com.sun.enterprise.naming.impl.SerialContext.lookup()
    2. Glassfish Naming
      SerialContext.lookup
      1. com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
      2. com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
      2 frames
    3. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(Unknown Source)
      1 frame
    4. mymainpackage
      myclass.main
      1. mymainpackage.myclass.main(myclass.java:52)
      1 frame