geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Mark Donaghy <pmdgeron...@yahoo.fr>
Subject Problem testing ConverterApp from J2EETutorial
Date Fri, 11 Jun 2004 10:27:24 GMT
Hello Geronimo users and developers,

Sun's J2EE Tutorial comes with provided ears which
need to be modified to work with Geronimo.

<tutorial_install>/examples/ejb/provided-ears

I am attempted to deploy the ConverterApp. Keeping it
simple for now :)

I extracted the provided jar.
I have added an openejb-jar.xml to META-INF.

Problem occurs during deployment. See stack trace :

java -jar bin/deployer.jar --install --module
/home/phil/soft/doc/j2eetutorial14/examples/ejb/provided-ears/ConverterApp/ejb-jar-ic-geronimo.jar
java.lang.NullPointerException
        at
org.openejb.deployment.OpenEJBModuleBuilder.addGBeans(OpenEJBModuleBuilder.java:409)
        at
org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20.invoke(<generated>)
        at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
        at
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:141)
        at
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:740)
        at
org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89)
        at
org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationInvoker.java:34)
        at
org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.intercept(CGLibMethodInterceptor.java:110)
        at
org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$9e45a280.addGBeans(<generated>)
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:209)
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:142)
        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.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:141)
        at
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:740)
        at
org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89)
        at
org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationInvoker.java:34)
        at
org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.intercept(CGLibMethodInterceptor.java:110)
        at
org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$7a1ca0ae.buildConfiguration(<generated>)
        at
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:132)
        at
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
        at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
        at
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:141)
        at
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:761)
        at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:218)
        at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
        at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86)
        at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
        at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
        at
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:205)
        at
mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079)
        at
org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:231)
        at
org.apache.geronimo.system.main.CommandLine.main(CommandLine.java:82)

Any ideas, openejb-jar.xml and ejb-jar.xml are
attached.

Thanks,

Phil


	

	
		
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger
sur http://fr.messenger.yahoo.com
Mime
View raw message