Geronimo
  1. Geronimo
  2. GERONIMO-5335

ClassNotFoundException running 'geronimo stop'

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0-M1
    • Component/s: commands
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      I get the following CNFE when running the 'geronimo stop' command:

      2010-05-22 16:10:10,319 ERROR [AbstractEncryption] Unable to decrypt
      java.lang.ClassNotFoundException: org.apache.geronimo.deployment.cli.DeployUtils$SavedAuthentication
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
      at org.apache.felix.framework.ModuleImpl.searchDynamicImports(ModuleImpl.java:1554)
      at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:765)
      at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
      at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:247)
      at javax.crypto.SunJCE_i.resolveClass(DashoA13*..)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
      at javax.crypto.SealedObject.getObject(DashoA13*..)
      at org.apache.geronimo.crypto.AbstractEncryption.decrypt(AbstractEncryption.java:78)
      at org.apache.geronimo.crypto.EncryptionManager.decrypt(EncryptionManager.java:108)
      at org.apache.geronimo.deployment.cli.DeployUtils.readSavedCredentials(DeployUtils.java:171)
      at org.apache.geronimo.deployment.cli.StopServer.execute(StopServer.java:127)
      at org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107)
      at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:67)
      at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
      at org.apache.geronimo.cli.shutdown.ShutdownCLI.main(ShutdownCLI.java:32)

      Server stop does work, however.

        Activity

        Hide
        Jarek Gawor added a comment -

        Committed fixes to trunk (revision 947660) and 3.0-M1 branch (revision 947661). The shutdown command (or geronimo stop) should work fine now with stored geronimo credentials.

        Show
        Jarek Gawor added a comment - Committed fixes to trunk (revision 947660) and 3.0-M1 branch (revision 947661). The shutdown command (or geronimo stop) should work fine now with stored geronimo credentials.

          People

          • Assignee:
            Jarek Gawor
            Reporter:
            Kevan Miller
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development