[Design of JBoss jBPM] - Example deployment fails
by heiko.braun@jboss.com
Bonanova:examples hbraun$ ant -Ddatabase=hsqldb deploy.examples
Buildfile: build.xml
jbpm.libs.path:
deploy.examples:
[mkdir] Created dir: /Users/hbraun/Desktop/jbpm-workspace/jbpm-4.0-SNAPSHOT/examples/target
[copy] Copying 1 file to /Users/hbraun/Desktop/jbpm-workspace/jbpm-4.0-SNAPSHOT/examples/target/classes
[jar] Building jar: /Users/hbraun/Desktop/jbpm-workspace/jbpm-4.0-SNAPSHOT/examples/target/examples.bar
[jbpm-deploy] log4j:WARN No appenders could be found for logger (org.jbpm.pvm.internal.ant.AntHelper).
[jbpm-deploy] log4j:WARN Please initialize the log4j system properly.
BUILD FAILED
/Users/hbraun/Desktop/jbpm-workspace/jbpm-4.0-SNAPSHOT/examples/build.xml:73: org.jbpm.api.JbpmException:
error: couldn't parse xml document : org.jbpm.api.JbpmException: resource jbpm.cfg.xml does not exist
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234281#4234281
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234281
15 years, 9 months
[Design of JBoss jBPM] - Unexpected token: LAST_INSERT_ID in statement [select last_i
by heiko.braun@jboss.com
The deploy cmd currently fails with the following exception on HSQLDB & AS 5.1.0
17:29:57,521 WARN [JDBCExceptionReporter] SQL Error: -11, SQLState: 37000
17:29:57,521 ERROR [JDBCExceptionReporter] Unexpected token: LAST_INSERT_ID in statement [select last_insert_id()]
17:29:57,521 INFO [DefaultCommandService] exception while executing command org.jbpm.pvm.internal.cmd.DeployCmd@33ab1d
org.hibernate.exception.SQLGrammarException: could not retrieve generated id after insert: [org.jbpm.pvm.internal.repository.DeploymentImpl]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:93)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2186)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2666)
at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:321)
at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210)
at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:56)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195)
at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:562)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:550)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:546)
at org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:55)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234270#4234270
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234270
15 years, 9 months