users@glassfish.java.net

Re: Ear deployment on Glassfish

From: <glassfish_at_javadesktop.org>
Date: Wed, 16 Jun 2010 00:08:11 PDT

Ok,

so I've done that

my ear contains
- lib (which contains now all 3rd party libs)
- META-INF (containing application.xml and MANIFEST.MF)
- session.jar (ejb-jar)
- tribalnets.war

when I deploy it, I get the error :

C:\glassfishv3\glassfish\bin>asadmin deploy c:\ear\tribalnets.ear
com.sun.enterprise.admin.cli.CommandException: remote failure: Exception while preparing the app : org.glassfish.deployment.common.DeploymentException
Module type not recognized

My application.xml is basic

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
<application>
        <display-name>tribalnets</display-name>
        <description>tribalnets</description>
        <module>
                <ejb>session.jar</ejb>
        </module>
        <module>
                <web>
                        <web-uri>tribalnets.war</web-uri>
                        <context-root>tribalnets</context-root>
                </web>
        </module>
</application>

Attached is the glashfish server log

Any other idea's ?

regards,

Rudi Welter
[Message sent by forum member 'ruwe']

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