users@glassfish.java.net

Re: Using optional packages in client

From: Tim Quinn <Timothy.Quinn_at_Sun.COM>
Date: Sat, 19 Apr 2008 18:01:29 -0500

Would my suggestion from the other (JMF) thread work here as well -
creating your own "wrapper" JAR that does declare an extension, and your
JAR's Class-Path would refer to the JDIC JAR?

It is a current limitation of the automatic Java Web Start support that
GlassFish will not support selective native library downloads.

Is it an option for you to create your own separate JNLP for installing
the JDIC and/or JMF? I know that's not at all ideal, but it might part
of the way of getting all this to work...

- Tim

Markus KARG wrote:
> In fact, this not closed the thread: Still I do not know how to use
> JDIC within my EAR. The problem is: JDIC is provided by Sun, but
> somehow they "forgot" to add a MANIFEST.MF extension declaration.
> Also, it is implemented a native DLL, so it cannot be bundled into the
> EAR.
>
> So, dear Sun, how can I use your JDIC stuff with your GlassFish stuff?
> ;-)
>
> Thanks
> Markus
>
> glassfish_at_javadesktop.org schrieb:
>> Just to close out this thread (also in the thread on the users
>> mailing list) it turns out that the JDIC JAR's manifest does not
>> declare the JAR to be an extension library, so the application Markus
>> is building cannot refer to it that way. I assume the same is true
>> of the other JARs he was having trouble with.
>>
>> The JavaDoc for the Manifest class has a link to the manifest file
>> format that explains in good detail how the extension library's
>> manifest must look and how another JAR's manifest can refer to the
>> extension.
>>
>> Thanks to Markus also for kindly opening an RFE issue
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=4787
>>
>> for GlassFish to issue a clearer message in this situation.
>> [Message sent by forum member 'tjquinn' (tjquinn)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=269755
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>> From - Thu
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>