2009/7/5 Jools <[email protected]>

> Hi James,
>
> You'll need write permissions in the directory you are executing in so that
> the cache directory can be made.
>
> Or you can specify the bundle cache dir as the first argument to the felix
> command.
>
> java -jar felix.jar <cachedir>
>

actually I think James just needs to use the following command:

   java -jar bin/felix.jar

from the directory above the "bin" directory - this is because the
Felix launcher is basic and does not try to guess where it's been
installed (you'll notice the example URLs are relative to the main
Felix installation directory)

[ http://felix.apache.org/site/apache-felix-usage-documentation.html ]

we would like to provide an 'installer' that could update the example
config file with the correct installed location, but other issues keep
taking precedence - of course if someone would like to contribute
a patch to provide a Felix installer (or improve the Felix launcher)
feel free to attach it to a new task/feature on JIRA

Alternatively, you can specify the location for the cache directory in the
> config.properties in the ./config dir.
>
> Hope it helps.
>
> Cheers,
>
> --Jools
>
> 2009/7/5 James Carroll <[email protected]>
>
> > I'm trying to get started with Felix and have run into a problem right
> > off the bat.  I downloaded the framework (the site said 1.8.1 was
> > available, but 1.8.0 seems to have come down), unzipped it, and tried to
> > start it up. Here's what I got:
> >
> > j...@cheyenne:~/Programs/Felix/felix-1.8.0/bin$ java -jar felix.jar
> >
> > Welcome to Felix.
> > =================
> >
> > Auto-properties install: org.osgi.framework.BundleException: Unable to
> > cache bundle: file:bundle/org.apache.felix.shell-1.2.0.jar
> > Auto-properties install: org.osgi.framework.BundleException: Unable to
> > cache bundle: file:bundle/org.apache.felix.shell.tui-1.2.0.jar
> > Auto-properties install: org.osgi.framework.BundleException: Unable to
> > cache bundle: file:bundle/org.apache.felix.bundlerepository-1.4.0.jar
> > Auto-properties start: org.osgi.framework.BundleException: Unable to
> > cache bundle: file:bundle/org.apache.felix.shell-1.2.0.jar
> > Auto-properties start: org.osgi.framework.BundleException: Unable to
> > cache bundle: file:bundle/org.apache.felix.shell.tui-1.2.0.jar
> > Auto-properties start: org.osgi.framework.BundleException: Unable to
> > cache bundle: file:bundle/org.apache.felix.bundlerepository-1.4.0.jar
> >
> >
> > Being kinda new I can't say where to begin to find out how to fix this
> > so if someone could point this noob in the right direction I would be
> > much obliged.
> >
> > Thanks,
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>

-- 
Cheers, Stuart

Reply via email to