Hi All,
Im trying to integrate JBPM with OSGI using Equinox,
But getting error while create deployment ID in JBPM,
The following is the stack trace,
Nov 4, 2009 6:55:53 PM org.jbpm.internal.log.Jdk14Log info
INFO: exception while executing command
org.jbpm.pvm.internal.cmd.DeployCmd@186df0f
org.jbpm.pvm.internal.wire.WireException: couldn't initialize object
'org.jbpm.pvm.internal.repository.RepositorySessionImpl': couldn't
construct new 'null' with args null
at
org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.initialize(Object
Descriptor.java:233)
at
org.jbpm.pvm.internal.wire.WireContext.performInitialization(WireContext
.java:537)
at
org.jbpm.pvm.internal.wire.WireContext.initialize(WireContext.java:499)
at
org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:453)
at
org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
at
org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:139
)
at
org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:130
)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:46)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
at
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandSe
rvice.java:42)
at
org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(Standard
TransactionInterceptor.java:54)
at
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInte
rceptor.java:46)
at
org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java
:55)
at
org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.ja
va:89)
at testosgi.SampleJbpmClient.initiate(SampleJbpmClient.java:38)
at testosgi.Activator.start(Activator.java:17)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleC
ontextImpl.java:782)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivato
r(BundleContextImpl.java:773)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleC
ontextImpl.java:754)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHo
st.java:352)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractB
undle.java:370)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framewor
k.java:1068)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles
(StartLevelManager.java:557)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(Start
LevelManager.java:464)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLev
el(StartLevelManager.java:248)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent
(StartLevelManager.java:445)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventMana
ger.java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventMa
nager.java:330)
Caused by: org.jbpm.api.JbpmException: couldn't construct new 'null'
with args null
at
org.jbpm.pvm.internal.util.ReflectUtil.newInstance(ReflectUtil.java:224)
at
org.jbpm.pvm.internal.util.ReflectUtil.newInstance(ReflectUtil.java:193)
at
org.jbpm.pvm.internal.wire.descriptor.HibernateConfigurationDescriptor.c
onstruct(HibernateConfigurationDescriptor.java:61)
at
org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473)
at
org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452)
at
org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
at
org.jbpm.pvm.internal.wire.descriptor.HibernateSessionFactoryDescriptor.
construct(HibernateSessionFactoryDescriptor.java:57)
at
org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473)
at
org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452)
at
org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
at
org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:139
)
at
org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:130
)
at
org.jbpm.pvm.internal.wire.descriptor.HibernateSessionDescriptor.constru
ct(HibernateSessionDescriptor.java:63)
at
org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473)
at
org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452)
at
org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
at
org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.autoWire(ObjectDe
scriptor.java:294)
at
org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.initialize(Object
Descriptor.java:225)
... 31 more
Caused by: java.lang.NoClassDefFoundError: org/dom4j/DocumentException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.getConstructor(Class.java:1629)
at
org.jbpm.pvm.internal.util.ReflectUtil.newInstance(ReflectUtil.java:214)
... 57 more
org.jbpm.pvm.internal.wire.WireException: couldn't initialize object
'org.jbpm.pvm.internal.repository.RepositorySessionImpl': couldn't
construct new 'null' with args null
at
org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.initialize(Object
Descriptor.java:233)
at
org.jbpm.pvm.internal.wire.WireContext.performInitialization(WireContext
.java:537)
at
org.jbpm.pvm.internal.wire.WireContext.initialize(WireContext.java:499)
at
org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:453)
at
org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
at
org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
at
org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:139
)
at
org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:130
)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:46)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
at
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandSe
rvice.java:42)
at
org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(Standard
TransactionInterceptor.java:54)
at
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInte
rceptor.java:46)
at org.jbpm
Please provide any information reg
Swapna
--------------------------------------------------------------------------------------------
This message, including any attachments, contains confidential information
intended for a specific individual and purpose, and is intended for the addressee only.
Any unauthorized disclosure, use, dissemination, copying, or distribution of
this message or any of its attachments or the information contained in this e-mail, or the
taking of any action based on it, is strictly prohibited. If you are not the intended
recipient, please notify the sender immediately by return e-mail and delete this message.
--------------------------------------------------------------------------------------------
Show replies by date