geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <djen...@gluecode.com>
Subject Re: EJB Deployment Problem
Date Wed, 02 Feb 2005 15:41:44 GMT
I think you have an out of date version of openejb.  You may need to  
rebuild it rather than just build it, the signature of that method  
changed return type which did not involve any openejb source changes  
but makes previously compiled code unable to run as you are seeing.

thanks
david jencks

On Feb 2, 2005, at 7:03 AM, Mark wrote:

> Is anybody seeing the following:
>
> > java -jar bin\deployer.jar deploy myejbhw.jar
> Username: system
> Password: manager
> Deployment failed
>  Server reports: javax.management.remote.JMXServerErrorException:  
> Error thrown during invocation
> org.apache.geronimo.kernel.InternalKernelException:  
> javax.management.remote.JMXServerErrorException:
> Error thrown during invocation
>        at  
> org.apache.geronimo.kernel.jmx.KernelDelegate.invoke(KernelDelegate.jav 
> a:232)
>        at  
> org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Distr 
> ibuteCommand.java:
> 86)
>        at java.lang.Thread.run(Thread.java:534)
> Caused by: javax.management.remote.JMXServerErrorException: Error  
> thrown during invocation
>        at  
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectI 
> nvoker.java:103)
>        at  
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSub 
> jectInvoker.java:3
> 2)
>        at  
> mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectI 
> nvoker.java:89)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
>        at  
> mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:151)
>        at  
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnection 
> SubjectInvoker.jav
> a:85)
>        at  
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubject 
> Invoker.java:79)
>        at $Proxy0.invoke(Unknown Source)
>        at  
> javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl. 
> java:224)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja 
> va:39)
>        at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso 
> rImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at  
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
>        at sun.rmi.transport.Transport$1.run(Transport.java:148)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
>        at  
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java: 
> 460)
>        at  
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.j 
> ava:701)
>        at java.lang.Thread.run(Thread.java:534)
>        at  
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRe 
> moteCall.java:247)
>
>        at  
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java: 
> 223)
>        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
>        at  
> javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown  
> Source)
>        at mx4j.remote.rmi.ClientInvoker.invoke(ClientInvoker.java:210)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja 
> va:39)
>        at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso 
> rImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at mx4j.remote.ClientProxy.invoke(ClientProxy.java:34)
>        at  
> mx4j.remote.rmi.ClientUnmarshaller.chain(ClientUnmarshaller.java:67)
>        at  
> mx4j.remote.rmi.ClientUnmarshaller.invoke(ClientUnmarshaller.java:56)
>        at $Proxy0.invoke(Unknown Source)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja 
> va:39)
>        at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso 
> rImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at mx4j.remote.ClientProxy.invoke(ClientProxy.java:34)
>        at  
> mx4j.remote.rmi.ClientExceptionCatcher.invoke(ClientExceptionCatcher.ja 
> va:42)
>        at $Proxy0.invoke(Unknown Source)
>        at  
> org.apache.geronimo.kernel.jmx.KernelDelegate.invokeKernel(KernelDelega 
> te.java:349)
>        at  
> org.apache.geronimo.kernel.jmx.KernelDelegate.invoke(KernelDelegate.jav 
> a:228)
>        ... 2 more
> Caused by: java.lang.NoSuchMethodError:  
> org.apache.geronimo.deployment.service.ServiceConfigBuilder.
> addGBeans([Lorg/apache/geronimo/deployment/xbeans/GbeanType;Ljava/ 
> lang/ClassLoader;Lorg/apache/geron
> imo/j2ee/j2eeobjectnames/J2eeContext;Lorg/apache/geronimo/deployment/ 
> DeploymentContext;)Ljava/util/S
> et;
>        at  
> org.openejb.deployment.OpenEJBModuleBuilder.addGBeans(OpenEJBModuleBuil 
> der.java:360)
>        at  
> org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20 
> .invoke(<generated
> >)
>        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
>        at  
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodIn 
> voker.java:38)
>        at  
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation. 
> java:118)
>        at  
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.ja 
> va:658)
>        at  
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java: 
> 57)
>        at  
> org.apache.geronimo.kernel.proxy.RawOperationInvoker.invoke(RawOperatio 
> nInvoker.java:36)
>        at  
> org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.intercept(Proxy 
> MethodInterceptor.
> java:92)
>        at  
> org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$9e4 
> 5a280.addGBeans(<g
> enerated>)
>        at  
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration 
> (EARConfigBuilder.
> java:346)
>        at  
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$ 
> $38e56ec6.invoke(<
> generated>)
>        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
>        at  
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodIn 
> voker.java:38)
>        at  
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation. 
> java:118)
>        at  
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.ja 
> va:658)
>        at  
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java: 
> 57)
>        at  
> org.apache.geronimo.kernel.proxy.RawOperationInvoker.invoke(RawOperatio 
> nInvoker.java:36)
>        at  
> org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.intercept(Proxy 
> MethodInterceptor.
> java:92)
>        at  
> org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$7 
> a1ca0ae.buildConfi
> guration(<generated>)
>        at  
> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:200)
>        at  
> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:80)
>        at  
> org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.inv 
> oke(<generated>)
>        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
>        at  
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodIn 
> voker.java:38)
>        at  
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation. 
> java:118)
>        at  
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.ja 
> va:684)
>        at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:308)
>        at  
> org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:121)
>        at  
> org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invo 
> ke(<generated>)
>        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
>        at  
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodIn 
> voker.java:38)
>        at  
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation. 
> java:118)
>        at  
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.ja 
> va:684)
>        at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:308)
>        at  
> org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServerDe 
> legate.java:117)
>        at  
> mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java: 
> 222)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja 
> va:39)
>        at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso 
> rImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at  
> mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:36)
>        at  
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectI 
> nvoker.java:98)
>        at  
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSub 
> jectInvoker.java:3
> 2)
>        at  
> mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectI 
> nvoker.java:89)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
>        at  
> mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:151)
>        at  
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnection 
> SubjectInvoker.jav
> a:85)
>        at  
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubject 
> Invoker.java:79)
>        at $Proxy0.invoke(Unknown Source)
>        at  
> javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl. 
> java:224)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja 
> va:39)
>        at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso 
> rImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at  
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
>        at sun.rmi.transport.Transport$1.run(Transport.java:148)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
>        at  
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java: 
> 460)
>        at  
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.j 
> ava:701)
>        ... 1 more
>
>
>


Mime
View raw message