7 Replies Latest reply on Oct 12, 2008 11:18 AM by Christoph K

    EJB3.0 example with session bean and servlet

    Christoph K Newbie

      Hello, I am using Netbeans 6.1 and JBoss 5.0.0.CR2.

      I am trying out an example with a stateless session bean and servlet, but have some problems.

      The error message:
      HTTP Status 404 - Servlet QuatronServlet is not available

      ---------------------------------------------------------------------------------
      The console output:
      *** CONTEXTS IN ERROR: Name -> Error

      <UNKNOWN jboss.j2ee:ear=Hydron.ear,jar=HydronEJB.jar,name=HydronEJB,service=EJB3> -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **

      jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **

      <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3> -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **

      <UNKNOWN jboss.j2ee:ear=Quatron.ear,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3> -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **

      jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **


      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)


      23:52:20,579 INFO [[/Quatron]] Marking servlet QuatronServlet as unavailable
      23:52:20,579 ERROR [[QuatronServlet]] Allocate exception for servlet QuatronServlet
      javax.naming.NameNotFoundException: Quatron not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:564)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:572)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:578)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:288)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
      at javax.naming.InitialContext.lookup(InitialContext.java:392)
      at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1251)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:760)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
      at org.jboss.ejb3.JndiUtil.lookup(JndiUtil.java:44)
      at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:75)
      at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99)
      at org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:361)
      at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:244)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:777)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:91)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:92)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:619)
      23:52:26,849 INFO [[QuatronServlet]] Servlet QuatronServlet is currently unavailable


      Here is the code:
      ----------------------------------------------------------------------------------
      Application.xml

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

      <display-name>Quatron</display-name>


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



      Quatron-ejb.jar


      ----------------------------------------------------------------------------------
      jboss-app.xml

      <jboss-app>
      <loader-repository>
      quatron:archive=quatron.ear
      </loader-repository>
      </jboss-app>
      ----------------------------------------------------------------------------------
      QuatronEJBBean.java

      package session;
      import javax.ejb.Stateless;

      @Stateless
      public class QuatronEJBBean implements QuatronEJBLocal {
      public String getText() {
      return "test";
      }
      }
      ----------------------------------------------------------------------------------
      QuatronEJBLocal.java

      package session;
      import javax.ejb.Local;

      @Local
      public interface QuatronEJBLocal {
      String getText();
      }

      ----------------------------------------------------------------------------------
      web.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <web-app version="2.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/web-app_2_5.xsd">

      <servlet-name>QuatronServlet</servlet-name>
      <servlet-class>servlet.QuatronServlet</servlet-class>

      <servlet-mapping>
      <servlet-name>QuatronServlet</servlet-name>
      <url-pattern>/QuatronServlet</url-pattern>
      </servlet-mapping>
      <session-config>
      <session-timeout>
      30
      </session-timeout>
      </session-config>
      <welcome-file-list>
      <welcome-file>index.jsp</welcome-file>
      </welcome-file-list>
      <ejb-local-ref>
      <ejb-ref-name>ejb/QuatronEJBBean</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      session.QuatronEJBLocal
      </ejb-local-ref>
      </web-app>

      ----------------------------------------------------------------------------------
      jboss-web.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <jboss-web>
      <security-domain flushOnSessionInvalidation="false"/>
      <context-root>/Quatron</context-root>
      <ejb-local-ref>
      <ejb-ref-name>ejb/QuatronEJBBean</ejb-ref-name>
      session.QuatronEJBBean
      <local-jndi-name>Quatron/QuatronEJBBean/local</local-jndi-name>
      </ejb-local-ref>
      </jboss-web>
      ----------------------------------------------------------------------------------
      QuatronServlet.java

      package servlet;

      import java.io.IOException;
      import java.io.PrintWriter;
      import javax.ejb.EJB;
      import javax.servlet.ServletException;
      import javax.servlet.http.HttpServlet;
      import javax.servlet.http.HttpServletRequest;
      import javax.servlet.http.HttpServletResponse;
      import session.QuatronEJBLocal;

      /**
      *
      * @author gruen
      */
      public class QuatronServlet extends HttpServlet {


      @EJB
      private QuatronEJBLocal quatron;

      protected void processRequest(HttpServletRequest request, HttpServletResponse response)
      throws ServletException, IOException {
      response.setContentType("text/html;charset=UTF-8");
      PrintWriter out = response.getWriter();

      try {
      out.println("Test" + quatron.getText());
      } finally {
      out.close();
      }
      }

      protected void doGet(HttpServletRequest request, HttpServletResponse response)
      throws ServletException, IOException {
      processRequest(request, response);
      }

      protected void doPost(HttpServletRequest request, HttpServletResponse response)
      throws ServletException, IOException {
      processRequest(request, response);
      }


      }


      Thanks a lot for any answers! By the way, when should I use <ejb-link> and when just ?

        • 1. Re: EJB3.0 example with session bean and servlet
          Christoph K Newbie


          According to the error message, the error is w.r.t. to the env variable:

          java.lang.RuntimeException: Unable to inject jndi dependency: env/quatron into property servlet.QuatronServlet.quatron: Quatron not bound

          type Exception report
          
          message
          
          description The server encountered an internal error () that prevented it from fulfilling this request.
          
          exception
          
          javax.servlet.ServletException: Error instantiating servlet class servlet.QuatronServlet
           org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
           org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:91)
           org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:92)
           org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
           org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
           org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
           org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
           org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           java.lang.Thread.run(Thread.java:619)
          
          root cause
          
          java.lang.RuntimeException: Unable to inject jndi dependency: env/quatron into property servlet.QuatronServlet.quatron: Quatron not bound
           org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:82)
           org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99)
           org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:361)
           org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:244)
           org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
           org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:91)
           org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:92)
           org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
           org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
           org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
           org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
           org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           java.lang.Thread.run(Thread.java:619)
          
          root cause
          
          javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: Quatron not bound]
           org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1257)
           org.jnp.interfaces.NamingContext.lookup(NamingContext.java:760)
           org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
           org.jboss.ejb3.JndiUtil.lookup(JndiUtil.java:44)
           org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:75)
           org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99)
           org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:361)
           org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:244)
           org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
           org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:91)
           org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:92)
           org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
           org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
           org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
           org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
           org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           java.lang.Thread.run(Thread.java:619)
          
          root cause
          
          javax.naming.NameNotFoundException: Quatron not bound
           org.jnp.server.NamingServer.getBinding(NamingServer.java:564)
           org.jnp.server.NamingServer.getBinding(NamingServer.java:572)
           org.jnp.server.NamingServer.getObject(NamingServer.java:578)
           org.jnp.server.NamingServer.lookup(NamingServer.java:288)
           org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
           org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
           javax.naming.InitialContext.lookup(InitialContext.java:392)
           org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1251)
           org.jnp.interfaces.NamingContext.lookup(NamingContext.java:760)
           org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
           org.jboss.ejb3.JndiUtil.lookup(JndiUtil.java:44)
           org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:75)
           org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99)
           org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:361)
           org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:244)
           org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
           org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:91)
           org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:92)
           org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
           org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
           org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
           org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
           org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           java.lang.Thread.run(Thread.java:619)
          
          note The full stack trace of the root cause is available in the JBoss Web/2.1.1.CR7 logs.
          




          • 2. Re: EJB3.0 example with session bean and servlet
            Wolfgang Knauf Master

            Hi Chris,

            you don't need the "ejb-local-ref" in "jboss-web.xml" and "web.xml", injection should work without using a client ENC. If you remove those entries, then your sample should work without any further changes.

            Hope this helps

            Wolfgang

            • 3. Re: EJB3.0 example with session bean and servlet
              Christoph K Newbie

              Hello! Thanks a lot for your answer!!
              I deleted the entries in web.xml and jboss-web.xml, but the application doesn't run. The ejbs are also not loaded in the JNDI-View at the console.

              The error message is as follows:

              14:13:10,034 WARN [EjbMetadataJndiPolicyDecoratorDeployer] Defaulting to DefaultJndiBindingPolicy of "org.jboss.metadata.ejb.jboss.jndipolicy.plugins.BasicJndiBindingPolicy" for Session Bean QuatronEJBBean
              14:13:10,077 INFO [JBossASKernel] Created KernelDeployment for: Quatron-ejb.jar
              14:13:10,077 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3
              14:13:10,077 INFO [JBossASKernel] with dependencies:
              14:13:10,078 INFO [JBossASKernel] and demands:
              14:13:10,158 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
              14:13:10,158 INFO [JBossASKernel] and supplies:
              14:13:10,158 INFO [JBossASKernel] jndi:QuatronEJBBean/remote-session.QuatronEJBRemote
              14:13:10,158 INFO [JBossASKernel] jndi:QuatronEJBBean/remote
              14:13:10,158 INFO [JBossASKernel] Class:session.QuatronEJBRemote
              14:13:10,158 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3) to KernelDeployment of: Quatron-ejb.jar
              14:13:10,225 WARN [HDScanner] Failed to process changes
              org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
              
              *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
              
              jboss.ejb:persistencePolicy=database,service=EJBTimerService
               -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
               -> jboss.jdbc:datasource=DefaultDS,service=metadata{Create:** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **}
              
              jboss.ejb:service=EJB3TimerService
               -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
              
              jboss.ejb:service=EJBTimerService
               -> jboss.ejb:persistencePolicy=database,service=EJBTimerService{Create:Configured}
              
              jboss.j2ee:ear=Hydron.ear,jar=HydronEJB.jar,name=HydronEJB,service=EJB3
               -> <UNKNOWN jboss.j2ee:ear=Hydron.ear,jar=HydronEJB.jar,name=HydronEJB,service=EJB3>{Described:** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **}
              
              jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3
               -> <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3>{Described:** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **}
              
              jboss.jca:name=JmsXA,service=ConnectionFactoryBinding
               -> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
              
              jboss.jca:name=JmsXA,service=ManagedConnectionFactory
               -> jboss.messaging:service=ServerPeer{Create:Configured}
              
              jboss.jca:name=JmsXA,service=ManagedConnectionPool
               -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
              
              jboss.jca:name=JmsXA,service=TxCM
               -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
              
              jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
               -> jboss.messaging:service=PostOffice{Create:Configured}
               -> jboss.messaging:service=ServerPeer{Create:Configured}
              
              jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
               -> jboss.messaging:service=ServerPeer{Create:Configured}
               -> jboss.messaging:service=PostOffice{Create:Configured}
              
              jboss.messaging.connectionfactory:service=ConnectionFactory
               -> jboss.messaging:service=PostOffice{Create:Configured}
               -> jboss.messaging:service=ServerPeer{Create:Configured}
              
              jboss.messaging.destination:name=DLQ,service=Queue
               -> jboss.messaging:service=PostOffice{Create:Configured}
               -> jboss.messaging:service=ServerPeer{Create:Configured}
              
              jboss.messaging.destination:name=ExpiryQueue,service=Queue
               -> jboss.messaging:service=ServerPeer{Create:Configured}
               -> jboss.messaging:service=PostOffice{Create:Configured}
              
              jboss.messaging:service=JMSUserManager
               -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
              
              jboss.messaging:service=PersistenceManager
               -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
              
              jboss.messaging:service=PostOffice
               -> jboss.messaging:service=ServerPeer{Create:Configured}
               -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
              
              jboss.messaging:service=ServerPeer
               -> jboss.messaging:service=JMSUserManager{Create:Configured}
               -> jboss.messaging:service=PersistenceManager{Create:Configured}
              
              jboss.mq:service=DestinationManager
               -> jboss.messaging:service=ServerPeer{Create:Configured}
              
              jboss:service=KeyGeneratorFactory,type=HiLo
               -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
              
              
              *** CONTEXTS IN ERROR: Name -> Error
              
              vfszip:/C:/jboss-5.0.0.CR2/server/default/deploy/Quatron.ear -> javax.management.InstanceAlreadyExistsException: jboss.j2ee:jar=Quatron-ejb.jar,service=EJB3 already registered.
              
              <UNKNOWN jboss.j2ee:ear=Hydron.ear,jar=HydronEJB.jar,name=HydronEJB,service=EJB3> -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
              
              jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **
              
              <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3> -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
              
              jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
              
              
               at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709)
               at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
               at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
               at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
               at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
               at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
               at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
               at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
               at java.lang.Thread.run(Thread.java:619)
              14:13:31,213 WARN [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: quatron:archive=quatron.ear for vfszip:/C:/jboss-5.0.0.CR2/server/default/deploy/Quatron.ear use classloading metadata not loader repository config
              14:13:31,264 WARN [EjbMetadataJndiPolicyDecoratorDeployer] Defaulting to DefaultJndiBindingPolicy of "org.jboss.metadata.ejb.jboss.jndipolicy.plugins.BasicJndiBindingPolicy" for Session Bean QuatronEJBBean
              14:13:31,284 INFO [Ejb3JBoss5Deployment] Registration is not done -> stop
              14:13:31,286 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/jboss-5.0.0.CR2/server/default/deploy/Quatron.ear state=PreReal mode=Manual requiredState=Real
              org.jboss.deployers.spi.DeploymentException: Error deploying Quatron-ejb.jar: jboss.j2ee:jar=Quatron-ejb.jar,service=EJB3 already registered.
               at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:209)
               at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:108)
               at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
               at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
               at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
               at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
               at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
               at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1056)
               at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
               at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
               at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
               at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
               at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
               at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
               at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
               at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
               at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
               at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
               at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
               at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
               at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
               at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
               at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
               at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
               at java.lang.Thread.run(Thread.java:619)
              Caused by: javax.management.InstanceAlreadyExistsException: jboss.j2ee:jar=Quatron-ejb.jar,service=EJB3 already registered.
               at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767)
               at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236)
               at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:597)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
               at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
               at java.security.AccessController.doPrivileged(Native Method)
               at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
               at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
               at org.jboss.ejb3.Ejb3Deployment.registerDeployment(Ejb3Deployment.java:454)
               at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:516)
               at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:195)
               ... 28 more
              14:13:31,735 WARN [HDScanner] Failed to process changes
              org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
              
              *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
              
              jboss.ejb:persistencePolicy=database,service=EJBTimerService
               -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
               -> jboss.jdbc:datasource=DefaultDS,service=metadata{Create:** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **}
              
              jboss.ejb:service=EJB3TimerService
               -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
              
              jboss.ejb:service=EJBTimerService
               -> jboss.ejb:persistencePolicy=database,service=EJBTimerService{Create:Configured}
              
              jboss.j2ee:ear=Hydron.ear,jar=HydronEJB.jar,name=HydronEJB,service=EJB3
               -> <UNKNOWN jboss.j2ee:ear=Hydron.ear,jar=HydronEJB.jar,name=HydronEJB,service=EJB3>{Described:** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **}
              
              jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3
               -> <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3>{Described:** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **}
              
              jboss.jca:name=JmsXA,service=ConnectionFactoryBinding
               -> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
              
              jboss.jca:name=JmsXA,service=ManagedConnectionFactory
               -> jboss.messaging:service=ServerPeer{Create:Configured}
              
              jboss.jca:name=JmsXA,service=ManagedConnectionPool
               -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
              
              jboss.jca:name=JmsXA,service=TxCM
               -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
              
              jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
               -> jboss.messaging:service=ServerPeer{Create:Configured}
               -> jboss.messaging:service=PostOffice{Create:Configured}
              
              jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
               -> jboss.messaging:service=PostOffice{Create:Configured}
               -> jboss.messaging:service=ServerPeer{Create:Configured}
              
              jboss.messaging.connectionfactory:service=ConnectionFactory
               -> jboss.messaging:service=PostOffice{Create:Configured}
               -> jboss.messaging:service=ServerPeer{Create:Configured}
              
              jboss.messaging.destination:name=DLQ,service=Queue
               -> jboss.messaging:service=PostOffice{Create:Configured}
               -> jboss.messaging:service=ServerPeer{Create:Configured}
              
              jboss.messaging.destination:name=ExpiryQueue,service=Queue
               -> jboss.messaging:service=ServerPeer{Create:Configured}
               -> jboss.messaging:service=PostOffice{Create:Configured}
              
              jboss.messaging:service=JMSUserManager
               -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
              
              jboss.messaging:service=PersistenceManager
               -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
              
              jboss.messaging:service=PostOffice
               -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
               -> jboss.messaging:service=ServerPeer{Create:Configured}
              
              jboss.messaging:service=ServerPeer
               -> jboss.messaging:service=JMSUserManager{Create:Configured}
               -> jboss.messaging:service=PersistenceManager{Create:Configured}
              
              jboss.mq:service=DestinationManager
               -> jboss.messaging:service=ServerPeer{Create:Configured}
              
              jboss:service=KeyGeneratorFactory,type=HiLo
               -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
              
              
              *** CONTEXTS IN ERROR: Name -> Error
              
              vfszip:/C:/jboss-5.0.0.CR2/server/default/deploy/Quatron.ear -> javax.management.InstanceAlreadyExistsException: jboss.j2ee:jar=Quatron-ejb.jar,service=EJB3 already registered.
              
              <UNKNOWN jboss.j2ee:ear=Hydron.ear,jar=HydronEJB.jar,name=HydronEJB,service=EJB3> -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
              
              jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **
              
              <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3> -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
              
              jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
              
              
               at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709)
               at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
               at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
               at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
               at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
               at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
               at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
               at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
               at java.lang.Thread.run(Thread.java:619)
              


              • 4. Re: EJB3.0 example with session bean and servlet
                Christoph K Newbie

                It works, thanks. One reason might also be that I used the JBoss configuration 'all' and not 'default'. Thank you a lot for your tip, Wolfgang!

                • 5. Re: EJB3.0 example with session bean and servlet
                  Christoph K Newbie

                  Hi Wolfgang, it already worked. But now, if I want to start the servlet, I always get a

                  HTTP Status 404 - /Quatron/
                  type Status report
                  message /Quatron/
                  description The requested resource (/Quatron/) is not available.
                  message. I tried to delete the whole ear file from the server but that doesn't help.

                  There are again some problems with the JNDI variables...? So that maybe some EJBs are not deleted?

                  here is the error code. It would be great if you can help me once again:
                  
                  17:02:28,974 WARN [EjbMetadataJndiPolicyDecoratorDeployer] Defaulting to DefaultJndiBindingPolicy of "org.jboss.metadata.ejb.jboss.jndipolicy.plugins.BasicJndiBindingPolicy" for Session Bean QuatronEJBBean
                  17:02:29,005 INFO [JBossASKernel] Created KernelDeployment for: Quatron-ejb.jar
                  17:02:29,005 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3
                  17:02:29,005 INFO [JBossASKernel] with dependencies:
                  17:02:29,005 INFO [JBossASKernel] and demands:
                  17:02:29,176 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
                  17:02:29,176 INFO [JBossASKernel] and supplies:
                  17:02:29,176 INFO [JBossASKernel] jndi:QuatronEJBBean/remote-session.QuatronEJBRemote
                  17:02:29,176 INFO [JBossASKernel] jndi:QuatronEJBBean/remote
                  17:02:29,176 INFO [JBossASKernel] Class:session.QuatronEJBRemote
                  17:02:29,176 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3) to KernelDeployment of: Quatron-ejb.jar
                  17:02:29,364 WARN [HDScanner] Failed to process changes
                  org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
                  
                  *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
                  
                  jboss.ejb:persistencePolicy=database,service=EJBTimerService
                   -> jboss.jdbc:datasource=DefaultDS,service=metadata{Create:** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **}
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.ejb:service=EJB3TimerService
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.ejb:service=EJBTimerService
                   -> jboss.ejb:persistencePolicy=database,service=EJBTimerService{Create:Configured}
                  
                  jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3
                   -> <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3>{Described:** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **}
                  
                  jboss.j2ee:ear=Quatron.ear,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3
                   -> <UNKNOWN jboss.j2ee:ear=Quatron.ear,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3>{Described:** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **}
                  
                  jboss.jca:name=JmsXA,service=ConnectionFactoryBinding
                   -> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=ManagedConnectionFactory
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=ManagedConnectionPool
                   -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=TxCM
                   -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ConnectionFactory
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.destination:name=DLQ,service=Queue
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.destination:name=ExpiryQueue,service=Queue
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging:service=JMSUserManager
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=PersistenceManager
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=PostOffice
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=ServerPeer
                   -> jboss.messaging:service=PersistenceManager{Create:Configured}
                   -> jboss.messaging:service=JMSUserManager{Create:Configured}
                  
                  jboss.mq:service=DestinationManager
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss:service=KeyGeneratorFactory,type=HiLo
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss:service=juddi
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  
                  *** CONTEXTS IN ERROR: Name -> Error
                  
                  <UNKNOWN jboss.j2ee:ear=Quatron.ear,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3> -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
                  
                  jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
                  
                  <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3> -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
                  
                  jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **
                  
                  
                   at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709)
                   at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
                   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                   at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
                   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
                   at java.lang.Thread.run(Thread.java:619)
                  17:03:02,872 INFO [[QuatronServlet]] Servlet QuatronServlet is currently unavailable
                  17:03:04,542 INFO [[QuatronServlet]] Servlet QuatronServlet is currently unavailable
                  17:03:08,956 INFO [[QuatronServlet]] Servlet QuatronServlet is currently unavailable
                  17:03:15,321 INFO [TomcatDeployment] undeploy, ctxPath=/Quatron, vfsUrl=Quatron.ear/Quatron-war.war
                  17:03:15,462 WARN [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: quatron:archive=quatron.ear for vfszip:/C:/jboss-5.0.0.CR2/server/all/deploy/Quatron.ear use classloading metadata not loader repository config
                  17:03:18,519 WARN [EjbMetadataJndiPolicyDecoratorDeployer] Defaulting to DefaultJndiBindingPolicy of "org.jboss.metadata.ejb.jboss.jndipolicy.plugins.BasicJndiBindingPolicy" for Session Bean QuatronEJBBean
                  17:03:19,128 INFO [JBossASKernel] Created KernelDeployment for: Quatron-ejb.jar
                  17:03:19,128 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=Quatron.ear,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3
                  17:03:19,128 INFO [JBossASKernel] with dependencies:
                  17:03:19,128 INFO [JBossASKernel] and demands:
                  17:03:19,128 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
                  17:03:19,128 INFO [JBossASKernel] and supplies:
                  17:03:19,128 INFO [JBossASKernel] jndi:Quatron/QuatronEJBBean/remote-session.QuatronEJBRemote
                  17:03:19,627 INFO [JBossASKernel] jndi:Quatron/QuatronEJBBean/remote
                  17:03:19,627 INFO [JBossASKernel] Class:session.QuatronEJBRemote
                  17:03:19,627 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=Quatron.ear,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3) to KernelDeployment of: Quatron-ejb.jar
                  17:03:19,892 INFO [TomcatDeployment] deploy, ctxPath=/Quatron, vfsUrl=Quatron.ear/Quatron-war.war
                  17:03:19,939 WARN [HDScanner] Failed to process changes
                  org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
                  
                  *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
                  
                  jboss.ejb:persistencePolicy=database,service=EJBTimerService
                   -> jboss.jdbc:datasource=DefaultDS,service=metadata{Create:** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **}
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.ejb:service=EJB3TimerService
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.ejb:service=EJBTimerService
                   -> jboss.ejb:persistencePolicy=database,service=EJBTimerService{Create:Configured}
                  
                  jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3
                   -> <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3>{Described:** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **}
                  
                  jboss.j2ee:ear=Quatron.ear,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3
                   -> <UNKNOWN jboss.j2ee:ear=Quatron.ear,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3>{Described:** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **}
                  
                  jboss.jca:name=JmsXA,service=ConnectionFactoryBinding
                   -> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=ManagedConnectionFactory
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=ManagedConnectionPool
                   -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=TxCM
                   -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ConnectionFactory
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.destination:name=DLQ,service=Queue
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                  
                  jboss.messaging.destination:name=ExpiryQueue,service=Queue
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging:service=JMSUserManager
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=PersistenceManager
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=PostOffice
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=ServerPeer
                   -> jboss.messaging:service=PersistenceManager{Create:Configured}
                   -> jboss.messaging:service=JMSUserManager{Create:Configured}
                  
                  jboss.mq:service=DestinationManager
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss:service=KeyGeneratorFactory,type=HiLo
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss:service=juddi
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  
                  *** CONTEXTS IN ERROR: Name -> Error
                  
                  <UNKNOWN jboss.j2ee:ear=Quatron.ear,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3> -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
                  
                  jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
                  
                  <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3> -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
                  
                  jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **
                  
                  
                   at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709)
                   at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
                   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                   at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
                   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
                  
                   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
                   at java.lang.Thread.run(Thread.java:619)
                  
                  17:04:21,715 INFO [[/Quatron]] Marking servlet QuatronServlet as unavailable
                  17:04:21,715 ERROR [[QuatronServlet]] Allocate exception for servlet QuatronServlet
                  javax.naming.NameNotFoundException: Quatron not bound
                   at org.jnp.server.NamingServer.getBinding(NamingServer.java:564)
                   at org.jnp.server.NamingServer.getBinding(NamingServer.java:572)
                   at org.jnp.server.NamingServer.getObject(NamingServer.java:578)
                   at org.jnp.server.NamingServer.lookup(NamingServer.java:288)
                   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
                   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
                   at javax.naming.InitialContext.lookup(InitialContext.java:392)
                   at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1251)
                   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:760)
                   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
                   at org.jboss.ejb3.JndiUtil.lookup(JndiUtil.java:44)
                   at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:75)
                   at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99)
                   at org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:361)
                   at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:244)
                   at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006)
                   at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:777)
                   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
                   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
                   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:91)
                   at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:92)
                   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                   at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
                   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
                   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
                   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                   at java.lang.Thread.run(Thread.java:619)
                  17:05:06,210 INFO [TomcatDeployment] undeploy, ctxPath=/Quatron, vfsUrl=Quatron.ear/Quatron-war.war
                  17:05:06,303 WARN [HDScanner] Failed to process changes
                  org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
                  
                  *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
                  
                  jboss.ejb:persistencePolicy=database,service=EJBTimerService
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                   -> jboss.jdbc:datasource=DefaultDS,service=metadata{Create:** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **}
                  
                  jboss.ejb:service=EJB3TimerService
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.ejb:service=EJBTimerService
                   -> jboss.ejb:persistencePolicy=database,service=EJBTimerService{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=ConnectionFactoryBinding
                   -> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=ManagedConnectionFactory
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=ManagedConnectionPool
                   -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=TxCM
                   -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ConnectionFactory
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.destination:name=DLQ,service=Queue
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.destination:name=ExpiryQueue,service=Queue
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                  
                  jboss.messaging:service=JMSUserManager
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=PersistenceManager
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=PostOffice
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging:service=ServerPeer
                   -> jboss.messaging:service=JMSUserManager{Create:Configured}
                   -> jboss.messaging:service=PersistenceManager{Create:Configured}
                  
                  jboss.mq:service=DestinationManager
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss:service=KeyGeneratorFactory,type=HiLo
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss:service=juddi
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  
                  *** CONTEXTS IN ERROR: Name -> Error
                  
                  jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
                  
                  jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **
                  
                  
                   at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709)
                   at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
                   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                   at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
                   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
                   at java.lang.Thread.run(Thread.java:619)
                  17:05:14,150 WARN [EjbMetadataJndiPolicyDecoratorDeployer] Defaulting to DefaultJndiBindingPolicy of "org.jboss.metadata.ejb.jboss.jndipolicy.plugins.BasicJndiBindingPolicy" for Session Bean QuatronEJBBean
                  17:05:14,181 INFO [JBossASKernel] Created KernelDeployment for: Quatron-ejb.jar
                  17:05:14,181 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3
                  17:05:14,181 INFO [JBossASKernel] with dependencies:
                  17:05:14,181 INFO [JBossASKernel] and demands:
                  17:05:14,415 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
                  17:05:14,415 INFO [JBossASKernel] and supplies:
                  17:05:14,415 INFO [JBossASKernel] jndi:QuatronEJBBean/remote-session.QuatronEJBRemote
                  17:05:14,415 INFO [JBossASKernel] jndi:QuatronEJBBean/remote
                  17:05:14,415 INFO [JBossASKernel] Class:session.QuatronEJBRemote
                  17:05:14,415 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3) to KernelDeployment of: Quatron-ejb.jar
                  17:05:14,602 WARN [HDScanner] Failed to process changes
                  org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
                  
                  *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
                  
                  jboss.ejb:persistencePolicy=database,service=EJBTimerService
                   -> jboss.jdbc:datasource=DefaultDS,service=metadata{Create:** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **}
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.ejb:service=EJB3TimerService
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.ejb:service=EJBTimerService
                   -> jboss.ejb:persistencePolicy=database,service=EJBTimerService{Create:Configured}
                  
                  jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3
                   -> <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3>{Described:** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **}
                  
                  jboss.jca:name=JmsXA,service=ConnectionFactoryBinding
                   -> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=ManagedConnectionFactory
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=ManagedConnectionPool
                   -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=TxCM
                   -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ConnectionFactory
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.destination:name=DLQ,service=Queue
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                  
                  jboss.messaging.destination:name=ExpiryQueue,service=Queue
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging:service=JMSUserManager
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=PersistenceManager
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=PostOffice
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging:service=ServerPeer
                   -> jboss.messaging:service=PersistenceManager{Create:Configured}
                   -> jboss.messaging:service=JMSUserManager{Create:Configured}
                  
                  jboss.mq:service=DestinationManager
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss:service=KeyGeneratorFactory,type=HiLo
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss:service=juddi
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  
                  *** CONTEXTS IN ERROR: Name -> Error
                  
                  jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
                  
                  <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3> -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
                  
                  jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **
                  
                  
                   at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709)
                   at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
                   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                   at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
                   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
                   at java.lang.Thread.run(Thread.java:619)
                  17:05:20,265 WARN [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: quatron:archive=quatron.ear for vfszip:/C:/jboss-5.0.0.CR2/server/all/deploy/Quatron.ear use classloading metadata not loader repository config
                  17:05:23,198 WARN [EjbMetadataJndiPolicyDecoratorDeployer] Defaulting to DefaultJndiBindingPolicy of "org.jboss.metadata.ejb.jboss.jndipolicy.plugins.BasicJndiBindingPolicy" for Session Bean QuatronEJBBean
                  17:05:23,619 INFO [Ejb3JBoss5Deployment] Registration is not done -> stop
                  17:05:23,619 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/jboss-5.0.0.CR2/server/all/deploy/Quatron.ear state=PreReal mode=Manual requiredState=Real
                  org.jboss.deployers.spi.DeploymentException: Error deploying Quatron-ejb.jar: jboss.j2ee:jar=Quatron-ejb.jar,service=EJB3 already registered.
                   at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:209)
                   at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:108)
                   at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
                   at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                   at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
                   at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
                   at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
                   at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1056)
                   at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
                   at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                   at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                   at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                   at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
                   at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
                   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                   at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
                   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
                  
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
                   at java.lang.Thread.run(Thread.java:619)
                  Caused by: javax.management.InstanceAlreadyExistsException: jboss.j2ee:jar=Quatron-ejb.jar,service=EJB3 already registered.
                   at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767)
                   at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236)
                  
                   at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                   at java.lang.reflect.Method.invoke(Method.java:597)
                   at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                   at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
                   at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
                   at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
                   at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
                   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                   at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
                   at java.security.AccessController.doPrivileged(Native Method)
                   at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
                   at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
                   at org.jboss.ejb3.Ejb3Deployment.registerDeployment(Ejb3Deployment.java:454)
                   at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:516)
                   at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:195)
                   ... 28 more
                  17:05:23,713 WARN [HDScanner] Failed to process changes
                  org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
                  
                  *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
                  
                  jboss.ejb:persistencePolicy=database,service=EJBTimerService
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                   -> jboss.jdbc:datasource=DefaultDS,service=metadata{Create:** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **}
                  
                  jboss.ejb:service=EJB3TimerService
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.ejb:service=EJBTimerService
                   -> jboss.ejb:persistencePolicy=database,service=EJBTimerService{Create:Configured}
                  
                  jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3
                   -> <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3>{Described:** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **}
                  
                  jboss.jca:name=JmsXA,service=ConnectionFactoryBinding
                   -> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=ManagedConnectionFactory
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=ManagedConnectionPool
                   -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=TxCM
                   -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ConnectionFactory
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.destination:name=DLQ,service=Queue
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                  
                  jboss.messaging.destination:name=ExpiryQueue,service=Queue
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging:service=JMSUserManager
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=PersistenceManager
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=PostOffice
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=ServerPeer
                   -> jboss.messaging:service=JMSUserManager{Create:Configured}
                   -> jboss.messaging:service=PersistenceManager{Create:Configured}
                  
                  jboss.mq:service=DestinationManager
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss:service=KeyGeneratorFactory,type=HiLo
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss:service=juddi
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  
                  *** CONTEXTS IN ERROR: Name -> Error
                  
                  jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
                  
                  vfszip:/C:/jboss-5.0.0.CR2/server/all/deploy/Quatron.ear -> javax.management.InstanceAlreadyExistsException: jboss.j2ee:jar=Quatron-ejb.jar,service=EJB3 already registered.
                  
                  <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3> -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
                  
                  jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **
                  
                  
                   at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709)
                   at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
                   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                   at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
                   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
                   at java.lang.Thread.run(Thread.java:619)
                  17:06:42,506 WARN [EjbMetadataJndiPolicyDecoratorDeployer] Defaulting to DefaultJndiBindingPolicy of "org.jboss.metadata.ejb.jboss.jndipolicy.plugins.BasicJndiBindingPolicy" for Session Bean QuatronEJBBean
                  17:06:42,537 INFO [JBossASKernel] Created KernelDeployment for: Quatron-ejb.jar
                  17:06:42,537 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3
                  17:06:42,537 INFO [JBossASKernel] with dependencies:
                  17:06:42,537 INFO [JBossASKernel] and demands:
                  17:06:42,788 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
                  17:06:42,788 INFO [JBossASKernel] and supplies:
                  17:06:42,788 INFO [JBossASKernel] jndi:QuatronEJBBean/remote-session.QuatronEJBRemote
                  17:06:42,788 INFO [JBossASKernel] jndi:QuatronEJBBean/remote
                  17:06:42,788 INFO [JBossASKernel] Class:session.QuatronEJBRemote
                  17:06:42,788 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3) to KernelDeployment of: Quatron-ejb.jar
                  17:06:42,964 WARN [HDScanner] Failed to process changes
                  org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
                  
                  *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
                  
                  jboss.ejb:persistencePolicy=database,service=EJBTimerService
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                   -> jboss.jdbc:datasource=DefaultDS,service=metadata{Create:** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **}
                  
                  jboss.ejb:service=EJB3TimerService
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.ejb:service=EJBTimerService
                   -> jboss.ejb:persistencePolicy=database,service=EJBTimerService{Create:Configured}
                  
                  jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3
                   -> <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3>{Described:** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **}
                  
                  jboss.jca:name=JmsXA,service=ConnectionFactoryBinding
                   -> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=ManagedConnectionFactory
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=ManagedConnectionPool
                   -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
                  
                  jboss.jca:name=JmsXA,service=TxCM
                   -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.connectionfactory:service=ConnectionFactory
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss.messaging.destination:name=DLQ,service=Queue
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                  
                  jboss.messaging.destination:name=ExpiryQueue,service=Queue
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                   -> jboss.messaging:service=PostOffice{Create:Configured}
                  
                  jboss.messaging:service=JMSUserManager
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=PersistenceManager
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=PostOffice
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss.messaging:service=ServerPeer
                   -> jboss.messaging:service=JMSUserManager{Create:Configured}
                   -> jboss.messaging:service=PersistenceManager{Create:Configured}
                  
                  jboss.mq:service=DestinationManager
                   -> jboss.messaging:service=ServerPeer{Create:Configured}
                  
                  jboss:service=KeyGeneratorFactory,type=HiLo
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  jboss:service=juddi
                   -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
                  
                  
                  *** CONTEXTS IN ERROR: Name -> Error
                  
                  jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
                  
                  vfszip:/C:/jboss-5.0.0.CR2/server/all/deploy/Quatron.ear -> javax.management.InstanceAlreadyExistsException: jboss.j2ee:jar=Quatron-ejb.jar,service=EJB3 already registered.
                  
                  <UNKNOWN jboss.j2ee:ear=Quatron-ejb.jar,jar=Quatron-ejb.jar,name=QuatronEJBBean,service=EJB3> -> ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
                  
                  jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **
                  
                  
                   at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709)
                   at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
                   at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
                   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                   at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
                   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
                   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
                   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
                   at java.lang.Thread.run(Thread.java:619)
                  


                  • 6. Re: EJB3.0 example with session bean and servlet
                    Christoph K Newbie

                    it works now. I had to delete the files also in the directories "temp" and "work" in JBoss.

                    • 7. Re: EJB3.0 example with session bean and servlet
                      Christoph K Newbie

                      Wolfgang, I now added Hibernate and have following error http://www.jboss.com/index.html?module=bb&op=viewtopic&t=143800. It would be great if you know a solution to this problem.