[jBPM Users] - Re: Jbpm 4.2 how to enable variable history
by xalperte
Sorry, I use format inside the Code block and it doesn't works....
This is the actual code: (ScopeInstanceImpl.createVariableObject), using isHistoryEnabled=true
| variable.setKey(key);
| variable.setExecution(getExecution());
| variable.setTask(getTask());
| variable.setHistoryEnabled(isHistoryEnabled); <------- true
| variable.setValue(value); <------- Fires the VariableUpdate event
|
| long dbid = DbidGenerator.getDbidGenerator().getNextId();
| variable.setDbid(dbid);
|
| if (isHistoryEnabled) { <------- true
| HistoryEvent.fire(new VariableCreate(variable)); <------- fires VariableCreate event
| }
|
and that the code I thing could work:
| variable.setKey(key);
| variable.setExecution(getExecution());
| variable.setTask(getTask());
| variable.setHistoryEnabled(false); <------- force false
| variable.setValue(value); <------- Now no VariableUpdate event will be fired
|
| long dbid = DbidGenerator.getDbidGenerator().getNextId();
| variable.setDbid(dbid);
|
| if (isHistoryEnabled) { <------- true
| HistoryEvent.fire(new VariableCreate(variable)); <------- fires VariableCreate event
| }
|
| variable.setHistoryEnabled(isHistoryEnabled); <------- true
|
I hope that helps.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265630#4265630
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265630
16 years, 4 months
[jBPM Users] - Re: Jbpm 4.2 how to enable variable history
by xalperte
I made a test in order to force the HistoryVariable activation but didn't work.
The test code is that:
| if( execution.getVariable("message") != null ) {
| ((ExecutionImpl) execution).removeVariable("message");
| }
| ((ExecutionImpl) execution).createVariable("message", message, null, true);
|
The problem is inside the createVariable implementation logic where the VariableUpdate event is being fired before the CreateVariable event.
The VariableUpdate event is fired by the Variable object, when you do "setValue" the implementation is firing the VariableUpdate event:
| variable.setKey(key);
| variable.setExecution(getExecution());
| variable.setTask(getTask());
| variable.setHistoryEnabled(isHistoryEnabled);
|
| variable.setValue(value);
|
| long dbid = DbidGenerator.getDbidGenerator().getNextId();
| variable.setDbid(dbid);
|
| if (isHistoryEnabled) {
| HistoryEvent.fire(new VariableCreate(variable));
| }
|
Maybe a solution could be do something similar to that:
| variable.setKey(key);
| variable.setExecution(getExecution());
| variable.setTask(getTask());
| variable.setHistoryEnabled(false);
|
| variable.setValue(value);
|
| long dbid = DbidGenerator.getDbidGenerator().getNextId();
| variable.setDbid(dbid);
|
| if (isHistoryEnabled) {
| HistoryEvent.fire(new VariableCreate(variable));
| }
|
| variable.setHistoryEnabled(isHistoryEnabled);
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265629#4265629
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265629
16 years, 4 months
[jBPM Users] - Re: Jbpm 4.2 how to enable variable history
by xalperte
Well, this is the problem, by default the setVariable implementation (ScopeInstanceImpl.java) is always calling the createVariable method with false for the "isHistoryEnabled" argument, then never creates an HistoryVariable.
The "deletes instances" means exactly that, the jbpm is deleting the execution information from database when the process reaches the end state (all the instance data in the jbpm4_execution, jbpm4_jobs, jbpm4_variable, jbpm4_task tables) . In fact, the "assertProcessInstanceEnded" of the JbpmTestCase class checks if the instance is ended looking if the instance exists or not in the database.
When the executions are deleted the variables associated to them are also deleted losing all the data associated with the process.
I think this must be the correct behaviour for the execution information, but there is a bug is in the Variable History side.
What we can do in order to maintain the process data? It's really a very important issue, without that the jbpm 4.2 can not be used in production environments.
Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265625#4265625
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265625
16 years, 4 months
[jBPM Users] - takeTask() race condition
by scollyp
I have an app that lets users take a task with the following sequence.
1. taskList = taskService.findGroupTasks(user);
2. Task task = taskList.get(0);
3. taskService.takeTask(task.getId(), user);
I'm finding a race condition if multiple users get the same task at step 2 at the same time. The first user to execute step 3 wins and the second gets the following exception:
Nov 13, 2009 12:42:32 PM org.hibernate.event.def.AbstractFlushingEventListener performExecutions
SEVERE: Could not synchronize database state with session
org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.pvm.internal.task.TaskImpl#300945]
at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1792)
at
...
org.jbpm.pvm.internal.svc.TaskServiceImpl.takeTask(TaskServiceImpl.java:178)
Is there a better way to do this? Or do I just need catch StaleObjectStateException and try again for the second user?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265616#4265616
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265616
16 years, 4 months
[jBPM Users] - jBPM 4.1 Problems running the Demo package
by rcullen
I'm trying to run the jbpm 4.1 demo running jboss-5.0.0.GA. When the build starts inserting the examples.bar into the db this stack trace is thrown. I'm running the build file using:
| ant demo.setup.jboss
|
jdk version 1.6.0_13
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64 bit Production
| [start-jboss] '../../jbpm-4.1/jboss-5.0.0.GA\bin\run.bat' started.
| [echo] database......... oracle
| [echo] tx............... standalone
| [echo] mail.smtp.host... localhost
| [echo] current dir = C:\jbpm-4.1
| install.examples.into.jboss:
| jbpm.libs.path:
| examples.jar:
| create.and.deploy.examples:
| [copy] Copying 1 file to C:\jbpm-4.1\examples\target\classes
| [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.
| [jbpm-deploy] deploying business archive examples.bar
| [jbpm-deploy] Nov 13, 2009 1:34:03 PM org.hibernate.cfg.Environment <clinit>
| [jbpm-deploy] INFO: Hibernate 3.3.1.GA
| [jbpm-deploy] Nov 13, 2009 1:34:03 PM org.hibernate.cfg.Environment <clinit>
| [jbpm-deploy] INFO: hibernate.properties not found
| [jbpm-deploy] Nov 13, 2009 1:34:03 PM org.hibernate.cfg.Environment buildBytecodeProvider
| [jbpm-deploy] INFO: Bytecode provider name : javassist
| [jbpm-deploy] Nov 13, 2009 1:34:03 PM org.hibernate.cfg.Environment <clinit>
| [jbpm-deploy] INFO: using JDK 1.4 java.sql.Timestamp handling
| [jbpm-deploy] Nov 13, 2009 1:34:03 PM org.hibernate.cfg.Configuration configure
| [jbpm-deploy] INFO: configuring from resource: jbpm.hibernate.cfg.xml
| [jbpm-deploy] Nov 13, 2009 1:34:03 PM org.hibernate.cfg.Configuration getConfigurationInputStream
| [jbpm-deploy] INFO: Configuration resource: jbpm.hibernate.cfg.xml
| [jbpm-deploy] Nov 13, 2009 1:34:04 PM org.hibernate.cfg.Configuration addResource
| [jbpm-deploy] INFO: Reading mappings from resource : jbpm.repository.hbm.xml
| [jbpm-deploy] Nov 13, 2009 1:34:04 PM org.hibernate.cfg.Configuration addResource
| [jbpm-deploy] INFO: Reading mappings from resource : jbpm.execution.hbm.xml
| [jbpm-deploy] Nov 13, 2009 1:34:04 PM org.hibernate.cfg.Configuration addResource
| [jbpm-deploy] INFO: Reading mappings from resource : jbpm.history.hbm.xml
| [jbpm-deploy] Nov 13, 2009 1:34:04 PM org.hibernate.cfg.Configuration addResource
| [jbpm-deploy] INFO: Reading mappings from resource : jbpm.task.hbm.xml
| [jbpm-deploy] Nov 13, 2009 1:34:04 PM org.hibernate.cfg.Configuration addResource
| [jbpm-deploy] INFO: Reading mappings from resource : jbpm.identity.hbm.xml
| [jbpm-deploy] Nov 13, 2009 1:34:04 PM org.hibernate.cfg.Configuration doConfigure
| [jbpm-deploy] INFO: Configured SessionFactory: null
| [jbpm-deploy] Nov 13, 2009 1:34:04 PM org.hibernate.connection.DriverManagerConnectionProvider configure
| [jbpm-deploy] INFO: Using Hibernate built-in connection pool (not for production use!)
| [jbpm-deploy] Nov 13, 2009 1:34:04 PM org.hibernate.connection.DriverManagerConnectionProvider configure
| [jbpm-deploy] INFO: Hibernate connection pool size: 20
| [jbpm-deploy] Nov 13, 2009 1:34:04 PM org.hibernate.connection.DriverManagerConnectionProvider configure
| [jbpm-deploy] INFO: autocommit mode: false
| [jbpm-deploy] Nov 13, 2009 1:34:04 PM org.hibernate.connection.DriverManagerConnectionProvider configure
| [jbpm-deploy] INFO: using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@10.121.12.71:1526:appdev
| [jbpm-deploy] Nov 13, 2009 1:34:04 PM org.hibernate.connection.DriverManagerConnectionProvider configure
| [jbpm-deploy] INFO: connection properties: {user=jbpm, password=****}
| [jbpm-deploy] Nov 13, 2009 1:34:05 PM org.hibernate.dialect.Dialect <init>
| [jbpm-deploy] INFO: Using dialect: org.hibernate.dialect.Oracle10gDialect
| [jbpm-deploy] Nov 13, 2009 1:34:05 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
| [jbpm-deploy] INFO: Using default transaction strategy (direct JDBC transactions)
| [jbpm-deploy] Nov 13, 2009 1:34:05 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
| [jbpm-deploy] INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not
| recommended)
| [jbpm-deploy] Nov 13, 2009 1:34:05 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
| [jbpm-deploy] INFO: Using ASTQueryTranslatorFactory
| [jbpm-deploy] Nov 13, 2009 1:34:05 PM org.hibernate.impl.SessionFactoryImpl <init>
| [jbpm-deploy] INFO: building session factory
| [jbpm-deploy] Nov 13, 2009 1:34:06 PM org.hibernate.impl.SessionFactoryObjectFactory addInstance
| [jbpm-deploy] INFO: Not binding factory to JNDI, no JNDI name configured
| [jbpm-deploy] Nov 13, 2009 1:34:07 PM org.hibernate.util.JDBCExceptionReporter logExceptions
| [jbpm-deploy] WARNING: SQL Error: 3106, SQLState: 63000
| [jbpm-deploy] Nov 13, 2009 1:34:07 PM org.hibernate.util.JDBCExceptionReporter logExceptions
| [jbpm-deploy] SEVERE: ORA-03106: fatal two-task communication protocol error
| [jbpm-deploy]
| [jbpm-deploy] Nov 13, 2009 1:34:07 PM org.hibernate.util.JDBCExceptionReporter logExceptions
| [jbpm-deploy] WARNING: SQL Error: 3106, SQLState: 63000
| [jbpm-deploy] Nov 13, 2009 1:34:07 PM org.hibernate.util.JDBCExceptionReporter logExceptions
| [jbpm-deploy] SEVERE: ORA-03106: fatal two-task communication protocol error
| [jbpm-deploy]
| [jbpm-deploy] Nov 13, 2009 1:34:07 PM org.hibernate.event.def.AbstractFlushingEventListener performExecutions
| [jbpm-deploy] SEVERE: Could not synchronize database state with session
| [jbpm-deploy] org.hibernate.exception.GenericJDBCException: could not insert: [org.jbpm.pvm.internal.lob.Lob]
| [jbpm-deploy] at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
| [jbpm-deploy] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
| [jbpm-deploy] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
| [jbpm-deploy] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2295)
| [jbpm-deploy] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2688)
| [jbpm-deploy] at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
| [jbpm-deploy] at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
| [jbpm-deploy] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
| [jbpm-deploy] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
| [jbpm-deploy] at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
| [jbpm-deploy] at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:64)
| [jbpm-deploy] at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:996)
| [jbpm-deploy] at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1141)
| [jbpm-deploy] at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
| [jbpm-deploy] at org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:89)
| [jbpm-deploy] at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:65)
| [jbpm-deploy] at org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:65)
| [jbpm-deploy] at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.list(ProcessDefinitionQueryImpl.java:141)
| [jbpm-deploy] at org.jbpm.pvm.internal.repository.ProcessDeployer.checkKey(ProcessDeployer.java:117)
| [jbpm-deploy] at org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:87)
| [jbpm-deploy] at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46)
| [jbpm-deploy] at org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:56)
| [jbpm-deploy] at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
| [jbpm-deploy] at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
| [jbpm-deploy] at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
| [jbpm-deploy] at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
| [jbpm-deploy] at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46)
| [jbpm-deploy] at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
| [jbpm-deploy] at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:89)
| [jbpm-deploy] at org.jbpm.pvm.internal.ant.JbpmDeployTask.deployFile(JbpmDeployTask.java:110)
| [jbpm-deploy] at org.jbpm.pvm.internal.ant.JbpmDeployTask.execute(JbpmDeployTask.java:60)
| [jbpm-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
| [jbpm-deploy] at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
| [jbpm-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [jbpm-deploy] at java.lang.reflect.Method.invoke(Method.java:597)
| [jbpm-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
| [jbpm-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
| [jbpm-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
| [jbpm-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
| [jbpm-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
| [jbpm-deploy] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
| [jbpm-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
| [jbpm-deploy] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
| [jbpm-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
| [jbpm-deploy] at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
| [jbpm-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [jbpm-deploy] at java.lang.reflect.Method.invoke(Method.java:597)
| [jbpm-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
| [jbpm-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
| [jbpm-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
| [jbpm-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
| [jbpm-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
| [jbpm-deploy] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
| [jbpm-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
| [jbpm-deploy] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
| [jbpm-deploy] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
| [jbpm-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
| [jbpm-deploy] at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
| [jbpm-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [jbpm-deploy] at java.lang.reflect.Method.invoke(Method.java:597)
| [jbpm-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
| [jbpm-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
| [jbpm-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
| [jbpm-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
| [jbpm-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
| [jbpm-deploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
| [jbpm-deploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
| [jbpm-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
| [jbpm-deploy] at org.apache.tools.ant.Main.runBuild(Main.java:758)
| [jbpm-deploy] at org.apache.tools.ant.Main.startAnt(Main.java:217)
| [jbpm-deploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
| [jbpm-deploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
| [jbpm-deploy] Caused by: java.sql.BatchUpdateException: ORA-03106: fatal two-task communication protocol error
| [jbpm-deploy]
| [jbpm-deploy] at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
| [jbpm-deploy] at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9054)
| [jbpm-deploy] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
| [jbpm-deploy] at org.hibernate.jdbc.BatchingBatcher.addToBatch(BatchingBatcher.java:56)
| [jbpm-deploy] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2275)
| [jbpm-deploy] ... 68 more
| [jbpm-deploy] Nov 13, 2009 1:34:08 PM org.jbpm.internal.log.Jdk14Log info
| [jbpm-deploy] INFO: exception while executing command org.jbpm.pvm.internal.cmd.DeployCmd@164804
| [jbpm-deploy] org.hibernate.exception.GenericJDBCException: could not insert: [org.jbpm.pvm.internal.lob.Lob]
| [jbpm-deploy] at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
| [jbpm-deploy] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
| [jbpm-deploy] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
| [jbpm-deploy] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2295)
| [jbpm-deploy] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2688)
| [jbpm-deploy] at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
| [jbpm-deploy] at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
| [jbpm-deploy] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
| [jbpm-deploy] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
| [jbpm-deploy] at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
| [jbpm-deploy] at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:64)
| [jbpm-deploy] at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:996)
| [jbpm-deploy] at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1141)
| [jbpm-deploy] at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
| [jbpm-deploy] at org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:89)
| [jbpm-deploy] at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:65)
| [jbpm-deploy] at org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:65)
| [jbpm-deploy] at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.list(ProcessDefinitionQueryImpl.java:141)
| [jbpm-deploy] at org.jbpm.pvm.internal.repository.ProcessDeployer.checkKey(ProcessDeployer.java:117)
| [jbpm-deploy] at org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:87)
| [jbpm-deploy] at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46)
| [jbpm-deploy] at org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:56)
| [jbpm-deploy] at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
| [jbpm-deploy] at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
| [jbpm-deploy] at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
| [jbpm-deploy] at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
| [jbpm-deploy] at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46)
| [jbpm-deploy] at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
| [jbpm-deploy] at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:89)
| [jbpm-deploy] at org.jbpm.pvm.internal.ant.JbpmDeployTask.deployFile(JbpmDeployTask.java:110)
| [jbpm-deploy] at org.jbpm.pvm.internal.ant.JbpmDeployTask.execute(JbpmDeployTask.java:60)
| [jbpm-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
| [jbpm-deploy] at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
| [jbpm-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [jbpm-deploy] at java.lang.reflect.Method.invoke(Method.java:597)
| [jbpm-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
| [jbpm-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
| [jbpm-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
| [jbpm-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
| [jbpm-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
| [jbpm-deploy] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
| [jbpm-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
| [jbpm-deploy] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
| [jbpm-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
| [jbpm-deploy] at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
| [jbpm-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [jbpm-deploy] at java.lang.reflect.Method.invoke(Method.java:597)
| [jbpm-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
| [jbpm-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
| [jbpm-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
| [jbpm-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
| [jbpm-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
| [jbpm-deploy] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
| [jbpm-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
| [jbpm-deploy] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
| [jbpm-deploy] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
| [jbpm-deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
| [jbpm-deploy] at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
| [jbpm-deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [jbpm-deploy] at java.lang.reflect.Method.invoke(Method.java:597)
| [jbpm-deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
| [jbpm-deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
| [jbpm-deploy] at org.apache.tools.ant.Target.execute(Target.java:357)
| [jbpm-deploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
| [jbpm-deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
| [jbpm-deploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
| [jbpm-deploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
| [jbpm-deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
| [jbpm-deploy] at org.apache.tools.ant.Main.runBuild(Main.java:758)
| [jbpm-deploy] at org.apache.tools.ant.Main.startAnt(Main.java:217)
| [jbpm-deploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
| [jbpm-deploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
| [jbpm-deploy] Caused by: java.sql.BatchUpdateException: ORA-03106: fatal two-task communication protocol error
| [jbpm-deploy]
| [jbpm-deploy] at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
| [jbpm-deploy] at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9054)
| [jbpm-deploy] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
| [jbpm-deploy] at org.hibernate.jdbc.BatchingBatcher.addToBatch(BatchingBatcher.java:56)
| [jbpm-deploy] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2275)
| [jbpm-deploy] ... 68 more
| BUILD FAILED
| C:\jbpm-4.1\install\build.xml:151: The following error occurred while executing this line:
| C:\jbpm-4.1\install\build.xml:365: The following error occurred while executing this line:
| C:\jbpm-4.1\examples\build.xml:78: org.hibernate.exception.GenericJDBCException: could not insert: [org.jbpm.pvm.internal.lob.Lob]
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265615#4265615
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265615
16 years, 4 months