turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szalai Zsolt" <Zsolt.Sza...@arvato-systems.hu>
Subject scheduler init problem
Date Wed, 07 May 2003 14:38:59 GMT
Hi,
I try to invoke the turbine schedule service, but after I set
scheduler.enabled=true
I got the following exception on tomcat startup in jetspeed.log:


-----------------------
[12:30:07,757 INFO ] Start Initializing service (late): MapBrokerService
[12:30:07,757 INFO ] Finish Initializing service (late): MapBrokerService
[12:30:07,804 INFO ] IDBroker thread was started.
[12:30:07,804 WARN ] IDBroker is being used with db 'default', which does not support transactions.
 IDBroker attempts to use transactions to limit the possibility of duplicate key generation.
 Without transactions, duplicate key generation is possible if multiple JVMs are used or other
means are used to write to the database.
[12:30:07,835 ERROR] 
org.apache.torque.TorqueException: Torque.getPool(): pools is null, did you call Torque.init()
first?
	at org.apache.torque.Torque.getPool(Torque.java:995)
	at org.apache.torque.Torque.getDB(Torque.java:950)
	at org.apache.jetspeed.services.torquewrapper.TorquePoolServiceAdaptor.getDB(TorquePoolServiceAdaptor.java:202)
	at org.apache.turbine.services.db.TurbineDB.getDB(TurbineDB.java:315)
	at org.apache.turbine.om.peer.BasePeer.doSelect(BasePeer.java:1128)
	at org.apache.turbine.services.schedule.JobEntryPeer.doSelect(JobEntryPeer.java:124)
	at org.apache.turbine.services.schedule.TurbineSchedulerService.init(TurbineSchedulerService.java:121)
	at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java:108)
	at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.java:150)
	at org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroker.java:226)
	at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker.java:195)
	at org.apache.turbine.Turbine.init(Turbine.java:241)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
	at org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	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:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
rethrown as org.apache.torque.TorqueException: Torque.getPool(): pools is null, did you call
Torque.init() first?
	at org.apache.torque.Torque.getDB(Torque.java:954)
	at org.apache.jetspeed.services.torquewrapper.TorquePoolServiceAdaptor.getDB(TorquePoolServiceAdaptor.java:202)
	at org.apache.turbine.services.db.TurbineDB.getDB(TurbineDB.java:315)
	at org.apache.turbine.om.peer.BasePeer.doSelect(BasePeer.java:1128)
	at org.apache.turbine.services.schedule.JobEntryPeer.doSelect(JobEntryPeer.java:124)
	at org.apache.turbine.services.schedule.TurbineSchedulerService.init(TurbineSchedulerService.java:121)
	at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java:108)
	at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.java:150)
	at org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroker.java:226)
	at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker.java:195)
org.apache.turbine.services.InitializationException: TurbineSchedulerService failed to initialize:
Torque.getPool(): pools is null, did you call Torque.init() first?
	at org.apache.turbine.services.schedule.TurbineSchedulerService.init(TurbineSchedulerService.java:139)
	at org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java:108)
	at org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.java:150)
	at org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroker.java:226)
	at org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker.java:195)
	at org.apache.turbine.Turbine.init(Turbine.java:241)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
	at org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	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:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

-----------------------

I use jetspeed 1.4b1 and the following turbine (and torque) jars:
turbine-2.2-b2-dev.jar
torque-3.0-b2-dev.jar

Is it means the db connection not set up when the scheduler initialization runs?
Did anybody know the solution for this problem?

Zsolt


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message