users@glassfish.java.net

Re: Utility JAR is shown as ApplicationClient

From: Markus KARG <karg_at_quipsy.de>
Date: Tue, 15 Apr 2008 08:38:28 +0200

Thanks a lot for your kind answer. As I already explained, yes, it was
my fault. The optiomal solution in my case (I do not have an
application.xml file, and I do not want to have one) is to put all the
utility jar files into the folder "lib" in the EAR, as explained in Java
EE spec EE.8.2.1.

Thanks, and have fun!
Markus

glassfish_at_javadesktop.org schrieb:
> Since you aren't using any deployment descriptors, I would guess that jCalendar.jar has a Main-Class entry in its manifest.
>
> The default behavior for Java EE 5 deployment in that situation is to assume that the jCalendar.jar is an app client jar.
>
> The way to make it clear to a Java EE 5 server, like GlassFish, is to add an application.xml file to you enterprise application that does not list jCalendar.jar anywhere.
>
> Note: once you add an application.xml file, it must be complete and describe all of the various Java EE modules that are part of your app.
>
> vbk
> [Message sent by forum member 'vbkraemer' (vbkraemer)]
>
> http://forums.java.net/jive/thread.jspa?messageID=269078
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
QUIPSY QUALITY GmbH & Co. KG
Ein Unternehmen der MES-Gruppe
Stuttgarter Strasse 23
D-75179 Pforzheim
Tel: 07231-9189-52
Fax: 07231-9189-59
www.quipsy.de
karg_at_quipsy.de
Registergericht Mannheim HRA 701214
Geschäftsführer: Nils Schroeder
Diese E-Mail enthält persönliche, vertrauliche und vor Weitergabe geschützte Informationen und ist ausschließlich für den vorgesehenen o.g. Empfänger (Adressaten) bestimmt. Falls Sie diese E-Mail versehentlich erhalten haben und nicht der vorgesehene Empfänger sind, bitten wir Sie, die E-Mail und deren Anhänge nicht aufzubewahren, nicht zu vervielfältigen, nicht zu nutzen und nicht weiterzugeben. Bitte informieren Sie uns als Absender über diesen Zustellungsfehler und löschen Sie die E-Mail.