Somewhat unrelated (though not entirely), but if you are looking for an easy way to launch OSGi frameworks like felix then you might want to checkout pax runner. http://paxrunner.ops4j.org/display/paxrunner/Documentation
It makes it very easy to simply create your bundles and put them in a dir and then execute them in felix or whatever framework you prefer. -AZ On Sun, Jul 5, 2009 at 5:24 PM, Jools<[email protected]> wrote: > Doh, yes. Should have read the message..... > > As you can tell, I'm a bit of a newbie here myself, but I recall at the osgi > conference there is an RFC for providing a standard way to laugh osgi > application frameworks. > > I assume Felix will be wanting something which follows this FRC ? > > --Jools > > > 2009/7/5 Stuart McCulloch <[email protected]> > >> 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 >> > -- Aaron Zeckoski (azeckoski (at) vt.edu) Senior Research Engineer - CARET - University of Cambridge https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski http://aaronz-sakai.blogspot.com/ - http://tinyurl.com/azprofile --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

