dev@glassfish.java.net

Re: unresolved dependency from rt.jar?

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 24 Jul 2008 07:24:23 +0530

Yes, you are right. That's one of my TODOs. I have the list for JRE 5
packages, it's just a matter of updating. Feel free to file a bug and
assign it to me. In the mean while, please update your local WS to test.

Thanks,
Sahoo

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