You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dan Klco (Jira)" <ji...@apache.org> on 2021/07/08 01:10:00 UTC
[jira] [Commented] (SLING-10589) Unable to set port parameter
[ https://issues.apache.org/jira/browse/SLING-10589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17376929#comment-17376929 ]
Dan Klco commented on SLING-10589:
----------------------------------
This is due to the change to use the Sling Feature Model Launcher between the 0.x and 1.x versions.
Note that you can change the port using the parameter:
-Dorg.osgi.service.http.port=${APP_PORT}
See:
https://github.com/apache/sling-org-apache-sling-app-cms/blob/master/vagrant/src/start.sh
> Unable to set port parameter
> ----------------------------
>
> Key: SLING-10589
> URL: https://issues.apache.org/jira/browse/SLING-10589
> Project: Sling
> Issue Type: Bug
> Components: App CMS
> Affects Versions: App CMS 1.0.2
> Reporter: James Raynor
> Priority: Minor
>
> Starting SlingCMS with the following command line is not valid:
> java -jar org.apache.sling.cms-1.0.2.jar -p 8081
> After testing, for example:
> java -jar org.apache.sling.cms-1.0.2.jar -pxxx 8081
> Show: -p <arg> Set home dir
> For now I can only set the port in Apache Felix Jetty Based Http Service.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)