Ticket #400 (closed Feature Request: fixed)

Opened 12 years ago

Last modified 12 years ago

Change port of deepamehta-karaf with config file

Reported by: JuergeN Owned by: jri
Priority: Major Milestone:
Component: DeepaMehta Karaf Distribution Version: 4.0.13
Keywords: Cc: dgf
Complexity: 1 Area: Runtime Environment
Module:

Description

I need to change the port of deepamehta-karaf without starting it. This must be handled through a config file. Otherwise it's really hard to install it on any server where 8080 is already in use (= a lot of servers ;-)).

Change History

comment:1 Changed 12 years ago by dgf

  • Status changed from new to accepted

as long as we use the Felix HTTP Extension, you have to place the configuration in a specific file

$ cat etc/org.apache.felix.http.cfg
org.apache.felix.http.enable = true
org.osgi.service.http.port = 18081

comment:2 Changed 12 years ago by dgf

  • Cc dgf added
  • Owner changed from dgf to jri
  • Complexity changed from 3 to 1
  • Status changed from accepted to assigned

please add a default HTTP server configuration in etc/org.apache.felix.http.cfg

comment:3 Changed 12 years ago by Jörg Richter

  • Status changed from assigned to closed
  • Resolution set to fixed

Karaf Distro: add HTTP config file (#400).

To change the HTTP port edit this file before starting Karaf:

./etc/org.apache.felix.http.cfg

Default port is 8080.

Close ticket 400.

Note: See TracTickets for help on using tickets.