users@glassfish.java.net

Re: Ear deployment on Glassfish

From: <glassfish_at_javadesktop.org>
Date: Mon, 21 Jun 2010 07:36:46 PDT

Thanks fro the reply. The application.xml follows. As I mentioned, it worked as is in Glassfish v2u2.
Should all the jars rather go in the lib, instead of being packed in the .ear?

<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright (C) 1999-2005 Jorg Janke ComPiere, Inc.
 @version $Id: application.xml,v 1.3 2006/06/12 00:59:05 jjanke Exp $
-->
<application version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
        <description>Adempiere Applications</description>
        <display-name>adempiere</display-name>
        <module>
                <java>AdempiereSLib.jar</java>
        </module>
        <module>
                <java>Adempiere.jar</java>
        </module>
        <module>
                <java>adempiereApps.jar</java>
        </module>
        <module>
                <ejb>adempiereRoot.jar</ejb>
        </module>
        <module>
                <web>
                        <web-uri>adempiereRoot.war</web-uri>
                        <context-root>/admin</context-root>
                </web>
        </module>
        <module>
                <web>
                        <web-uri>adempiereApps.war</web-uri>
                        <context-root>/adempiere</context-root>
                </web>
        </module>
        <module>
                <web>
                        <web-uri>adempiereWebStore.war</web-uri>
                        <context-root>/wstore</context-root>
                </web>
        </module>
        <module>
                <web>
                        <web-uri>adempiereWebCM.war</web-uri>
                        <context-root>/</context-root>
                </web>
        </module>
        <module>
                <web>
                        <web-uri>posterita.war</web-uri>
                        <context-root>/posterita</context-root>
                </web>
        </module>
        <module>
                <web>
                        <web-uri>webui.war</web-uri>
                        <context-root>/webui</context-root>
                </web>
        </module>
</application>
[Message sent by forum member 'iandb']

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