Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-142409

SAML throws IllegalArgumentException at startup

Details

    Description

      Steps:

      1. Start up portal on Websphere

      Error

      [waitfor] 2021-11-12 01:41:10.149 ERROR [Start Level: Equinox Container: dcb2c0a3-f8c6-4d28-9b9b-01b0d3dd6994][OpenSamlBootstrap:93] bundle com.liferay.saml.opensaml.integration:5.3.12 (1252)[com.liferay.saml.opensaml.integration.internal.bootstrap.OpenSamlBootstrap(5350)] : The activate method has thrown an exception 
        [waitfor] java.lang.IllegalArgumentException: Provider org.apache.xerces.jaxp.validation.XMLSchemaFactory not found
        [waitfor] 	at javax.xml.validation.SchemaFactory.newInstance(Unknown Source) ~[?:?]
        [waitfor] 	at org.opensaml.core.xml.config.XMLConfigurator.<init>(XMLConfigurator.java:94) ~[?:?]
        [waitfor] 	at org.opensaml.core.xml.config.AbstractXMLObjectProviderInitializer.init(AbstractXMLObjectProviderInitializer.java:38) ~[?:?]
        [waitfor] 	at org.opensaml.core.xml.config.XMLObjectProviderInitializer.init(XMLObjectProviderInitializer.java:45) ~[?:?]
        [waitfor] 	at org.opensaml.core.config.InitializationService.initialize(InitializationService.java:56) ~[?:?]
        [waitfor] 	at com.liferay.saml.opensaml.integration.internal.bootstrap.OpenSamlBootstrap.bootstrap(OpenSamlBootstrap.java:52) ~[?:?]
        [waitfor] 	at com.liferay.saml.opensaml.integration.internal.bootstrap.OpenSamlBootstrap.activate(OpenSamlBootstrap.java:135) ~[?:?]
        [waitfor] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
        [waitfor] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90) ~[?:1.8.0]
        [waitfor] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[?:1.8.0]
        [waitfor] 	at java.lang.reflect.Method.invoke(Method.java:508) ~[?:1.8.0]
        [waitfor] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:228) ~[bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) ~[bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:664) ~[bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:510) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:310) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:300) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:341) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:114) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:983) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:956) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:756) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:666) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:432) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:665) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:339) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:381) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.Activator.access$200(Activator.java:49) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:263) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?]
        [waitfor] 	at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?]
        [waitfor] 	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:1) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:230) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:137) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:129) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:191) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.container.Module.publishEvent(Module.java:476) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.container.Module.start(Module.java:467) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [org.eclipse.osgi.jar:?]
        [waitfor] 	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [org.eclipse.osgi.jar:?]
      

      Attachments

        Issue Links

          Activity

            People

              joyce.wang Joyce Wang
              joyce.wang Joyce Wang
              Marta Elicegui Marta Elicegui
              Arthur Chen Arthur Chen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 10 weeks, 4 days ago

                Packages

                  Version Package
                  7.2.X
                  7.3.X
                  7.4.3.5 CE GA5
                  7.4.13 DXP U1
                  Master