2 Replies Latest reply on Jul 25, 2006 8:44 PM by Oleg Zhurakousky

    Problem in Deployment in JBoss 4.0.4

    Srikanth KR Newbie

      Hello,
      We are using Jboss 4.0.3 with EJB3.0 setup and the system is running fine.
      But when we migrated to JBoss 4.0.4, there were problems during compiling, it asked for unit name. We added the unit name and created a new persistence.xml with the details as shown. "@PersistenceContext(unitName="phx4EJB")"
      But We get the error as shown below. Does anyone have any idea?

      17:57:19,453 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=Phoen
      ixServer.jar,name=PhxCommonBean,service=EJB3 with dependencies:
      17:57:19,453 INFO [JmxKernelAbstraction] persistence.units:unitName=phx4E
      JB
      17:57:19,468 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=Phoen
      ixServer.jar,name=ComplexityDriverBean,service=EJB3 with dependencies:
      17:57:19,468 INFO [JmxKernelAbstraction] persistence.units:unitName=phx4E
      JB
      17:57:19,468 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=Phoen
      ixServer.jar,name=PhxMonitorBean,service=EJB3 with dependencies:
      17:57:19,812 INFO [EJBContainer] STARTED EJB: com.bosch.in.phoenix.monitor.PhxM
      onitorBean ejbName: PhxMonitorBean
      17:57:19,921 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=Phoen
      ixServer.jar,name=ProjectBean,service=EJB3 with dependencies:
      17:57:19,921 INFO [JmxKernelAbstraction] persistence.units:unitName=phx4E
      JB
      17:57:19,921 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=Phoen
      ixServer.jar,name=TreeObjectBean,service=EJB3 with dependencies:
      17:57:20,031 INFO [EJBContainer] STARTED EJB: com.bosch.in.phoenix.projects.Tre
      eObjectBean ejbName: TreeObjectBean
      17:57:20,140 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=Phoen
      ixServer.jar,name=PromicsBean,service=EJB3 with dependencies:
      17:57:20,140 INFO [JmxKernelAbstraction] persistence.units:unitName=phx4E
      JB
      17:57:20,140 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=Phoen
      ixServer.jar,name=ResourceBean,service=EJB3 with dependencies:
      17:57:20,140 INFO [JmxKernelAbstraction] persistence.units:unitName=phx4E
      JB
      17:57:20,140 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=Phoen
      ixServer.jar,name=SecurityBean,service=EJB3 with dependencies:
      17:57:20,156 INFO [JmxKernelAbstraction] persistence.units:unitName=phx4E
      JB
      17:57:20,156 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=Phoen
      ixServer.jar,name=UserBean,service=EJB3 with dependencies:
      17:57:20,156 INFO [JmxKernelAbstraction] persistence.units:unitName=phx4E
      JB
      17:57:20,156 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=Phoen
      ixServer.jar,name=UserManagerBean,service=EJB3 with dependencies:
      17:57:20,156 INFO [JmxKernelAbstraction] persistence.units:unitName=phx4E
      JB
      17:57:20,171 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=Phoen
      ixServer.jar,name=WPBean,service=EJB3 with dependencies:
      17:57:20,171 INFO [JmxKernelAbstraction] persistence.units:unitName=phx4E
      JB
      17:57:20,187 INFO [EJB3Deployer] Deployed: file:/D:/tools/jboss-4.0.4.GA/server
      /all/deploy/PhoenixServer.jar
      17:57:20,234 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
      loy/jmx-console.war/
      17:57:22,421 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.j2ee:jar=PhoenixServer.jar,name=PhxCommonBean,service=EJB3
      State: NOTYETINSTALLED
      I Depend On:
      persistence.units:unitName=phx4EJB

      ObjectName: jboss.j2ee:jar=PhoenixServer.jar,name=ComplexityDriverBean,service=E
      JB3
      State: NOTYETINSTALLED
      I Depend On:
      persistence.units:unitName=phx4EJB

      ObjectName: jboss.j2ee:jar=PhoenixServer.jar,name=ProjectBean,service=EJB3
      State: NOTYETINSTALLED
      I Depend On:
      persistence.units:unitName=phx4EJB

      ObjectName: jboss.j2ee:jar=PhoenixServer.jar,name=PromicsBean,service=EJB3
      State: NOTYETINSTALLED
      I Depend On:
      persistence.units:unitName=phx4EJB

      ObjectName: jboss.j2ee:jar=PhoenixServer.jar,name=ResourceBean,service=EJB3
      State: NOTYETINSTALLED
      I Depend On:
      persistence.units:unitName=phx4EJB

      ObjectName: jboss.j2ee:jar=PhoenixServer.jar,name=SecurityBean,service=EJB3
      State: NOTYETINSTALLED
      I Depend On:
      persistence.units:unitName=phx4EJB

      ObjectName: jboss.j2ee:jar=PhoenixServer.jar,name=UserBean,service=EJB3
      State: NOTYETINSTALLED
      I Depend On:
      persistence.units:unitName=phx4EJB

      ObjectName: jboss.j2ee:jar=PhoenixServer.jar,name=UserManagerBean,service=EJB3
      State: NOTYETINSTALLED
      I Depend On:
      persistence.units:unitName=phx4EJB

      ObjectName: jboss.j2ee:jar=PhoenixServer.jar,name=WPBean,service=EJB3
      State: NOTYETINSTALLED
      I Depend On:
      persistence.units:unitName=phx4EJB

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: persistence.units:unitName=phx4EJB
      State: NOTYETINSTALLED
      Depends On Me:
      jboss.j2ee:jar=PhoenixServer.jar,name=PhxCommonBean,service=EJB3
      jboss.j2ee:jar=PhoenixServer.jar,name=ComplexityDriverBean,service=EJB3
      jboss.j2ee:jar=PhoenixServer.jar,name=ProjectBean,service=EJB3
      jboss.j2ee:jar=PhoenixServer.jar,name=PromicsBean,service=EJB3
      jboss.j2ee:jar=PhoenixServer.jar,name=ResourceBean,service=EJB3
      jboss.j2ee:jar=PhoenixServer.jar,name=SecurityBean,service=EJB3
      jboss.j2ee:jar=PhoenixServer.jar,name=UserBean,service=EJB3
      jboss.j2ee:jar=PhoenixServer.jar,name=UserManagerBean,service=EJB3
      jboss.j2ee:jar=PhoenixServer.jar,name=WPBean,service=EJB3


      17:57:22,593 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0
      -8080
      17:57:22,781 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      17:57:22,859 INFO [JkMain] Jk running ID=0 time=0/109 config=null
      17:57:22,875 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBos
      s_4_0_4_GA date=200605151000)] Started in 34s:719ms

      Please let me know if anyone knows a solution to this.
      Regards,
      SKR