I did something wrong originally, typo or something, as sun.misc does
exist and it does appear to work. The problem now that it appears that
OpenEJB relies on the Geronimo connector jar which is not an OSGi
bundle.
-- Chad
On Dec 13, 2008, at 6:55 AM, Jacek Laskowski wrote:
On Mon, Nov 24, 2008 at 11:43 PM, Chad Skinner
wrote:
Has anyone had any luck deploying OpenEJB on the Felix OSGi runtime
on MacOS
X? I have been trying to get this to run, but have been getting an
error
when deploying the openejb-loader-3.1.jar file as it has a
dependency on the
sun.misc package? Does anyone know a work around for this?
Dunno if it could work, but what about declaring sun.misc as optional
(just change MANIFEST.MF and add ;optional)? It would get it deployed,
but at runtime funny things might pop up. If sun.misc package is
required it would make openejb unusable on other platforms where Sun
JDK is not available. I don't think it's the case and (without having
looked at the code) I think optional should let it go.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl