2008/11/27 Chad Skinner <[EMAIL PROTECTED]> > It appears that I did something wrong when I tried this previously. I added > sun.misc to the 1.6 section of the system packages and it is working now. I > must have had a typo or something when I originally tried this. > > However, The OpenEJB core bundle will not load as it requires the > geronimo-connectors bundle and it appears that the jar distributed with > OpenEJB is not an OSGI bundle as it has no OSGi related MANIFEST > information. Does anyone know if there is a repository of the apache > projects that are packaged as OSGi bundles? >
I had a quick look at the Spring bundle repository ( http://www.springsource.com/repository/) they have the Geronimo kernel, but not the connectors - but you could ask them to add it: http://www.springsource.com/repository/app/faq#q9 otherwise you could try wrapping it using Bnd's wrap option ( http://aqute.biz/Code/Bnd#cmd) Thanks, > -- Chad > > On Nov 26, 2008, at 10:36 AM, Karl Pauls wrote: > > I do think that the sun.misc stuff is included in the MacOSX JVM -- >> hence, adding them to org.osgi.framework.system.packages.extra should >> work. Even if not, it should be ok because my guess would be that >> OpenEJB detects that case and still works but I might be wrong. >> >> regards, >> >> Karl >> >> On Wed, Nov 26, 2008 at 5:05 PM, Richard S. Hall <[EMAIL PROTECTED]> >> wrote: >> >>> Chad Skinner wrote: >>> >>>> >>>> I have been trying to get OpenEJB to load in Felix on MacOS X, but am >>>> having problems. I am new to OSGi and have been trying to see if I can >>>> get >>>> some of the foundational frameworks for our applications to load in an >>>> OSGi >>>> container. I have setup felix with the fileinstall bundle and have been >>>> copying the OpenEJB bundles into the install directory. It appears that >>>> most >>>> of these work until you get to the openejb-loader-3.1.jar and the >>>> bundles >>>> that depend on it. When this Bundle loads I get an error: >>>> >>>> Error while starting a newly installed bundle: >>>> org.osgi.framework.BundleException: Unresolved constraint in bundle 633: >>>> package; (package=sun.misc) >>>> >>>> I am assuming this means that something in the openejb loader bundle is >>>> relying on something in the sun.misc package that does not exist in the >>>> MacOS X JVM or JDK? >>>> >>>> Does anyone know if it is possible to get OpenEJB running in Felix on a >>>> Mac? >>>> >>> >>> Well, if it really has a dependency on Sun implementation packages, it >>> would >>> seem like it isn't possible, unless the Apple VM somehow includes Sun >>> impl >>> packages. Doesn't sound right. >>> >>> If OpenEJB normally runs on a Mac, then it should be possible to get it >>> working. >>> >>> If you want to just get it running to see what happens, modify >>> "org.osgi.framework.system.packages.extra" in conf/config.properties to >>> include "sun.misc". This should get OpenEJB to run, but once it requests >>> a >>> class from sun.misc, then you will get an exception. >>> >>> Otherwise, I'd suggest testing it under Linux. Get VirtualBox from Sun >>> and >>> then you can install a copy of Linux to do your testing. >>> >>> -> richard >>> >>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> >> >> -- >> Karl Pauls >> [EMAIL PROTECTED] >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Cheers, Stuart

