Cool. Thank you! 2011/3/28 Rupert Westenthaler <[email protected]>: > yes by adding a config file to the /resource/config/ directory in the launcher > > The name of the file must be "<component-name>.cfg" > It uses the normal java properties syntax > > So I think what you need is a file with the name > > "org.apache.stanbol.enhancer.jersey.JerseyEndpoint.cfg" > and the contents > org.apache.stanbol.enhancer.jersey.alias=/stanbol > > You might also want to change the root of the entityhub to > stanbol/entityhub by adding a configuration like > > "org.apache.stanbol.entityhub.jerseyJerseyEndpoint.cfg" > and the contents > org.apache.stanbol.entityhub.jersey.alias=/stanbol/entityhub > > > best > Rupert > > On Mon, Mar 28, 2011 at 12:43 PM, Fabian Christ > <[email protected]> wrote: >> Hi, >> >> a question for Stanbol integrators: >> >> Is there a way to reconfigure bundles and change their default >> configuration when they are starting in another environment? >> >> My setting: >> I'm integrating Stanbol into a software stack. I create my own sling >> based launcher which bundles Stanbol along with further components >> that are not part of Stanbol. The problem is that Stanbol registers a >> HttpService at "/" and blocks the root URL for other bundles. This can >> be reconfigured, once Stanbol is started, by changing the alias in >> Stanbol using the OSGI console. But is there a way to change this >> default value from outside Stanbol to another alias before Stanbol is >> started? >> >> Best, >> - Fabian >> > > > > -- > | Rupert Westenthaler [email protected] > | Bodenlehenstraße 11 ++43-699-11108907 > | A-5500 Bischofshofen >
-- Fabian
