Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7409

JBoss Tools may be filtering deployment errors that should actually be displayed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • 3.2.0.CR1
    • None
    • server
    • None
    • Hide

      unzip project
      cd socialpm2/

      import into eclipse w/jboss tools

      deploy to the most recent jboss6 snapshot instance: http://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-6.0.x/

      tail the JBoss logs while watching the eclipse console.

      The eclipse console will appear to halt silently, really there is an error being logged.

      Show
      unzip project cd socialpm2/ import into eclipse w/jboss tools deploy to the most recent jboss6 snapshot instance: http://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-6.0.x/ tail the JBoss logs while watching the eclipse console. The eclipse console will appear to halt silently, really there is an error being logged.

    Description

      The server boots up until EJB startup on JBoss AS (when the error is encountered, then I get a white console in eclipse, and this in the logs - which I think should actually be displayed in the eclipse console as well – or at least some of it.)

      This also occurs when data-sources cannot connect, etc.

      a project to reproduce this can be found here, and is also attached:

      http://github.com/lincolnthree/ocpsoft-socialpm

      --Lincoln

      ==> server.log <==
      2010-10-25 18:27:48,432 ERROR [org.jboss.profileservice.bootstrap] (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 "MK2TimerServiceFactory" is missing the following dependencies:
      Dependency "persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb" (should be in state "Installed", but is actually in state "Configured")
      Deployment "jboss.ejb:persistencePolicy=database,service=EJBTimerService" is missing the following dependencies:
      Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **")
      Dependency "jboss.jdbc:datasource=DefaultDS,service=metadata" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **")
      Deployment "jboss.ejb:service=EJBTimerService" is missing the following dependencies:
      Dependency "jboss.ejb:persistencePolicy=database,service=EJBTimerService" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.j2ee:jar=socialpm.war,name=FeedService,service=EJB3" is missing the following dependencies:
      Dependency "<UNKNOWN jboss.j2ee:jar=socialpm.war,name=FeedService,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **")
      Deployment "jboss.j2ee:jar=socialpm.war,name=FeedService,service=EJB3_endpoint" is missing the following dependencies:
      Dependency "jboss.j2ee:jar=socialpm.war,name=FeedService,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall")
      Deployment "jboss.j2ee:jar=socialpm.war,name=UserService,service=EJB3" is missing the following dependencies:
      Dependency "<UNKNOWN jboss.j2ee:jar=socialpm.war,name=UserService,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **")
      Deployment "jboss.j2ee:jar=socialpm.war,name=UserService,service=EJB3_endpoint" is missing the following dependencies:
      Dependency "jboss.j2ee:jar=socialpm.war,name=UserService,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall")
      Deployment "jboss.web.deployment:war=/socialpm" is missing the following dependencies:
      Dependency "vfs:///home/lb3/Development/jboss6/server/default/deploy/socialpm.war_WeldBootstrapBean" (should be in state "Start", but is actually in state "Create")
      Deployment "jboss:service=KeyGeneratorFactory,type=HiLo" is missing the following dependencies:
      Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **")
      Deployment "persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb" is missing the following dependencies:
      Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **")
      Deployment "vfs:///home/lb3/Development/jboss6/server/default/deploy/socialpm.war$FeedService" is missing the following dependencies:
      Dependency "jboss.j2ee:jar=socialpm.war,name=FeedService,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall")
      Deployment "vfs:///home/lb3/Development/jboss6/server/default/deploy/socialpm.war$UserService" is missing the following dependencies:
      Dependency "jboss.j2ee:jar=socialpm.war,name=UserService,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall")
      Deployment "vfs:///home/lb3/Development/jboss6/server/default/deploy/socialpm.war_WBInjector" is missing the following dependencies:
      Dependency "vfs:///home/lb3/Development/jboss6/server/default/deploy/socialpm.war_WeldBootstrapBean" (should be in state "Installed", but is actually in state "Create")
      Deployment "vfs:///home/lb3/Development/jboss6/server/default/deploy/socialpm.war_WeldBootstrapBean" is missing the following dependencies:
      Dependency "jboss.j2ee:jar=socialpm.war,name=FeedService,service=EJB3" (should be in state "Create", but is actually in state "PreInstall")
      Dependency "jboss.j2ee:jar=socialpm.war,name=UserService,service=EJB3" (should be in state "Create", but is actually in state "PreInstall")

      DEPLOYMENTS IN ERROR:
      Deployment "vfs:///home/lb3/Development/jboss6/server/default/deploy/hsqldb-ds.xml" is in error due to the following reason(s): java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@9cab53a5[file =/home/lb3/Development/jboss6/server/default/data/hypersonic/localDB.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): lock file [/home/lb3/Development/jboss6/server/default/data/hypersonic/localDB.lck] is presumably locked by another process.
      Deployment "jboss.jca:name=DefaultDS,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
      Deployment "jboss.jdbc:datasource=DefaultDS,service=metadata" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **
      Deployment "<UNKNOWN jboss.j2ee:jar=socialpm.war,name=FeedService,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
      Deployment "<UNKNOWN jboss.j2ee:jar=socialpm.war,name=UserService,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **

      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.Alpha7]
      at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.Alpha7]
      at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0-SNAPSHOT]
      at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:118) [:0.1.0.Alpha1]
      at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:133) [:6.0.0-SNAPSHOT]
      at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0-SNAPSHOT]
      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_20]

      2010-10-25 18:27:48,451 INFO [org.apache.coyote.http11.Http11Protocol] (Thread-2) Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      2010-10-25 18:27:48,478 INFO [org.apache.coyote.ajp.AjpProtocol] (Thread-2) Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      2010-10-25 18:27:48,480 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] (Thread-2) JBossAS [6.0.0.SNAPSHOT "Neo"] Started in 34s:481ms

      Attachments

        Activity

          People

            rob.stryker Rob Stryker (Inactive)
            lincolnthree Lincoln Baxter III (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: