Uploaded image for project: 'InsightEdge Platform'
  1. GS-13462

XAP Manager doesn't support com.gigaspaces.lib.opt.security system property for providing an alternative path for custom security JARs.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 12.1.1-patch5, 12.3
    • Labels:
      None
    • Platform:
      All
    • Acceptance Test:
      manual
    • Sprint:
    • Product:
      XAP
    • Edition:
      Premium

      Description

      It looks like that it doesn't support com.gigaspaces.lib.opt.security system property for providing an alternative path for custom security JARs.

      2018-01-10 08:54:57,482 REST SEVERE [ScalatraBootstrap] - Failed to create security manager; Caused by: com.gigaspaces.security.SecurityException: Failed to create Security Manager
              at com.gigaspaces.security.SecurityFactory.createSecurityManager(SecurityFactory.java:79)
              at com.gigaspaces.manager.rest.security.RestSecurityManager.<init>(RestSecurityManager.scala:37)
              at com.gigaspaces.manager.rest.security.RestSecurityManager$$anonfun$init$1.apply(RestSecurityManager.scala:55)
              at com.gigaspaces.manager.rest.security.RestSecurityManager$$anonfun$init$1.apply(RestSecurityManager.scala:54)
              at scala.util.Try$.apply(Try.scala:191)
              at com.gigaspaces.manager.rest.security.RestSecurityManager$.init(RestSecurityManager.scala:54)
              at AbstractScalatraBootstrap.init(AbstractScalatraBootstrap.scala:46)
              at ScalatraBootstrap.init(ScalatraBootstrap.scala:20)
              at org.scalatra.servlet.ScalatraListener.configureCycleClass(ScalatraListener.scala:66)
              at org.scalatra.servlet.ScalatraListener.contextInitialized(ScalatraListener.scala:22)
              at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:771)
              at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)
              at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:763)
              at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
              at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
              at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
              at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
              at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
              at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
              at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
              at org.eclipse.jetty.server.Server.doStart(Server.java:277)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
              at org.openspaces.launcher.JettyManagerRestLauncher.<init>(JettyManagerRestLauncher.java:89)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
              at java.lang.Class.newInstance(Class.java:442)
              at com.gigaspaces.internal.services.ServiceFactory.createService(ServiceFactory.java:39)
              at com.gigaspaces.start.SystemConfig.getCustomService(SystemConfig.java:631)
              at com.gigaspaces.start.SystemBoot.main(SystemBoot.java:283)
      Caused by: java.lang.ClassNotFoundException: com.ubs.ops.tess.security.ExtendedSpringSecurityManager
              at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
              at com.gigaspaces.classloader.CustomURLClassLoader.findClass(CustomURLClassLoader.java:63)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
              at com.gigaspaces.classloader.CustomURLClassLoader.loadClass(CustomURLClassLoader.java:56)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
              at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:430)
              at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383)
              at com.gigaspaces.security.SecurityFactory.createSecurityManager(SecurityFactory.java:73)
              ... 32 more

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: