Thanks, rebuilding helped remove that exception, but once I tried
installing the component again I got the following exception:
11:14:56,269 | ERROR | Thread-10 | OdeLifeCycle |
rg.apache.ode.jbi.OdeLifeCycle 322 | Failed to initialize JCA
connector.
java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments;
nested exception is:
java.lang.ClassNotFoundException:
org.apache.ode.ra.transports.rmi.OdeRemote (no security manager: RMI
class loader disabled)
at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385)
at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.ja
va:701)
at java.lang.Thread.run(Thread.java:595)
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRem
oteCall.java:247)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223
)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at
org.apache.ode.jca.server.rmi.RmiTransportServerImpl.start(RmiTransportS
erverImpl.java:91)
at
org.apache.ode.bpel.connector.BpelServerConnector.start(BpelServerConnec
tor.java:44)
at
org.apache.ode.jbi.OdeLifeCycle.initConnector(OdeLifeCycle.java:320)
at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:118)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBe
anImpl.java:196)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(Component
MBeanImpl.java:283)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMB
eanImpl.java:212)
at
org.apache.servicemix.jbi.framework.InstallationService.install(Installa
tionService.java:325)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:247)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(AutoDepl
oymentService.java:592)
at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:
291)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments;
nested exception is:
java.lang.ClassNotFoundException:
org.apache.ode.ra.transports.rmi.OdeRemote (no security manager: RMI
class loader disabled)
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375)
at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.ja
va:701)
... 1 more
Caused by: java.lang.ClassNotFoundException:
org.apache.ode.ra.transports.rmi.OdeRemote (no security manager: RMI
class loader disabled)
at
sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:531)
at
java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628)
at
java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294)
at
sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.j
ava:238)
at
java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1494)
at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693
)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
... 9 more
-----Original Message-----
From: Matthieu Riou [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 28, 2006 7:35 PM
To: [email protected]
Subject: Re: Exception when trying to install ODE's JBI component in
ServiceMix
Alternatively if you build twice, even from the root directory, that
should
work. Only the first build won't work. The sources generated by XDoclet
will
be included in the wrong jar (!!!!) but at runtime, they will be found
anyway which is all that matters.
Pleasures of the build...
On 11/28/06, Alex Boisvert <[EMAIL PROTECTED]> wrote:
>
> Hi Jeffrey,
>
> This is a build issue with the XDoclet plugin that we've noticed only
> recently. The plugin sometimes places the generated .hbm.xml files in
a
> different module (!!) when doing a full build. The workaround is to
build
> the "bpel-store" module manually first and then do a full build.
>
> You can double-check that it works by looking in the generated
> ode-bpel-store.jar:
>
> [EMAIL PROTECTED]:~/svn/ode/trunk$ unzip -v bpel-store/target/ode-
> bpel-store-2.0-SNAPSHOT.jar | grep hbm
> 2044 Defl:N 619 70% 11-28-06 16:17 dd726ad6
> org/apache/ode/store/hobj/HProcessProperty.hbm.xml
> 2742 Defl:N 715 74% 11-28-06 16:17 15bf4d21
> org/apache/ode/store/hobj/HProcessConf.hbm.xml
>
> alex
>
>
> On 11/28/06, Jeffrey Puro <[EMAIL PROTECTED]> wrote:
> >
> > I recently downloaded the trunk source code of ODE, built the
project,
> > and copied the ode-jbi-2.0-SNAPSHOT-installer.zip that got generated
> > into ServiceMix's install folder. After doing this I got the
following
> > exception that I'm not sure how to resolve:
> >
> > 13:32:07,698 | ERROR | Thread-87 | ComponentMBeanImpl |
> > i.framework.ComponentMBeanImpl 219 | Could not start component
> > org.hibernate.MappingException: Resource:
> > org/apache/ode/store/hobj/HProcessConf.hbm.xml not found
> > at org.hibernate.cfg.Configuration.addClass(Configuration.java:500)
> > at
> >
org.apache.ode.store.dao.ConfStoreConnectionHib.getDefaultConfiguration(
> > ConfStoreConnectionHib.java:137)
> > at
> >
org.apache.ode.store.dao.ConfStoreConnectionHib.<init>(ConfStoreConnecti
> > onHib.java:90)
> > at
> >
org.apache.ode.store.ProcessStoreImpl.<init>(ProcessStoreImpl.java:60)
> > at
> >
org.apache.ode.store.ProcessStoreImpl.<init>(ProcessStoreImpl.java:51)
> > at
> >
org.apache.ode.jbi.OdeLifeCycle.initBpelServer(OdeLifeCycle.java:251)
> > at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:115)
> > at
> >
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBe
> > anImpl.java:196)
> > at
> >
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(Component
> > MBeanImpl.java:283)
> > at
> >
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMB
> > eanImpl.java:212)
> > at
> >
org.apache.servicemix.jbi.framework.InstallationService.install(Installa
> > tionService.java:325)
> > at
> >
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
> > AutoDeploymentService.java:247)
> > at
> >
org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(AutoDepl
> > oymentService.java:592)
> > at
> >
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:
> > 291)
> > at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
> > Source)
> > at java.lang.Thread.run(Thread.java:595)
> > 13:32:07,730 | ERROR | Thread-87 | AutoDeploymentService |
> > ramework.AutoDeploymentService 257 | Failed to update Component:
> > OdeBpelEngine
> > org.hibernate.MappingException: Resource:
> > org/apache/ode/store/hobj/HProcessConf.hbm.xml not found
> > at org.hibernate.cfg.Configuration.addClass(Configuration.java:500)
> > at
> >
org.apache.ode.store.dao.ConfStoreConnectionHib.getDefaultConfiguration(
> > ConfStoreConnectionHib.java:137)
> > at
> >
org.apache.ode.store.dao.ConfStoreConnectionHib.<init>(ConfStoreConnecti
> > onHib.java:90)
> > at
> >
org.apache.ode.store.ProcessStoreImpl.<init>(ProcessStoreImpl.java:60)
> > at
> >
org.apache.ode.store.ProcessStoreImpl.<init>(ProcessStoreImpl.java:51)
> > at
> >
org.apache.ode.jbi.OdeLifeCycle.initBpelServer(OdeLifeCycle.java:251)
> > at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:115)
> > at
> >
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBe
> > anImpl.java:196)
> > at
> >
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(Component
> > MBeanImpl.java:283)
> > at
> >
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMB
> > eanImpl.java:212)
> > at
> >
org.apache.servicemix.jbi.framework.InstallationService.install(Installa
> > tionService.java:325)
> > at
> >
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
> > AutoDeploymentService.java:247)
> > at
> >
org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(AutoDepl
> > oymentService.java:592)
> > at
> >
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:
> > 291)
> > at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
> > Source)
> > at java.lang.Thread.run(Thread.java:595)
> > 13:32:07,745 | WARN | Thread-87 | AutoDeploymentService |
> > mework.AutoDeploymentService$2 596 | Directory: install: Automatic
> > install of
> >
C:\dev\apache-servicemix-3.0.1-incubating\bin\install\ode-jbi-2.0-SNAPSH
> > OT-installer.zip failed
> > javax.jbi.management.DeploymentException: Failed to update
Component:
> > OdeBpelEngine
> > at
> >
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
> > AutoDeploymentService.java:258)
> > at
> >
org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(AutoDepl
> > oymentService.java:592)
> > at
> >
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:
> > 291)
> > at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
> > Source)
> > at java.lang.Thread.run(Thread.java:595)
> > Caused by: org.hibernate.MappingException: Resource:
> > org/apache/ode/store/hobj/HProcessConf.hbm.xml not found
> > at org.hibernate.cfg.Configuration.addClass(Configuration.java:500)
> > at
> >
org.apache.ode.store.dao.ConfStoreConnectionHib.getDefaultConfiguration(
> > ConfStoreConnectionHib.java:137)
> > at
> >
org.apache.ode.store.dao.ConfStoreConnectionHib.<init>(ConfStoreConnecti
> > onHib.java:90)
> > at
> >
org.apache.ode.store.ProcessStoreImpl.<init>(ProcessStoreImpl.java:60)
> > at
> >
org.apache.ode.store.ProcessStoreImpl.<init>(ProcessStoreImpl.java:51)
> > at
> >
org.apache.ode.jbi.OdeLifeCycle.initBpelServer(OdeLifeCycle.java:251)
> > at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:115)
> > at
> >
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBe
> > anImpl.java:196)
> > at
> >
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(Component
> > MBeanImpl.java:283)
> > at
> >
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMB
> > eanImpl.java:212)
> > at
> >
org.apache.servicemix.jbi.framework.InstallationService.install(Installa
> > tionService.java:325)
> > at
> >
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
> > AutoDeploymentService.java:247)
> > ... 4 more
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > This email (and any attachments) is intended only for the use of the
> > individual or entity named above and may contain information that is
> > privileged and confidential. If you are not the intended recipient,
or
> have
> > unauthorized access, you are hereby notified that copying,
> disseminating,
> > distributing or taking any action in reliance on this email is
strictly
> > prohibited<br />
> > <br />
> > Opinions, conclusions and other information in this message that do
not
> > relate to the official business of our firm shall be understood as
> neither
> > given nor endorsed by it.
> >
> >
> >
>
>
This email (and any attachments) is intended only for the use of the individual
or entity named above and may contain information that is privileged and
confidential. If you are not the intended recipient, or have unauthorized
access, you are hereby notified that copying, disseminating, distributing or
taking any action in reliance on this email is strictly prohibited<br />
<br />
Opinions, conclusions and other information in this message that do not relate
to the official business of our firm shall be understood as neither given nor
endorsed by it.