You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Matthias von Arx <ma...@siemens.com> on 2006/10/04 13:37:27 UTC

ServiceMix 3.0 and ode-jbi-install-2.0-SNAPSHOT.zip

Hi,

It looks like it is not just "copy to install directory and it will work".
After copying ode-jbi-install-2.0-SNAPSHOT.zip to ServiceMix 3.0 M2 install
directory and after launching ServiceMix the following
ClassNotFoundException occours (the class not found is available in a jar in
ode-jbi-install-2.0-SNAPSHOT.zip!):

13:05:22,671 | INFO  | Thread-8   | OdeLifeCycle             |
rg.apache.ode.jbi.OdeLifeCycle  124 | Hibernate started.
13:05:22,671 | DEBUG | Thread-8   | OdeLifeCycle             |
rg.apache.ode.jbi.OdeLifeCycle  126 | Starting BPEL server.
13:05:22,671 | DEBUG | Thread-8   | OdeLifeCycle             |
rg.apache.ode.jbi.OdeLifeCycle  246 | ODE initializing
13:05:22,851 | INFO  | Thread-8   | QuartzScheduler          |
rg.quartz.core.QuartzScheduler  195 | Quartz Scheduler v.1.5.1 created.
13:05:22,851 | INFO  | Thread-8   | JobStoreJTA              |
l.jdbcjobstore.JobStoreSupport  482 | Using db table-based data access
locking (synchronization).
13:05:22,872 | DEBUG | Thread-8   | ObjectPool               |
ntools.minerva.pool.ObjectPool  867 | Pool
org.opentools.minerva.connector.jdbc.JDBCManagedConnectionFactory-1 [1/1/10]
gave out pooled object:
org.opentools.minerva.connector.jdbc.JDBCManagedConnection@73bc22
13:05:22,882 | DEBUG | Thread-8   | StdRowLockSemaphore      |
bcjobstore.StdRowLockSemaphore  121 | Lock 'TRIGGER_ACCESS' is desired by:
Thread-8
13:05:22,932 | DEBUG | Thread-8   | StdRowLockSemaphore      |
bcjobstore.StdRowLockSemaphore  134 | Lock 'TRIGGER_ACCESS' is being
obtained: Thread-8
13:05:22,942 | DEBUG | Thread-8   | StdRowLockSemaphore      |
bcjobstore.StdRowLockSemaphore  168 | Lock 'TRIGGER_ACCESS' given to:
Thread-8
13:05:23,042 | INFO  | Thread-8   | JobStoreJTA              |
l.jdbcjobstore.JobStoreSupport  622 | Removed 0 Volatile Trigger(s).
13:05:23,042 | INFO  | Thread-8   | JobStoreJTA              |
l.jdbcjobstore.JobStoreSupport  630 | Removed 0 Volatile Job(s).
13:05:23,072 | DEBUG | Thread-8   | StdRowLockSemaphore      |
bcjobstore.StdRowLockSemaphore  193 | Lock 'TRIGGER_ACCESS' returned by:
Thread-8
13:05:23,072 | DEBUG | Thread-8   | ObjectPool               |
ntools.minerva.pool.ObjectPool  867 | Pool
org.opentools.minerva.connector.jdbc.JDBCManagedConnectionFactory-1 [0/1/10]
returned object
org.opentools.minerva.connector.jdbc.JDBCManagedConnection@73bc22 to the
pool.
13:05:23,072 | DEBUG | Thread-8   | BpelServer               |
ode.bpel.engine.BpelServerImpl  391 | BPEL SERVER initializing 
13:05:23,082 | DEBUG | Thread-8   | OdeLifeCycle             |
rg.apache.ode.jbi.OdeLifeCycle  129 | Starting JCA connector.
13:05:23,142 | ERROR | Thread-8   | OdeLifeCycle             |
rg.apache.ode.jbi.OdeLifeCycle  331 | 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.java:701)
	at java.lang.Thread.run(Thread.java:595)
	at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.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(RmiTransportServerImpl.java:79)
	at
