After further review, I think the links given may have left some important information
out, in combination with possibly some confusing comments in the default jbpm.cfg.xml
file. Anyway, I altered my jbpm.cfg.xml file once again, to be exactly the same as the
default file (the reason I did this is that I think the default file may be getting
overwritten with an empty jbpm.cfg.xml due to how the ant build script is working).
Anyway, I did this, and those changes to the jbpm.cfg.xml (the ones recommended in the
links given and the ones I performed) build to the jbpm.sar.cfg.jar which is inside the
sar file. After deploying this new sar, JBoss starts cleanly again. However, running the
process and saving the process does not write anything to the JBPM_LOG table or the
JBPM_PROCESSINSTANCE table. Both are still empty. So I guess I'm right back where I
started. Here's my current jbpm.cfg.xml file:
<jbpm-configuration>
|
| <!--
| The default configurations can be found in org/jbpm/default.jbpm.cfg.xml
| Those configurations can be overwritten by putting this file called
| jbpm.cfg.xml on the root of the classpath and put in the customized values.
| -->
|
| <jbpm-context>
| <service name="persistence"
| factory="org.jbpm.persistence.db.DbPersistenceServiceFactory" />
| <service name="message"
| factory="org.jbpm.msg.db.DbMessageServiceFactory" />
| <service name="scheduler"
| factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" />
| <service name="logging"
| factory="org.jbpm.logging.db.DbLoggingServiceFactory" />
| <service name="authentication"
|
factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory"
/>
| </jbpm-context>
|
| <!-- configuration resource files pointing to default configuration files in
jbpm-{version}.jar -->
| <string name="resource.hibernate.cfg.xml"
value="hibernate.cfg.xml" />
| <string name="resource.business.calendar"
| value="org/jbpm/calendar/jbpm.business.calendar.properties" />
| <string name="resource.default.modules"
| value="org/jbpm/graph/def/jbpm.default.modules.properties" />
| <string name="resource.converter"
| value="org/jbpm/db/hibernate/jbpm.converter.properties" />
| <string name="resource.action.types"
| value="org/jbpm/graph/action/action.types.xml" />
| <string name="resource.node.types"
| value="org/jbpm/graph/node/node.types.xml" />
| <string name="resource.parsers"
| value="org/jbpm/jpdl/par/jbpm.parsers.xml" />
| <string name="resource.varmapping"
| value="org/jbpm/context/exe/jbpm.varmapping.xml" />
|
| <long name="jbpm.msg.wait.timout" value="5000"
singleton="true" />
| <int name="jbpm.byte.block.size" value="1024"
singleton="true" />
| <string name="mail.smtp.host" value="localhost" />
| <bean name="jbpm.task.instance.factory"
| class="org.jbpm.taskmgmt.impl.DefaultTaskInstanceFactoryImpl"
| singleton="true" />
| <bean name="jbpm.variable.resolver"
| class="org.jbpm.jpdl.el.impl.JbpmVariableResolver"
singleton="true" />
| <bean name="jbpm.mail.address.resolver"
| class="org.jbpm.identity.mail.IdentityAddressResolver"
| singleton="true" />
|
| </jbpm-configuration>
|
Help!
Thanks,
Brad
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957611#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...