felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-513) Unable to cache bundle: file:bundle when started in Cygwin from outside Felix home directory
Date Thu, 06 Mar 2008 15:00:59 GMT

    [ https://issues.apache.org/jira/browse/FELIX-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575730#action_12575730
] 

Richard S. Hall commented on FELIX-513:
---------------------------------------

As Karl says, this is the expected behavior. Since we do not have a fancy installer, we cannot
expand the bundle URL paths in conf/config.properties to be absolute paths. So you must be
in the Felix directory to start normally. However, if you edit conf/config.properties to have
your absolute paths in the bundle URLs, then you should be all set.

Where we could determine if the URL were relative and if so try to determine the install directory
and then construct an absolute URL from it, but I am not sure it is worth it. What do other
people think?

> Unable to cache bundle: file:bundle when started in Cygwin from outside Felix home directory
> --------------------------------------------------------------------------------------------
>
>                 Key: FELIX-513
>                 URL: https://issues.apache.org/jira/browse/FELIX-513
>             Project: Felix
>          Issue Type: Bug
>    Affects Versions: 1.0.3
>            Reporter: Jacek Laskowski
>
> jlaskowski@dev /cygdrive/c/oss/openejb3/container/openejb-core
> $ java -jar c\:/apps/felix/bin/felix.jar
> Welcome to Felix.
> =================
> Enter profile name: openejb
> Auto-properties install: org.osgi.framework.BundleException: Unable to cache bundle:
file:bundle/org.apache.felix.shell-1.0.0.jar
> Auto-properties install: org.osgi.framework.BundleException: Unable to cache bundle:
file:bundle/org.apache.felix.shell.tui-1.0.0.jar
> Auto-properties install: org.osgi.framework.BundleException: Unable to cache bundle:
file:bundle/org.apache.felix.bundlerepository-1.0.2.jar
> Auto-properties start: org.osgi.framework.BundleException: Unable to cache bundle: file:bundle/org.apache.felix.shell-1.0.0.jar
> Auto-properties start: org.osgi.framework.BundleException: Unable to cache bundle: file:bundle/org.apache.felix.shell.tui-1.0.0.jar
> Auto-properties start: org.osgi.framework.BundleException: Unable to cache bundle: file:bundle/org.apache.felix.bundlerepository-1.0.2.jar
> and stops.
> C:\apps\felix Wed 03/05/2008 22:41:59.21
> > java -jar bin/felix.jar
> Welcome to Felix.
> =================
> Enter profile name: openejb
> DEBUG: WIRE: 7.0 -> org.ungoverned.osgi.service.shell -> 7.0
> DEBUG: WIRE: 7.0 -> org.osgi.service.startlevel -> 0
> DEBUG: WIRE: 7.0 -> org.apache.felix.shell -> 7.0
> DEBUG: WIRE: 7.0 -> org.osgi.framework -> 0
> DEBUG: WIRE: 7.0 -> org.osgi.service.packageadmin -> 0
> DEBUG: WIRE: 8.0 -> org.apache.felix.shell -> 7.0
> DEBUG: WIRE: 8.0 -> org.osgi.framework -> 0
> -> DEBUG: WIRE: 9.0 -> org.osgi.framework -> 0
> DEBUG: WIRE: 9.0 -> org.osgi.service.obr -> 9.0
> DEBUG: WIRE: 9.0 -> org.apache.felix.shell -> 7.0
> -> version
> 1.0.3
> ->

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message