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

Dragos Dascalita Haut commented on KARAF-1897:
----------------------------------------------

The reserve-network-port in combination with a custom config option for Karaf 
should allow you to configure another port. 
I.e.
{code}
new KarafDistributionConfigurationFilePutOption(
        "etc/org.ops4j.pax.web.cfg", // config file to modify based on 
karaf.base
        "org.osgi.service.http.port", // key to add or change
        "50000"), // value to add or change
{code}
                
> Use dynamic port allocation of integration tests
> ------------------------------------------------
>
>                 Key: KARAF-1897
>                 URL: https://issues.apache.org/jira/browse/KARAF-1897
>             Project: Karaf
>          Issue Type: Test
>          Components: karaf-test
>    Affects Versions: 3.0.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 3.1.0
>
>
> Currently the ports of the integration tests are the same as in a default 
> karaf installation. So it is impossible to run a karaf and also run a build 
> on the same machine. 
> So the easiest solution is to change the ports to new numbers. Additionally 
> it would be good to use dynamic free ports so even two builds can run at the 
> same time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to