Hi,

I'm trying to launch an application called SIPCommunicator (
http://sip-communicator.org/) which has a felix osgi framework from a web
link using JavaWebStart. I've followed a tutorial where all steps are
explained (felix.properties modifying, and jnlp file building etc), you can
see that tutorial in this link (
http://markmail.org/download.xqy?id=prjrzetbdkp5h4qp&number=1).

The tutorial says that you have to load all bundles from a folder and this
path is indicated in felix.properties. My folder is set in the localhost
forlder (I use the apache server to load all bundles required). But when I
launch the jnlp file I get this error:

Welcome to Felix.
=================

Auto-properties install: org.osgi.framework.BundleException: Unable to cache
bundle: reference:file:
http://localhost/SIPCommJWS/sc-bundles/argdelegation.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to cache
bundle: reference:file:
http://localhost/SIPCommJWS/sc-bundles/defaultresources.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to cache
bundle: reference:file:
http://localhost/SIPCommJWS/lib/bundle/org.apache.felix.bundlerepository-1.0.0.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to cache
bundle: reference:file:
http://localhost/SIPCommJWS/sc-bundles/configuration.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to cache
bundle: reference:file:
http://localhost/SIPCommJWS/sc-bundles/resourcemanager.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to cache
bundle: reference:file:
http://localhost/SIPCommJWS/sc-bundles/jfontchooserlib.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to cache
bundle: reference:file:
http://localhost/SIPCommJWS/sc-bundles/browserlauncher.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to cache
bundle: reference:file:
http://localhost/SIPCommJWS/sc-bundles/simpleaccreg.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to cache
bundle: reference:file:
http://localhost/SIPCommJWS/sc-bundles/protocol-rss.jar
....

It happens with all bundles the program has to load. It seems to me that
felix doesnt know where deploy the bundles, doesn't it?.

In the felix.properties file I have commented the line where I can set a
specific directory to deploy the bundles. So, all my bundles would deploy in
the default folder, i.e, felix-cache.

 This line is the following, joined with a example of felix.start bundle
calling:

felix.auto.start.75= \
 reference:file:http://localhost/SIPCommJWS/sc-bundles/argdelegation.jar

felix.auto.start.80= \
 reference:file:http://localhost/SIPCommJWS/sc-bundles/shutdown.jar

# Uncomment the following lines if you want to run the architect viewer
# bundle.
#oscar.auto.start.100= \
# file:lib/bundle/architectureviewer1.1.jar

#Specify the directory where oscar should deploy its bundles
#org.osgi.framework.storage=${net.java.sip.communicator.SC_HOME_DIR_LOCATION}/${net.java.sip.communicator.SC_HOME_DIR_NAME}/sip-communicator.bin

org.osgi.framework.startlevel=100
felix.startlevel.framework=100
felix.startlevel.bundle=100
#
# Bundle config properties.
#
#org.osgi.service.http.port=8080
#osgi.shell.telnet=on
#oscar.repository.url=file:/home/rickhall/projects/noscar/repository.xml
oscar.embedded.execution=true

Can anybody help me?? I'd appreciate a lot any help.

Thanks in advance.

Pedro

Reply via email to