Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.1 CE GA2
    • Fix Version/s: 7.0.X EE, Master
    • Component/s: vLDAP
    • Labels:
      None

      Description

      LPS-65087 allows vLDAP to use both secure and non-secure ports for traffic, but it tries to initialize the secured port by default. If the user does not have a keystore specified, vLDAP will fail to deploy properly. By default, only the non-secure port should be opened and then the user can configure it as necessary.

      Steps to Reproduce
      1. Deploy vLDAP without creating a "mykeystore.cer" file
      2. Assert the stack trace is similar to the following:

      20:38:16,122 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:250] Processing vldap-web-7.0.0.1.war
      20:38:26,982 INFO  [fileinstall-/home/jonathan/deploy/70x/osgi/war][HookHotDeployListener:598] Hook for vldap-web was unregistered
      May 17, 2016 8:38:26 PM org.apache.catalina.core.ApplicationContext log
      INFO: Closing Spring root WebApplicationContext
      20:38:26,991 INFO  [fileinstall-/home/jonathan/deploy/70x/osgi/war][PluginPackageUtil:1006] Reading plugin package for vldap-web
      20:38:27,077 INFO  [fileinstall-/home/jonathan/deploy/70x/osgi/war][BundleStartStopLogger:38] STOPPED vldap-web_7.0.0.1 [542]
      20:38:27,090 INFO  [fileinstall-/home/jonathan/deploy/70x/osgi/war][BaseAutoDeployListener:42] Copying web plugin for /home/jonathan/deploy/70x/tomcat-7.0.27/temp/20160517203827078VGXTBHGF/vldap-web-7.0.0.1.war
      20:38:27,099 INFO  [fileinstall-/home/jonathan/deploy/70x/osgi/war][BaseDeployer:873] Deploying vldap-web-7.0.0.1.war
      20:38:27,323 INFO  [fileinstall-/home/jonathan/deploy/70x/osgi/war][BaseAutoDeployListener:50] Web plugin for /home/jonathan/deploy/70x/tomcat-7.0.27/temp/20160517203827078VGXTBHGF/vldap-web-7.0.0.1.war copied successfully
      20:38:32,362 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][HotDeployImpl:222] Deploying vldap-web from queue
      20:38:32,363 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][PluginPackageUtil:1006] Reading plugin package for vldap-web
      May 17, 2016 8:38:32 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      20:38:32,424 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][DefaultLdapCodecService:109] Registered pre-bundled control factory: 1.3.6.1.4.1.18060.0.0.1
      20:38:32,425 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][DefaultLdapCodecService:113] Registered pre-bundled control factory: 2.16.840.1.113730.3.4.7
      20:38:32,425 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][DefaultLdapCodecService:117] Registered pre-bundled control factory: 2.16.840.1.113730.3.4.2
      20:38:32,426 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][DefaultLdapCodecService:121] Registered pre-bundled control factory: 2.16.840.1.113730.3.4.18
      20:38:32,426 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][DefaultLdapCodecService:125] Registered pre-bundled control factory: 1.2.840.113556.1.4.319
      20:38:32,427 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][DefaultLdapCodecService:129] Registered pre-bundled control factory: 2.16.840.1.113730.3.4.3
      20:38:32,427 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][DefaultLdapCodecService:133] Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.10.1
      20:38:32,428 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:91] Registered pre-bundled control factory: 1.3.6.1.4.1.18060.0.0.1
      20:38:32,428 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:95] Registered pre-bundled control factory: 2.16.840.1.113730.3.4.7
      20:38:32,428 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:99] Registered pre-bundled control factory: 2.16.840.1.113730.3.4.2
      20:38:32,428 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:103] Registered pre-bundled control factory: 2.16.840.1.113730.3.4.18
      20:38:32,429 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:107] Registered pre-bundled control factory: 1.2.840.113556.1.4.319
      20:38:32,429 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:111] Registered pre-bundled control factory: 2.16.840.1.113730.3.4.3
      20:38:32,429 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:115] Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.10.1
      20:38:32,430 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:119] Registered pre-bundled control factory: 1.3.6.1.4.1.42.2.27.8.5.1
      20:38:32,430 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:124] Registered pre-bundled control factory: 2.16.840.1.113730.3.4.9
      20:38:32,430 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:129] Registered pre-bundled control factory: 2.16.840.1.113730.3.4.10
      20:38:32,431 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:133] Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.3
      20:38:32,431 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:137] Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.4
      20:38:32,432 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:141] Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.1
      20:38:32,432 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:145] Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.2
      20:38:32,433 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:149] Registered pre-bundled control factory: 1.2.840.113556.1.4.473
      20:38:32,433 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:153] Registered pre-bundled control factory: 1.2.840.113556.1.4.474
      20:38:32,434 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:157] Registered pre-bundled control factory: 1.2.840.113556.1.4.841
      20:38:32,435 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:166] Registered pre-bundled extended operation factory: 1.3.6.1.1.8
      20:38:32,435 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:170] Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.8
      20:38:32,436 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:174] Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.3
      20:38:32,437 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:178] Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.6
      20:38:32,438 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:182] Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.5
      20:38:32,439 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:186] Registered pre-bundled extended operation factory: 1.3.6.1.4.1.4203.1.11.1
      20:38:32,440 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:190] Registered pre-bundled extended operation factory: 1.3.6.1.4.1.4203.1.11.3
      20:38:32,440 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][CodecFactoryUtil:194] Registered pre-bundled extended operation factory: 1.3.6.1.4.1.1466.20037
      20:38:32,473 ERROR [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][LdapSslContextFactory:51] java.io.IOException: mykeystore.cer does not exist
      java.io.IOException: mykeystore.cer does not exist
      	at com.liferay.vldap.server.handler.util.LdapSslContextFactory._createServerSSLContext(LdapSslContextFactory.java:76)
      	at com.liferay.vldap.server.handler.util.LdapSslContextFactory.<init>(LdapSslContextFactory.java:48)
      	at com.liferay.vldap.server.handler.util.LdapSslContextFactory.<clinit>(LdapSslContextFactory.java:132)
      	at com.liferay.vldap.server.VLDAPServer.initSslFilter(VLDAPServer.java:138)
      	at com.liferay.vldap.server.VLDAPServer.initIoAcceptor(VLDAPServer.java:107)
      	at com.liferay.vldap.server.VLDAPServer.init(VLDAPServer.java:66)
      	at com.liferay.vldap.servlet.VLDAPContextListener.doPortalInit(VLDAPContextListener.java:51)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54)
      	at com.liferay.vldap.servlet.VLDAPContextListener.contextInitialized(VLDAPContextListener.java:39)
      	at com.liferay.portal.kernel.servlet.SecurePluginContextListener.instantiatingListener(SecurePluginContextListener.java:355)
      	at com.liferay.portal.kernel.servlet.SecurePluginContextListener.instantiatingListeners(SecurePluginContextListener.java:163)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener.doInvokeDeploy(ServletContextListenerHotDeployListener.java:73)
      	at com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener.invokeDeploy(ServletContextListenerHotDeployListener.java:37)
      	at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:233)
      	at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:102)
      	at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116)
      	at com.liferay.portal.kernel.servlet.SecurePluginContextListener.contextInitialized(SecurePluginContextListener.java:151)
      	at com.liferay.portal.osgi.web.wab.extender.internal.adapter.ServletContextListenerExceptionAdapter.contextInitialized(ServletContextListenerExceptionAdapter.java:51)
      	at sun.reflect.GeneratedMethodAccessor504.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.eclipse.equinox.http.servlet.internal.registration.ListenerRegistration$EventListenerInvocationHandler.invoke(ListenerRegistration.java:132)
      	at com.sun.proxy.$Proxy523.contextInitialized(Unknown Source)
      	at org.eclipse.equinox.http.servlet.internal.context.ContextController.doAddListenerRegistration(ContextController.java:359)
      	at org.eclipse.equinox.http.servlet.internal.context.ContextController.addListenerRegistration(ContextController.java:312)
      	at org.eclipse.equinox.http.servlet.internal.customizer.ContextListenerTrackerCustomizer.addingService(ContextListenerTrackerCustomizer.java:67)
      	at org.eclipse.equinox.http.servlet.internal.customizer.ContextListenerTrackerCustomizer.addingService(ContextListenerTrackerCustomizer.java:1)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
      	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:901)
      	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:917)
      	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:482)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:1001)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WabBundleProcessor.initListeners(WabBundleProcessor.java:525)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WabBundleProcessor.init(WabBundleProcessor.java:152)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WebBundleDeployer._initWabBundle(WebBundleDeployer.java:186)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WebBundleDeployer.doStart(WebBundleDeployer.java:106)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WabFactory$WABExtension.start(WabFactory.java:162)
      	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:482)
      	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:1)
      	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)
      	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:905)
      	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:165)
      	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:75)
      	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:67)
      	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:102)
      	at org.eclipse.osgi.container.Module.publishEvent(Module.java:461)
      	at org.eclipse.osgi.container.Module.start(Module.java:452)
      	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454)
      	at org.eclipse.osgi.container.ModuleContainer.applyDelta(ModuleContainer.java:717)
      	at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:491)
      	at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:437)
      	at org.eclipse.osgi.container.ModuleContainer.refresh(ModuleContainer.java:955)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1336)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1)
      	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
      20:38:32,482 ERROR [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][BasePortalLifecycle:47] java.lang.IllegalArgumentException: sslContext
      java.lang.IllegalArgumentException: sslContext
      	at org.apache.mina.filter.ssl.SslFilter.<init>(SslFilter.java:187)
      	at org.apache.mina.filter.ssl.SslFilter.<init>(SslFilter.java:177)
      	at com.liferay.vldap.server.VLDAPServer.initSslFilter(VLDAPServer.java:140)
      	at com.liferay.vldap.server.VLDAPServer.initIoAcceptor(VLDAPServer.java:107)
      	at com.liferay.vldap.server.VLDAPServer.init(VLDAPServer.java:66)
      	at com.liferay.vldap.servlet.VLDAPContextListener.doPortalInit(VLDAPContextListener.java:51)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54)
      	at com.liferay.vldap.servlet.VLDAPContextListener.contextInitialized(VLDAPContextListener.java:39)
      	at com.liferay.portal.kernel.servlet.SecurePluginContextListener.instantiatingListener(SecurePluginContextListener.java:355)
      	at com.liferay.portal.kernel.servlet.SecurePluginContextListener.instantiatingListeners(SecurePluginContextListener.java:163)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener.doInvokeDeploy(ServletContextListenerHotDeployListener.java:73)
      	at com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener.invokeDeploy(ServletContextListenerHotDeployListener.java:37)
      	at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:233)
      	at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:102)
      	at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116)
      	at com.liferay.portal.kernel.servlet.SecurePluginContextListener.contextInitialized(SecurePluginContextListener.java:151)
      	at com.liferay.portal.osgi.web.wab.extender.internal.adapter.ServletContextListenerExceptionAdapter.contextInitialized(ServletContextListenerExceptionAdapter.java:51)
      	at sun.reflect.GeneratedMethodAccessor504.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.eclipse.equinox.http.servlet.internal.registration.ListenerRegistration$EventListenerInvocationHandler.invoke(ListenerRegistration.java:132)
      	at com.sun.proxy.$Proxy523.contextInitialized(Unknown Source)
      	at org.eclipse.equinox.http.servlet.internal.context.ContextController.doAddListenerRegistration(ContextController.java:359)
      	at org.eclipse.equinox.http.servlet.internal.context.ContextController.addListenerRegistration(ContextController.java:312)
      	at org.eclipse.equinox.http.servlet.internal.customizer.ContextListenerTrackerCustomizer.addingService(ContextListenerTrackerCustomizer.java:67)
      	at org.eclipse.equinox.http.servlet.internal.customizer.ContextListenerTrackerCustomizer.addingService(ContextListenerTrackerCustomizer.java:1)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
      	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:901)
      	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:917)
      	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:482)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:1001)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WabBundleProcessor.initListeners(WabBundleProcessor.java:525)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WabBundleProcessor.init(WabBundleProcessor.java:152)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WebBundleDeployer._initWabBundle(WebBundleDeployer.java:186)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WebBundleDeployer.doStart(WebBundleDeployer.java:106)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WabFactory$WABExtension.start(WabFactory.java:162)
      	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:482)
      	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:1)
      	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)
      	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:905)
      	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:165)
      	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:75)
      	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:67)
      	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:102)
      	at org.eclipse.osgi.container.Module.publishEvent(Module.java:461)
      	at org.eclipse.osgi.container.Module.start(Module.java:452)
      	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454)
      	at org.eclipse.osgi.container.ModuleContainer.applyDelta(ModuleContainer.java:717)
      	at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:491)
      	at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:437)
      	at org.eclipse.osgi.container.ModuleContainer.refresh(ModuleContainer.java:955)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1336)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1)
      	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
      20:38:32,485 ERROR [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][HotDeployImpl:236] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering servlet context listeners for vldap-web
      com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering servlet context listeners for vldap-web
      	at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:38)
      	at com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener.invokeDeploy(ServletContextListenerHotDeployListener.java:40)
      	at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:233)
      	at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:102)
      	at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116)
      	at com.liferay.portal.kernel.servlet.SecurePluginContextListener.contextInitialized(SecurePluginContextListener.java:151)
      	at com.liferay.portal.osgi.web.wab.extender.internal.adapter.ServletContextListenerExceptionAdapter.contextInitialized(ServletContextListenerExceptionAdapter.java:51)
      	at sun.reflect.GeneratedMethodAccessor504.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.eclipse.equinox.http.servlet.internal.registration.ListenerRegistration$EventListenerInvocationHandler.invoke(ListenerRegistration.java:132)
      	at com.sun.proxy.$Proxy523.contextInitialized(Unknown Source)
      	at org.eclipse.equinox.http.servlet.internal.context.ContextController.doAddListenerRegistration(ContextController.java:359)
      	at org.eclipse.equinox.http.servlet.internal.context.ContextController.addListenerRegistration(ContextController.java:312)
      	at org.eclipse.equinox.http.servlet.internal.customizer.ContextListenerTrackerCustomizer.addingService(ContextListenerTrackerCustomizer.java:67)
      	at org.eclipse.equinox.http.servlet.internal.customizer.ContextListenerTrackerCustomizer.addingService(ContextListenerTrackerCustomizer.java:1)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
      	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:901)
      	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:917)
      	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:482)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:1001)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WabBundleProcessor.initListeners(WabBundleProcessor.java:525)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WabBundleProcessor.init(WabBundleProcessor.java:152)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WebBundleDeployer._initWabBundle(WebBundleDeployer.java:186)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WebBundleDeployer.doStart(WebBundleDeployer.java:106)
      	at com.liferay.portal.osgi.web.wab.extender.internal.WabFactory$WABExtension.start(WabFactory.java:162)
      	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:482)
      	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:1)
      	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)
      	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:905)
      	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:165)
      	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:75)
      	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:67)
      	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:102)
      	at org.eclipse.osgi.container.Module.publishEvent(Module.java:461)
      	at org.eclipse.osgi.container.Module.start(Module.java:452)
      	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454)
      	at org.eclipse.osgi.container.ModuleContainer.applyDelta(ModuleContainer.java:717)
      	at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:491)
      	at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:437)
      	at org.eclipse.osgi.container.ModuleContainer.refresh(ModuleContainer.java:955)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1336)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1)
      	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener.doInvokeDeploy(ServletContextListenerHotDeployListener.java:73)
      	at com.liferay.portal.deploy.hot.ServletContextListenerHotDeployListener.invokeDeploy(ServletContextListenerHotDeployListener.java:37)
      	... 66 more
      Caused by: java.lang.IllegalStateException: Unable to initialize portal
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:49)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54)
      	at com.liferay.vldap.servlet.VLDAPContextListener.contextInitialized(VLDAPContextListener.java:39)
      	at com.liferay.portal.kernel.servlet.SecurePluginContextListener.instantiatingListener(SecurePluginContextListener.java:355)
      	at com.liferay.portal.kernel.servlet.SecurePluginContextListener.instantiatingListeners(SecurePluginContextListener.java:163)
      	... 72 more
      Caused by: java.lang.IllegalArgumentException: sslContext
      	at org.apache.mina.filter.ssl.SslFilter.<init>(SslFilter.java:187)
      	at org.apache.mina.filter.ssl.SslFilter.<init>(SslFilter.java:177)
      	at com.liferay.vldap.server.VLDAPServer.initSslFilter(VLDAPServer.java:140)
      	at com.liferay.vldap.server.VLDAPServer.initIoAcceptor(VLDAPServer.java:107)
      	at com.liferay.vldap.server.VLDAPServer.init(VLDAPServer.java:66)
      	at com.liferay.vldap.servlet.VLDAPContextListener.doPortalInit(VLDAPContextListener.java:51)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
      	... 78 more
      20:38:32,488 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][HookHotDeployListener:474] Registering hook for vldap-web
      20:38:32,528 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][HookHotDeployListener:550] Hook for vldap-web is available for use
      20:38:32,640 INFO  [Refresh Thread: Equinox Container: 2068bf87-6d1c-0016-1ad4-e125c5d76f64][BundleStartStopLogger:35] STARTED vldap-web_7.0.0.1 [542]
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 19 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.X EE
                  Master