geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: problems with installing plugin
Date Mon, 05 Nov 2007 22:05:57 GMT
You can make the online deployer work with this patch to framework/ 
config/jsr88-deploymentfactory/pom.xml:

Index: pom.xml
===================================================================
--- pom.xml     (revision 591736)
+++ pom.xml     (working copy)
@@ -70,6 +70,27 @@
              <artifactId>commons-jexl</artifactId>
          </dependency>

+        <!-- used by plugin installer -->
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.sun.xml.bind</groupId>
+            <artifactId>jaxb-impl</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>woodstox</groupId>
+            <artifactId>wstx-asl</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-activation_1.1_spec</artifactId>
+        </dependency>
      </dependencies>
      <build>

however the offline deployer still doesn't work.  I think there's  
something else wrong but I haven't figured out what.  It will  
probably be tomorrow before I get a good handle on what to do.  I've  
gotten rather confused about how the various deployer/jsr88 configs  
fit together and what is the actual bootstrap config for many of  
these "servers".  If I'm really lucky I'll be able to document some  
of this.

thanks
david jencks


On Nov 4, 2007, at 6:11 PM, Viet Nguyen wrote:

> 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.startConfiguration 
> GBeans(ConfigurationUtil.java:433)
>         at  
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start 
> (KernelConfigurationManager.java:187)
>         at  
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration(SimpleConfigurationManager.java:530)
>         at  
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration(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.loadPersistentConfigu 
> rations(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.startConfiguration 
> GBeans(ConfigurationUtil.java:433)
>         at  
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start 
> (KernelConfigurationManager.java:187)
>         at  
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration(SimpleConfigurationManager.java:530)
>         at  
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration(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.loadPersistentConfigu 
> rations(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