dev@glassfish.java.net

Re: unresolved dependency from rt.jar?

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Wed, 23 Jul 2008 17:55:40 -0700

Hi Sahoo,

Shouldn't then all JRE packages be listed there by default? Otherwise how would
you add a bundle dynamically if it depends on any of those packages?

thanks,
-marina

Sahoo wrote:
> [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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>