12 Replies Latest reply on May 24, 2006 10:47 AM by info note

    EJB3 Netbeans 5.5 EJB not bound error

    info note Newbie

      I am getting this error when i deploy my enterprise app with a web client in JBoss.

      The EJB and web client compiles successfully.

      This error is getting me mad.

      Error EJB not bound.

      I have a ClientFacade and ClientFacadeLocal

      I call the Session bean from my struts action bean using JNDI.

      //Call EJB
      InitialContext context = new InitialContext();
      ClientFacadeLocal client = (ClientFacadeLocal)context.lookup("java:comp/env/ejb/ClientFacadeLocal");

      And the errors i am gettong is:

      HTTP Status 500 -

      --------------------------------------------------------------------------------

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException: ejb not bound
      org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
      org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
      org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
      org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      root cause

      javax.naming.NameNotFoundException: ejb not bound
      org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
      org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
      org.jnp.server.NamingServer.getObject(NamingServer.java:543)
      org.jnp.server.NamingServer.lookup(NamingServer.java:267)
      org.jnp.server.NamingServer.lookup(NamingServer.java:270)
      org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
      org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716)
      org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
      javax.naming.InitialContext.lookup(InitialContext.java:351)
      com.travelagency.struts.LoginAction.execute(LoginAction.java:63)
      org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
      org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
      org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.

        • 1. Re: EJB3 Netbeans 5.5 EJB not bound error
          jaikiran pai Master

          Post the contents of your ejb-jar.xml, jboss.xml and web.xml containing the appropriate entries of the bean

          • 2. Re: EJB3 Netbeans 5.5 EJB not bound error
            info note Newbie

            In web.xml i have nothing because when i call enterprise bean (session bean) from netbeans 5.5 i get an error in web.xml

            I have ClientFacade and ClientFacadeLocal as session beans.

            Ignore the JSF stuff, as i added it but is not used. I am using Struts

            These are all my xml files:

            In main enterprise app i have:

            application.xml

            <?xml version="1.0" encoding="UTF-8"?>
            <application version="5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">
            <display-name>TravelAgency</display-name>


            <web-uri>TravelAgency-war.war</web-uri>
            <context-root>/TravelAgency-war</context-root>



            TravelAgency-ejb.jar



            jboss-app.xml

            <?xml version="1.0" encoding="UTF-8"?>
            <jboss-app/>


            And in web client i have web.xml (ignore jsf tags they are not used)

            web.xml

            <?xml version="1.0" encoding="UTF-8"?>
            <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
            <context-param>
            <param-name>com.sun.faces.verifyObjects</param-name>
            <param-value>false</param-value>
            </context-param>
            <context-param>
            <param-name>com.sun.faces.validateXml</param-name>
            <param-value>true</param-value>
            </context-param>
            <context-param>
            <param-name>javax.faces.CONFIG_FILES</param-name>
            <param-value>/WEB-INF/faces-config.xml</param-value>
            </context-param>
            <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
            </context-param>
            <servlet-name>action</servlet-name><servlet-class>org.apache.struts.action.ActionServlet</servlet-class><init-param><param-name>config</param-name><param-value>/WEB-INF/struts-config.xml</param-value></init-param><init-param><param-name>debug</param-name><param-value>2</param-value></init-param><init-param><param-name>detail</param-name><param-value>2</param-value></init-param><load-on-startup>2</load-on-startup>

            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>

            <servlet-mapping><servlet-name>action</servlet-name><url-pattern>*.do</url-pattern></servlet-mapping>
            <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
            </servlet-mapping>
            <session-config><session-timeout>
            30
            </session-timeout></session-config><welcome-file-list>
            <welcome-file>loginForm.jsp</welcome-file>
            </welcome-file-list>



            </web-app>

            And in the webapp library i have the ejb jar.

            And the struts action

            /*
            * LoginAction.java
            *
            * Created on 23 May 2006, 07:59
            */

            package com.travelagency.struts;

            import Session.*;
            import entity.*;


            import javax.servlet.http.HttpServletRequest;
            import javax.servlet.http.HttpServletResponse;

            import org.apache.struts.action.Action;
            import org.apache.struts.action.ActionForm;
            import org.apache.struts.action.ActionMapping;
            import org.apache.struts.action.ActionForward;


            //import InitialContext JNDI to connect to EJB methods.
            import javax.naming.*;
            /**
            *
            * @author Other
            * @version
            */

            public class LoginAction extends Action {

            /* forward name="success" path="" */
            private final static String SUCCESS = "success";
            private final static String CANCEL = "cancel";




            /**
            * This is the action called from the Struts framework.
            * @param mapping The ActionMapping used to select this instance.
            * @param form The optional ActionForm bean for this request.
            * @param request The HTTP Request we are processing.
            * @param response The HTTP Response we are processing.
            * @throws java.lang.Exception
            * @return
            */
            public ActionForward execute(ActionMapping mapping, ActionForm form,
            HttpServletRequest request, HttpServletResponse response)
            throws Exception {



            boolean b;


            String username = ((LoginActionForm) form).getUsername();
            String password = ((LoginActionForm) form).getPassword();


            //Call EJB
            InitialContext context = new InitialContext();
            ClientFacadeLocal client = (ClientFacadeLocal)context.lookup("java:comp/env/ejb/ClientFacadeLocal");




            b = client.VerifyUser(username, password);

            if (client.VerifyUser(username, password) == true) {
            return mapping.findForward(SUCCESS);
            }


            else

            return mapping.findForward(CANCEL);
            }
            }








            • 3. Re: EJB3 Netbeans 5.5 EJB not bound error
              jaikiran pai Master

              Looks like you forgot to post the contents of your ejb-jar.xml file. While posting the contents, enclose the same in code tags(by using the button provided above) so that it helps readability

              • 4. Re: EJB3 Netbeans 5.5 EJB not bound error
                info note Newbie

                I have no ejb-jar.xml

                I am using Netbeans 5.5

                I created a new enterprise app

                Then connected DB
                Added Entity beans
                Made a Session schema


                I tried to call enterprise bean from netbeans but i get a web.xml error

                • 5. Re: EJB3 Netbeans 5.5 EJB not bound error
                  info note Newbie

                  Just to add, since i was getting error in web.xml i removed it and made a manual initialcontext.

                  I am sure initialcontext.lookup is good as i copied it from the created method when i use call enterprise bean.

                  I then copied the lookup path and added it to my manual initialcontext.

                  Note: i only sent u an example of the action servlet.
                  I have more Session beans but i am testing module by module.

                  BTW Thanks a lot for the help

                  • 6. Re: EJB3 Netbeans 5.5 EJB not bound error
                    jaikiran pai Master

                    Ok. Try this out:

                    - Enter the following URL in your browser: http://localhost:8080/jmx-console

                    - Search for the service=JNDIView on the page that gets rendered. Click on service=JNDIView link.

                    - Then on the page that gets displayed, click on the 'Invoke' button, next to the 'list' method.

                    - This will display the JNDI names of all the components. Try and find the JNDI name to which your bean has been bound. You may post the output of the list operation, if you require more help.

                    • 7. Re: EJB3 Netbeans 5.5 EJB not bound error
                      info note Newbie

                      Nothing, Could it be a JBoss installation error?

                      As when in Netbeans i go to runtime and click on jboss application server 4 and click on the plus i get:

                      "no management support"


                      Here is the output of java.lang.String listXML() invoke:

                      It seems to be listed fine.




                      
                      java:
                      
                      XAConnectionFactory
                      org.jboss.mq.SpyXAConnectionFactory
                      
                      
                      DefaultDS
                      org.jboss.resource.adapter.jdbc.WrapperDataSource
                      
                      
                      SecurityProxyFactory
                      org.jboss.security.SubjectSecurityProxyFactory
                      
                      
                      DefaultJMSProvider
                      org.jboss.jms.jndi.JNDIProviderAdapter
                      
                      
                      Travel
                      org.jboss.resource.adapter.jdbc.WrapperDataSource
                      
                      
                      comp
                      javax.naming.Context
                      
                      
                      JmsXA
                      org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl
                      
                      
                      ConnectionFactory
                      org.jboss.mq.SpyConnectionFactory
                      
                      
                      jaas
                      javax.naming.Context
                      
                      other
                      org.jboss.security.plugins.SecurityDomainContext
                      
                      
                      HsqlDbRealm
                      org.jboss.security.plugins.SecurityDomainContext
                      
                      
                      jbossmq
                      org.jboss.security.plugins.SecurityDomainContext
                      
                      
                      JmsXARealm
                      org.jboss.security.plugins.SecurityDomainContext
                      
                      
                      
                      timedCacheFactory
                      javax.naming.Context
                      
                      Failed to list contents of: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy
                      
                      
                      
                      TransactionPropagationContextExporter
                      org.jboss.tm.TransactionPropagationContextFactory
                      
                      
                      StdJMSPool
                      org.jboss.jms.asf.StdServerSessionPoolFactory
                      
                      
                      Mail
                      javax.mail.Session
                      
                      
                      comp.ejb3
                      javax.naming.Context
                      
                      
                      TransactionPropagationContextImporter
                      org.jboss.tm.TransactionPropagationContextImporter
                      
                      
                      TransactionManager
                      org.jboss.tm.TxManager
                      
                      
                      
                      Global
                      
                      XAConnectionFactory
                      org.jboss.mq.SpyXAConnectionFactory
                      
                      
                      TopicConnectionFactory
                      org.jboss.naming.LinkRefPair
                      
                      
                      EventDispatcher
                      org.jboss.ws.eventing.mgmt.DispatcherDelegate
                      
                      
                      UserTransactionSessionFactory
                      $Proxy42
                      
                      
                      UIL2ConnectionFactory
                      ConnectionFactory
                      javax.naming.LinkRef
                      
                      
                      UIL2XAConnectionFactory
                      XAConnectionFactory
                      javax.naming.LinkRef
                      
                      
                      QueueConnectionFactory
                      org.jboss.naming.LinkRefPair
                      
                      
                      topic
                      org.jnp.interfaces.NamingContext
                      
                      testDurableTopic
                      org.jboss.mq.SpyTopic
                      
                      
                      testTopic
                      org.jboss.mq.SpyTopic
                      
                      
                      securedTopic
                      org.jboss.mq.SpyTopic
                      
                      
                      
                      queue
                      org.jnp.interfaces.NamingContext
                      
                      A
                      org.jboss.mq.SpyQueue
                      
                      
                      testQueue
                      org.jboss.mq.SpyQueue
                      
                      
                      ex
                      org.jboss.mq.SpyQueue
                      
                      
                      DLQ
                      org.jboss.mq.SpyQueue
                      
                      
                      D
                      org.jboss.mq.SpyQueue
                      
                      
                      C
                      org.jboss.mq.SpyQueue
                      
                      
                      B
                      org.jboss.mq.SpyQueue
                      
                      
                      
                      ConnectionFactory
                      org.jboss.mq.SpyConnectionFactory
                      
                      
                      UserTransaction
                      org.jboss.tm.usertx.client.ClientUserTransaction
                      
                      
                      jmx
                      org.jnp.interfaces.NamingContext
                      
                      invoker
                      org.jnp.interfaces.NamingContext
                      
                      RMIAdaptor
                      $Proxy36
                      
                      
                      
                      rmi
                      org.jnp.interfaces.NamingContext
                      
                      RMIAdaptor
                      jmx/invoker/RMIAdaptor
                      javax.naming.LinkRef
                      
                      
                      
                      
                      UILXAConnectionFactory
                      XAConnectionFactory
                      javax.naming.LinkRef
                      
                      
                      UILConnectionFactory
                      ConnectionFactory
                      javax.naming.LinkRef
                      
                      
                      
                      
                      


                      • 8. Re: EJB3 Netbeans 5.5 EJB not bound error
                        jaikiran pai Master

                        I had a look at the jndi listings. Looking at it, i believe that your beans are NOT deployed. I havent used NetBeans, but there might be some way in NetBeans through which you can deploy your beans.

                        • 9. Re: EJB3 Netbeans 5.5 EJB not bound error
                          info note Newbie

                          I deployed the application:

                          Applicaton Deployed
                          Operation start started
                          run-deploy:
                          BUILD SUCCESSFUL (total time: 1 minute 19 seconds)

                          With your help i managed to find 4 possible causes:
                          1) enterprise application not deployed correctly (see above app is deployed)
                          2) ejb-jar.xml is missing.
                          3) JBoss not installed correctly
                          4) Netbeans error


                          And i followed the steps of checking if beans are deployed.



                          java:

                          XAConnectionFactory
                          org.jboss.mq.SpyXAConnectionFactory


                          DefaultDS
                          org.jboss.resource.adapter.jdbc.WrapperDataSource


                          SecurityProxyFactory
                          org.jboss.security.SubjectSecurityProxyFactory


                          DefaultJMSProvider
                          org.jboss.jms.jndi.JNDIProviderAdapter


                          Travel
                          org.jboss.resource.adapter.jdbc.WrapperDataSource


                          comp
                          javax.naming.Context


                          JmsXA
                          org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl


                          ConnectionFactory
                          org.jboss.mq.SpyConnectionFactory


                          jaas
                          javax.naming.Context

                          other
                          org.jboss.security.plugins.SecurityDomainContext


                          HsqlDbRealm
                          org.jboss.security.plugins.SecurityDomainContext


                          jbossmq
                          org.jboss.security.plugins.SecurityDomainContext


                          JmsXARealm
                          org.jboss.security.plugins.SecurityDomainContext



                          timedCacheFactory
                          javax.naming.Context

                          Failed to list contents of: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy



                          TransactionPropagationContextExporter
                          org.jboss.tm.TransactionPropagationContextFactory


                          StdJMSPool
                          org.jboss.jms.asf.StdServerSessionPoolFactory


                          Mail
                          javax.mail.Session


                          comp.ejb3
                          javax.naming.Context


                          TransactionPropagationContextImporter
                          org.jboss.tm.TransactionPropagationContextImporter


                          TransactionManager
                          org.jboss.tm.TxManager



                          Global

                          XAConnectionFactory
                          org.jboss.mq.SpyXAConnectionFactory


                          TopicConnectionFactory
                          org.jboss.naming.LinkRefPair


                          EventDispatcher
                          org.jboss.ws.eventing.mgmt.DispatcherDelegate


                          UserTransactionSessionFactory
                          $Proxy42


                          UIL2ConnectionFactory
                          ConnectionFactory
                          javax.naming.LinkRef


                          UIL2XAConnectionFactory
                          XAConnectionFactory
                          javax.naming.LinkRef


                          QueueConnectionFactory
                          org.jboss.naming.LinkRefPair


                          topic
                          org.jnp.interfaces.NamingContext

                          testDurableTopic
                          org.jboss.mq.SpyTopic


                          testTopic
                          org.jboss.mq.SpyTopic


                          securedTopic
                          org.jboss.mq.SpyTopic



                          queue
                          org.jnp.interfaces.NamingContext

                          A
                          org.jboss.mq.SpyQueue


                          testQueue
                          org.jboss.mq.SpyQueue


                          ex
                          org.jboss.mq.SpyQueue


                          DLQ
                          org.jboss.mq.SpyQueue


                          D
                          org.jboss.mq.SpyQueue


                          C
                          org.jboss.mq.SpyQueue


                          B
                          org.jboss.mq.SpyQueue



                          ConnectionFactory
                          org.jboss.mq.SpyConnectionFactory


                          UserTransaction
                          org.jboss.tm.usertx.client.ClientUserTransaction


                          jmx
                          org.jnp.interfaces.NamingContext

                          invoker
                          org.jnp.interfaces.NamingContext

                          RMIAdaptor
                          $Proxy36



                          rmi
                          org.jnp.interfaces.NamingContext

                          RMIAdaptor
                          jmx/invoker/RMIAdaptor
                          javax.naming.LinkRef




                          UILXAConnectionFactory
                          XAConnectionFactory
                          javax.naming.LinkRef


                          UILConnectionFactory
                          ConnectionFactory
                          javax.naming.LinkRef






                          • 10. Re: EJB3 Netbeans 5.5 EJB not bound error
                            info note Newbie

                            This thing is making me mad. I have everything ready except for deployment.

                            And i thought it will be the easiest part.

                            Looking at the logs of JBoss Application Server:

                            3:12:43,046 WARN [ServiceController] Problem starting service persistence.units:jar=TravelAgency-ejb.jar,unitName=TravelAgency-ejb
                            javax.naming.NameNotFoundException: Travel not bound
                             at org.jnp.server.NamingServer.getBinding(NamingServer.java:52 at org.jnp.server.NamingServer.getBinding(NamingServer.java:53 at org.jnp.server.NamingServer.getObject(NamingServer.java:54 at org.jnp.server.NamingServer.lookup(NamingServer.java:29 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:62 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:58 at javax.naming.InitialContext.lookup(InitialContext.java:35 at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:9 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy79.start(Unknown Sourc at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:8 at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:62 at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:47 at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:13 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy34.start(Unknown Sourc at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:42 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:9 at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:23 at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:11 at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:18 at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy35.start(Unknown Sourc at org.jboss.deployment.MainDeployer.start(MainDeployer.java:100 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:80 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:77 at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy6.deploy(Unknown Sourc at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:42 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:63 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:26 at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:33 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy4.start(Unknown Sourc at org.jboss.deployment.SARDeployer.start(SARDeployer.java:30 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:100 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:80 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:77 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:75 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy5.deploy(Unknown Sourc at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:48 at org.jboss.system.server.ServerImpl.start(ServerImpl.java:36 at org.jboss.Main.boot(Main.java:20 at org.jboss.Main$1.run(Main.java:46 at java.lang.Thread.run(Thread.java:5913:12:43,203 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=TravelAgency-ejb.jar,name=BookingFacade,service=EJB3 with dependencies:
                            13:12:43,203 INFO [JmxKernelAbstraction] persistence.units:jar=TravelAgency-ejb.jar,unitName=TravelAgency-ejb
                            


                            and:

                            13:13:16,578 WARN [ServiceController] Problem starting service persistence.units:ear=Travel.ear,jar=Travel-ejb.jar,unitName=Travel-ejb
                            javax.naming.NameNotFoundException: Travel not bound
                             at org.jnp.server.NamingServer.getBinding(NamingServer.java:52 at org.jnp.server.NamingServer.getBinding(NamingServer.java:53 at org.jnp.server.NamingServer.getObject(NamingServer.java:54 at org.jnp.server.NamingServer.lookup(NamingServer.java:29 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:62 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:58 at javax.naming.InitialContext.lookup(InitialContext.java:35 at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:9 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy91.start(Unknown Sourc at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:8 at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:62 at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:47 at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:13 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy34.start(Unknown Sourc at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:42 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:9 at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:23 at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:11 at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:18 at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy35.start(Unknown Sourc at org.jboss.deployment.MainDeployer.start(MainDeployer.java:100 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:99 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:80 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:77 at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy6.deploy(Unknown Sourc at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:42 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:63 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:26 at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:33 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy4.start(Unknown Sourc at org.jboss.deployment.SARDeployer.start(SARDeployer.java:30 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:100 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:80 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:77 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:75 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy5.deploy(Unknown Sourc at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:48 at org.jboss.system.server.ServerImpl.start(ServerImpl.java:36 at org.jboss.Main.boot(Main.java:20 at org.jboss.Main$1.run(Main.java:46 at java.lang.Thread.run(Thread.java:5913:13:16,968 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=Travel.ear,jar=Travel-ejb.jar,name=BookingFacade,service=EJB3 with dependencies:
                            13:13:16,968 INFO [JmxKernelAbstractio


                            13:13:26,921 WARN [ServiceController] Problem starting service persistence.units:ear=TravelAgency.ear,jar=TravelAgency-ejb.jar,unitName=TravelAgency-ejb
                            javax.naming.NameNotFoundException: Travel not bound
                            
                            


                            • 11. Re: EJB3 Netbeans 5.5 EJB not bound error
                              info note Newbie

                              Looking at the logs i have errors when deploying.

                              I have everything ready. I thought deploying would be the easiest part.

                              Any solutions?

                              These are the errors:



                              13:12:38,796 WARN [ServiceController] Problem starting service persistence.units:jar=EnterpriseApplication2-ejb.jar,unitName=EnterpriseApplication2-ejb
                              javax.naming.NameNotFoundException: Travel not bound
                               at org.jnp.server.NamingServer.getBinding(NamingServer.java:52 at org.jnp.server.NamingServer.getBinding(NamingServer.java:53 at org.jnp.server.NamingServer.getObject(NamingServer.java:54 at org.jnp.server.NamingServer.lookup(NamingServer.java:29 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:62 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:58 at javax.naming.InitialContext.lookup(InitialContext.java:35 at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:9 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy49.start(Unknown Sourc at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:8 at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:62 at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:47 at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:13 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy34.start(Unknown Sourc at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:42 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:9 at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:23 at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:11 at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:18 at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy35.start(Unknown Sourc at org.jboss.deployment.MainDeployer.start(MainDeployer.java:100 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:80 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:77 at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy6.deploy(Unknown Sourc at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:42 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:63 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:26 at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:33 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy4.start(Unknown Sourc at org.jboss.deployment.SARDeployer.start(SARDeployer.java:30 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:100 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:80 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:77 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:75 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy5.deploy(Unknown Sourc at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:48 at org.jboss.system.server.ServerImpl.start(ServerImpl.java:36 at org.jboss.Main.boot(Main.java:20 at org.jboss.Main$1.run(Main.java:46 at java.lang.Thread.run(Thread.java:5913:12:39,046 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=EnterpriseApplication2-ejb.jar,name=BookingFacade,service=EJB3 with dependencies:
                              13:12:39,046 INFO [JmxKernelAbs
                              
                              


                              13:12:39,640 WARN [ServiceController] Problem starting service persistence.units:jar=Travel-ejb.jar,unitName=Travel-ejb
                              javax.naming.NameNotFoundException: Travel not bound
                               at org.jnp.server.NamingServer.getBinding(NamingServer.java:52 at org.jnp.server.NamingServer.getBinding(NamingServer.java:53 at org.jnp.server.NamingServer.getObject(NamingServer.java:54 at org.jnp.server.NamingServer.lookup(NamingServer.java:29 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:62 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:58 at javax.naming.InitialContext.lookup(InitialContext.java:35 at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:9 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy67.start(Unknown Sourc at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:8 at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:62 at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:47 at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:13 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy34.start(Unknown Sourc at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:42 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:9 at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:23 at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:11 at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:18 at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy35.start(Unknown Sourc at org.jboss.deployment.MainDeployer.start(MainDeployer.java:100 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:80 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:77 at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy6.deploy(Unknown Sourc at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:42 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:63 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:26 at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:33 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy4.start(Unknown Sourc at org.jboss.deployment.SARDeployer.start(SARDeployer.java:30 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:100 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:80 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:77 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:75 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy5.deploy(Unknown Sourc at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:48 at org.jboss.system.server.ServerImpl.start(ServerImpl.java:36 at org.jboss.Main.boot(Main.java:20 at org.jboss.Main$1.run(Main.java:46 at java.lang.Thread.run(Thread.java:5913:12:40,187 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=Travel-ejb.jar,name=BookingFacade,service=EJB3 with dependencies:
                              13:12:40,187 INFO [JmxKernelAbstracti


                              13:12:43,046 WARN [ServiceController] Problem starting service persistence.units:jar=TravelAgency-ejb.jar,unitName=TravelAgency-ejb
                              javax.naming.NameNotFoundException: Travel not bound
                               at org.jnp.server.NamingServer.getBinding(NamingServer.java:52 at org.jnp.server.NamingServer.getBinding(NamingServer.java:53 at org.jnp.server.NamingServer.getObject(NamingServer.java:54 at org.jnp.server.NamingServer.lookup(NamingServer.java:29 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:62 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:58 at javax.naming.InitialContext.lookup(InitialContext.java:35 at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:9 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy79.start(Unknown Sourc at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:8 at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:62 at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:47 at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:13 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy34.start(Unknown Sourc at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:42 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:9 at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:23 at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:11 at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:18 at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy35.start(Unknown Sourc at org.jboss.deployment.MainDeployer.start(MainDeployer.java:100 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:80 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:77 at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy6.deploy(Unknown Sourc at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:42 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:63 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:26 at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:33 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:28 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:24 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:97 at $Proxy0.start(Unknown Sourc at org.jboss.system.ServiceController.start(ServiceController.java:41 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy4.start(Unknown Sourc at org.jboss.deployment.SARDeployer.start(SARDeployer.java:30 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:100 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:80 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:77 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:75 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy5.deploy(Unknown Sourc at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:48 at org.jboss.system.server.ServerImpl.start(ServerImpl.java:36 at org.jboss.Main.boot(Main.java:20 at org.jboss.Main$1.run(Main.java:46 at java.lang.Thread.run(Thread.java:5913:12:43,203 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=TravelAgency-ejb.jar,name=BookingFacade,service=EJB3 with dependencies:
                              13:12:43,203 INFO [JmxKe


                              13:13:02,843 WARN [EjbUtil] DeploymentInfo org.jboss.deployment.DeploymentInfo@4ac60570 { url=file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/Travel-ejb.jar }
                               deployer: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
                               status: Deployed
                               state: START_DEPLOYER
                              


                              • 12. Re: EJB3 Netbeans 5.5 EJB not bound error
                                info note Newbie

                                I finally understood the problem.

                                The problem is that JBoss does not support JEE5, and since the enterprise app is JEE5, it does not work.

                                I went with Sun Application Server 9 and everything seems to be working when i call enterprise bean.

                                However, I would like to thank all of JBoss, as you provided great customer service with your responses to my questions.

                                When i create a new enterprise app in Netbeans 5.5, i get an option to choose JEE5.

                                However the web part still uses servlet version 2.4 while the sun application server 9 uses servlet 2.5

                                Thanks again for the help.