[Added dev@, so that others can benefit]
Yes, even classes that are part of JRE need to be exported by someone.
Typically, it is done by System Bundle, i.e., the OSGi framework itself,
using org.osgi.framework.system.packages variable. We already use it in
felix/conf/config.properties file. Refer to section #3.8.5 of the OSGi
R4 spec.
Thanks,
Sahoo
Marina Vatkina wrote:
> Hi Sahoo,
>
> After a long time, I decided to test my JTS code (by copying jts...jar
> to glassfish/modules and 2 CORBA jars to glassfish/lib), and I'm
> getting the following error for a package that is part of the rt.jar:
>
> com.sun.enterprise.module.ResolveError: Failed to start
> org.glassfish.transaction.jts(JTS Implementation for
> Glassfish):10.0.0.SNAPSHOT
> ...
> Caused by: org.osgi.framework.BundleException: Unresolved package in
> bundle 60: package; (package=org.omg.PortableServer.POAPackage)
>
> Do you have any idea what is the actual problem?
>
> thanks,
> -marina