3 Replies Latest reply on Apr 9, 2006 7:06 PM by Marcio Marcos Machado Junior

    Error deploying ejb3.0 test

    Marcio Marcos Machado Junior Newbie

      Hi, I'm trying to deploy a EJB 3.0 jar to jboss server (4.0.4rc1 instaled from the jar with the ebj option selected), and I getting the following messages in the console when the jar is deployed:

      20:02:09,609 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      
      --- MBeans waiting for other MBeans ---
      ObjectName: persistence.units:jar=FirstEjb3Tutorial.jar.jar,unitName=FirstEjb3Tutorial
       State: NOTYETINSTALLED
       I Depend On:
       jboss.jca:name=oracle-ds,service=ManagedConnectionFactory
       Depends On Me:
       jboss.j2ee:service=EJB3,jar=FirstEjb3Tutorial.jar,name=BookTestBean
      
      ObjectName: jboss.j2ee:service=EJB3,jar=FirstEjb3Tutorial.jar,name=BookTestBean
       State: NOTYETINSTALLED
       I Depend On:
       persistence.units:jar=FirstEjb3Tutorial.jar.jar,unitName=FirstEjb3Tutorial
      
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.jca:name=oracle-ds,service=ManagedConnectionFactory
       State: NOTYETINSTALLED
       Depends On Me:
       persistence.units:jar=FirstEjb3Tutorial.jar.jar,unitName=FirstEjb3Tutorial
      


      I'm using the following tutorial:

      http://www.laliluna.de/download/first-ejb3-ant-tutorial.zip

      I have the following directory structure:

      FirtEjb3Tutorial\src\de\lalinuna\library\Book.java
      FirtEjb3Tutorial\src\de\lalinuna\library\BookTestBean.java
      FirtEjb3Tutorial\src\de\lalinuna\library\BookTestBeanLocal.java
      FirtEjb3Tutorial\src\de\lalinuna\library\BookTestBeanRemote.java
      FirtEjb3Tutorial\src\META-INF\ejb-jar.xml
      FirtEjb3Tutorial\src\META-INF\oracle-ds.xml
      FirtEjb3Tutorial\src\META-INF\persistence.xml
      FirtEjb3Tutorial\src\jndi.properties
      FirtEjb3Tutorial\src\log4j.properties
      


      Book.java

      package de.lalinuna.library;
      
      import java.io.Serializable;
      
      import javax.persistence.Entity;
      import javax.persistence.GeneratedValue;
      import javax.persistence.GenerationType;
      import javax.persistence.Id;
      import javax.persistence.PersistenceUnit;
      import javax.persistence.SequenceGenerator;
      import javax.persistence.Table;
      import javax.persistence.TableGenerator;
      
      @Entity
      @Table(name="book")
      @SequenceGenerator(name="book_sequence" , sequenceName="book_id_seq")
      @PersistenceUnit(name="FirstEjb3Tutorial")
      public class Book implements Serializable {
      
       private Integer id ;
       private String title ;
       private String author ;
      
       public Book()
       {
       super();
       }
      
       public Book( Integer id , String title , String author )
       {
      
       super() ;
      
       this.id = id ;
       this.title = title ;
       this.author = author ;
      
       }
      
       @Override
       public String toString()
       {
      
       return "Book: " + getId() + " Title " + getTitle() + " Author: " + getAuthor() ;
      
       }
      
       @Id
       @GeneratedValue (strategy=GenerationType.SEQUENCE , generator="book_sequence")
      
       private Integer getId() {
       return id;
       }
       private void setId(Integer id) {
       this.id = id;
       }
       private String getTitle() {
       return title;
       }
       private void setTitle(String title) {
       this.title = title;
       }
      
       private String getAuthor() {
       return author;
       }
      
       private void setAuthor(String author) {
       this.author = author;
       }
      
      
      }
      


      BookTestBean .java

      package de.lalinuna.library;
      
      import java.util.Iterator;
      import java.util.List;
      
      import javax.ejb.Stateless;
      import javax.persistence.EntityManager;
      import javax.persistence.PersistenceContext;
      
      @Stateless
      
      public class BookTestBean implements BookTestBeanLocal, BookTestBeanRemote
      {
      
       /*
       * the annotation persistenseContext tells the application server to inject
       * a entity manager during the deployment.
       */
      
       @PersistenceContext
      
       EntityManager em ;
      
       public static final String RemoteJNDIName = BookTestBean.class.getSimpleName() + "/remote" ;
      
       public static final String LocalJNDIName = BookTestBean.class.getSimpleName() + "/local" ;
      
       public void test()
       {
      
       Book book = new Book( null , "My first bean book", "Sebastian" ) ;
       em.persist( book ) ;
      
       Book book2 = new Book( null , "another book", "Paul" ) ;
       em.persist( book2 ) ;
      
       Book book3 = new Book( null , "Ejb 3 developer guide, comes soon", "Sebastian" ) ;
       em.persist( book3 ) ;
      
       System.out.println( "List some books") ;
      
       List someBooks = em.createQuery( "from Book b where b.author=:name").setParameter( "name" , "Sebastian").getResultList() ;
      
       for ( Iterator iter = someBooks.iterator() ; iter.hasNext(); )
       {
      
       Book element = (Book) iter.next() ;
      
       System.out.println( element ) ;
      
       }
      
       }
      
      }
      
      


      BookTestBeanLocal

      package de.lalinuna.library;
      
      import javax.ejb.Local;
      
      @Local
      
      public interface BookTestBeanLocal
      {
      
       public void test() ;
      
      }
      
      


      BookTestBeanRemote

      package de.lalinuna.library;
      
      import javax.ejb.Remote ;
      
      @Remote
      
      public interface BookTestBeanRemote
      {
      
       public void test() ;
      
      }


      <?xml version="1.0" encoding="UTF-8"?>
      
      <ejb-jar>
       <enterprise-beans>
       </enterprise-beans>
      </ejb-jar>
      


      oracle-ds.xml

      <?xml version="1.0" encoding="UTF-8"?>
      
      <datasources>
       <local-tx-datasource>
       <jndi-name>oracle-ds</jndi-name>
      
       <connection-url>jdbc:oracle:thin:@localhost:1521:ora9i</connection-url>
      
       <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
      
       <user-name>ejbtutorial</user-name>
       <password>ejbtutorial</password>
       <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
       <metadata>
       <type-mapping>Oracle9i</type-mapping>
       </metadata>
       </local-tx-datasource>
      
      </datasources>
      
      


      persistence.xml

      <persistence>
      
       <persistence-unit name="FirstEjb3Tutorial">
      
       <!-- <jta-data-source>java:/ejb3ProjectDS</jta-data-source> -->
      
       <jta-data-source>java:/oracle-ds</jta-data-source>
      
       <properties>
      
       <property name="hibernate.dialect" value="org.hibernate.dialect.OracleDialect"/>
       <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
      
       </properties>
      
       </persistence-unit>
      
      </persistence>
      
      


      jndi.properties

      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
      java.naming.provider.url=localhost:1099
      


      log4j.properties

      ### direct log messages to stdout ###
      log4j.appender.stdout=org.apache.log4j.ConsoleAppender
      log4j.appender.stdout.Target=System.out
      log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
      log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
      
      ### direct messages to file hibernate.log ###
      #log4j.appender.file=org.apache.log4j.FileAppender
      #log4j.appender.file.File=hibernate.log
      #log4j.appender.file.layout=org.apache.log4j.PatternLayout
      #log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
      
      ### set log levels - for more verbose logging change 'info' to 'debug' ###
      
      log4j.rootLogger=debug, stdout
      
      


      Can you give some directions?

      Thanks!!!

        • 1. Re: Error deploying ejb3.0 test
          Bill Burke Master

          I don't think META-INF is scanned. Put your ds file at the top level of the jar.

          • 2. Re: Error deploying ejb3.0 test
            Sebastian Hennebrueder Newbie

            You could put the *-ds.xml into the deploy folder of JBoss as well.
            I will add this information to the tutorial as soon as possible.

            regards Sebastian

            • 3. Re: Error deploying ejb3.0 test
              Marcio Marcos Machado Junior Newbie

              Bill, Sebastian thanks for your replies. Sorry about the delay...

              I've try what you suggested and here is the result:

              (ps.: between my several tries to solve the problem I have changed the database to mysql and upgraded jboss to 4.0.4 CR2.)

              Sebastian suggestion (put the -ds file directly in deploy folder):

              Jar content:

              C:\java\jboss\server\default\deploy>jar tf FirstEjb3Tutorial.jar
              META-INF/
              META-INF/MANIFEST.MF
              META-INF/ejb-jar.xml
              META-INF/jndi.properties
              META-INF/log4j.properties
              META-INF/persistence.xml
              de/
              de/lalinuna/
              de/lalinuna/library/
              de/lalinuna/library/Book.class
              de/lalinuna/library/BookTestBean.class
              de/lalinuna/library/BookTestBeanLocal.class
              de/lalinuna/library/BookTestBeanRemote.class
              
              C:\java\jboss\server\default\deploy>
              


              The file mysql-ds.xml is in the deploy folder.

              Here is the complete server output listening:

              C:\java\jboss\bin>run
              ===============================================================================
              .
               JBoss Bootstrap Environment
              .
               JBOSS_HOME: C:\java\jboss\bin\\..
              .
               JAVA: c:\java\jee5\jdk\bin\java
              .
               JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
              .
               CLASSPATH: c:\java\jee5\jdk\lib\tools.jar;C:\java\jboss\bin\\run.jar
              .
              ===============================================================================
              .
              19:53:58,468 INFO [Server] Starting JBoss (MX MicroKernel)...
              19:53:58,468 INFO [Server] Release ID: JBoss [Zion] 4.0.4.CR2 (build: CVSTag=JBoss_4_0_4_CR2 date=2
              00603311500)
              19:53:58,484 INFO [Server] Home Dir: C:\java\jboss
              19:53:58,484 INFO [Server] Home URL: file:/C:/java/jboss/
              19:53:58,484 INFO [Server] Patch URL: null
              19:53:58,484 INFO [Server] Server Name: default
              19:53:58,484 INFO [Server] Server Home Dir: C:\java\jboss\server\default
              19:53:58,484 INFO [Server] Server Home URL: file:/C:/java/jboss/server/default/
              19:53:58,484 INFO [Server] Server Log Dir: C:\java\jboss\server\default\log
              19:53:58,484 INFO [Server] Server Temp Dir: C:\java\jboss\server\default\tmp
              19:53:58,484 INFO [Server] Root Deployment Filename: jboss-service.xml
              19:53:58,828 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
              19:53:58,828 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05,Sun Microsystems In
              c.
              19:53:58,828 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
              19:53:59,250 INFO [Server] Core system initialized
              19:54:00,250 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
              19:54:02,750 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://10.1.
              1.2:3873/]
              19:54:03,062 INFO [AspectDeployer] Deployed AOP: file:/C:/java/jboss/server/default/deploy/ejb3-int
              erceptors-aop.xml
              19:54:04,234 INFO [WebService] Using RMI server codebase: http://MMMJR_NB:8083/
              19:54:04,343 WARN [EJBTimerServiceImpl] Cannot obtain TransactionManager from JNDI, using TxManager
              .getInstance(): javax.naming.NameNotFoundException: TransactionManager not bound
              19:54:05,859 INFO [MailService] Mail Service bound to java:/Mail
              19:54:06,218 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50,
              no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
              19:54:06,234 INFO [SubscriptionManager] Bound event dispatcher to java:comp/env/EventDispatcher
              19:54:06,781 INFO [Embedded] Catalina naming disabled
              19:54:06,843 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will
              load the default rule set.
              19:54:06,843 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will
              load the default rule set.
              19:54:07,187 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
              19:54:07,187 INFO [Catalina] Initialization processed in 328 ms
              19:54:07,187 INFO [StandardService] Starting service jboss.web
              19:54:07,187 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.16
              19:54:07,218 INFO [StandardHost] XML validation disabled
              19:54:07,250 INFO [Catalina] Server startup in 63 ms
              19:54:07,375 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.
              war/
              19:54:07,734 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
              19:54:08,062 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp26191jbossws.
              sar-contents/jbossws-exp.war/
              19:54:08,328 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/
              jboss-local-jdbc.rar
              19:54:08,437 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/
              jms/jms-ra.rar
              19:54:09,265 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Data
              SourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
              19:54:09,546 INFO [A] Bound to JNDI name: queue/A
              19:54:09,546 INFO [B] Bound to JNDI name: queue/B
              19:54:09,546 INFO [C] Bound to JNDI name: queue/C
              19:54:09,546 INFO [D] Bound to JNDI name: queue/D
              19:54:09,546 INFO [ex] Bound to JNDI name: queue/ex
              19:54:09,593 INFO [testTopic] Bound to JNDI name: topic/testTopic
              19:54:09,593 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
              19:54:09,593 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
              19:54:09,593 INFO [testQueue] Bound to JNDI name: queue/testQueue
              19:54:09,625 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
              19:54:09,671 INFO [DLQ] Bound to JNDI name: queue/DLQ
              19:54:09,796 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Conn
              ectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
              19:54:09,875 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Data
              SourceBinding,name=mysql-DS' to JNDI name 'java:mysql-DS'
              19:54:10,531 INFO [Ejb3Deployment] EJB3 deployment time took: 610
              19:54:10,531 INFO [JmxKernelAbstraction] installing MBean: persistence.units:jar=FirstEjb3Tutorial.
              jar,unitName=FirstEjb3Tutorial with dependencies:
              19:54:10,546 INFO [JmxKernelAbstraction] jboss.jca:name=mysql-ds,service=ManagedConnectionFac
              tory
              19:54:10,593 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=FirstEjb3Tutorial.jar,nam
              e=BookTestBean,service=EJB3 with dependencies:
              19:54:10,593 INFO [JmxKernelAbstraction] persistence.units:jar=FirstEjb3Tutorial.jar,unitName
              =FirstEjb3Tutorial
              19:54:10,593 INFO [EJB3Deployer] Deployed: file:/C:/java/jboss/server/default/deploy/FirstEjb3Tutor
              ial.jar
              19:54:10,625 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
              
              19:54:10,765 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
              
              --- MBeans waiting for other MBeans ---
              ObjectName: persistence.units:jar=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial
               State: NOTYETINSTALLED
               I Depend On:
               jboss.jca:name=mysql-ds,service=ManagedConnectionFactory
               Depends On Me:
               jboss.j2ee:jar=FirstEjb3Tutorial.jar,name=BookTestBean,service=EJB3
              
              ObjectName: jboss.j2ee:jar=FirstEjb3Tutorial.jar,name=BookTestBean,service=EJB3
               State: NOTYETINSTALLED
               I Depend On:
               persistence.units:jar=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial
              
              --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
              ObjectName: jboss.jca:name=mysql-ds,service=ManagedConnectionFactory
               State: NOTYETINSTALLED
               Depends On Me:
               persistence.units:jar=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial
              
              
              19:54:10,781 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
              19:54:10,937 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
              19:54:10,937 INFO [JkMain] Jk running ID=0 time=0/31 config=null
              19:54:10,953 INFO [Server] JBoss (MX MicroKernel) [4.0.4.CR2 (build: CVSTag=JBoss_4_0_4_CR2 date=20
              0603311500)] Started in 12s:469ms
              


              Bill suggestion to put the -ds file at the top of the jar:

              jar contents:

              C:\java\jboss\server\default\deploy>jar tf FirstEjb3Tutorial.jar
              META-INF/
              META-INF/MANIFEST.MF
              META-INF/ejb-jar.xml
              META-INF/jndi.properties
              META-INF/log4j.properties
              META-INF/persistence.xml
              de/
              de/lalinuna/
              de/lalinuna/library/
              de/lalinuna/library/Book.class
              de/lalinuna/library/BookTestBean.class
              de/lalinuna/library/BookTestBeanLocal.class
              de/lalinuna/library/BookTestBeanRemote.class
              mysql-DS.xml
              
              C:\java\jboss\server\default\deploy>
              


              Complete server output:

              C:\java\jboss\bin>run
              ===============================================================================
              .
               JBoss Bootstrap Environment
              .
               JBOSS_HOME: C:\java\jboss\bin\\..
              .
               JAVA: c:\java\jee5\jdk\bin\java
              .
               JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
              .
               CLASSPATH: c:\java\jee5\jdk\lib\tools.jar;C:\java\jboss\bin\\run.jar
              .
              ===============================================================================
              .
              19:59:57,640 INFO [Server] Starting JBoss (MX MicroKernel)...
              19:59:57,640 INFO [Server] Release ID: JBoss [Zion] 4.0.4.CR2 (build: CVSTag=JBoss_4_0_4_CR2 date=2
              00603311500)
              19:59:57,656 INFO [Server] Home Dir: C:\java\jboss
              19:59:57,656 INFO [Server] Home URL: file:/C:/java/jboss/
              19:59:57,656 INFO [Server] Patch URL: null
              19:59:57,656 INFO [Server] Server Name: default
              19:59:57,656 INFO [Server] Server Home Dir: C:\java\jboss\server\default
              19:59:57,656 INFO [Server] Server Home URL: file:/C:/java/jboss/server/default/
              19:59:57,656 INFO [Server] Server Log Dir: C:\java\jboss\server\default\log
              19:59:57,656 INFO [Server] Server Temp Dir: C:\java\jboss\server\default\tmp
              19:59:57,656 INFO [Server] Root Deployment Filename: jboss-service.xml
              19:59:58,000 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
              19:59:58,000 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05,Sun Microsystems In
              c.
              19:59:58,000 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
              19:59:58,406 INFO [Server] Core system initialized
              19:59:59,375 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
              20:00:02,328 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://10.1.
              1.2:3873/]
              20:00:02,640 INFO [AspectDeployer] Deployed AOP: file:/C:/java/jboss/server/default/deploy/ejb3-int
              erceptors-aop.xml
              20:00:03,843 INFO [WebService] Using RMI server codebase: http://MMMJR_NB:8083/
              20:00:03,937 WARN [EJBTimerServiceImpl] Cannot obtain TransactionManager from JNDI, using TxManager
              .getInstance(): javax.naming.NameNotFoundException: TransactionManager not bound
              20:00:05,421 INFO [MailService] Mail Service bound to java:/Mail
              20:00:05,765 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50,
              no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
              20:00:05,796 INFO [SubscriptionManager] Bound event dispatcher to java:comp/env/EventDispatcher
              20:00:06,390 INFO [Embedded] Catalina naming disabled
              20:00:06,453 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will
              load the default rule set.
              20:00:06,453 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will
              load the default rule set.
              20:00:06,796 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
              20:00:06,796 INFO [Catalina] Initialization processed in 343 ms
              20:00:06,796 INFO [StandardService] Starting service jboss.web
              20:00:06,796 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.16
              20:00:06,843 INFO [StandardHost] XML validation disabled
              20:00:06,859 INFO [Catalina] Server startup in 63 ms
              20:00:06,984 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.
              war/
              20:00:07,312 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
              20:00:07,656 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp39778jbossws.
              sar-contents/jbossws-exp.war/
              20:00:08,015 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/
              jboss-local-jdbc.rar
              20:00:08,125 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/
              jms/jms-ra.rar
              20:00:09,078 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Data
              SourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
              20:00:09,406 INFO [A] Bound to JNDI name: queue/A
              20:00:09,406 INFO [B] Bound to JNDI name: queue/B
              20:00:09,406 INFO [C] Bound to JNDI name: queue/C
              20:00:09,406 INFO [D] Bound to JNDI name: queue/D
              20:00:09,406 INFO [ex] Bound to JNDI name: queue/ex
              20:00:09,453 INFO [testTopic] Bound to JNDI name: topic/testTopic
              20:00:09,453 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
              20:00:09,453 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
              20:00:09,453 INFO [testQueue] Bound to JNDI name: queue/testQueue
              20:00:09,484 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
              20:00:09,531 INFO [DLQ] Bound to JNDI name: queue/DLQ
              20:00:09,656 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Conn
              ectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
              20:00:10,468 INFO [Ejb3Deployment] EJB3 deployment time took: 765
              20:00:10,484 INFO [JmxKernelAbstraction] installing MBean: persistence.units:jar=FirstEjb3Tutorial.
              jar,unitName=FirstEjb3Tutorial with dependencies:
              20:00:10,500 INFO [JmxKernelAbstraction] jboss.jca:name=mysql-ds,service=ManagedConnectionFac
              tory
              20:00:10,546 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=FirstEjb3Tutorial.jar,nam
              e=BookTestBean,service=EJB3 with dependencies:
              20:00:10,546 INFO [JmxKernelAbstraction] persistence.units:jar=FirstEjb3Tutorial.jar,unitName
              =FirstEjb3Tutorial
              20:00:10,546 INFO [EJB3Deployer] Deployed: file:/C:/java/jboss/server/default/deploy/FirstEjb3Tutor
              ial.jar
              20:00:10,593 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
              
              20:00:10,718 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
              
              --- MBeans waiting for other MBeans ---
              ObjectName: persistence.units:jar=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial
               State: NOTYETINSTALLED
               I Depend On:
               jboss.jca:name=mysql-ds,service=ManagedConnectionFactory
               Depends On Me:
               jboss.j2ee:jar=FirstEjb3Tutorial.jar,name=BookTestBean,service=EJB3
              
              ObjectName: jboss.j2ee:jar=FirstEjb3Tutorial.jar,name=BookTestBean,service=EJB3
               State: NOTYETINSTALLED
               I Depend On:
               persistence.units:jar=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial
              
              --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
              ObjectName: jboss.jca:name=mysql-ds,service=ManagedConnectionFactory
               State: NOTYETINSTALLED
               Depends On Me:
               persistence.units:jar=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial
              
              
              20:00:10,750 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
              20:00:10,875 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
              20:00:10,875 INFO [JkMain] Jk running ID=0 time=0/79 config=null
              20:00:10,937 INFO [Server] JBoss (MX MicroKernel) [4.0.4.CR2 (build: CVSTag=JBoss_4_0_4_CR2 date=20
              0603311500)] Started in 13s:281ms
              


              Looking at the messages I can't find a clue of what is wrong...

              thanks again, Marcio.