JBoss Community

Re: problem with jbpm on weblogic

created by Andrey Moiseev in jBPM - View the full discussion

I am using weblogic 10.3 and had the same problem.

 

To fix it:

 

- use default query translator factory ASTQueryTranslatorFactory (just remove <property name="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property> from hibernate config xml )

 

- update weblogic-application.xml and add the bolded line:

<?xml version="1.0" encoding="UTF-8"?>
<weblogic-application
    xmlns="http://www.bea.com/ns/weblogic/weblogic-application" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd">
    <prefer-application-packages>
        <package-name>antlr.*</package-name>
    </prefer-application-packages>
</weblogic-application>

 

It should help to fix the problem.

Reply to this message by going to Community

Start a new discussion in jBPM at Community