org.apache.ode.bpel.connector.BpelServerConnector.start(BpelServerConnector.java:44)
	at org.apache.ode.jbi.OdeLifeCycle.initConnector(OdeLifeCycle.java:329)
	at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:130)
	at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:192)
	at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:279)
	at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:208)
	at
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:377)
	at
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:342)
	at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:221)
	at
org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(AutoDeploymentService.java:508)
	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.java: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.java: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
13:05:23,152 | INFO  | Thread-8   | OdeLifeCycle             |
rg.apache.ode.jbi.OdeLifeCycle  134 | ODE BPEL Server Initialized.
13:05:23,152 | INFO  | Thread-8   | OdeLifeCycle             |
rg.apache.ode.jbi.OdeLifeCycle  341 | Starting ODE ServiceEngine.
13:05:23,152 | DEBUG | Thread-8   | BpelServer               |
ode.bpel.engine.BpelServerImpl  135 | BPEL SERVER starting.
13:05:23,152 | INFO  | Thread-8   | BpelServer               |
ode.bpel.engine.BpelServerImpl  779 | Couldn't find any deployment history,
all processes will be redeployed.


Can someone tell me if there are more steps to do before
ode-jbi-install-2.0-SNAPSHOT.zip can be used?
Has someone experiences with servicemix-3.0-M2 and
ode-jbi-install-2.0-SNAPSHOT.zip?

Please help me.

Best regards
Matthias von Arx
-- 
View this message in context: http://www.nabble.com/ServiceMix-3.0-and-ode-jbi-install-2.0-SNAPSHOT.zip-tf2381859.html#a6637975
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: ServiceMix 3.0 and ode-jbi-install-2.0-SNAPSHOT.zip

Posted by Matthias von Arx <ma...@siemens.com>.
Hi,

