[jboss-jira] [JBoss JIRA] (DROOLS-4399) KIE Server kie-server-7.24.0.Final-webc fails with ClassNotFoundException
Simon Dallaway (Jira)
issues at jboss.org
Thu Aug 8 20:16:00 EDT 2019
[ https://issues.jboss.org/browse/DROOLS-4399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768313#comment-13768313 ]
Simon Dallaway edited comment on DROOLS-4399 at 8/8/19 8:15 PM:
----------------------------------------------------------------
Hi Maciej,
I have modified my setenv.bat to have -Dorg.kie.server.id=tomcat-kieserver -Dorg.kie.server.location=http://localhost:8081/kie-server/services/rest/server
Note that initially I was just deploying it as kie-server-7.24.0.Final-webc.war but it looks as though it wants to be renamed as kie-server
Accessing http://localhost:8081/kie-server/services/rest/server now works but returns
<messages><content>Error when initializing server extension of type jBPM KIE Server extension due to Unable to create EntityManagerFactory due to [PersistenceUnit: org.jbpm.domain] Unable to build Hibernate SessionFactory</content><severity>ERROR</severity><timestamp>2019-08-08T15:10:45.816+12:00</timestamp></messages>
I read that as meaning that JBPM is not available without the database configured. Of course I want to be able to use that as well as Drools :-)
I've attached the Catalina log file for reference (ignore the earlier one for 8/8 - I had a problem of my own making related to the naming of the context).
Regards,
Simon
was (Author: simon.dallaway):
Hi Maciej,
I'm now wondering where I found the documentation for setting up the org.kie.server.persistence.ds etc. properties.
Anyway, I have modified my setenv.bat to have -Dorg.kie.server.id=tomcat-kieserver -Dorg.kie.server.location=http://localhost:8081/kie-server/services/rest/server
Note that initially I was just deploying it as kie-server-7.24.0.Final-webc.war but it looks as though it wants to be renamed as kie-server
Accessing http://localhost:8081/kie-server/services/rest/server now works but returns
<messages><content>Error when initializing server extension of type jBPM KIE Server extension due to Unable to create EntityManagerFactory due to [PersistenceUnit: org.jbpm.domain] Unable to build Hibernate SessionFactory</content><severity>ERROR</severity><timestamp>2019-08-08T15:10:45.816+12:00</timestamp></messages>
I read that as meaning that JBPM is not available without the database configured. Of course I want to be able to use that as well as Drools :-)
I've attached the Catalina log file for reference (ignore the earlier one for 8/8 - I had a problem of my own making related to the naming of the context).
Regards,
Simon
> KIE Server kie-server-7.24.0.Final-webc fails with ClassNotFoundException
> -------------------------------------------------------------------------
>
> Key: DROOLS-4399
> URL: https://issues.jboss.org/browse/DROOLS-4399
> Project: Drools
> Issue Type: Bug
> Components: kie server
> Affects Versions: 7.24.0.Final
> Environment: Windows 8.1 x64
> Tomcat 9.0.16
> Reporter: Simon Dallaway
> Assignee: Maciej Swiderski
> Priority: Major
> Attachments: catalina.2019-08-05.log, catalina.2019-08-06.log, catalina.2019-08-08.log, catalina.2019-08-08.log, context.xml, libDir.txt, server.xml, setenv.bat, tomcat-users.xml, xa-recovery-properties.xml
>
>
> Attempting to deploy KIE Server on Tomcat 9 fails with a ClassNotFoundException org.jboss.narayana.tomcat.jta.NarayanaJtaServletContextListener when trying to setup application listener
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list