6 Replies Latest reply on Aug 8, 2012 4:17 AM by b41somp

    DEPLOYMENTS MISSING DEPENDENCIES:

    roxana.munteanu

      Hello,

       

      I am new to JBOSS and I try to do an application following the article from http://netbeans.org/kb/docs/javaee/ecommerce/intro.html . I am using Netbeans IDE 7.0 Beta and MySQL and JBOSS 6.  When I run the application I get the following error. Can anyone help me, please? Thanks!!!

       


      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment "jboss-switchboard:appName=AffableBean,module=AffableBean" is missing the following dependencies:
          Dependency "jboss.jca:name=internal/AffableBean/AffableBean/env/jdbc/affablebean,service=DataSourceBinding" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=internal/AffableBean/AffableBean/env/jdbc/affablebean,service=DataSourceBinding',whenRequired=MapControllerStateModel$ControllerStateWrapper@1104764{Installed},dependentState=MapControllerStateModel$ControllerStateWrapper@1104764{Installed} **")
        Deployment "jboss.web.deployment:war=/AffableBean" is missing the following dependencies:
          Dependency "jboss-switchboard:appName=AffableBean,module=AffableBean" (should be in state "Installed", but is actually in state "Deploy")

       

      DEPLOYMENTS IN ERROR:
        Deployment "jboss.jca:name=internal/AffableBean/AffableBean/env/jdbc/affablebean,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=internal/AffableBean/AffableBean/env/jdbc/affablebean,service=DataSourceBinding',whenRequired=MapControllerStateModel$ControllerStateWrapper@1104764{Installed},dependentState=MapControllerStateModel$ControllerStateWrapper@1104764{Installed} **

       

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370) [:2.2.0.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1316) [:2.2.0.GA]
              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:968) [:2.2.0.GA]
              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:82) [:6.0.0.Final]
              at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.checkComplete(ProfileControllerContext.java:138) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.deploy(HDScanner.java:246) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.complete(HDScanner.java:192) [:0.2.2]
              at org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:57) [:0.2.2]
              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModificationAction.java:74) [:0.2.2]
              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:95) [:0.2.2]
              at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner.java:146) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.java:90) [:0.2.2]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_18]
              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [:1.6.0_18]
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_18]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_18]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) [:1.6.0_18]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) [:1.6.0_18]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_18]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_18]
              at java.lang.Thread.run(Thread.java:619) [:1.6.0_18]

       

      19:38:16,782 WARN  [org.jboss.profileservice.deployment.hotdeploy.HDScanner] Scan failed: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment "jboss-switchboard:appName=AffableBean,module=AffableBean" is missing the following dependencies:
          Dependency "jboss.jca:name=internal/AffableBean/AffableBean/env/jdbc/affablebean,service=DataSourceBinding" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=internal/AffableBean/AffableBean/env/jdbc/affablebean,service=DataSourceBinding',whenRequired=MapControllerStateModel$ControllerStateWrapper@1104764{Installed},dependentState=MapControllerStateModel$ControllerStateWrapper@1104764{Installed} **")
        Deployment "jboss.web.deployment:war=/AffableBean" is missing the following dependencies:
          Dependency "jboss-switchboard:appName=AffableBean,module=AffableBean" (should be in state "Installed", but is actually in state "Deploy")

       

      DEPLOYMENTS IN ERROR:
        Deployment "jboss.jca:name=internal/AffableBean/AffableBean/env/jdbc/affablebean,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=internal/AffableBean/AffableBean/env/jdbc/affablebean,service=DataSourceBinding',whenRequired=MapControllerStateModel$ControllerStateWrapper@1104764{Installed},dependentState=MapControllerStateModel$ControllerStateWrapper@1104764{Installed} **

       

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370) [:2.2.0.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1316) [:2.2.0.GA]
              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:968) [:2.2.0.GA]
              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:82) [:6.0.0.Final]
              at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.checkComplete(ProfileControllerContext.java:138) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.deploy(HDScanner.java:246) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.complete(HDScanner.java:192) [:0.2.2]
              at org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:57) [:0.2.2]
              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModificationAction.java:74) [:0.2.2]
              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:95) [:0.2.2]
              at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner.java:146) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.java:90) [:0.2.2]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_18]
              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [:1.6.0_18]
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_18]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_18]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) [:1.6.0_18]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) [:1.6.0_18]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_18]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_18]
              at java.lang.Thread.run(Thread.java:619) [:1.6.0_18]

       

       

       

       

       

      I put the  mysql-ds.xml file in  C:\Jboss6\server\all\deploy   and contain :

       

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

       

      <!-- See http://www.jboss.org/community/wiki/Multiple1PC for information about local-tx-datasource -->
      <!-- $Id: mysql-ds.xml 97536 2009-12-08 14:05:07Z jesper.pedersen $ -->
      <!--  Datasource config for MySQL using 3.0.9 available from:
      http://www.mysql.com/downloads/api-jdbc-stable.html
      -->
      <datasources>
          <local-tx-datasource>
              <!-- This connection pool will be bound into JNDI with the name
                   "java:/MySQLDB" -->

       

              <jndi-name>jdbc/affablebean</jndi-name>
              <connection-url>jdbc:mysql://localhost:3306/affablebean</connection-url>
              <driver-class>com.mysql.jdbc.Driver</driver-class>
              <user-name>root</user-name>
              <password>nbuser</password>

       

              <min-pool-size>5</min-pool-size>

       

              <!-- Don't set this any higher than max_connections on your
               MySQL server, usually this should be a 10 or a few 10's
               of connections, not hundreds or thousands -->

       

              <max-pool-size>20</max-pool-size>

       

              <!-- Don't allow connections to hang out idle too long,
               never longer than what wait_timeout is set to on the
               server...A few minutes is usually okay here,
               it depends on your application
               and how much spikey load it will see -->

       

              <idle-timeout-minutes>5</idle-timeout-minutes>

       

              <!-- If you're using Connector/J 3.1.8 or newer, you can use
                   our implementation of these to increase the robustness
                   of the connection pool. -->

       

              <exception-sorter-class-name>
        com.mysql.jdbc.integration.jboss.ExtendedMysqlExceptionSorter
              </exception-sorter-class-name>
              <valid-connection-checker-class-name>
        com.mysql.jdbc.integration.jboss.MysqlValidConnectionChecker
              </valid-connection-checker-class-name>

       

          </local-tx-datasource>
      </datasources>

        • 1. Re: DEPLOYMENTS MISSING DEPENDENCIES:
          jaikiran

          Which exact tutorial on that page? Also what does your web.xml look like?

          • 2. Re: DEPLOYMENTS MISSING DEPENDENCIES:
            roxana.munteanu

            Hi,

             

            I am at this tutorial: http://netbeans.org/kb/docs/javaee/ecommerce/connect-db.html .

             

            My web.xml looks like this:

             

            <?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">
                <session-config>
                    <session-timeout>
                        30
                    </session-timeout>
                </session-config>
                <jsp-config>
                    <jsp-property-group>
                        <description>header and footer settings</description>
                        <url-pattern>/index.jsp</url-pattern>
                        <url-pattern>/WEB-INF/view/*</url-pattern>
                        <include-prelude>/WEB-INF/jspf/header.jspf</include-prelude>
                        <include-coda>/WEB-INF/jspf/footer.jspf</include-coda>
                    </jsp-property-group>
                </jsp-config>
                <resource-ref>
                    <description>Connects to database for AffableBean application</description>
                    <res-ref-name>jdbc/affablebean</res-ref-name>
                    <res-type>javax.sql.DataSource</res-type>
                    <res-auth>Container</res-auth>
                    <res-sharing-scope>Shareable</res-sharing-scope>
                </resource-ref>
            </web-app>

            • 3. Re: DEPLOYMENTS MISSING DEPENDENCIES:
              roxana.munteanu

              I am very confused. I read in some places on the internet that i have to put the mysql-ds.xml file in server/all/deploy location, in other places says that i have to put it in server/default/deploy file. Which one is correct? Somewhere I read that I have to delete the hsqldb-ds.xml file from server/all/deploy location. I have done that, but still doesn't work.

              The entire message displayed when I start the server is:

               

              Calling C:\Jboss6\bin\run.conf.bat
              ===============================================================================

               

                JBoss Bootstrap Environment

               

                JBOSS_HOME: C:\Jboss6

               

                JAVA: C:\Java\jdk1.6.0_18\bin\java

               

                JAVA_OPTS: -Dprogram.name=run.bat -Xms256M -Xmx1024M -server

               

                CLASSPATH: C:\Java\jdk1.6.0_18\lib\tools.jar;C:\Jboss6\bin\run.jar

               

              ===============================================================================

               

              00:25:52,491 INFO  [AbstractJBossASServerBase] Server Configuration:

               

                      JBOSS_HOME URL: file:/C:/Jboss6/
                      Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml
                      Common Base: $JBOSS_HOME\common/
                      Common Library: $JBOSS_HOME\common/lib/
                      Server Name: default
                      Server Base: $JBOSS_HOME\server/
                      Server Library: $JBOSS_HOME\server/default/lib/
                      Server Config: $JBOSS_HOME\server/default/conf/
                      Server Home: $JBOSS_HOME\server/default/
                      Server Data: $JBOSS_HOME\server/default/data/
                      Server Log: $JBOSS_HOME\server/default/log/
                      Server Temp: $JBOSS_HOME\server/default/tmp/

               

              00:25:52,898 INFO  [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]
              00:25:55,180 INFO  [ServerInfo] Java version: 1.6.0_18,Sun Microsystems Inc.
              00:25:55,181 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
              00:25:55,181 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 16.0-b13,Sun Microsystems Inc.
              00:25:55,181 INFO  [ServerInfo] OS-System: Windows 7 6.1,x86
              00:25:55,181 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms256M -Xmx1024M -Djava.endorsed.dirs=C:\Jboss6\lib\endorsed
              00:25:55,251 INFO  [JMXKernel] Legacy JMX core initialized
              00:26:05,383 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA
              00:26:06,621 INFO  [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
              00:26:11,866 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
              00:26:15,896 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
              00:26:16,158 INFO  [JMXConnector] starting JMXConnector on host 127.0.0.1:1090
              00:26:16,302 INFO  [MailService] Mail Service bound to java:/Mail
              00:26:17,396 INFO  [HornetQServerImpl] live server is starting..
              00:26:17,511 INFO  [JournalStorageManager] Using NIO Journal
              00:26:17,544 WARNING [HornetQServerImpl] Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
              00:26:18,671 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 127.0.0.1:5445 for CORE protocol
              00:26:18,680 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 127.0.0.1:5455 for CORE protocol
              00:26:18,685 INFO  [HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) started
              00:26:18,770 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
              00:26:19,153 INFO  [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
              00:26:19,162 INFO  [arjuna] ARJUNA-12324 Start RecoveryActivators
              00:26:19,189 INFO  [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at Fri, 7 Jan 2011 00:26:19
              00:26:19,306 INFO  [arjuna] ARJUNA-12310 Recovery manager listening on endpoint 127.0.0.1:4712
              00:26:19,306 INFO  [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on port 4712
              00:26:19,307 INFO  [jbossatx] ARJUNA-32013 Starting transaction recovery manager
              00:26:19,649 INFO  [arjuna] ARJUNA-12163 Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713
              00:26:19,649 INFO  [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 127.0.0.1 port: 4713
              00:26:19,846 INFO  [arjuna] ARJUNA-12170 TransactionStatusManager started on port 4713 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
              00:26:19,914 INFO  [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA version - tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
              00:26:20,189 INFO  [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectStore.
              00:26:20,552 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk1.6.0_18\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Toshiba\Bluetooth Toshiba Stack\sys\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Java\jdk1.6.0_18\bin;C:\apache-ant\bin;C:\Java\jdk1.6.0_18\jre\bin;C:\Jboss6\bin;C:\xampp\mysql\bin;C:\Program Files\QuickTime\QTSystem\
              00:26:20,811 INFO  [ModClusterService] Initializing mod_cluster 1.1.0.Final
              00:26:20,834 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
              00:26:21,435 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Jboss6/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
              00:26:21,455 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Jboss6/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
              00:26:21,478 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Jboss6/server/default/deploy/jms-ra.rar/META-INF/ra.xml
              00:26:21,499 INFO  [HornetQResourceAdapter] HornetQ resource adaptor started
              00:26:21,508 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Jboss6/server/default/deploy/mail-ra.rar/META-INF/ra.xml
              00:26:21,634 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Jboss6/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
              00:26:21,774 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2
              00:26:21,830 INFO  [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
              00:26:21,830 INFO  [QuartzScheduler] Quartz Scheduler v.1.8.3 created.
              00:26:21,834 INFO  [RAMJobStore] RAMJobStore initialized.
              00:26:21,837 INFO  [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8.3) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED'
                Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
                NOT STARTED.
                Currently in standby mode.
                Number of jobs executed: 0
                Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
                Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

               

              00:26:22,107 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler' initialized from an externally opened InputStream.
              00:26:22,108 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.8.3
              00:26:22,108 INFO  [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTERED started.
              00:26:22,619 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
              00:26:23,004 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
              00:26:23,041 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/affablebean' to JNDI name 'java:jdbc/affablebean'
              00:26:23,260 INFO  [xnio] XNIO Version 2.1.0.CR2
              00:26:23,275 INFO  [nio] XNIO NIO Implementation Version 2.1.0.CR2
              00:26:23,508 INFO  [remoting] JBoss Remoting version 3.1.0.Beta2
              00:26:23,702 INFO  [TomcatDeployment] deploy, ctxPath=/
              00:26:23,748 INFO  [service] Removing bootstrap log handlers
              00:26:23,932 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

               

              DEPLOYMENTS MISSING DEPENDENCIES:
                Deployment "jboss-switchboard:appName=AffableBean,module=AffableBean" is missing the following dependencies:
                  Dependency "java:/affablebean" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'java:/affablebean' **")
                Deployment "jboss.web.deployment:war=/AffableBean" is missing the following dependencies:
                  Dependency "jboss-switchboard:appName=AffableBean,module=AffableBean" (should be in state "Installed", but is actually in state "Create")

               

              DEPLOYMENTS IN ERROR:
                Deployment "java:/affablebean" is in error due to the following reason(s): ** NOT FOUND Depends on 'java:/affablebean' **

               

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]
                      at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]
                      at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]
                      at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
                      at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
                      at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
                      at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
                      at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
                      at java.lang.Thread.run(Thread.java:619) [:1.6.0_18]

               

              00:26:24,150 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8081
              00:26:24,154 INFO  [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8008
              00:26:24,155 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 31s:248ms

              • 4. Re: DEPLOYMENTS MISSING DEPENDENCIES:
                ebross

                Hi Roxana Munteanu,

                 

                "...I read in some places on the internet that i have to put the mysql-ds.xml file in server/all/deploy location, in other places says that i have to put it in server/default/deploy file"

                 

                Server Home: $JBOSS_HOME\server/default/

                 

                Notice the “default” in the paths above? It means you are running the  “default” server, so your  mysql-ds.xml should be under $JBOSS_HOME/server/default/deploy. You place it under the “all/deploy” directory if you are running the “all” server option.

                 

                Anyway, here are some pointers:

                 

                Don't forget (in the  $JBOSS_HOME/server/default/deploy directory) to rename hsqldb-ds.xml to (say)  hsqldb-ds.xml.bak or even delete it.

                 

                Also crossscheck your mysql-ds.xml  with the 'reference' copy of mysql-ds.xml  in $JBOSS_HOME/docs/examples/jca to satisfy yourself that you are doing the right thing.

                 

                Cheers!

                • 5. Re: DEPLOYMENTS MISSING DEPENDENCIES:
                  nickarls

                  Try dropping the resource-ref section in web.xml and the jdbc/ prefix in the persistence.xml jndi-name

                  • 6. Re: DEPLOYMENTS MISSING DEPENDENCIES:
                    b41somp

                    Thanks, it works!.