I don't know if the ODE Service Engine is working -- at the moment I'm
trying to deploy the HelloWorld2 example but without success  : (

I'll try it with the ping-pong-example if I would find the SA...

Regards
Matthias



Philip Dodds-2 wrote:
> 
> I believe this is just a problem in ODE's use of RMI - however the
> Service Engine should still work?
> 
> P
> 
> On 10/4/06, Matthias von Arx <ma...@siemens.com> wrote:
>>
>> Hi,
>>
>> After copying ode-jca-ra.jar (contained in
>> ode-jbi-install-2.0-SNAPSHOT.zip)
>> to %servicemix_home%/lib/optional directory ServiceMix can be launched
>> without an ClassNotFoundException.
>>
>> Tis looks like a classloading problem...
>>
>> Best regards
>> Matthias von Arx
>>
>> --
>> View this message in context:
>> http://www.nabble.com/ServiceMix-3.0-and-ode-jbi-install-2.0-SNAPSHOT.zip-tf2381859.html#a6638812
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/ServiceMix-3.0-and-ode-jbi-install-2.0-SNAPSHOT.zip-tf2381859.html#a6639764
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: ServiceMix 3.0 and ode-jbi-install-2.0-SNAPSHOT.zip

Posted by Maciej Szefler <mb...@intalio.com>.
Nope, there are ant scripts that will create the SA for you.
-mbs

On 10/4/06, Matthias von Arx <ma...@siemens.com> wrote:
>
>
> Hi,
>
> Thanks, I have not realized yet that this was an old example. Now I try to
> build one of the examples from the current Subversion repository.
>
> Is Maven2 required to build the examles?
>
> Regards
> Matthias
>
>
>
> Maciej Szefler-2 wrote:
> >
> > The error you are seeing should not affect the operation of the engine
> > other
> > than to prevent using the process management interface. It is a known
> > issue.
> >
> > As for your problem of the BpelEngine not being loaded: it looks like
> you
> > are 'installing' a recent version of the JBI compoenent where the engine
> > is
> > called "OdeBpelEngine", but are using the examples from an old distro
> > (where
> > the engine was known as "PxeBpelEngine").
> > -maciej
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/ServiceMix-3.0-and-ode-jbi-install-2.0-SNAPSHOT.zip-tf2381859.html#a6645012
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: ServiceMix 3.0 and ode-jbi-install-2.0-SNAPSHOT.zip

Posted by Matthias von Arx <ma...@siemens.com>.
Hi,

Thanks, I have not realized yet that this was an old example. Now I try to
build one of the examples from the current Subversion repository.

Is Maven2 required to build the examles?

Regards
Matthias



Maciej Szefler-2 wrote:
> 
> The error you are seeing should not affect the operation of the engine
> other
> than to prevent using the process management interface. It is a known
> issue.
> 
> As for your problem of the BpelEngine not being loaded: it looks like you
> are 'installing' a recent version of the JBI compoenent where the engine
> is
> called "OdeBpelEngine", but are using the examples from an old distro
> (where
> the engine was known as "PxeBpelEngine").
> -maciej
> 
> 

-- 
View this message in context: http://www.nabble.com/ServiceMix-3.0-and-ode-jbi-install-2.0-SNAPSHOT.zip-tf2381859.html#a6645012
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: ServiceMix 3.0 and ode-jbi-install-2.0-SNAPSHOT.zip

Posted by Maciej Szefler <mb...@intalio.com>.
The error you are seeing should not affect the operation of the engine other
than to prevent using the process management interface. It is a known issue.

As for your problem of the BpelEngine not being loaded: it looks like you
are 'installing' a recent version of the JBI compoenent where the engine is
called "OdeBpelEngine", but are using the examples from an old distro (where
the engine was known as "PxeBpelEngine").
-maciej

On 10/4/06, Matthias von Arx <ma...@siemens.com> wrote:
>
>
> Hi,
>
> No, unfortunately the service engine is not working! In the log file I
> found
> the following entries:
>
> 15:32:25,221 | INFO  | Thread-24  | AutoDeploymentService    |
> ramework.AutoDeploymentService  265 | Components PxeBpelEngine are not
> installed yet - adding ServiceAssembly SA-HelloWorld2 to pending list
> 15:32:25,221 | DEBUG | Thread-24  | SedaFlow                 |
> emix.jbi.nmr.flow.AbstractFlow  143 | Called Flow resume
> 15:32:25,221 | INFO  | Thread-24  | AutoDeploymentService    |
> mework.AutoDeploymentService$2  509 | Directory: deploy: Finished
> installation of archive:  HelloWorld2SA.zip
>
> The ode-jbi-install-2.0-SNAPSHOT.zip is stored in the
> %servicemix_home%/install directory like the other installers...
>
> Can you help me to solve this problem?
>
> Regards
> Matthias
>
>
>
>
> Philip Dodds-2 wrote:
> >
> > I believe this is just a problem in ODE's use of RMI - however the
> > Service Engine should still work?
> >
> > P
> >
> > On 10/4/06, Matthias von Arx <ma...@siemens.com> wrote:
> >>
> >> Hi,
> >>
> >> After copying ode-jca-ra.jar (contained in
> >> ode-jbi-install-2.0-SNAPSHOT.zip)
> >> to %servicemix_home%/lib/optional directory ServiceMix can be launched
> >> without an ClassNotFoundException.
> >>
> >> Tis looks like a classloading problem...
> >>
> >> Best regards
> >> Matthias von Arx
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/ServiceMix-3.0-and-ode-jbi-install-2.0-SNAPSHOT.zip-tf2381859.html#a6638812
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/ServiceMix-3.0-and-ode-jbi-install-2.0-SNAPSHOT.zip-tf2381859.html#a6639874
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: ServiceMix 3.0 and ode-jbi-install-2.0-SNAPSHOT.zip

Posted by Matthias von Arx <ma...@siemens.com>.
Hi,

No, unfortunately the service engine is not working! In the log file I found
the following entries:

15:32:25,221 | INFO  | Thread-24  | AutoDeploymentService    |
ramework.AutoDeploymentService  265 | Components PxeBpelEngine are not
installed yet - adding ServiceAssembly SA-HelloWorld2 to pending list
15:32:25,221 | DEBUG | Thread-24  | SedaFlow                 |
emix.jbi.nmr.flow.AbstractFlow  143 | Called Flow resume
15:32:25,221 | INFO  | Thread-24  | AutoDeploymentService    |
mework.AutoDeploymentService$2  509 | Directory: deploy: Finished
installation of archive:  HelloWorld2SA.zip

The ode-jbi-install-2.0-SNAPSHOT.zip is stored in the
%servicemix_home%/install directory like the other installers...

Can you help me to solve this problem?

Regards
Matthias




Philip Dodds-2 wrote:
> 
> I believe this is just a problem in ODE's use of RMI - however the
> Service Engine should still work?
> 
> P
> 
> On 10/4/06, Matthias von Arx <ma...@siemens.com> wrote:
>>
>> Hi,
>>
>> After copying ode-jca-ra.jar (contained in
>> ode-jbi-install-2.0-SNAPSHOT.zip)
>> to %servicemix_home%/lib/optional directory ServiceMix can be launched
>> without an ClassNotFoundException.
>>
>> Tis looks like a classloading problem...
>>
>> Best regards
>> Matthias von Arx
>>
>> --
>> View this message in context:
>> http://www.nabble.com/ServiceMix-3.0-and-ode-jbi-install-2.0-SNAPSHOT.zip-tf2381859.html#a6638812
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/ServiceMix-3.0-and-ode-jbi-install-2.0-SNAPSHOT.zip-tf2381859.html#a6639874
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: ServiceMix 3.0 and ode-jbi-install-2.0-SNAPSHOT.zip

Posted by Philip Dodds <ph...@gmail.com>.
I believe this is just a problem in ODE's use of RMI - however the
Service Engine should still work?

P

On 10/4/06, Matthias von Arx <ma...@siemens.com> wrote:
>
> Hi,
>
> After copying ode-jca-ra.jar (contained in ode-jbi-install-2.0-SNAPSHOT.zip)
> to %servicemix_home%/lib/optional directory ServiceMix can be launched
> without an ClassNotFoundException.
>
> Tis looks like a classloading problem...
>
> Best regards
> Matthias von Arx
>
> --
> View this message in context: http://www.nabble.com/ServiceMix-3.0-and-ode-jbi-install-2.0-SNAPSHOT.zip-tf2381859.html#a6638812
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: ServiceMix 3.0 and ode-jbi-install-2.0-SNAPSHOT.zip

Posted by Matthias von Arx <ma...@siemens.com>.
Hi,

After copying ode-jca-ra.jar (contained in ode-jbi-install-2.0-SNAPSHOT.zip)
to %servicemix_home%/lib/optional directory ServiceMix can be launched
without an ClassNotFoundException.

Tis looks like a classloading problem...

Best regards
Matthias von Arx

-- 
View this message in context: http://www.nabble.com/ServiceMix-3.0-and-ode-jbi-install-2.0-SNAPSHOT.zip-tf2381859.html#a6638812
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: ServiceMix 3.0 and ode-jbi-install-2.0-SNAPSHOT.zip

Posted by Matthias von Arx <ma...@siemens.com>.
Hi,

btw the following zip files are located in the %servicemix_home%/install
directory:

ode-jbi-install-2.0-SNAPSHOT.zip
servicemix-bpe-3.0-M2-incubating-installer.zip
servicemix-http-3.0-M2-incubating-installer.zip
servicemix-jms-3.0-M2-incubating-installer.zip
servicemix-jsr181-3.0-M2-incubating-installer.zip
servicemix-lwcontainer-3.0-M2-incubating-installer.zip

Best regards
Matthias von Arx

-- 
View this message in context: http://www.nabble.com/ServiceMix-3.0-and-ode-jbi-install-2.0-SNAPSHOT.zip-tf2381859.html#a6638172
Sent from the ServiceMix - User mailing list archive at Nabble.com.