geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <ja...@laskowski.net.pl>
Subject Application client launcher throws NoSuchMethodError: org.omg.PortableInterceptor...
Date Tue, 04 Dec 2007 23:02:49 GMT
Hi,

Upon successful EAR deployment with an application client that uses
@EJB I run it with the following command:

  java -jar bin/client.jar sampleear/sample-ear_SampleAppClient.jar/1.0/jar

It worked fine as far as the application's concerned, but the
following exception's thrown on the client's side. What's wrong? I run
it on Geronimo 2.1-SNAPSHOT built a week ago on Sun JDK 1.5.0_14-b03.

23:54:46,218 ERROR [GBeanInstance] Problem in doStop of
org.apache.geronimo.configs/client-corba-yoko/2.1-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/client-corba-yoko/2.1-SN
APSHOT/car,j2eeType=CORBABean,name=Server
java.lang.NoSuchMethodError:
org.omg.PortableInterceptor.IORInterceptor_3_0.adapter_manager_state_changed(Ljava/lang/String;S)V
        at org.apache.yoko.orb.OB.PIManager.adapterManagerStateChange(PIManager.java:532)
        at org.apache.yoko.orb.OBPortableServer.POAManager_impl.deactivate(POAManager_impl.java:360)
        at org.apache.yoko.orb.OBPortableServer.POAManagerFactory_impl._OB_deactivate(POAManagerFactory_impl.java:342)
        at org.apache.yoko.orb.OB.ORBControl.completeServerShutdown(ORBControl.java:100)
        at org.apache.yoko.orb.OB.ORBControl.shutdownServer(ORBControl.java:427)
        at org.apache.yoko.orb.OB.ORBControl.shutdownServerClient(ORBControl.java:455)
        at org.apache.yoko.orb.OBCORBA.ORB_impl.destroy(ORB_impl.java:1390)
        at org.apache.geronimo.corba.CORBABean.doStop(CORBABean.java:260)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1159)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:339)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:188)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:561)
        at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:561)
        at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:561)
        at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:561)
        at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager$ShutdownHook.run(KernelConfigurationManager.java:316)
        at org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks(BasicKernel.java:668)
        at org.apache.geronimo.kernel.basic.BasicKernel.shutdown(BasicKernel.java:645)
        at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper$1.run(MainConfigurationBootstrapper.java:76)
Exception in thread "Yoko:Server:StarterThread"
java.lang.NoClassDefFoundError:
org/apache/yoko/orb/OB/GIOPConnectionThreaded$ReceiverThread
        at org.apache.yoko.orb.OB.GIOPServerStarterThreaded.starterRun(GIOPServerStarterThreaded.java:243)
        at org.apache.yoko.orb.OB.GIOPServerStarterThreaded$StarterThread.run(GIOPServerStarterThreaded.java:34)

On the server's no exception's thrown.

23:35:28,171 INFO  [config] Configuring Service(id=Default Stateless
Container, type=Container, provider-id=Default Stateless Container)
23:35:28,171 INFO  [config] Configuring Service(id=Default Stateful
Container, type=Container, provider-id=Default Stateful Container)
23:35:28,171 INFO  [config] Configuring Service(id=Default BMP
Container, type=Container, provider-id=Default BMP Container)
23:35:28,171 INFO  [config] Configuring Service(id=Default CMP
Container, type=Container, provider-id=Default CMP Container)
23:35:28,171 INFO  [config] Configuring app: sampleear/sample-ear/1.0/ear
23:35:28,375 INFO  [OpenEJB] Auto-deploying ejb
MyStatelessSessionBean:
EjbDeployment(deployment-id=SampleEJB.jar/MyStatelessSessionBean)
23:35:28,796 INFO  [config] Loaded Module: sampleear/sample-ear/1.0/ear
23:35:31,453 INFO  [Enhance] You have enabled runtime enhancement, but
have not specified the set of persistent classes.  OpenJPA must look
for metadata for every loaded class, which mi
ght increase class load times significantly.
23:35:31,875 INFO  [startup] Assembling app:
c:\geronimo\var\temp\geronimo-deploymentUtil10007.jar
23:35:32,000 INFO  [startup] Jndi(name=MyStatelessSessionBeanRemote)
--> Ejb(deployment-id=SampleEJB.jar/MyStatelessSessionBean)
23:35:32,000 INFO  [startup] Created
Ejb(deployment-id=SampleEJB.jar/MyStatelessSessionBean,
ejb-name=MyStatelessSessionBean, container=Default Stateless
Container)
23:35:32,000 INFO  [startup] Deployed
Application(path=c:\geronimo\var\temp\geronimo-deploymentUtil10007.jar)
23:54:45,859 INFO  [OpenEJB] invoking method create on
SampleEJB.jar/MyStatelessSessionBean
23:54:45,890 INFO  [OpenEJB] finished invoking method create
23:54:46,078 INFO  [OpenEJB] The following method doesn't have a
transaction policy assigned: public abstract java.lang.String
sampleear.RemoteBusinessInterface.sayHello(java.lang.Strin
g)
23:54:46,125 INFO  [Transaction] TX Required: Started transaction
org.apache.geronimo.transaction.manager.TransactionImpl@12d1c73
23:54:46,125 INFO  [Transaction] TX Required: Committing transaction
org.apache.geronimo.transaction.manager.TransactionImpl@12d1c73

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Mime
View raw message