0 Replies Latest reply on Mar 15, 2010 3:34 PM by Charles Akalugwu

    Strange Deployment Errors

    Charles Akalugwu Newbie
      Hi Guys,

      I have this strange deployment exception when I start my server. I am using JBoss AS 5.1, seam 2.2 and richfaces 3.3.3.CR1.


      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=PhotoUploadBean,service=EJB3" is missing the following dependencies:
          Dependency "<UNKNOWN jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=PhotoUploadBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear' **")
        Deployment "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=PhotoUploadBean,service=EJB3_endpoint" is missing the following dependencies:
          Dependency "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=PhotoUploadBean,service=EJB3" (should be in state "Configured", but is actually in state "PreInstall")
        Deployment "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=RoleAdministrationBean,service=EJB3" is missing the following dependencies:
          Dependency "<UNKNOWN jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=RoleAdministrationBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear' **")
        Deployment "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=RoleAdministrationBean,service=EJB3_endpoint" is missing the following dependencies:
          Dependency "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=RoleAdministrationBean,service=EJB3" (should be in state "Configured", but is actually in state "PreInstall")
        Deployment "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=RoleListBean,service=EJB3" is missing the following dependencies:
          Dependency "<UNKNOWN jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=RoleListBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear' **")
        Deployment "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=RoleListBean,service=EJB3_endpoint" is missing the following dependencies:
          Dependency "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=RoleListBean,service=EJB3" (should be in state "Configured", but is actually in state "PreInstall")
        Deployment "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserAdministrationBean,service=EJB3" is missing the following dependencies:
          Dependency "<UNKNOWN jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserAdministrationBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear' **")
        Deployment "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserAdministrationBean,service=EJB3_endpoint" is missing the following dependencies:
          Dependency "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserAdministrationBean,service=EJB3" (should be in state "Configured", but is actually in state "PreInstall")
        Deployment "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserListBean,service=EJB3" is missing the following dependencies:
          Dependency "<UNKNOWN jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserListBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear' **")
        Deployment "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserListBean,service=EJB3_endpoint" is missing the following dependencies:
          Dependency "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserListBean,service=EJB3" (should be in state "Configured", but is actually in state "PreInstall")
        Deployment "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserStatisticsBean,service=EJB3" is missing the following dependencies:
          Dependency "<UNKNOWN jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserStatisticsBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear' **")
        Deployment "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserStatisticsBean,service=EJB3_endpoint" is missing the following dependencies:
          Dependency "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserStatisticsBean,service=EJB3" (should be in state "Configured", but is actually in state "PreInstall")
        Deployment "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=VideoUploadBean,service=EJB3" is missing the following dependencies:
          Dependency "<UNKNOWN jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=VideoUploadBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear' **")
        Deployment "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=VideoUploadBean,service=EJB3_endpoint" is missing the following dependencies:
          Dependency "jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=VideoUploadBean,service=EJB3" (should be in state "Configured", but is actually in state "PreInstall")
        Deployment "persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear" is missing the following dependencies:
          Dependency "jboss.jca:name=pup-earDatasource,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=pup-earDatasource,service=DataSourceBinding' **")

      DEPLOYMENTS IN ERROR:
        Deployment "<UNKNOWN jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserListBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear' **
        Deployment "jboss.jca:name=pup-earDatasource,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=pup-earDatasource,service=DataSourceBinding' **
        Deployment "<UNKNOWN jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=RoleAdministrationBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear' **
        Deployment "<UNKNOWN jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserStatisticsBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear' **
        Deployment "<UNKNOWN jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=VideoUploadBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear' **
        Deployment "<UNKNOWN jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=UserAdministrationBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear' **
        Deployment "<UNKNOWN jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=PhotoUploadBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear' **
        Deployment "<UNKNOWN jboss.j2ee:ear=pup-ear-ear.ear,jar=pup-ejb.jar,name=RoleListBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=pup-ear-ear.ear/pup-ejb.jar#pup-ear' **

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
              at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
              at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
              at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
              at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
              at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)


      The weird thing is that my datasource is properly deployed. I did not use seam-gen but manually configured all the different pieces. Any help would be greatly appreciated.


      Charles.