Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-554

Cannot start Geronimo Server with J2EEDeployment plan

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • general
    • None
    • Windows XP

    Description

      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.

      Attachments

        1. j2eeDeployerPlan.patch
          0.6 kB
          Sandip Ghayal

        Activity

          People

            Unassigned Unassigned
            sghayal Sandip Ghayal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: