[JBoss Portal] - UserPortlet Exception on JBoss Portal 2.4 Oracle 9i
by mmontoni
Hi,
I was using JBoss Portal 2.4 with MySQL 5 and everything was fine and peacefull. Now...I need to point to a database in Oracle 9i and I am having some issues...by accident I noticed that when I try to loggin in the portal on my JBoss console I cam seeing the following exception:
anonymous wrote :
| 14:57:30,739 ERROR [[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception
| java.lang.IllegalStateException: Cannot create a session after the response has been committed
| at org.apache.catalina.connector.Request.doGetSession(Request.java:2214)
| at org.apache.catalina.connector.Request.getSession(Request.java:2024)
|
in the portal I can't see any error. Only that my forums are not working properly (already post that issue in JBoss Forums forum). I wonder if this is why my forums may not be working fine...
Any ideas?
Again, the same portal pointing to MySQL is working very well....
Thanks!
Mariella.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984292#3984292
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984292
19Â years, 6Â months
[JBoss jBPM] - Re: Please help me, 'scheduler' unavailable ??
by EugeneV
I am getting a similar error and cannot fix it the way suggested above.
I created a new Process Project in Eclipse (with JBoss jBPM plugin) and checked the option to "Generate simple process definition, action handler and JUnit test". It worked fine. Then I added a timer to the middle State:
| <state name="first">
| <timer duedate='30 seconds'>
| <action name="action" class="com.sample.action.MessageActionHandler" />
| </timer>
| <transition name="to_end" to="end">
| <action name="action" class="com.sample.action.MessageActionHandler">
| <message>About to finish!</message>
| </action>
| </transition>
| </state>
|
Now I'm getting an error:
| 14:50:48,888 [main] DEBUG GraphElement : executing action 'CreateTimerAction(544ec1)'
| 14:50:48,888 [main] DEBUG GraphElement : event 'timer-create' on 'State(wait for completion event)' for 'Token(/)'
| 14:50:48,904 [main] ERROR GraphElement : action threw exception: service 'scheduler' unavailable
|
and the stacktrace is:
org.jbpm.svc.JbpmServiceException: service 'scheduler' unavailable
| at org.jbpm.svc.Services.getCurrentService(Services.java:86)
| at org.jbpm.svc.Services.getCurrentService(Services.java:76)
| at org.jbpm.scheduler.def.CreateTimerAction.execute(CreateTimerAction.java:66)
| at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235)
| at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
| at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
| at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
| at org.jbpm.graph.def.Node.enter(Node.java:301)
| at org.jbpm.graph.def.Transition.take(Transition.java:119)
| at org.jbpm.graph.def.Node.leave(Node.java:383)
| at org.jbpm.graph.node.StartState.leave(StartState.java:70)
| at org.jbpm.graph.exe.Token.signal(Token.java:174)
| at org.jbpm.graph.exe.Token.signal(Token.java:123)
| at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217)
| at com.sample.SimpleProcessTest.testSimpleProcess(SimpleProcessTest.java:32)
| 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 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 org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
| 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)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984291#3984291
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984291
19Â years, 6Â months