[ 
https://issues.apache.org/jira/browse/STANBOL-1419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14550232#comment-14550232
 ] 

Rupert Westenthaler edited comment on STANBOL-1419 at 5/19/15 11:02 AM:
------------------------------------------------------------------------

h2. Required changes for the WAR launcher

After the update to the newest Sling Launcher (Launchpad base version 
{{5.0.0-2.6.0}}; Launchpad Maven Plugin version {{2.3.2}} ) that uses the Felix 
HTTP version {{2.3.2}} one needs to add 
{{sling.system.packages.servletdescription=javax.servlet.descriptor;version=3.0.0}}
 to the {{sling.properties}} file. Otherwise the Felix HTTP service will refuse 
to start because of this missing dependency. Also adding the Felix Servlet API 
module does not work!

For doing so I decided to add a {{src/main/sling/commons.properties}} file to 
the module. Properties in this file are copied by the lanuchpad maven plugin to 
the sling.properties file. An other possibility would also be to add this as 
parameters to the {{web.xml}} file, but as this is a static configuration that 
MUST NOT be removed by a custom configuration in the {{web.xml}} I opted for 
the {{commons.properties}} file.

IMO is the fact that {{javax.servlet.descriptor;version=3.0.0}} is not added by 
default (e.g. by the Launchpad Maven Plugin) is a bug.


was (Author: rwesten):
h2. Required changes for the WAR launcher

After the update to the newest Sling Launcher (Launchpad base version 
{{5.0.0-2.6.0}}; Launchpad Maven Plugin version {{2.3.2}} ) that uses the Felix 
HTTP version {{2.3.2}} one needs to add 
{{sling.system.packages.servletdescription=javax.servlet.descriptor;version=3.0.0}}
 to the {{sling.properties}} file. Otherwise the Felix HTTP service will refuse 
to start because of this missing dependency. Also adding the Felix Servlet API 
module does not work!

For doing so I decided to add a {{src/main/sling/commons.properties}} file to 
the module. Properties in this file are copied by the lanuchpad maven plugin to 
the sling.properties file. An other possibility would also be to add this as 
parameters to the {{web.xml}} file, but as this is a static configuration that 
MUST NOT be removed by a custom configuration in the {{web.xml}} I opted for 
the {{commons.properties}} file.

IMO is the fact that {{javax.servlet.descriptor;version=3.0.0}} is not added by 
default a bug.

> Update common dependencies
> --------------------------
>
>                 Key: STANBOL-1419
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1419
>             Project: Stanbol
>          Issue Type: Task
>    Affects Versions: 1.0.0, 0.12.1
>            Reporter: Rupert Westenthaler
>            Assignee: Rupert Westenthaler
>
> For both active development branches {{trunk}} and {{release-0.12}} commonly 
> used dependencies need to be updated to current versions. 
> This especially includes
> * OSGI and Webconsole
> * Apache Sling (launchpad and installer framework)
> ** especially switching to the new Apache Sling Logger version
> * Clerezza
> ** also adapt 0.12 to use the clerezza provisioning instead
> * Apache Jena (esp. for {{release-0.12}})
> * Apache Marmotta
> * Apache Commons (esp. http components)
> * XML and Json libs (e.g. woodstox, jackson)
> This will not update Apache Solr (currently 4.4.0) nor Apache Tika.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to