6 Replies Latest reply on Dec 6, 2010 10:51 PM by jaikiran pai

    JBoss 6 shuts down without really telling me why

    John Ament Master

      I'm trying to get my glassfish app running on jboss 6.  When I deploy it, after tweaking classpath a bit, I get the following error:

       

      13:01:41,475 INFO  [service] Removing bootstrap log handlers
      13:01:42,826 ERROR [org.jboss.profileservice.bootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

      However, there were no errors listed during deployment....

       

      Any idea what I can check to find out why it failed?    

        • 1. Re: JBoss 6 shuts down without really telling me why
          Shelly McGowan Apprentice

          Is there additional information in the server.log that you can provide?  If not, you can start your running server to increase the log threshold using -Djboss.server.log.threshold=DEBUG

          • 2. Re: JBoss 6 shuts down without really telling me why
            John Ament Master

            No sorry, the application appears to deploy correctly, but then nothing.  Adding debug option did nothing either.  It appears that the jboss-log4j.xml is not found where it used to be either.

             

            Here's some more of the log file if it helps any

             

            13:48:32,350 WARN  [TimerServiceContainer] EJBHREE-2193: using deprecated TimerServiceFactory for restoring timers
            13:48:32,356 INFO  [AbstractNoInterfaceViewJNDIBinder] Binding the following entry in Global JNDI:

             

                EvaluationDAO/no-interface - EJB3.1 no-interface view

             

            13:48:32,516 INFO  [service] Removing bootstrap log handlers
            13:48:33,582 ERROR [org.jboss.profileservice.bootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

             

            DEPLOYMENTS MISSING DEPENDENCIES:
              Deployment "jboss.j2ee:jar=my-app.war,name=CacheHandler,service=EJB3" is missing the following dependencies:
                Dependency "vfs:///files/jboss/jboss-6.0.0.20101110-CR1/server/default/deploy/my-app.war_WeldBootstrapBean" (should be in state "Start", but is actually in state "Create")
              Deployment "jboss.j2ee:jar=my-app.war,name=CacheHandler,service=EJB3_endpoint" is missing the following dependencies:
                Dependency "jboss.j2ee:jar=my-app.war,name=CacheHandler,service=EJB3" (should be in state "Installed", but is actually in state "Create")
              Deployment "jboss.j2ee:jar=my-app.war,name=CacheProducer,service=EJB3" is missing the following dependencies:
                Dependency "vfs:///files/jboss/jboss-6.0.0.20101110-CR1/server/default/deploy/my-app.war_WeldBootstrapBean" (should be in state "Start", but is actually in state "Create")
              Deployment "jboss.j2ee:jar=my-app.war,name=CacheProducer,service=EJB3_endpoint" is missing the following dependencies:
                Dependency "jboss.j2ee:jar=my-app.war,name=CacheProducer,service=EJB3" (should be in state "Installed", but is actually in state "Create")
              Deployment "jboss.j2ee:jar=my-app.war,name=CalculateAllScript,service=EJB3" is missing the following dependencies:
                Dependency "<UNKNOWN jboss.j2ee:jar=my-app.war,name=CalculateAllScript,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'jndi:CalculateEvaluationResult/no-interface' **")

            • 3. Re: JBoss 6 shuts down without really telling me why
              Shelly McGowan Apprentice

              Would it be possible to file a JBAS JIRA here and attach your sample app?  I'd like to understand the issue.

              • 4. Re: JBoss 6 shuts down without really telling me why
                John Ament Master

                It appears to be due to a singleton having a dependency on another singleton.  I can provide a simple application to demonstrate it.  It happens regardless of @DependsOn being present or not.    

                • 6. Re: JBoss 6 shuts down without really telling me why
                  jaikiran pai Master

                  John Ament wrote:

                   

                  org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

                   

                  DEPLOYMENTS MISSING DEPENDENCIES:
                    Deployment "jboss.j2ee:jar=my-app.war,name=CacheHandler,service=EJB3" is missing the following dependencies:
                      Dependency "vfs:///files/jboss/jboss-6.0.0.20101110-CR1/server/default/deploy/my-app.war_WeldBootstrapBean" (should be in state "Start", but is actually in state "Create")
                    Deployment "jboss.j2ee:jar=my-app.war,name=CacheHandler,service=EJB3_endpoint" is missing the following dependencies:
                      Dependency "jboss.j2ee:jar=my-app.war,name=CacheHandler,service=EJB3" (should be in state "Installed", but is actually in state "Create")
                    Deployment "jboss.j2ee:jar=my-app.war,name=CacheProducer,service=EJB3" is missing the following dependencies:
                      Dependency "vfs:///files/jboss/jboss-6.0.0.20101110-CR1/server/default/deploy/my-app.war_WeldBootstrapBean" (should be in state "Start", but is actually in state "Create")
                    Deployment "jboss.j2ee:jar=my-app.war,name=CacheProducer,service=EJB3_endpoint" is missing the following dependencies:
                      Dependency "jboss.j2ee:jar=my-app.war,name=CacheProducer,service=EJB3" (should be in state "Installed", but is actually in state "Create")
                    Deployment "jboss.j2ee:jar=my-app.war,name=CalculateAllScript,service=EJB3" is missing the following dependencies:
                      Dependency "<UNKNOWN jboss.j2ee:jar=my-app.war,name=CalculateAllScript,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'jndi:CalculateEvaluationResult/no-interface' **")

                  Hmm, those errors are hard to understand.

                   

                  Deployment  "jboss.j2ee:jar=my-app.war,name=CalculateAllScript,service=EJB3" is  missing the following dependencies:
                      Dependency "<UNKNOWN  jboss.j2ee:jar=my-app.war,name=CalculateAllScript,service=EJB3>"  (should be in state "Installed", but is actually in state "** UNRESOLVED  Demands 'jndi:CalculateEvaluationResult/no-interface' **")

                  Does your CalcualteAllScript bean (what type of a EJB is it?) inject or have a @DependsOn on CalculateEvaluationResult bean? And is that CalculateEvaluationResult bean being deployed? What type of EJB is it and does it have a no-interface view?