[JBoss jBPM] - Re: Errors with global transactions on oracle
by freerider
Hi Martin,
thanks for your tips. I tried a few drivers 10.2.0.3, 9.2.0.8 and 8.1.7.1. But now it seems that the problem moved a little bit.
org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: could not get table metadata: JBPM_ACTION; bad SQL grammar [???]; nested exception is java.sql.SQLException: ORA-02089: COMMIT is not allowed in a subordinate session
java.sql.SQLException: ORA-02089: COMMIT is not allowed in a subordinate session
I tried to set the property hibernatetool.metadatadialect=org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect but after regenerating the hbm files I still get this error.
Do you have any complete example for an XA datasource with correct hibernate.properties?
One solution in a forum was to change to a local datasource which is a bad idea when you are in a global transaction.
Why we are using Oracle8i? Hmm... I'm not the DBA and I'm not working for an insurance company. But I like the remark.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034509#4034509
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034509
19 years
[JBoss jBPM] - email support
by fuligj
I tried email support:
<?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition
| xmlns="urn:jbpm.org:jpdl-3.2" name="mailer">
| <swimlane name="grandma">
| <assignment expression="user(tester)"></assignment>
| </swimlane>
| <start-state name="start">
| <task name="task" swimlane="grandma" notify="yes"></task>
| <transition name="" to="end1"></transition>
| </start-state>
| <end-state name="end1"></end-state>
| </process-definition>
But when i try to deploy:
org.jbpm.jpdl.JpdlException: [[ERROR] line 9: cvc-complex-type.3.2.2: Attribute 'notify' is not allowed to appear in element 'task'.]
| org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:173)
| org.jbpm.jpdl.par.JpdlArchiveParser.readFromArchive(JpdlArchiveParser.java:51)
| org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:81)
| org.jbpm.graph.def.ProcessDefinition.parseParZipInputStream(ProcessDefinition.java:190)
| org.jbpm.webapp.servlet.ProcessUploadServlet.doDeployArchive(ProcessUploadServlet.java:153)
| org.jbpm.webapp.servlet.ProcessUploadServlet.handleRequest(ProcessUploadServlet.java:112)
| org.jbpm.webapp.servlet.ProcessUploadServlet.service(ProcessUploadServlet.java:65)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
What could be wrong?
Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034498#4034498
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034498
19 years