geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepesh d <deepesh...@yahoo.co.in>
Subject Re: Re: Error in deploying
Date Wed, 31 Aug 2005 12:13:47 GMT
Hi Aaron,

 I removed the <ejb-local-ref> block from
openejb-jar.xml

and try to deploy it. Again I got the same error

the geronimo log is as below


17:21:13,563 DEBUG [Deployer] Deployment failed:
plan=null, module=/home/oss/deployment/work/Twe.ear
org.apache.geronimo.common.DeploymentException: Unable
to initialize EJBContainer GBean: ejbName
[MyAddressBean]
	at
org.openejb.deployment.CMPEntityBuilder.createBean(CMPEntityBuilder.java:825)
	at
org.openejb.deployment.CMPEntityBuilder.buildBeans(CMPEntityBuilder.java:147)
	at
org.openejb.deployment.OpenEJBModuleBuilder.addGBeans(OpenEJBModuleBuilder.java:499)
	at
org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20.invoke(<generated>)
	at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:719)
	at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
	at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:94)
	at
org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$8f46c681.addGBeans(<generated>)
	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:377)
	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>)
	at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:719)
	at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
	at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:94)
	at
org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$56025877.buildConfiguration(<generated>)
	at
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:165)
	at
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:79)
	at
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
	at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:754)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:175)
	at
org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:124)
	at
org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>)
	at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:754)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:175)
	at
org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServerDelegate.java:117)
	at
mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:219)
	at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34)
	at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoker.java:99)
	at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectInvoker.java:31)
	at
mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoker.java:90)
	at java.security.AccessController.doPrivileged(Native
Method)
	at
javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
	at
mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163)
	at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionSubjectInvoker.java:86)
	at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvoker.java:80)
	at $Proxy0.invoke(Unknown Source)
	at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:221)
	at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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.java:701)
	at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.ExceptionInInitializerError
	at
com.myapp.twe.tjc.impl.TJCAddressImpl.<clinit>(TJCAddressImpl.java:61)
	at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
net.sf.cglib.proxy.MethodProxy.find(MethodProxy.java:127)
	at
org.openejb.dispatch.MethodHelper.getSuperIndex(MethodHelper.java:82)
	at
org.openejb.dispatch.MethodHelper.getSuperIndex(MethodHelper.java:73)
	at
org.openejb.entity.cmp.CMPInstanceContextFactory.<init>(CMPInstanceContextFactory.java:127)
	at
org.openejb.deployment.CMPContainerBuilder.buildIt(CMPContainerBuilder.java:305)
	at
org.openejb.deployment.AbstractContainerBuilder.createConfiguration(AbstractContainerBuilder.java:355)
	at
org.openejb.deployment.CMPEntityBuilder.createBean(CMPEntityBuilder.java:822)
	... 64 more
Caused by: java.lang.NullPointerException
	at
com.myapp.twe.util.config.ConfigReader.init(ConfigReader.java:338)
	at
com.myapp.twe.util.config.ConfigReader.<init>(ConfigReader.java:121)
	at
com.myapp.twe.util.config.ConfigReader.getInstance(ConfigReader.java:277)
	at
com.myapp.twe.common.servicelocator.factory.HomeFactory.getDBServerName(HomeFactory.java:196)
	at
com.myapp.twe.common.servicelocator.factory.HomeFactory.<init>(HomeFactory.java:88)
	at
com.myapp.twe.common.servicelocator.factory.HomeFactory.<clinit>(HomeFactory.java:49)
	... 76 more
     

Thanks

Deepesh


	

	
		
__________________________________________________________ 
Yahoo! India Matrimony: Find your partner online. Go to http://yahoo.shaadi.com

Mime
View raw message