geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viet Nguyen" <vhng...@gmail.com>
Subject Re: problems with installing plugin
Date Mon, 05 Nov 2007 02:11:11 GMT
I tried to install the AMQ plugin from the commandline and this is what I got:

vhnguy2@vhnguy2-desktop:~/g/trunk-clean/target/geronimo-jetty6-javaee5-2.1-SNAPSHOT/bin$
java -jar ./deployer.jar -u system -p manager install-plugin
/home/vhnguy2/Desktop/activemq.car
21:07:45,459 WARN  [ConfigurationUtil] Could not load gbean
org.apache.geronimo.configs/jsr88-deploymentfactory/2.1-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/jsr88-deploymentfactory/2.1-SNAPSHOT/car,j2eeType=AttributeStore,name=AttributeManager
java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
        at java.lang.Class.getMethod0(Class.java:2642)
        at java.lang.Class.getMethod(Class.java:1579)
        at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:237)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:245)
        at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:354)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:433)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:511)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.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:124)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$953213f.startConfiguration(<generated>)
        at org.apache.geronimo.kernel.util.MainBootstrapper.loadPersistentConfigurations(MainBootstrapper.java:56)
        at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainConfigurationBootstrapper.java:58)
        at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:38)
        at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
        at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/xml/stream/XMLStreamException
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
        at java.lang.Class.getMethod0(Class.java:2642)
        at java.lang.Class.getMethod(Class.java:1579)
        at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:237)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:245)
        at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:354)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:433)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:511)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.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:124)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$953213f.startConfiguration(<generated>)
        at org.apache.geronimo.kernel.util.MainBootstrapper.loadPersistentConfigurations(MainBootstrapper.java:56)
        at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainConfigurationBootstrapper.java:58)
        at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:38)
        at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
        at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

David, have you tried to install a plugin through the commandline?

Thanks,
Viet

On Nov 4, 2007 3:41 AM, David Jencks <david_jencks@yahoo.com> wrote:
>
> On Nov 3, 2007, at 1:48 PM, Viet Nguyen wrote:
>
> > Hi All,
> >
> > Since yesterday, when I pulled down the latest trunk with the new
> > structure, I have been unable to install any plugins. I get these
> > warnings from the server's console
> >
> > [INFO] 15:45:06,864 WARN  [PropertiesFileLoginModule] Ignoring option:
> > org.apache.geronimo.security.realm.GenericSecurityRealm.KERNEL. Not
> > supported.
> > [INFO] 15:45:06,865 WARN  [PropertiesFileLoginModule] Ignoring option:
> > org.apache.geronimo.security.realm.GenericSecurityRealm.CLASSLOADER.
> > Not supported.
> > [INFO] 15:45:06,865 WARN  [PropertiesFileLoginModule] Ignoring option:
> > org.apache.geronimo.security.realm.GenericSecurityRealm.SERVERINFO.
> > Not supported.
>
> These don't indicate that anything is wrong except perhaps that we
> are now checking too much in our login modules.
> >
> > and this error message from the terminal in which I tried to
> > install the plugin
> >
> > vhnguy2@vhnguy2-desktop:~/g/trunk/target/geronimo-tomcat6-
> > javaee5-2.1-SNAPSHOT/bin$
> > java -jar ./deployer.jar -u system -p manager install-plugin
> > /home/vhnguy2/Desktop/activemq.car
> > Checking for status every 1000ms:
> > Finished downloading
> > org.apache.geronimo.configs/activemq-broker/2.1-SNAPSHOT/car (32 kB)
> > (100%)
> > Installation FAILED: No server instance configuration set up for
> > name default
>
> I made a couple dumb mistakes in the ServerInstance gbean that I
> believe I've now fixed (rev 591737).  I could install a plugin using
> the console with these changes (most of which are not relevant to
> this problem).
> >
> > Is anyone else having this problem?
>
> I did :-)
>
> thanks for pointing this out!
> david jencks
>
> >
> > Thanks,
> > Viet
>
>

Mime
View raw message