users@glassfish.java.net

Re: Ear deployment on Glassfish

From: <glassfish_at_javadesktop.org>
Date: Mon, 21 Jun 2010 07:43:15 PDT

This is a recurring source of confusion.

You should use the <java> module to identify app client modules, not library JARs, in your EAR. You are telling GlassFish that those libraries are actually app clients.

Library JARs should go into the EAR's library directory (/lib by default) but should not be listed in application.xml.

- Tim
[Message sent by forum member 'tjquinn']

http://forums.java.net/jive/thread.jspa?messageID=475152