users@glassfish.java.net

JEE6 EAR with two WARs

From: Glenn Holmer <gholmer_at_weycogroup.com>
Date: Mon, 15 Feb 2010 12:59:36 -0600

I'm working on a JEE6 enterprise app, built with NetBeans. So far,
we've been building it with two subprojects: EJB and WAR. Now we want
to add a second war, which we successfully added to the enterprise
project. The EAR builds properly, and when we deploy it to GlassFish
V3, we see the EJB jar and two WARs in the destination directory on
GlassFish (...glassfish/domains/shadow/applications/phoenix-jee6). But
the new WAR file does not get expanded (i.e. it's not deployed).

Is this supposed to happen? Should we deploy the second WAR separately?
expand it in place? Or are we doing something wrong?

-- 
____________________________________________________________
Glenn Holmer                          gholmer_at_weycogroup.com
Software Engineer                        phone: 414-908-1809
Weyco Group, Inc.                          fax: 414-908-1601