[ 
https://issues.apache.org/jira/browse/GERONIMO-5335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jarek Gawor resolved GERONIMO-5335.
-----------------------------------

    Resolution: Fixed

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.


> ClassNotFoundException running 'geronimo stop'
> ----------------------------------------------
>
>                 Key: GERONIMO-5335
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5335
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 3.0
>            Reporter: Kevan Miller
>            Assignee: Jarek Gawor
>             Fix For: 3.0
>
>
> 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.

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

Reply via email to