Hello Vincent,
Java web start works well with Felix.
Some tips to get you going:
- Sign the felix.jar bundle and give it all permissions by adding following lines to the .jnlp file
(the default settings will not work since Felix needs access to the file-system)
<security>
<all-permissions/>
</security>
- Tell Felix where he can find his config.properties file by setting the felix.config.properties
property in the .jnlp file
<property name="felix.config.properties" value="http://mywebserver.com/path of
felix/conf/config.properties"/>
<jar href="http://mywebserver.com/path to felix/bin/felix.jar"/>
- In the felix.properties file:
- you probably want to set a fixed cache profile:
felix.cache.profile=a_nice_profile_name
- use URL's to specify which other bundles to install: e.g. http://mywebserver.com/path to
felix/bundle/org.apache.felix.shell-1.1.0-SNAPSHOT.jar
- you probably DON'T want to install the Text User Interface bundle (Does not work here with
Java Web Start)
Good luck!
Bart
Vincente Cobra wrote:
Hi everybody,
I am looking for examples on how to deploy a Java Web Start application
using Felix framework. For now, I am using JPF(http://jpf.sourceforge.net).
JPF is a simple plugin framework. I don't have any problems with it but I
would like to use a standard architecture to deploy my plugins. This would
also be my first exposure to OSGI.
Is there a sample somewhere on how to deploy felix in a java web start
application?
Here is my current deployment information :
- The application starts and load the default plugins which are
embedded in the application
- Some plugins which are hosted in the user's machine are loaded later
Here are my questions?
- Will I be able to start plugins hosted on the user machine using
Java Web Start and Felix?
- Will felix be able to resolve all the plugins(embedded and hosted on
the client side)?
- Are there some parameters, configurations that I need to specify to
avoid security manager issues?
Yves Zoundi
http://xpontus.sourceforge.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]