[jboss-user] [jBPM] - Re: PostgreSQL - empty database - install.demo.db does not exist

wishmaster7 do-not-reply at jboss.com
Mon Jan 14 03:11:58 EST 2013


wishmaster7 [https://community.jboss.org/people/wishmaster7] created the discussion

"Re: PostgreSQL - empty database - install.demo.db does not exist"

To view the discussion, visit: https://community.jboss.org/message/791456#791456

--------------------------------------------------------------
Hello,

Now I have created the tables and sequences with doboss' script. The server is running but I have a new error after I connect to the jBPM Console (with user +krisv+) :

08:47:47,359 ERROR [org.drools.persistence.SingleSessionCommandService] (http-localhost-127.0.0.1-8080-4) Could not commit session: java.lang.RuntimeException: Could not find session data for id 1
    at org.drools.persistence.SingleSessionCommandService.initKsession(SingleSessionCommandService.java:231) [drools-persistence-jpa-5.5.0.Final.jar:5.5.0.Final]
    at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:195) [drools-persistence-jpa-5.5.0.Final.jar:5.5.0.Final]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_10]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_10]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_10]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [rt.jar:1.7.0_10]
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:100) [drools-persistence-jpa-5.5.0.Final.jar:5.5.0.Final]
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.loadStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:83) [drools-persistence-jpa-5.5.0.Final.jar:5.5.0.Final]
    at org.drools.persistence.jpa.JPAKnowledgeService.loadStatefulKnowledgeSession(JPAKnowledgeService.java:131) [knowledge-api-5.5.0.Final.jar:5.5.0.Final]
    at org.jbpm.integration.console.session.MVELSingleSessionManager.loadSessionFromTemplate(MVELSingleSessionManager.java:150) [jbpm-gwt-core-5.4.0.Final.jar:5.4.0.Final]
    at org.jbpm.integration.console.session.MVELSingleSessionManager.getSession(MVELSingleSessionManager.java:300) [jbpm-gwt-core-5.4.0.Final.jar:5.4.0.Final]
    at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:104) [jbpm-gwt-core-5.4.0.Final.jar:5.4.0.Final]
    at org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.<clinit>(StatefulKnowledgeSessionUtil.java:84) [jbpm-gwt-core-5.4.0.Final.jar:5.4.0.Final]
    at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:88) [jbpm-gwt-core-5.4.0.Final.jar:5.4.0.Final]
    at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25) [jbpm-gwt-core-5.4.0.Final.jar:5.4.0.Final]
    at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:38) [jbpm-gwt-core-5.4.0.Final.jar:5.4.0.Final]
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22) [jbpm-gwt-core-5.4.0.Final.jar:5.4.0.Final]
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19) [jbpm-gwt-core-5.4.0.Final.jar:5.4.0.Final]
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:89) [classes:]
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:125) [classes:]

[ ... ]

I think it is not able to create the session; the +sessioninfo+ table is in the database but I don't know why it can't create (or load?) a session. Any idea?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/791456#791456]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130114/0ea3e879/attachment.html 


More information about the jboss-user mailing list