You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2010/04/16 15:48:25 UTC
[jira] Created: (SLING-1491) Use Felix HttpService instead of Pax
Web as the default httpservice provider in maven-launchpad-plugin
Use Felix HttpService instead of Pax Web as the default httpservice provider in maven-launchpad-plugin
------------------------------------------------------------------------------------------------------
Key: SLING-1491
URL: https://issues.apache.org/jira/browse/SLING-1491
Project: Sling
Issue Type: Improvement
Components: Maven Plugins
Reporter: Justin Edelson
Assignee: Justin Edelson
Fix For: Maven Launchpad Plugin 2.0.6
should also ensure documentation is clear about how to use pax instead.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (SLING-1491) Use Felix HttpService instead of Pax
Web as the default httpservice provider in maven-launchpad-plugin
Posted by "Mike Moulton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860373#action_12860373 ]
Mike Moulton commented on SLING-1491:
-------------------------------------
With this change you will no longer be able to install the sling 'feature' in servicemix 4.2 or fuse 4.2 as PAX is the default HTTPService whiteboard provider.
What are the possibilities of having a servicemix compatible feature generated by the launchpad plugin that uses PAX?
> Use Felix HttpService instead of Pax Web as the default httpservice provider in maven-launchpad-plugin
> ------------------------------------------------------------------------------------------------------
>
> Key: SLING-1491
> URL: https://issues.apache.org/jira/browse/SLING-1491
> Project: Sling
> Issue Type: Improvement
> Components: Maven Plugins
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: Maven Launchpad Plugin 2.0.6
>
>
> should also ensure documentation is clear about how to use pax instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1491) Use Felix HttpService instead of Pax
Web as the default httpservice provider in maven-launchpad-plugin
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson resolved SLING-1491.
-----------------------------------
Resolution: Fixed
done in r934949
> Use Felix HttpService instead of Pax Web as the default httpservice provider in maven-launchpad-plugin
> ------------------------------------------------------------------------------------------------------
>
> Key: SLING-1491
> URL: https://issues.apache.org/jira/browse/SLING-1491
> Project: Sling
> Issue Type: Improvement
> Components: Maven Plugins
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: Maven Launchpad Plugin 2.0.6
>
>
> should also ensure documentation is clear about how to use pax instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1491) Use Felix HttpService instead of Pax
Web as the default httpservice provider in maven-launchpad-plugin
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860416#action_12860416 ]
Justin Edelson commented on SLING-1491:
---------------------------------------
I don't think that's related to this change.
I'll follow up in SLING-1499.
> Use Felix HttpService instead of Pax Web as the default httpservice provider in maven-launchpad-plugin
> ------------------------------------------------------------------------------------------------------
>
> Key: SLING-1491
> URL: https://issues.apache.org/jira/browse/SLING-1491
> Project: Sling
> Issue Type: Improvement
> Components: Maven Plugins
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: Maven Launchpad Plugin 2.0.6
>
>
> should also ensure documentation is clear about how to use pax instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1491) Use Felix HttpService instead of Pax
Web as the default httpservice provider in maven-launchpad-plugin
Posted by "Mike Moulton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860412#action_12860412 ]
Mike Moulton commented on SLING-1491:
-------------------------------------
Justin,
Maybe I'm installing the wrong feature. I'm installing:
features:addUrl mvn:org.apache.sling/org.apache.sling.launchpad/6-SNAPSHOT/xml/features
features:install sling
Note: webconsole and http are already installed at this point.
I'm getting many exceptions, but the first one I'm getting seems to be related to this features.xml file including:
<bundle>mvn:org.apache.felix/org.apache.felix.http.whiteboard/2.0.4</bundle>
I created SLING-1499 to track this and several other exceptions I'm seeing when installing this feature in SMX 4.2.
The exception is:
16:02:42,113 | INFO | l Console Thread | HttpServiceFactoryImpl | .internal.HttpServiceFactoryImpl 33 | Binding bundle: [org.apache.felix.http.whiteboard [220]] to http service
16:02:42,114 | INFO | l Console Thread | whiteboard | ? ? | Detected standard HttpService. Filters disabled.
16:02:42,115 | ERROR | l Console Thread | whiteboard | ? ? | Failed to register servlet
javax.servlet.ServletException: servlet already registered with a different alias
at org.ops4j.pax.web.service.spi.model.ServerModel.addServletModel(ServerModel.java:113)
at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:145)
at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:54)
at org.apache.felix.http.whiteboard.internal.manager.ServletMapping.register(ServletMapping.java:41)
at org.apache.felix.http.whiteboard.internal.manager.ExtenderManagerImpl.registerAll(ExtenderManagerImpl.java:176)
at org.apache.felix.http.whiteboard.internal.manager.ExtenderManagerImpl.setHttpService(ExtenderManagerImpl.java:154)
at org.apache.felix.http.whiteboard.internal.tracker.HttpServiceTracker.added(HttpServiceTracker.java:37)
at org.apache.felix.http.whiteboard.internal.tracker.HttpServiceTracker.added(HttpServiceTracker.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:896)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)
at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)
at org.apache.felix.http.whiteboard.internal.WhiteboardActivator.addTracker(WhiteboardActivator.java:56)
at org.apache.felix.http.whiteboard.internal.WhiteboardActivator.doStart(WhiteboardActivator.java:49)
at org.apache.felix.http.base.internal.AbstractActivator.start(AbstractActivator.java:41)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:661)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1756)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1678)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
at org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:294)
at org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:230)
at org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:226)
at org.apache.felix.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:51)
at org.apache.felix.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:39)
at org.apache.felix.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:34)
at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:45)
at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:211)
at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:146)
at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:91)
at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:75)
at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
at org.apache.felix.karaf.shell.console.jline.Console.run(Console.java:174)
at java.lang.Thread.run(Thread.java:637)
16:02:42,120 | INFO | l Console Thread | whiteboard | ? ? | Http service whiteboard started
> Use Felix HttpService instead of Pax Web as the default httpservice provider in maven-launchpad-plugin
> ------------------------------------------------------------------------------------------------------
>
> Key: SLING-1491
> URL: https://issues.apache.org/jira/browse/SLING-1491
> Project: Sling
> Issue Type: Improvement
> Components: Maven Plugins
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: Maven Launchpad Plugin 2.0.6
>
>
> should also ensure documentation is clear about how to use pax instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1491) Use Felix HttpService instead of Pax
Web as the default httpservice provider in maven-launchpad-plugin
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-1491.
-----------------------------------
> Use Felix HttpService instead of Pax Web as the default httpservice provider in maven-launchpad-plugin
> ------------------------------------------------------------------------------------------------------
>
> Key: SLING-1491
> URL: https://issues.apache.org/jira/browse/SLING-1491
> Project: Sling
> Issue Type: Improvement
> Components: Maven Plugins
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: Maven Launchpad Plugin 2.0.6
>
>
> should also ensure documentation is clear about how to use pax instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1491) Use Felix HttpService instead of Pax
Web as the default httpservice provider in maven-launchpad-plugin
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860393#action_12860393 ]
Justin Edelson commented on SLING-1491:
---------------------------------------
This change actually shouldn't impact the Sling feature - only the standalone version. The Sling Karaf feature assumes you already have an HttpService implementation available.
> Use Felix HttpService instead of Pax Web as the default httpservice provider in maven-launchpad-plugin
> ------------------------------------------------------------------------------------------------------
>
> Key: SLING-1491
> URL: https://issues.apache.org/jira/browse/SLING-1491
> Project: Sling
> Issue Type: Improvement
> Components: Maven Plugins
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: Maven Launchpad Plugin 2.0.6
>
>
> should also ensure documentation is clear about how to use pax instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.