You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by David Jencks <da...@yahoo.com> on 2007/03/18 17:02:12 UTC

Is geronimo plugin support broken?

I was trying to get my local repo to act as a plugin repository last  
night and got this exception when I tried to use the command line  
install-plugin command, which makes me wonder if we broke plugin  
support?

This is with g. trunk.

$ java -jar bin/deployer.jar install-plugin ~/.m2/repository/org/ 
apache/geronimo/plugins/roller-derby-database/2.0-SNAPSHOT/roller- 
derby-database-2.0-SNAPSHOT.car
Exception in thread "main" java.lang.NullPointerException
         at  
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.getDep 
loyerName(AbstractDeployCommand.java:65)
         at  
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.<init> 
(AbstractDeployCommand.java:61)
         at  
org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager 
$1.<init>(RemoteDeploymentManager.java:208)
         at  
org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager.startI 
nstall(RemoteDeploymentManager.java:207)
         at  
org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager$ 
$FastClassByCGLIB$$f35307f7.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:127)
         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
(GBeanInstance.java:855)
         at org.apache.geronimo.kernel.basic.BasicKernel.invoke 
(BasicKernel.java:239)
         at org.apache.geronimo.kernel.KernelGBean.invoke 
(KernelGBean.java:342)
         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:127)
         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
(GBeanInstance.java:855)
         at org.apache.geronimo.kernel.basic.BasicKernel.invoke 
(BasicKernel.java:239)
         at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke 
(MBeanGBeanBridge.java:168)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke 
(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke 
(MetaDataImpl.java:220)
         at  
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke 
(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke 
(JmxMBeanServer.java:784)
         at javax.management.remote.rmi.RMIConnectionImpl.doOperation 
(RMIConnectionImpl.java:1408)
         at javax.management.remote.rmi.RMIConnectionImpl.access$100 
(RMIConnectionImpl.java:81)
         at javax.management.remote.rmi.RMIConnectionImpl 
$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
         at java.security.AccessController.doPrivileged(Native Method)
         at  
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation 
(RMIConnectionImpl.java:1348)
         at javax.management.remote.rmi.RMIConnectionImpl.invoke 
(RMIConnectionImpl.java:782)
         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:585)
         at sun.rmi.server.UnicastServerRef.dispatch 
(UnicastServerRef.java:294)
         at sun.rmi.transport.Transport$1.run(Transport.java:153)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages 
(TCPTransport.java:466)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run 
(TCPTransport.java:707)
         at java.lang.Thread.run(Thread.java:613)

thanks
david jencks


Re: Is geronimo plugin support broken?

Posted by Gianny Damour <gi...@optusnet.com.au>.
Hi,

I have just fixed this problem.

Thanks,
Gianny

On 19/03/2007, at 3:02 AM, David Jencks wrote:

> I was trying to get my local repo to act as a plugin repository  
> last night and got this exception when I tried to use the command  
> line install-plugin command, which makes me wonder if we broke  
> plugin support?
>
> This is with g. trunk.
>
> $ java -jar bin/deployer.jar install-plugin ~/.m2/repository/org/ 
> apache/geronimo/plugins/roller-derby-database/2.0-SNAPSHOT/roller- 
> derby-database-2.0-SNAPSHOT.car
> Exception in thread "main" java.lang.NullPointerException
>         at  
> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.getD 
> eployerName(AbstractDeployCommand.java:65)
>         at  
> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.<ini 
> t>(AbstractDeployCommand.java:61)
>

Re: Is geronimo plugin support broken?

Posted by Paul McMahan <pa...@gmail.com>.
I was able to install the welcome app as a plugin from my local repo
using the admin console, but I was not able to install that same
plugin using the CLI.   So I think the problem might be specific to
the CLI.

Best wishes,
Paul

On 3/18/07, David Jencks <da...@yahoo.com> wrote:
> I was trying to get my local repo to act as a plugin repository last
> night and got this exception when I tried to use the command line
> install-plugin command, which makes me wonder if we broke plugin
> support?
>
> This is with g. trunk.
>
> $ java -jar bin/deployer.jar install-plugin ~/.m2/repository/org/
> apache/geronimo/plugins/roller-derby-database/2.0-SNAPSHOT/roller-
> derby-database-2.0-SNAPSHOT.car
> Exception in thread "main" java.lang.NullPointerException
>          at
> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.getDep
> loyerName(AbstractDeployCommand.java:65)
>          at
> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.<init>
> (AbstractDeployCommand.java:61)
>          at
> org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager
> $1.<init>(RemoteDeploymentManager.java:208)
>          at
> org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager.startI
> nstall(RemoteDeploymentManager.java:207)
>          at
> org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager$
> $FastClassByCGLIB$$f35307f7.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:127)
>          at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
> (GBeanInstance.java:855)
>          at org.apache.geronimo.kernel.basic.BasicKernel.invoke
> (BasicKernel.java:239)
>          at org.apache.geronimo.kernel.KernelGBean.invoke
> (KernelGBean.java:342)
>          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:127)
>          at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
> (GBeanInstance.java:855)
>          at org.apache.geronimo.kernel.basic.BasicKernel.invoke
> (BasicKernel.java:239)
>          at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke
> (MBeanGBeanBridge.java:168)
>          at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke
> (DynamicMetaDataImpl.java:213)
>          at com.sun.jmx.mbeanserver.MetaDataImpl.invoke
> (MetaDataImpl.java:220)
>          at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke
> (DefaultMBeanServerInterceptor.java:815)
>          at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke
> (JmxMBeanServer.java:784)
>          at javax.management.remote.rmi.RMIConnectionImpl.doOperation
> (RMIConnectionImpl.java:1408)
>          at javax.management.remote.rmi.RMIConnectionImpl.access$100
> (RMIConnectionImpl.java:81)
>          at javax.management.remote.rmi.RMIConnectionImpl
> $PrivilegedOperation.run(RMIConnectionImpl.java:1245)
>          at java.security.AccessController.doPrivileged(Native Method)
>          at
> javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation
> (RMIConnectionImpl.java:1348)
>          at javax.management.remote.rmi.RMIConnectionImpl.invoke
> (RMIConnectionImpl.java:782)
>          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:585)
>          at sun.rmi.server.UnicastServerRef.dispatch
> (UnicastServerRef.java:294)
>          at sun.rmi.transport.Transport$1.run(Transport.java:153)
>          at java.security.AccessController.doPrivileged(Native Method)
>          at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
>          at sun.rmi.transport.tcp.TCPTransport.handleMessages
> (TCPTransport.java:466)
>          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run
> (TCPTransport.java:707)
>          at java.lang.Thread.run(Thread.java:613)
>
> thanks
> david jencks
>
>