Could not commit session: java.lang.RuntimeException: Could not find session data for id 1 while logging into /business-central
Issue
- While logging into /business-central we can see following exception
ERROR [org.drools.persistence.SingleSessionCommandService] (http-/127.0.0.1:8080-2) Could not commit session: java.lang.RuntimeException: Could not find session data for id 1
at org.drools.persistence.SingleSessionCommandService.initKsession(SingleSessionCommandService.java:222) [drools-persistence-jpa-5.3.1.BRMS.jar:5.3.1.BRMS]
at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:192) [drools-persistence-jpa-5.3.1.BRMS.jar:5.3.1.BRMS]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.6.0_37]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [rt.jar:1.6.0_37]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [rt.jar:1.6.0_37]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [rt.jar:1.6.0_37]
. . .
ERROR [stderr] (http-/127.0.0.1:8080-2) java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
. . .
ERROR [stderr] (http-/127.0.0.1:8080-2) Caused by: java.lang.reflect.InvocationTargetException
ERROR [stderr] (http-/127.0.0.1:8080-2) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method
. . .
ERROR [stderr] (http-/127.0.0.1:8080-2) Caused by: java.lang.RuntimeException: Could not find session data for id 1
Environment
- Red Hat JBoss BRMS
- 5.3.1
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.