[jboss-user] [JBoss Messaging] - JBoss 5.0beta1: ejb3-timer-service.xml with PostgreSQL

Juergen.Zimmermann do-not-reply at jboss.com
Fri Dec 15 05:39:54 EST 2006


In ejb3-timer-service.xml I made these changes:HSQLDBDelegate -> PostgreSQLDelegate
  | qrtz_job_details: BINARY -> oid
  |                     IS_VOLATILE VARCHAR(1)  -> IS_VOLATILE boolean
  | qrtz_triggers: BINARY -> oid
  |                  IS_VOLATILE VARCHAR(1)  -> IS_VOLATILE boolean
  | qrtz_blob_triggers: BINARY -> oid
  | qrtz_calendars: BINARY -> oid
  | qrtz_fired_triggers: IS_VOLATILE VARCHAR(1)  -> IS_VOLATILE boolean
  |                        REQUESTS_RECOVERY VARCHAR(1) -> REQUESTS_RECOVERY boolean

When starting JBossAS I get this error message and stack trace although server/default/deploy/postgres-ds.xml defines DefaultDS:2006-12-15 11:24:27,882 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=jboss.ejb:persistencePolicy=database,service=EJBTimerService state=Create mode=Manual requiredState=Installed
  | java.lang.IllegalStateException: Cannot find datasource meta data: jboss.jdbc:datasource=DefaultDS,service=metadata
  | 	at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.init(GeneralPurposeDatabasePersistencePlugin.java:101)
  | 	at org.jboss.ejb.txtimer.DatabasePersistencePolicy.startService(DatabasePersistencePolicy.java:92)
  | 	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | 	at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | 	at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
  | 	at $Proxy0.start(Unknown Source)
  | 	at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
  | 	at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
  | 	at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
  | 	at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
  | 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
  | 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
  | 	at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
  | 	at org.jboss.system.ServiceController.start(ServiceController.java:431)
  | 	at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
  | 	at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
  | 	at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
  | 	at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
  | 	at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
  | 	at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
  | 	at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
  | 	at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:451)
  | 	at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
  | 	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
  | 	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
  | 	at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
  | 	at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
  | 	at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
  | 	at org.jboss.Main.boot(Main.java:210)
  | 	at org.jboss.Main$1.run(Main.java:508)
  | 	at java.lang.Thread.run(Thread.java:595)

Any hint is appreciated!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994183#3994183

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994183



More information about the jboss-user mailing list