Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Issue of AEM6 with SSO

Avatar

Level 2

Hello All,

As part of AEM 6.0  upgrade we are trying to install our own SSO bundles in new AEM 6.0 instance .While trying to install these bundles we are seeing the below error in AEM 6.0 , but the same are working in CQ5.5.Please let me know if one knows solution of this issue

 

25.09.2014 15:36:02.197 *ERROR* [Background Install /tmp/install5073607482362057938.tmp] com.wedgetail.idm.sso.util.CommonsSsoLogger Invalid License.

com.dstc.security.util.licensing.InvalidLicense: Error verifying license: Certificate verify failed!

        at com.dstc.security.util.licensing.LicenseValidator.verifyLicense(LicenseValidator.java:181)

        at com.dstc.security.util.licensing.LicenseValidator.checkAndCache(LicenseValidator.java:308)

        at com.dstc.security.util.licensing.LicenseValidator.check(LicenseValidator.java:330)

        at com.wedgetail.idm.sso.AbstractAuthenticator.initAuthenticator2(AbstractAuthenticator.java:348)

        at com.wedgetail.idm.sso.AbstractAuthenticator.initAuthenticator(AbstractAuthenticator.java:325)

        at com.wedgetail.idm.sso.AuthFilter.init(AuthFilter.java:131)

        at com.barcap.best.filter.BESTAuthFilter.init(BESTAuthFilter.java:193)

        at org.apache.felix.http.base.internal.handler.FilterHandler.init(FilterHandler.java:90)

       at org.apache.felix.http.base.internal.handler.HandlerRegistry.addFilter(HandlerRegistry.java:79)

        at org.apache.felix.http.base.internal.service.HttpServiceImpl.registerFilter(HttpServiceImpl.java:69)

        at org.apache.felix.http.whiteboard.internal.manager.FilterMapping.register(FilterMapping.java:69)

        at org.apache.felix.http.whiteboard.internal.manager.FilterMapping.register(FilterMapping.java:59)

        at org.apache.felix.http.whiteboard.internal.manager.ExtenderManager.registerMapping(ExtenderManager.java:261)

        at org.apache.felix.http.whiteboard.internal.manager.ExtenderManager.addMapping(ExtenderManager.java:243)

        at org.apache.felix.http.whiteboard.internal.manager.ExtenderManager.add(ExtenderManager.java:162)

        at org.apache.felix.http.whiteboard.internal.tracker.FilterTracker.added(FilterTracker.java:37)

        at org.apache.felix.http.whiteboard.internal.tracker.FilterTracker.added(FilterTracker.java:24)

        at org.apache.felix.http.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:36)

        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)

        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)

        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)

        at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)

        at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)

        at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:940)

        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:794)

        at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544)

        at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4425)

        at org.apache.felix.framework.Felix.registerService(Felix.java:3429)

        at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)

        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:1003)

        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:992)

        at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:134)

        at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:1044)

        at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:841)

        at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:419)

        at org.apache.felix.scr.impl.config.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:376)

        at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:172)

        at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:120)

        at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:258)

        at org.apache.felix.scr.impl.Activator.access$000(Activator.java:45)

        at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:185)

        at org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259)

        at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232)

        at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:479)

        at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:414)

        at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)

        at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:443)

        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:869)

        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:790)

        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:515)

        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4409)

        at org.apache.felix.framework.Felix.startBundle(Felix.java:2098)

        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)

        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)

        at org.apache.felix.webconsole.internal.core.InstallHelper.doRun(InstallHelper.java:67)

        at org.apache.felix.webconsole.internal.core.BaseUpdateInstallHelper.doRun(BaseUpdateInstallHelper.java:89)

        at org.apache.felix.webconsole.internal.core.BaseUpdateInstallHelper.run(BaseUpdateInstallHelper.java:121)

        at java.lang.Thread.run(Thread.java:745)

25.09.2014 15:36:02.198 *ERROR* [Background Install /tmp/install5073607482362057938.tmp] com.wedgetail.idm.sso.util.CommonsSsoLogger Error during initAuthenticator()

javax.servlet.ServletException: Invalid License.

        at com.wedgetail.idm.sso.AbstractAuthenticator.initAuthenticator2(AbstractAuthenticator.java:352)

        at com.wedgetail.idm.sso.AbstractAuthenticator.initAuthenticator(AbstractAuthenticator.java:325)

        at com.wedgetail.idm.sso.AuthFilter.init(AuthFilter.java:131)

        at com.barcap.best.filter.BESTAuthFilter.init(BESTAuthFilter.java:193)

        at org.apache.felix.http.base.internal.handler.FilterHandler.init(FilterHandler.java:90)

        at org.apache.felix.http.base.internal.handler.HandlerRegistry.addFilter(HandlerRegistry.java:79)

        at org.apache.felix.http.base.internal.service.HttpServiceImpl.registerFilter(HttpServiceImpl.java:69)

        at org.apache.felix.http.whiteboard.internal.manager.FilterMapping.register(FilterMapping.java:69)

        at org.apache.felix.http.whiteboard.internal.manager.FilterMapping.register(FilterMapping.java:59)

        at org.apache.felix.http.whiteboard.internal.manager.ExtenderManager.registerMapping(ExtenderManager.java:261)

        at org.apache.felix.http.whiteboard.internal.manager.ExtenderManager.addMapping(ExtenderManager.java:243)

        at org.apache.felix.http.whiteboard.internal.manager.ExtenderManager.add(ExtenderManager.java:162)

        at org.apache.felix.http.whiteboard.internal.tracker.FilterTracker.added(FilterTracker.java:37)

        at org.apache.felix.http.whiteboard.internal.tracker.FilterTracker.added(FilterTracker.java:24)

        at org.apache.felix.http.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:36)

        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)

        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)

        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)

        at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)

        at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)

        at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:940)

        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:794)

        at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544)

        at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4425)

        at org.apache.felix.framework.Felix.registerService(Felix.java:3429)

        at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)

        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:1003)

        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:992)

        at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:134)

        at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:1044)

1 Accepted Solution

Avatar

Correct answer by
Level 10

This is custom implementation issue.  The required properties either in form of system properties OR filter param is missing. Either due to dependency bundle is not installed and start up script does not have required variable to point to licence.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

This is custom implementation issue.  The required properties either in form of system properties OR filter param is missing. Either due to dependency bundle is not installed and start up script does not have required variable to point to licence.