1 Reply Latest reply on May 4, 2009 3:52 AM by Anne Schlitter

    Configuration scheduler

    Anne Schlitter Newbie

      Hi,

      I'm a beginner in working with JBoss jbpm 3.2.6SP1.

      I want to add a timer in my process, but I get the error

      org.jbpm.svc.JbpmServiceException: service 'scheduler' unavailable
       at org.jbpm.svc.Services.getCurrentService(Services.java:96)
       at org.jbpm.svc.Services.getCurrentService(Services.java:86)
       at org.jbpm.scheduler.def.CancelTimerAction.execute(CancelTimerAction.java:45)
       at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:281)
       at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:238)
       at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:212)
       at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:195)
       at org.jbpm.graph.def.Node.leave(Node.java:464)
       at org.jbpm.graph.node.StartState.leave(StartState.java:80)
       at org.jbpm.graph.exe.Token.signal(Token.java:226)
       at org.jbpm.graph.exe.Token.signal(Token.java:149)
       at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:304)
       at my.test.Anne.timer.timer.TimerTest.testTimer(TimerTest.java:56)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at junit.framework.TestCase.runTest(TestCase.java:154)
       at junit.framework.TestCase.runBare(TestCase.java:127)
       at junit.framework.TestResult$1.protect(TestResult.java:106)
       at junit.framework.TestResult.runProtected(TestResult.java:124)
       at junit.framework.TestResult.run(TestResult.java:109)
       at junit.framework.TestCase.run(TestCase.java:118)
       at junit.framework.TestSuite.runTest(TestSuite.java:208)
       at junit.framework.TestSuite.run(TestSuite.java:203)
       at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
       at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
       at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
       at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
       at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
       at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

      I don't want to work with a server or a database, I only need the JBoss jbpm for my project. So where must I configurate the scheduler?

      Thanks Anne