You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Robert Jose <rj...@attbi.com> on 2002/11/01 00:06:11 UTC

Enabling Scheduler

Hello
I am trying to enable the Turbine Scheduler, but when I change the
scheduler.enabled property in TurbineResources to true, I get the below error.
Does anyone have any ideas as to why?

Thanks
Rob


[Thu Oct 31 14:51:21 PST 2002] -- ERROR --
 Exception:  org.apache.turbine.services.InitializationException:
TurbineSchedulerService failed to initialize: 'scheduler.enabled' doesn't map to
a Boolean object
 Stack Trace follows:
 java.lang.ClassCastException: 'scheduler.enabled' doesn't map to a Boolean
object
 at
org.apache.commons.configuration.BaseConfiguration.getBoolean(BaseConfiguration.
java:640)
 at
org.apache.commons.configuration.BaseConfiguration.getBoolean(BaseConfiguration.
java:598)
 at
org.apache.turbine.services.resources.TurbineResourceService.getBoolean(TurbineR
esourceService.java:336)
 at
org.apache.turbine.services.resources.TurbineResources.getBoolean(TurbineResourc
es.java:149)
 at
org.apache.turbine.services.schedule.TurbineSchedulerService.init(TurbineSchedul
erService.java:114)
rethrown as org.apache.turbine.services.InitializationException:
TurbineSchedulerService failed to initialize: 'scheduler.enabled' doesn't map to
a Boolean object
 at
org.apache.turbine.services.schedule.TurbineSchedulerService.init(TurbineSchedul
erService.java:138)
 at
org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java:108)
 at
org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.java
:149)
 at
org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceBroker.ja
va:224)
 at
org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBroker.jav
a:193)
 at org.apache.turbine.Turbine.init(Turbine.java:257)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at
jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1208)
 at
jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:76
3)
 at jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:258)
 at jrun.deployment.DeployerService.initModules(DeployerService.java:711)
 at
jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242
)
 at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
 at jrun.deployment.DeployerService.handleEvent(DeployerService.java:381)
 at jrunx.kernel.JRunServiceDeployer.fireEvent(JRunServiceDeployer.java:700)
 at
jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:111)
 at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
 at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at jrunx.kernel.JRun.startServer(JRun.java:483)
 at jrunx.kernel.JRun.<init>(JRun.java:401)
 at jrunx.kernel.JRun$1.run(JRun.java:258)
 at java.security.AccessController.doPrivileged(Native Method)
 at jrunx.kernel.JRun.start(JRun.java:255)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at jrunx.kernel.JRun.invoke(JRun.java:179)
 at jrunx.kernel.JRun.main(JRun.java:167)






--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>