You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2007/12/10 07:25:43 UTC

[jira] Created: (GERONIMO-3690) All deployer command line tools fail with NoClassDefFoundError

All deployer command line tools fail with NoClassDefFoundError
--------------------------------------------------------------

                 Key: GERONIMO-3690
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3690
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.1
            Reporter: Jarek Gawor


C:\target>geronimo-jetty6-javaee5-2.1-SNAPSHOT\bin\deploy.bat list-targets
Using GERONIMO_BASE:   C:\target\geronimo-jetty6-javaee5-2.1-SNAPSHOT
Using GERONIMO_HOME:   C:\target\geronimo-jetty6-javaee5-2.1-SNAPSHOT
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME:        c:\Program Files\Java\jdk1.5.0_14\jre
01:08:28,656 WARN  [ConfigurationUtil] Could not load gbean org.apache.geronimo.
configs/online-deployer/2.1-SNAPSHOT/car?ServiceModule=org.apache.geronimo.confi
gs/online-deployer/2.1-SNAPSHOT/car,j2eeType=RemoteDeploymentManager,name=Module
ConfigurerRegistry
java.lang.NoClassDefFoundError: org/codehaus/plexus/archiver/ArchiverException
        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>(GBeanAttribut
e.java:237)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
java:245)
        at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
va:354)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:433)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
iguration(ConfigurationUtil.java:200)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
iguration(ConfigurationUtil.java:159)
        at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBoo
tConfiguration(MainConfigurationBootstrapper.java:84)
        at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain
(MainConfigurationBootstrapper.java:57)
        at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma
inConfigurationBootstrapper.java:38)
        at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
        at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31
)


Looks like plexus-archiver dependency was added to geronimo-system module but it was not added to the classpath of command line tools.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMO-3690) All deployer command line tools fail with NoClassDefFoundError

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor resolved GERONIMO-3690.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

Added plexus-archiver to the classpath of the deployer. Committed revision 603288.

This might not be the best solution as the plexus-archiver library will now also live in the lib/ directory. If there is a better solution (e.g. removing/reducing the plexus dependency) this fix can be reverted.


> All deployer command line tools fail with NoClassDefFoundError
> --------------------------------------------------------------
>
>                 Key: GERONIMO-3690
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3690
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.1
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
>             Fix For: 2.1
>
>
> C:\target>geronimo-jetty6-javaee5-2.1-SNAPSHOT\bin\deploy.bat list-targets
> Using GERONIMO_BASE:   C:\target\geronimo-jetty6-javaee5-2.1-SNAPSHOT
> Using GERONIMO_HOME:   C:\target\geronimo-jetty6-javaee5-2.1-SNAPSHOT
> Using GERONIMO_TMPDIR: var\temp
> Using JRE_HOME:        c:\Program Files\Java\jdk1.5.0_14\jre
> 01:08:28,656 WARN  [ConfigurationUtil] Could not load gbean org.apache.geronimo.
> configs/online-deployer/2.1-SNAPSHOT/car?ServiceModule=org.apache.geronimo.confi
> gs/online-deployer/2.1-SNAPSHOT/car,j2eeType=RemoteDeploymentManager,name=Module
> ConfigurerRegistry
> java.lang.NoClassDefFoundError: org/codehaus/plexus/archiver/ArchiverException
>         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>(GBeanAttribut
> e.java:237)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
> java:245)
>         at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
> va:354)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:433)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
> iguration(ConfigurationUtil.java:200)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
> iguration(ConfigurationUtil.java:159)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBoo
> tConfiguration(MainConfigurationBootstrapper.java:84)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain
> (MainConfigurationBootstrapper.java:57)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma
> inConfigurationBootstrapper.java:38)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
>         at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31
> )
> Looks like plexus-archiver dependency was added to geronimo-system module but it was not added to the classpath of command line tools.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-3690) All deployer command line tools fail with NoClassDefFoundError

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor reassigned GERONIMO-3690:
-------------------------------------

    Assignee: Jarek Gawor

> All deployer command line tools fail with NoClassDefFoundError
> --------------------------------------------------------------
>
>                 Key: GERONIMO-3690
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3690
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.1
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
>
> C:\target>geronimo-jetty6-javaee5-2.1-SNAPSHOT\bin\deploy.bat list-targets
> Using GERONIMO_BASE:   C:\target\geronimo-jetty6-javaee5-2.1-SNAPSHOT
> Using GERONIMO_HOME:   C:\target\geronimo-jetty6-javaee5-2.1-SNAPSHOT
> Using GERONIMO_TMPDIR: var\temp
> Using JRE_HOME:        c:\Program Files\Java\jdk1.5.0_14\jre
> 01:08:28,656 WARN  [ConfigurationUtil] Could not load gbean org.apache.geronimo.
> configs/online-deployer/2.1-SNAPSHOT/car?ServiceModule=org.apache.geronimo.confi
> gs/online-deployer/2.1-SNAPSHOT/car,j2eeType=RemoteDeploymentManager,name=Module
> ConfigurerRegistry
> java.lang.NoClassDefFoundError: org/codehaus/plexus/archiver/ArchiverException
>         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>(GBeanAttribut
> e.java:237)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
> java:245)
>         at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
> va:354)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:433)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
> iguration(ConfigurationUtil.java:200)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
> iguration(ConfigurationUtil.java:159)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBoo
> tConfiguration(MainConfigurationBootstrapper.java:84)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain
> (MainConfigurationBootstrapper.java:57)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma
> inConfigurationBootstrapper.java:38)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
>         at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31
> )
> Looks like plexus-archiver dependency was added to geronimo-system module but it was not added to the classpath of command line tools.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.