users@glassfish.java.net

Re: Utility JAR is shown as ApplicationClient

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Mon, 14 Apr 2008 09:20:57 -0400

Hi, Markus

   Did you happen to specify this utility jar as a <java> module in
application.xml, something like?
  <module>
    <java>jCalender.jar</java>
  </module>

   The <java> element is for specifying a java application client module:

     <xsd:element name="java"
                     type="javaee:pathType">
          <xsd:annotation>
            <xsd:documentation>

              The java element specifies the URI of a java
              application client module, relative to the top
              level of the application package.

            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>


- Hong

Markus KARG wrote:

> In my EAR there is a utility jar (jCalender.jar, a Swing component for
> calendars).
>
> Unfortunately, GlassFish's browser based admin console shows this
> jCalendar.jar as am Application Client Module. Actually it isn't an
> application client.
>
> How can I tell GlassFish that it shall not show that utility jar as an
> application client? Maybe I need to add some deployment descriptor?
>
> Thanks
> Markus
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>