1 Reply Latest reply on Jul 3, 2017 1:02 PM by Tomaz Cerar

    Wildfly 10 and Apache Sling 6 Issue

    Shivanand Mutnale Newbie

      Hi,

       

      When we tried to deploy org.apache.sling.launchpad-6.war from Apache Download Mirrors  in Wildfly-10.1.0.Final  .Getting the following exception on server startup.

       

      017-04-18 16:25:16,173 ERROR [io.undertow.servlet] (ServerService Thread Pool -- 58) ERROR: Error parsing system bundle export statement: org.osgi.framework; version=1.5, org.osgi.framework.hooks.service; version=1.0, org.osgi.framework.launch; version=1.0, org.osgi.service.packageadmin; version=1.2, org.osgi.service.startlevel; version=1.1, org.osgi.service.url; version=1.0, org.osgi.util.tracker;version="1.4", org.apache.sling.launchpad.api;version=1.0.0, ,javax.servlet;javax.servlet.http;javax.servlet.resources; version=3.1 (java.lang.IllegalArgumentException: No paths specified in header: ): java.lang.IllegalArgumentException: No paths specified in header:

      at org.apache.felix.framework.util.manifestparser.ManifestParser.parseStandardHeaderClause(ManifestParser.java:1432)

      at org.apache.felix.framework.util.manifestparser.ManifestParser.parseStandardHeader(ManifestParser.java:1400)

      at org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:162)

      at org.apache.felix.framework.ExtensionManager.<init>(ExtensionManager.java:193)

      at org.apache.felix.framework.Felix.<init>(Felix.java:374)

      at org.apache.sling.launchpad.base.impl.SlingFelix.<init>(SlingFelix.java:39)

      at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:235)

      at org.apache.sling.launchpad.base.webapp.SlingBridge.<init>(SlingBridge.java:41)

      at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.init(SlingServletDelegate.java:203)

      at javax.servlet.GenericServlet.init(GenericServlet.java:244)

      at org.apache.sling.launchpad.webapp.SlingServlet.startSling(SlingServlet.java:358)

      at org.apache.sling.launchpad.webapp.SlingServlet.startSling(SlingServlet.java:300)

      at org.apache.sling.launchpad.webapp.SlingServlet.init(SlingServlet.java:111)

      at javax.servlet.GenericServlet.init(GenericServlet.java:244)

      at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)

      at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)

      at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)

      at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:250)

      at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:133)

      at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:546)

      at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:517)

      at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)

      at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

      at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

      at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

      at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

      at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

      at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

      at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:559)

      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)

      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

      at java.util.concurrent.FutureTask.run(FutureTask.java:266)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

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

      at org.jboss.threads.JBossThread.run(JBossThread.java:320)