[JBoss jBPM] - Ensure consistency of logging
by Thomas.Kriechbaum
How can I ensure, that the logging service is notified consistently?
jBPM notifies the Logging Service at the context's auto save phase, that means that I have to register the appropriate process instance for auto save in advance.
JbpmContext context = ...;
| ProcessInstance pi = ...;
| context.addAutoSaveProcessInstance(pi);
| ...
| // auto save is performed and logging service gets invoked
| context.close();
|
In the following sample the logging service is not invoked, because the task instance is loaded and ended within a separate context without registering the appropriate process instance.
JbpmContext context = ...;
| TaskInstance task = context.getTaskInstance(id);
| task.end();
| context.close();
Do I really have to register all affected process instances to get logging done right? How can this work with complex process definitions (e.g. process definition with several subprocesses)?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224574#4224574
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224574
16 years, 12 months
[JBoss jBPM] - org.hibernate.persister.entity.AbstractEntityPersister
by mamidalasrinivas
I am able to open jbpm-bpel console ,after opening console i am geting error and Then when i try to build sample hello example ,sample hello example build sucessful but when i open process defination page its opeing fine and when i try to deploye hello.par file ,I am geting below server error ,i am facing this problem from last 15 days please help me friends ,give some your best ideas
2009-04-08 22:49:57,469 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]
Snapshot select: /* get current state com.ibm.wsdl.PortTypeImpl */ select porttypeim_.id,
porttypeim_.LOCALNAME_ as LOCALNAME2_61_, porttypeim_.NAMESPACE_ as NAMESPACE3_61_ from
WSDL_PORTTYPE porttypeim_ where porttypeim_.id=?
2009-04-08 22:49:57,469 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]
Insert 0: /* insert com.ibm.wsdl.PortTypeImpl */ insert into WSDL_PORTTYPE (LOCALNAME_,
NAMESPACE_, id) values (?, ?, ?)
2009-04-08 22:49:57,469 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]
Update 0: /* update com.ibm.wsdl.PortTypeImpl */ update WSDL_PORTTYPE set LOCALNAME_=?,
NAMESPACE_=? where id=?
2009-04-08 22:49:57,469 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]
Delete 0: /* delete com.ibm.wsdl.PortTypeImpl */ delete from WSDL_PORTTYPE where id=?
2009-04-08 22:49:57,469 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]
Identity insert: /* insert com.ibm.wsdl.PortTypeImpl */ insert into WSDL_PORTTYPE (id,
LOCALNAME_, NAMESPACE_) values (null, ?, ?)
2009-04-08 22:49:57,469 DEBUG [org.hibernate.cache.CacheFactory] instantiating cache
region: org.jbpm.bpel.graph.def.Import usage strategy: nonstrict-read-write
2009-04-08 22:49:57,672 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]
Static SQL for entity: org.jbpm.bpel.graph.def.Import
2009-04-0
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select << begin [level=1, statement=select]
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.FromElement] FromClause{level=1} : org.jbpm.job.Timer (timer) -> timer0_
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : timer -> timer0_.ID_
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : timer -> timer0_.ID_
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : token -> org.hibernate.type.ManyToOneType(org.jbpm.graph.exe.Token)
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.DotNode] dereferenceShortcut() : property token in org.jbpm.job.Timer does not require a join.
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.DotNode] terminal propertyPath = [token]
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : timer.token -> timer0_.TOKEN_
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : timer -> timer0_.ID_
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : name -> org.hibernate.type.StringType@1a8c064
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : timer.name -> timer0_.NAME_
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select : finishing up [level=1, statement=select]
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.HqlSqlWalker] processQuery() : ( SELECT ( {select clause} timer0_.ID_ ) ( FromClause{level=1} JBPM_JOB timer0_ ) ( where ( and ( = ( timer0_.TOKEN_ timer0_.ID_ token ) ? ) ( = ( timer0_.NAME_ timer0_.ID_ name ) ? ) ) ) )
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.util.JoinProcessor] Using FROM fragment [JBPM_JOB timer0_]
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.util.SyntheticAndFactory] Using WHERE fragment [timer0_.CLASS_='T']
2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select >> end [level=1, statement=select]
2009-04-08 22:50:03,423 DEBUG [org.hibernate.hql.ast.AST] --- SQL AST ---
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224540#4224540
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224540
16 years, 12 months
[JBoss jBPM] - java.sql.SQLException: Table already exists: JMS_TRANSACTION
by mamidalasrinivas
when I deploye jbpm-bpel.ear,i am geting below error
server.log is
java.sql.SQLException: Table already exists: JMS_TRANSACTIONS in statement [CREATE CACHED
TABLE JMS_TRANSACTIONS]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeUpdate
(CachedPreparedStatement.java:95)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate
(WrappedPreparedStatement.java:251)
at org.jboss.mq.pm.jdbc2.PersistenceManager.createSchema
(PersistenceManager.java:355)
at org.jboss.mq.pm.jdbc2.PersistenceManager.startService
(PersistenceManager.java:1796)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart
(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle
(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke
(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke
(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke
(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy42.start(Unknown Source)
at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke
(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke
(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224538#4224538
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224538
16 years, 12 months
[JBoss jBPM] - Hibernate Error when persist the outer ProcessInstance.
by kenees
Hi guys
I'm using JBPM 3.3.0.GA, I have a use case that want to create a new ProcessInstance (name as A) inside an actionHandler of an outer one, the code in the action handler would like this:
| @Override
| public void execute(ExecutionContext executionContext) throws Exception {
| // get operation context from workflow
| OperationContext context = (OperationContext) executionContext
| .getContextInstance().getTransientVariable(
| Operation.OPERATION_CONTEXT);
| // create discovery operation
| WorkflowOperation discoveryOperation = new WorkflowOperation(context);
| // create discovery related workflow
| ProcessDefinition processDefinition = ProcessDefinition.parseXmlString(definition);
| ProcessInstance processInstance =
| new ProcessInstance(processDefinition);
| discoveryOperation.setProcessInstance(processInstance);
|
| new JBossCacheServiceFactory().getCacheService(
| CacheRegionConstants.TASK).put(context.getOperationId(),
| discoveryOperation);
| if (logger.isDebugEnabled()) {
| logger.debug("Discovery Operation with Workflow created successfully.");
| }
| }
|
For this inner processInstance I didn't do anything like call the save method to make it persisted, and this is also what i expected, because i want to put it in the cache, and the following code show how i created the outer processInstance:
| public static final void createProcess(OperationContext context) {
| JbpmContext jbpmContext = JbpmConfingurationFactory.jbpmConfiguration
| .createJbpmContext();
| try {
| ProcessDefinition retrievedPd = jbpmContext.getGraphSession()
| .findLatestProcessDefinition(context.getWorkflowName());
| if (retrievedPd == null) {
| logger.error("Can not find Process Definition with name: " + context.getWorkflowName());
| throw new DMException("Can not find Process Definition with name: " + context.getWorkflowName());
| }
| ProcessInstance processInstance = new ProcessInstance(retrievedPd);
| processInstance.setKey(context.getTaskId());
| processInstance.getContextInstance().setTransientVariable(Operation.OPERATION_CONTEXT, context);
| // ready to signal work flow
| processInstance.signal();
| jbpmContext.save(processInstance);
| if (logger.isDebugEnabled()) {
| logger.debug("---------------- create processinstance -----------------");
| logger.debug("---------------- complete [" + context.getTaskId() + "] -----------------");
| }
| } finally {
| jbpmContext.close();
| }
| }
|
You see i call the save method and try to make the outer processInstance persisted, so I expect the outer processInstance should be persisted successfully but the inner one shouldn't, because i explicitily call the save method for the outer one not for the inner one, this make sense to me and i think it's a correct logic, but when i close the jbpmContext, i got the following error:
| 10:36:36,392 ERROR [DbPersistenceService] hibernate commit failed
| org.hibernate.TransientObjectException: object references an unsaved transient instance - save the t
| ransient instance before flushing: org.jbpm.graph.def.Node
| at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:219)
| at org.hibernate.type.EntityType.getIdentifier(EntityType.java:397)
| at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:242)
| at org.hibernate.type.TypeFactory.findDirty(TypeFactory.java:597)
| at org.hibernate.persister.entity.AbstractEntityPersister.findDirty(AbstractEntityPersister.
| java:3128)
| at org.hibernate.event.def.DefaultFlushEntityEventListener.dirtyCheck(DefaultFlushEntityEven
| tListener.java:479)
| at org.hibernate.event.def.DefaultFlushEntityEventListener.isUpdateNecessary(DefaultFlushEnt
| ityEventListener.java:204)
| at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityE
| ventListener.java:127)
| at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEvent
| Listener.java:196)
| at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(Abstrac
| tFlushingEventListener.java:76)
| at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:
| 26)
| at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
| at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
| at org.hibernate.transaction.JTATransaction.commit(JTATransaction.java:135)
| at org.jbpm.persistence.db.DbPersistenceService.commit(DbPersistenceService.java:262)
| at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:218)
| at org.jbpm.svc.Services.close(Services.java:236)
| at org.jbpm.JbpmContext.close(JbpmContext.java:136)
|
|
So, please tell me, did i miss something? Thank you very very much.
P.S. I post a similar topic yesterday, but it's not as clear as this one, so i post this new one.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224532#4224532
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224532
16 years, 12 months
[JBoss jBPM] - Re: Cannog get BPM-BPEL on jBoss AS 5.0
by sarishjain
I have got successful deployment for both the main ear file and one of the test war files.
To fix 2 below, i added two more destinations with name A/B..
Now the issue is with the runtime, while running the test class to test the hello.war results in weird errors
1. java.lang.NoClassDefFoundError for org/jboss/virtual/VirtualFile while executing the test case
2. if i add that jar *vfs-jar file in unit test classpath. i get this error.
java.io.IOException: unknown protocol: vfszip while unmarshalling, i am really stuck at this, help needed !!
I see some threads regarding this error related to WS4EE and Jboss AS 5, though i have not found any resolution for the same.
stack is
javax.naming.NamingException: Cannot unmarshall service ref meta data [Root exception is java.io.IOException: unknown protocol: vfszip]
| at org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getObjectInstance(ServiceObjectFactoryJAXRPC.java:120)
| at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
| at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1447)
| at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1464)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:818)
| at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:153)
| at $Proxy1.lookup(Unknown Source)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at org.jbpm.bpel.tutorial.atm.AtmFrontEndTest.setUp(AtmFrontEndTest.java:42)
| at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
| at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
| at junit.extensions.TestSetup.run(TestSetup.java:23)
| Caused by: java.io.IOException: unknown protocol: vfszip
| at java.net.URL.readObject(URL.java:1217)
| at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
| at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
| at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
| at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
| at java.io.ObjectInputStream.access$300(ObjectInputStream.java:185)
| at java.io.ObjectInputStream$GetFieldImpl.readFields(ObjectInputStream.java:2069)
| at java.io.ObjectInputStream.readFields(ObjectInputStream.java:518)
| at org.jboss.metadata.serviceref.VirtualFileAdaptor.readObject(VirtualFileAdaptor.java:135)
| at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
| at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
| at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
| at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
| at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
| at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
| at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
| at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
| at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
| at org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getObjectInstance(ServiceObjectFactoryJAXRPC.java:115)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224503#4224503
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224503
16 years, 12 months
[JBoss jBPM] - problem w ith process deployment
by arpan25
HI
I am completely new to jbpm and hence I have some doubts. I am sorry if this sounds silly. I am struggling with this thing for the past two weeks but unable to deploy a workflow.
I am using jbpm-3.2.6.SP1 with JBoss-5.0.0.GA. With this version, there are two folders which get installed outside the jbpm-3.2.6.SP1 folder which are server and docs.
I have installed jboss-5.0.0.GA inside the jbpm-3.2.6.SP1 folder
I have made the changes as mentioned int he jbpm tutorial.........
1. changes made to home/arpan/server/default/deploy/jbpm-mysql-ds.xml and copied it to /home/arpan/jbpm-3.2.6.SP1/jboss5.0.0.GA/server/default/deploy folder too
2. mysql connector.jar put in /home/arpan/jbpm-3.2.6.SP1/jboss5.0.0.GA/server/default/lib folder
3. /home/arpan/server/default/deploy/jbpm/jbpm-service.sar/hibernate.cfg.xml changed to point to mysql datasource as mentioned in the jbpm tutorial
4. copied /home/arpan/server/default/deploy/jbpm folder to joss-5.0.0.GA/server/default/deploy
I would like to know whether it is fine if i copy the home/arpan/server/default/deploy/jbpm folder to /home/arpan/jbpm-3.2.6.SP1/jboss-5.0.0.GA/server/default/deploy ?
After doing all this, when I Try to deploy my process, i cannot see any processes in the jbpm console.
Can anyone help ?
thanks in advance,
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224495#4224495
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224495
16 years, 12 months
[JBoss jBPM] - Re: Cannog get BPM-BPEL on jBoss AS 5.0
by sarishjain
Further update
Got around the above error by removing the JbpmConfigurationLoader from the web.xml, it seems this was just for startup and would work otherwise as well, correct me if i am wrong
| <!-- <listener>
| <description>
| Loads and closes the jBPM configuration when the servlet context is initialized and
| destroyed, respectively.
| </description>
| <listener-class>org.jbpm.bpel.web.JbpmConfigurationLoader</listener-class>
| </listener> -->
|
Now deployment and create schema is fine,
while running examples
1. again got xmlns problem in hello.war
2. Getting the following error, have tried create a jms destination with name caller
| 13:07:32,062 ERROR [[/hello]] Exception sending context initialized event to listener instance of class org.jbpm.bpel.integration.server.IntegrationConfigurator
| org.jbpm.bpel.BpelException: could not retrieve jms destination: caller
| at org.jbpm.bpel.integration.jms.PartnerLinkEntriesBuilder.lookupDestination(PartnerLinkEntriesBuilder.java:170)
| at org.jbpm.bpel.integration.jms.PartnerLinkEntriesBuilder.buildEntry(PartnerLinkEntriesBuilder.java:119)
| at org.jbpm.bpel.integration.jms.PartnerLinkEntriesBuilder.visit(PartnerLinkEntriesBuilder.java:83)
| at org.jbpm.bpel.graph.def.AbstractBpelVisitor.visit(AbstractBpelVisitor.java:47)
| at org.jbpm.bpel.integration.jms.IntegrationControl.buildPartnerLinkEntries(IntegrationControl.java:418)
| at org.jbpm.bpel.integration.jms.IntegrationControl.enableInboundMessageActivities(IntegrationControl.java:323)
| at org.jbpm.bpel.integration.server.IntegrationConfigurator.contextInitialized(IntegrationConfigurator.java:63)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
| at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
| at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
| at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
| at $Proxy36.start(Unknown Source)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
| at org.jboss.system.ServiceController.start(ServiceController.java:460)
| at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:613)
| Caused by: javax.naming.NameNotFoundException: caller not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at org.jbpm.bpel.integration.jms.PartnerLinkEntriesBuilder.lookupDestination(PartnerLinkEntriesBuilder.java:165)
| ... 69 more
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224481#4224481
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224481
16 years, 12 months