You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Erin Mulder (JIRA)" <de...@geronimo.apache.org> on 2006/05/04 07:33:17 UTC

[jira] Resolved: (GERONIMO-1231) Error on startup: java.lang.NoClassDefFoundError at javax.crypto.Mac.getInstance...

     [ http://issues.apache.org/jira/browse/GERONIMO-1231?page=all ]
     
Erin Mulder resolved GERONIMO-1231:
-----------------------------------

    Resolution: Cannot Reproduce

Was unable to reproduce with:
  Operating System: SuSE Linux 10
  JVM: Sun 1.5.0_06
  G Version: 1.1-SNAPSHOT w/Jetty

Startup was successful:

  $ java -jar bin/server.jar
  Booting Geronimo Kernel (in Java 1.5.0_06)...
  Starting Geronimo Application Server v1.1-SNAPSHOT
  [**********************] 100%  20s Startup complete
  ...

It looks like this is an old issue that has been fixed in passing.

> Error on startup: java.lang.NoClassDefFoundError at javax.crypto.Mac.getInstance...
> -----------------------------------------------------------------------------------
>
>          Key: GERONIMO-1231
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1231
>      Project: Geronimo
>         Type: Improvement
>     Security: public(Regular issues) 
>   Components: kernel
>     Versions: 1.0-M5
>  Environment: Fedora Core 4.
> java version "1.5.0_04"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
>     Reporter: Greg Luck
>     Priority: Minor
>      Fix For: 1.x

>
> ./startup.sh
> Booting Geronimo Kernel (in Java 1.5.0_04)...
> Starting Geronimo Application Server
> [***********> ] 91%  11s Starting org/apache/geronimo/Console/Jetty   15:57:56,430 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: objectName="geronimo.server:J2EEApplication=org/apache/geronimo/Console/Jetty,J2EEModule=null,J2EEServer=geronimo,j2eeType=JACCManager,name=JACCManager"
> java.lang.NoClassDefFoundError
>         at javax.crypto.Mac.getInstance(DashoA12275)
>         at org.apache.geronimo.security.ContextManager.setAlgorithm(ContextManager.java:292)
>         at org.apache.geronimo.security.ContextManager.<clinit>(ContextManager.java:63)
>         at org.apache.geronimo.security.jacc.ApplicationPolicyConfigurationManager.<init>(ApplicationPolicyConfigurationManager.java:115)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:856)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:497)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:210)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:140)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:497)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:210)
>         at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:233)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:78)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:316)
> Exception in thread "main" java.lang.NoClassDefFoundError
>         at javax.crypto.Mac.getInstance(DashoA12275)
>         at org.apache.geronimo.security.ContextManager.setAlgorithm(ContextManager.java:292)
>         at org.apache.geronimo.security.ContextManager.<clinit>(ContextManager.java:63)
>         at org.apache.geronimo.security.jacc.ApplicationPolicyConfigurationManager.<init>(ApplicationPolicyConfigurationManager.java:115)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:856)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:497)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:210)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:140)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:497)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:210)
>         at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:233)
>         at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:78)
>         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:316)

-- 
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