dev@glassfish.java.net

Failure encountered while deploying enterprise application.

From: Yi Yang <yi.yang_at_oracle.com>
Date: Fri, 11 Mar 2011 17:35:12 +0800

Dear Experts,

I am currently working on certifying Oracle Mobile Server on Glassfish 3.1.

I encountered the following error while trying to manually deploying an
enterprise application (directory not an archive):

Error Message:
----------------
Exception while deploying the app [mobileserver] Deployment Descriptor
parsing failure : The content of element type "servlet" must match
"(icon?,servlet-name,display-name?,description?,(servlet-class Invalid
Deployment Descriptors in Deployment descriptor file WEB-INF/web.xml in
archive [webtogo]. Line 16 Column 13 -- The content of element type
"servlet" must match
"(icon?,servlet-name,display-name?,description?,(servlet-class =========
No upload needed.
origPath=c:\glassfish3\glassfish\mobile_oc4j\j2ee\mobileserver\applications\mobileserver,
filePath=c:\glassfish3\glassfish\mobile_oc4j\j2ee\mobileserver\applications\mobileserver
----------------

However, this application has been certified on Weblogic server.

I'd appreciate it greatly if you could kindly offer me some help!


Thanks very much!

Best regards,

Jerry Yang
Oracle BDB Group