karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Jira) <j...@apache.org>
Subject [jira] [Assigned] (KARAF-6766) pax-web port wrong
Date Thu, 08 Oct 2020 13:20:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-6766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré reassigned KARAF-6766:
-------------------------------------------

    Assignee:     (was: Jean-Baptiste Onofré)

> pax-web port wrong
> ------------------
>
>                 Key: KARAF-6766
>                 URL: https://issues.apache.org/jira/browse/KARAF-6766
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.9
>            Reporter: Niklas Neesen
>            Priority: Major
>              Labels: pax-web
>
> Pax-Web is started under the wrong port and not the port which is definied in the configfile
"org.ops4j.pax.web.cfg".  In the config the port 8181 is default configured and the log-message
says:
>  
> {code:java}
> 2020-06-16T17:05:32,567 | INFO  | paxweb-extender-2-thread-1 | AbstractConnector    
           | 126 - org.eclipse.jetty.util - 9.4.28.v20200408 | Started default@4a6298d4{HTTP/1.1,
(http/1.1)}{0.0.0.0:8080}
> {code}
> Steps to reproduce:
>  # Start a fresh Karaf 4.2.9
>  # Add activemq-repo: repo-add activemq 
>  # Install activemq-broker: feature:install activemq-broker
>  # Pax-Web is now running with port 8080 and not 8181 as expected 
> These steps works most of the time, but not everytime though.
> Another thing: When I try to edit the config-file "org.ops4j.pax.web.cfg" to set another
port the following message appears in the log:
> {code:java}
> 2020-06-17T09:26:02,379 | INFO | fileinstall-/home/nne01/karafs/apache-karaf-4.2.9/etc
| fileinstall | 10 - org.apache.felix.fileinstall - 3.6.6 | Updating configuration from org.ops4j.pax.web.cfg

> 2020-06-17T09:26:02,382 | ERROR | CM Configuration Updater (Update: pid=org.ops4j.pax.web)
| configadmin | 9 - org.apache.felix.configadmin - 1.9.16 | Cannot use configuration org.ops4j.pax.web
for [org.osgi.service.cm.ManagedService, id=174, bundle=153/mvn:org.ops4j.pax.web/pax-web-runtime/7.2.16]:
No visibility to configuration bound to mvn:org.apache.felix/org.apache.felix.fileinstall/3.6.6
> {code}
> The only thing to get this working is to move the config-file out of the etc-folder and
then move it back into the etc-folder...  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message