Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-616

When running on IBM JDK 1.5: java.security.NoSuchProviderException: no such provider: SUN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0
    • 1.2
    • Users/Security
    • None
    • Win32
      IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20070426 (JIT enabled)

    Description

      When running Archiva 1.0 on an IBM JDK, the following exception occurs. (Notice that IBM JDK must be used for running WebSphere.)

      jvm 1 | 2007-12-04 11:29:28,478 [SocketListener0-1] WARN org.codehaus.plexus.redback.keys.KeyManager:jdo - Unable t
      o use SecureRandom
      jvm 1 | java.security.NoSuchProviderException: no such provider: SUN
      jvm 1 | at sun.security.jca.GetInstance.getService(GetInstance.java:82)
      jvm 1 | at sun.security.jca.GetInstance.getInstance(GetInstance.java:206)
      jvm 1 | at java.security.SecureRandom.getInstance(SecureRandom.java:310)
      jvm 1 | at org.codehaus.plexus.redback.keys.AbstractKeyManager.generateUUID(AbstractKeyManager.java:67)
      jvm 1 | at org.codehaus.plexus.redback.keys.jdo.JdoKeyManager.createKey(JdoKeyManager.java:61)
      jvm 1 | at org.codehaus.plexus.redback.keys.cached.CachedKeyManager.createKey(CachedKeyManager.java:64)
      jvm 1 | at org.codehaus.plexus.redback.xwork.util.AutoLoginCookies.setSignonCookie(AutoLoginCookies.java:144)
      jvm 1 | at org.codehaus.plexus.redback.xwork.action.LoginAction.webLogin(LoginAction.java:350)
      jvm 1 | at org.codehaus.plexus.redback.xwork.action.LoginAction.login(LoginAction.java:136)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      jvm 1 | at java.lang.reflect.Method.invoke(Method.java:615)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192)
      jvm 1 | at org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor.intercept(SecureActionIntercept
      or.java:114)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at org.codehaus.plexus.redback.xwork.interceptor.PolicyEnforcementInterceptor.intercept(PolicyEnforcemen
      tInterceptor.java:105)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at org.codehaus.plexus.redback.xwork.interceptor.AutoLoginInterceptor.intercept(AutoLoginInterceptor.jav
      a:156)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at org.codehaus.plexus.redback.xwork.interceptor.ForceAdminUserInterceptor.intercept(ForceAdminUserInter
      ceptor.java:76)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at org.codehaus.plexus.redback.xwork.interceptor.EnvironmentCheckInterceptor.intercept(EnvironmentCheckI
      nterceptor.java:122)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.
      java:175)
      jvm 1 | at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)

      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
      jvm 1 | at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)

      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:174)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.webwork.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.ja
      va:169)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.
      java:186)
      jvm 1 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      jvm 1 | at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
      jvm 1 | at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:273)
      jvm 1 | at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
      jvm 1 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
      jvm 1 | at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
      jvm 1 | at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
      jvm 1 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
      jvm 1 | at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
      jvm 1 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
      jvm 1 | at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
      jvm 1 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
      jvm 1 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
      jvm 1 | at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
      jvm 1 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
      jvm 1 | at org.mortbay.http.HttpServer.service(HttpServer.java:909)
      jvm 1 | at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
      jvm 1 | at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
      jvm 1 | at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
      jvm 1 | at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
      jvm 1 | at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
      jvm 1 | at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              arned Arne Degenring
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: