Hey Bengt, On Sat, Feb 12, 2011 at 09:18:46AM +0100, Bengt Rodehav wrote: > Good morning Guillaume, > > Hope you got a few hours of sleep anyway. I'm also in GMT+1 (Stockholm) > and sleep too little but I'm not quite in your class.. > > I've seen a conversation in the Karaf forums where you've discussed how > to create custom servers more easily. That's a very interesting topic > for me. Ideally I would like to take a standard Karaf installation > without really having to modify any of the files but just add my custom > configuration. That way it would be so much easier to upgrade Karaf > versions. So, not wanting to edit startup.properties stem from that > desire. > > Things I would like to customize (with extension points, not by > modifying Karaf standard installation) are, among others:
Absolutely +1 > > - All names that are visible: title, NT service title and > description... You mean the branding at the startup? > - Memory requirements This is already possible for unix using system variable (export) but not for windows and not for all possible memory settings; or do you mean by a config file? (Maybe we can use something like source in our scripts?) > > - Other java options, especially system properties This is possible for karaf-2.2.x and above via export KARAF_OPTS. Or again, do you mean via a configuration file? (again something like source can be an option here) > - The use of environment variables to determine where I put my data > (log, Derby, configuration, etc). I don't want to have this as part of > the Karaf installation since it makes upgrades much harder. Typically you can easily adapt this via different configuration files in etc/. I'm not sure if I can imagaine what you have in mind here > - Bundles to load at startup (startup.properties) AFAIK this is possible via a custom.properties file > - Features to install. Here I actually just > overwrite org.apache.karaf.features.cfg with my own which I think is > OK. I'm also of the opinion that this is ok > There are probably a few more things that I customize that I can't > recall just now. However, upgrading the Karaf version is a lot of work > which is why I would really like it to be easier to customize the > installation. Have you had any more discussions on this topic? Not sure, but now we have ;) kind regards andreas > > /Bengt > 2011/2/12 Guillaume Nodet <[1][email protected]> > > On Sat, Feb 12, 2011 at 00:38, Bengt Rodehav <[2][email protected]> > wrote: > > Ok, thanks. Is there know way to avoid having to modify > startup.properties > > then? > > Not really at startup. I think after a restart, things are > different > as the cglib bundle is already installed and should be used by the > framework. > > > (Do you never sleep or are we in different time zones?) > > GMT +1, and not much / enough sleep unfortunately ;-) > > > Den 12 feb 2011 00.15 skrev "Guillaume Nodet" <[3][email protected]>: > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: [4]http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > [5]http://fusesource.com > > References > > 1. mailto:[email protected] > 2. mailto:[email protected] > 3. mailto:[email protected] > 4. http://gnodet.blogspot.com/ > 5. http://fusesource.com/
pgpg59VZMhxyD.pgp
Description: PGP signature
