4 Replies Latest reply on Dec 1, 2008 7:31 PM by Peter Johnson

    errors on JBoss startup - replacing Hypersonic DB with Oracl

    ilango gurusamy Novice

      Hi
      These are the errors I get when I start up JBoss. I have a new oracle-ds.xml, got rid of the hsqldb-ds.xml,, copied the ojdbc.jar file into lib, dropped in a new oracle-db-persistence.xml and have java://oracleDS in it instead of defaultDS.
      What am I missing in the configuration. I even looked at some posts that talked about a similar problem. Please help



      *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
      
      jboss.ejb:persistencePolicy=database,service=EJBTimerService
       -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataS
      ourceBinding' **}
       -> jboss.jdbc:datasource=DefaultDS,service=metadata{Create:** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=
      metadata' **}
      
      jboss.ejb:service=EJB3TimerService
       -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataS
      ourceBinding' **}
      
      jboss.ejb:service=EJBTimerService
       -> jboss.ejb:persistencePolicy=database,service=EJBTimerService{Create:Configured}
      
      jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
       -> jboss.messaging:service=PostOffice{Create:Configured}
      
      jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
       -> jboss.messaging:service=PostOffice{Create:Configured}
      
      jboss.messaging.connectionfactory:service=ConnectionFactory
       -> jboss.messaging:service=PostOffice{Create:Configured}
      
      jboss.messaging:service=PostOffice
       -> jboss.jgroups:service=ChannelFactory{Create:** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory' **}
      
      jboss:service=KeyGeneratorFactory,type=HiLo
       -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataS
      ourceBinding' **}
      
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      jboss.jgroups:service=ChannelFactory -> ** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory' **
      
      jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBin
      ding' **
      
      jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata
      ' **
      
      
      13:13:35,954 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-192.168.95.126-8080
      13:13:35,985 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-192.168.95.126-8009
      13:13:36,001 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171046)] Started
      in 2m:3s:564ms
      13:13:36,220 WARN [HDScanner] Failed to process changes
      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETA
      ILS):
      
      *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
      
      jboss.ejb:persistencePolicy=database,service=EJBTimerService
       -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataS
      ourceBinding' **}
       -> jboss.jdbc:datasource=DefaultDS,service=metadata{Create:** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=
      metadata' **}
      
      jboss.ejb:service=EJB3TimerService
       -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataS
      ourceBinding' **}
      
      jboss.ejb:service=EJBTimerService
       -> jboss.ejb:persistencePolicy=database,service=EJBTimerService{Create:Configured}
      
      jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
       -> jboss.messaging:service=PostOffice{Create:Configured}
      
      jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
       -> jboss.messaging:service=PostOffice{Create:Configured}
      
      jboss.messaging.connectionfactory:service=ConnectionFactory
       -> jboss.messaging:service=PostOffice{Create:Configured}
      
      jboss.messaging:service=PostOffice
       -> jboss.jgroups:service=ChannelFactory{Create:** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory' **}
      
      jboss:service=KeyGeneratorFactory,type=HiLo
       -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataS
      ourceBinding' **}
      
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      jboss.jgroups:service=ChannelFactory -> ** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory' **
      
      jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBin
      ding' **
      
      jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata
      ' **
      
      
       at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
       at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:9
      8)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:
      181)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
       at java.lang.Thread.run(Thread.java:619)


        • 1. Re: errors on JBoss startup - replacing Hypersonic DB with O
          Peter Johnson Master

          There are a lot of services that rely on DefaultDS. You will either have to provide a new DefaultDS, or replace hsqldb-ds.xml.

          • 2. Re: errors on JBoss startup - replacing Hypersonic DB with O
            Urs Rothenhäusler Newbie

            Hi,

            I removed hsqldb-ds.xml and replaced it with oracle-ds.xml. For this reason, I changed the following files by replacing DefaultDS to OracleDS (your Datasource name).

            conf/login-config.xml
            deploy/uuid-key-generator.sar/META-INF/jboss-service.xml
            deploy/ejb-deployer.xml
            deploy/jms/hsqldb-jdbc-state-service.xml
            deploy/jms/hsqldb-jdbc2-service.xml --> replace with oracle-jdbc2-service.xml from $JBOSS_HOME/examples/jms and use your Datasource name

            braca

            • 3. Re: errors on JBoss startup - replacing Hypersonic DB with O
              ilango gurusamy Novice

               

              "braca" wrote:
              Hi,

              I removed hsqldb-ds.xml and replaced it with oracle-ds.xml. For this reason, I changed the following files by replacing DefaultDS to OracleDS (your Datasource name).

              conf/login-config.xml
              deploy/uuid-key-generator.sar/META-INF/jboss-service.xml
              deploy/ejb-deployer.xml
              deploy/jms/hsqldb-jdbc-state-service.xml
              deploy/jms/hsqldb-jdbc2-service.xml --> replace with oracle-jdbc2-service.xml from $JBOSS_HOME/examples/jms and use your Datasource name

              braca


              I still get the following errors:
              12:10:27,641 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS F
              
              OR DETAILS):
              
              
              
              *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
              
              
              
              jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
              
               -> jboss.messaging:service=PostOffice{Create:Configured}
              
              
              
              jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
              
               -> jboss.messaging:service=PostOffice{Create:Configured}
              
              
              
              jboss.messaging.connectionfactory:service=ConnectionFactory
              
               -> jboss.messaging:service=PostOffice{Create:Configured}
              
              
              
              jboss.messaging.destination:name=DLQ,service=Queue
              
               -> jboss.messaging:service=PostOffice{Create:Configured}
              
              
              
              jboss.messaging.destination:name=DexCenterSubmitQueue,service=Queue
              
               -> jboss.messaging:service=PostOffice{Create:Configured}
              
              
              
              jboss.messaging.destination:name=DexPostProcessQueue,service=Queue
              
               -> jboss.messaging:service=PostOffice{Create:Configured}
              
              
              
              jboss.messaging.destination:name=DexSubmitQueueStation,service=Queue
              
               -> jboss.messaging:service=PostOffice{Create:Configured}
              
              
              
              jboss.messaging.destination:name=ExpiryQueue,service=Queue
              
               -> jboss.messaging:service=PostOffice{Create:Configured}
              
              
              
              jboss.messaging:service=PostOffice
              
               -> jboss.jgroups:service=ChannelFactory{Create:** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory' **}
              
              
              
              
              
              *** CONTEXTS IN ERROR: Name -> Error
              
              
              
              jboss.jgroups:service=ChannelFactory -> ** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory' **
              
              
              
              
              
              12:10:27,719 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-192.168.95.126-8080
              
              12:10:27,750 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-192.168.95.126-8009
              
              12:10:27,844 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171046)] Started
              
              in 1m:56s:736ms


              And after I put your suggestions to work, this is what I found:

              I am using JBoss 5 CR2. I was unable to find deploy/jms/hsqldb-jdbc2-service.xml. I have something called hsqlddb-persistence.xml instead.

              I had to remove ejb2-timer-service.xml to make some errors go away.

              thanks



              • 4. Re: errors on JBoss startup - replacing Hypersonic DB with O
                Peter Johnson Master

                JBoss AS 5.0 uses JBOss Messaging, not JBossMQ, hence the reason you could not find deploy/jms/hsqldb-jdbc2-service.xml. Instead, replace deploy/messaging/hsqldb-persistence-service.xml with the appropriate file from docs/examples/jms.

                And to modify Quartz, which provides the timing service, you need to download Quartz and do a bunch of configuration changes. See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=142826