0 Replies Latest reply on Jan 2, 2012 4:35 AM by rdebeijer

    Problem deploying ear to jboss 6.1

    rdebeijer

      Hi,

       

      I am currently in the process of migrating a RichFaces 3 application from JBoss 5.1 to a RichFaces 4 on JBoss 6.1

      But I keep running into deployment problems and for now cant find the solution (also not on the forums)

       

      The errors I see in the logs are like (I changed the bean/application names):

       

      2011-12-27 08:20:44,439 ERROR [ProfileServiceBootstrap] (Thread-2) 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=MyEjbEAR,module=MyService,name=ExampleBean" is missing the following dependencies:

          Dependency "jboss.j2ee:ear=MyEjbEAR.ear,jar=MyService.jar,name=AnotherBean,service=EJB3" (should be in state "Installed", but is actually in state "Configured")

        Deployment "jboss-switchboard:appName=MyEjbEAR,module=MyService,name=YetAnotherBean" is missing the following dependencies:

          Dependency "jboss.j2ee:ear=MyEjbEAR.ear,jar=MyService.jar,name=ThirdBean,service=EJB3" (should be in state "Installed", but is actually in state "Configured")

      ....

      ....

      ....

       

      And a bit further on in the logs I see:

       

      DEPLOYMENTS IN ERROR:

        Deployment "<UNKNOWN jboss.j2ee:ear=MyEjbEAR.ear,jar=MyService.jar,name=MyBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jboss-switchboard:appName=MyEjbEAR,module=MyService,name=MaintenanceBean' **, ** UNRESOLVED Demands 'jboss-switchboard:appName=MyEjbEAR,module=MyService,name=.....

      .....

      .....

       

       

      The structure of the EAR archive looks like:

       

      MyEAR

      |

      ----conf

      |

      ----lib

      |

      ----META-INF

      |

      ----MyService.jar

      |

      ----MyService2.jar

      |

      ----MyService3.jar

      |

      ----MyService4.jar

      |

      ----MyWeb.war

       

       

      Anybody out there that can help me out with this?

       

      Regards Ramon