3 Replies Latest reply on Feb 21, 2011 8:36 AM by Sam W

    NameNotFoundException: ORB not bound

    Sam W Expert

      Hello,

       

       

      Although I have resolved the previous issue , but I am still having this exception but related to other problem I guess, because my web service client is currently able to invoke the RoleFacade session bean, however when I re-deploy the web service server side project, I found the following exception.

       

       

      2011-02-21 07:47:30,619 WARN  [org.jboss.kernel.plugins.dependency.StartStopLifecycleAction] (HDScanner) Error during stop for jboss-switchboard:appName=HousewareEnterpriseApplication1,module=HousewareEnterpriseApplication1-ejb,name=RoleFacade: javax.naming.NameNotFoundException: ORB not bound

       

       

      Again, I may have missed out some definition in the xml configuration, but I don't know what.

       

       

      Thanks

      Sam

        • 1. NameNotFoundException: ORB not bound
          jaikiran pai Master

          That looks like a WARN message (during undeploy?). I would ignore this for now and fix the other issues. It might just be a side effect of the other main issue.

          • 2. NameNotFoundException: ORB not bound
            Sam W Expert

            Thank you for the reply again, Jaikiran.

             

            The problem is actually with the installed Web Service become unavailable whenever I restarted JBOSS server.

            After deployed the server side EAR file, I shutdown JBOSS, the start it again with ./run.bat.

             

            There is an exception :

             

            DEPLOYMENTS MISSING DEPENDENCIES:

              Deployment "jboss-switchboard:appName=HousewareEnterpriseApplication1,module=HousewareEnterpriseApplication1-ejb,name=RoleWS" is missing the following dependencies:

                Dependency "jboss.j2ee:ear=HousewareEnterpriseApplication1.ear,jar=HousewareEnterpriseApplication1-ejb.jar,name=RoleFacade,service=EJB3,type=nointerface-view-jndi-binder" (should be in state "Installed", but is actually in state "Instantiated")

                Dependency "jboss.j2ee:ear=HousewareEnterpriseApplication1.ear,jar=HousewareEnterpriseApplication1-ejb.jar,name=RoleFacade,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall")

             

            When I navigate to the test page, the page thrown exception:

            javax.xml.ws.soap.SOAPFaultException: org.jboss.injection.manager.spi.InjectionException: javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: RoleFacade not bound]]

             

            Is there anything missing in my project configuration file?

             

            Thanks

            Sam

            • 3. NameNotFoundException: ORB not bound
              Sam W Expert

              After read your suggestion a while ago, I realised that I have messed up my java_home and classpath in my enviornment virables. I removed classpath and reset jdk_home to the one I want, recompiled and redeploy were very clean.

               

              Very nice.

              Thanks

              Sam