geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Irving" <nirv...@darkedges.com>
Subject magicGBall.ear from Source Tree
Date Fri, 22 Jul 2005 06:36:05 GMT
Is magicGBall from the source tree a working ear file?

I suspect it is not as it does not have the openejb-jar.xml file, but then I
could be misunderstanding the requirements, as some say it is required
(hence my need to autogenerate from my project) and others not.

 

When I deploy on Geronimo 1.0M4 (not built from source, as it craps out when
I build) I get the following error

 

D:\java\appserver\geronimo>java -jar bin/deployer.jar deploy magicGball.ear

Username: system

Password: manager

Deployment failed

  Server reports: java.lang.NullPointerException

org.apache.geronimo.deployment.DeploymentException:
java.lang.NullPointerException

        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:213)

        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:60)

        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.jav
a:38)

        at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation
.java:142)

        at
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:844)

        at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanSer
verInterceptor.java:218)

        at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)

        at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanS
erverInterceptor.java:86)

        at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)

        at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)

        at
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(Cont
extClassLoaderMBeanServerInterceptor.java:205)

        at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079)

        at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:288)

        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.server.ReflectionMBeanInvoker.invokeImpl(ReflectionMBeanInvoker.java:15
2)

        at
mx4j.server.ReflectionMBeanInvoker.doInvoke(ReflectionMBeanInvoker.java:119)

        at
mx4j.server.ReflectionMBeanInvoker.invoke(ReflectionMBeanInvoker.java:54)

        at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanSer
verInterceptor.java:235)

        at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)

        at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanS
erverInterceptor.java:86)

        at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)

        at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)

        at
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(Cont
extClassLoaderMBeanServerInterceptor.java:205)

        at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079)

        at
mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:222)

        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:36)

        at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoke
r.java:98)

        at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectI
nvoker.java:32)

        at
mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoke
r.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(RMIConnectionSubje
ctInvoker.java:85)

        at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvok
er.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.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:7
01)

        at java.lang.Thread.run(Thread.java:534)

Caused by: java.lang.NullPointerException

        at
org.openejb.deployment.OpenEJBModuleBuilder.initContext(OpenEJBModuleBuilder
.java:308)

        at
org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20.invo
ke(<generated>)

        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)

        at
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.jav
a:38)

        at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation
.java:142)

        at
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:823)

        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(CGLibMethodIn
terceptor.java:112)

        at
org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$9e45a280
.initContext(<generated>)

        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARC
onfigBuilder.java:323)

        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e5
6ec6.invoke(<generated>)

        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)

        at
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.jav
a:38)

        at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation
.java:142)

        at
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:823)

        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(CGLibMethodIn
terceptor.java:112)

        at
org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$7a1ca0
ae.buildConfiguration(<generated>)

        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:174)

        ... 55 more

 

With GlueCode-SE-1.1 I get the following error

 

16:26:16,703 INFO  [Servlet] Initializing PortletContainer [pluto]...

org.apache.geronimo.common.DeploymentException: Cannot deploy ejb
application; No ejb deployer defined: magicGball-ejb.jar

        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBui
lder.java:456)

        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBui
lder.java:220)

        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARCo
nfigBuilder.java:115)

        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e5
6ec6.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:71
0)

        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)

        at
org.apache.geronimo.kernel.proxy.RawOperationInvoker.invoke(RawOperationInvo
ker.java:36)

        at
org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.intercept(ProxyMetho
dInterceptor.java:92)

        at
org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$661d6f
a5.getDeploymentPlan(<generated>)

        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:128)

        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:85)

        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:74
5)

        at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:299)

        at
com.gluecode.joe.console.standard.configmanager.DeploymentPortlet.processAct
ion(DeploymentPortlet.java:104)

        at
org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:216)

        at
org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:150)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

        at
org.apache.pluto.core.PortletServlet.service(PortletServlet.java:140)

 

        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)

        at
org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolder.java:
92)

        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebAppl
icationHandler.java:832)

        at
org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:171)

        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebAppl
icationHandler.java:823)

        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:473)

        at
org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:272)

        at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:161)

        at
org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.j
ava:120)

        at
org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.j
ava:68)

        at
org.apache.pluto.PortletContainerImpl.processPortletAction(PortletContainerI
mpl.java:148)

        at
org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processPortletA
ction(PortletContainerWrapperImpl.java:82)

        at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:128)

        at org.apache.pluto.portalImpl.Servlet.doPost(Servlet.java:154)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)

        at
org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolder.java:
92)

        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebAppl
icationHandler.java:832)

        at
org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:171)

        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebAppl
icationHandler.java:823)

        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:473)

        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)

        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)

        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext
.java:623)

        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)

        at org.mortbay.http.HttpServer.service(HttpServer.java:954)

        at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)

        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)

        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)

        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)

        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)

        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


Mime
View raw message