You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Sandip Ghayal (JIRA)" <de...@geronimo.apache.org> on 2005/01/27 18:07:17 UTC

[jira] Created: (GERONIMO-554) Cannot start Geronimo Server with J2EEDeployment plan

Cannot start Geronimo Server with J2EEDeployment plan
-----------------------------------------------------

         Key: GERONIMO-554
         URL: http://issues.apache.org/jira/browse/GERONIMO-554
     Project: Apache Geronimo
        Type: Bug
  Components: general  
 Environment: Windows XP
    Reporter: Sandip Ghayal


When trying to start Geronimo with J2EEDeployer plan Server crashes with following exception

11:39:55,217 INFO  [ReadOnlyRepository] Repository root is file:/F:/geronimo/mod
ules/assembly/target/geronimo-1.0-SNAPSHOT/repository/
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/geronimo/c
ommon/DeploymentException
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
        at java.lang.Class.getMethod0(Class.java:1893)
        at java.lang.Class.getMethod(Class.java:976)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.<init>(GBeanOperatio
n.java:90)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
java:244)
        at org.apache.geronimo.kernel.Kernel.loadGBean(Kernel.java:327)
        at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.
java:221)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at org.apache.geronimo.gbean.runtime.GBeanInstance$GBeanLifecycleCallbac
k.doStart(GBeanInstance.java:763)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:318)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
nceState.java:113)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
BeanInstanceState.java:135)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
nstance.java:475)
        at org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:348
)
        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:154)

The reason for the issue is because geronimo-common-<version#>.jar is absent from the j2ee-deployer-plan.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-554) Cannot start Geronimo Server with J2EEDeployment plan

Posted by "Sandip Ghayal (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-554?page=history ]

Sandip Ghayal updated GERONIMO-554:
-----------------------------------

    Attachment: j2eeDeployerPlan.patch

I have modified J2eeDeployer plan to include common jar file and tested it to be working

> Cannot start Geronimo Server with J2EEDeployment plan
> -----------------------------------------------------
>
>          Key: GERONIMO-554
>          URL: http://issues.apache.org/jira/browse/GERONIMO-554
>      Project: Apache Geronimo
>         Type: Bug
>   Components: general
>  Environment: Windows XP
>     Reporter: Sandip Ghayal
>  Attachments: j2eeDeployerPlan.patch
>
> When trying to start Geronimo with J2EEDeployer plan Server crashes with following exception
> 11:39:55,217 INFO  [ReadOnlyRepository] Repository root is file:/F:/geronimo/mod
> ules/assembly/target/geronimo-1.0-SNAPSHOT/repository/
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/geronimo/c
> ommon/DeploymentException
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
>         at java.lang.Class.getMethod0(Class.java:1893)
>         at java.lang.Class.getMethod(Class.java:976)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.<init>(GBeanOperatio
> n.java:90)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
> java:244)
>         at org.apache.geronimo.kernel.Kernel.loadGBean(Kernel.java:327)
>         at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.
> java:221)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
> orAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
> onstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance$GBeanLifecycleCallbac
> k.doStart(GBeanInstance.java:763)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:318)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:113)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:135)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:475)
>         at org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:348
> )
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:154)
> The reason for the issue is because geronimo-common-<version#>.jar is absent from the j2ee-deployer-plan.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-554) Cannot start Geronimo Server with J2EEDeployment plan

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-554?page=all ]
     
David Jencks closed GERONIMO-554:
---------------------------------

    Resolution: Cannot Reproduce

I have not heard of anyone else having this problem

> Cannot start Geronimo Server with J2EEDeployment plan
> -----------------------------------------------------
>
>          Key: GERONIMO-554
>          URL: http://issues.apache.org/jira/browse/GERONIMO-554
>      Project: Geronimo
>         Type: Bug
>   Components: general
>  Environment: Windows XP
>     Reporter: Sandip Ghayal
>  Attachments: j2eeDeployerPlan.patch
>
> When trying to start Geronimo with J2EEDeployer plan Server crashes with following exception
> 11:39:55,217 INFO  [ReadOnlyRepository] Repository root is file:/F:/geronimo/mod
> ules/assembly/target/geronimo-1.0-SNAPSHOT/repository/
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/geronimo/c
> ommon/DeploymentException
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
>         at java.lang.Class.getMethod0(Class.java:1893)
>         at java.lang.Class.getMethod(Class.java:976)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.<init>(GBeanOperatio
> n.java:90)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
> java:244)
>         at org.apache.geronimo.kernel.Kernel.loadGBean(Kernel.java:327)
>         at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.
> java:221)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
> orAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
> onstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance$GBeanLifecycleCallbac
> k.doStart(GBeanInstance.java:763)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:318)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:113)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:135)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:475)
>         at org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:348
> )
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:154)
> The reason for the issue is because geronimo-common-<version#>.jar is absent from the j2ee-deployer-plan.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-554) Cannot start Geronimo Server with J2EEDeployment plan

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-554?page=comments#action_58173 ]
     
David Jencks commented on GERONIMO-554:
---------------------------------------

I think that there is a different problem in your setup.

The geronimo-common jar is already  on the j2ee-deployer classpath because it is in the startup classpath of the parent configuration.

See assembly maven.xml lines 218ff where bootstrap is using ${deploy.classpath}

In maven.xml lines 95ff deploy.classpath is constructed using the project.xml dependencies marked with "deploy"

in project.xml line 105 geronimo-common is marked with deploy.

Is it possible that you had an old copy of geronimo-common?  When DeploymentException was moved there it caused a lot of problems like this.

> Cannot start Geronimo Server with J2EEDeployment plan
> -----------------------------------------------------
>
>          Key: GERONIMO-554
>          URL: http://issues.apache.org/jira/browse/GERONIMO-554
>      Project: Apache Geronimo
>         Type: Bug
>   Components: general
>  Environment: Windows XP
>     Reporter: Sandip Ghayal
>  Attachments: j2eeDeployerPlan.patch
>
> When trying to start Geronimo with J2EEDeployer plan Server crashes with following exception
> 11:39:55,217 INFO  [ReadOnlyRepository] Repository root is file:/F:/geronimo/mod
> ules/assembly/target/geronimo-1.0-SNAPSHOT/repository/
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/geronimo/c
> ommon/DeploymentException
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
>         at java.lang.Class.getMethod0(Class.java:1893)
>         at java.lang.Class.getMethod(Class.java:976)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.<init>(GBeanOperatio
> n.java:90)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
> java:244)
>         at org.apache.geronimo.kernel.Kernel.loadGBean(Kernel.java:327)
>         at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.
> java:221)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
> orAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
> onstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance$GBeanLifecycleCallbac
> k.doStart(GBeanInstance.java:763)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:318)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:113)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:135)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:475)
>         at org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:348
> )
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:154)
> The reason for the issue is because geronimo-common-<version#>.jar is absent from the j2ee-deployer-plan.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira