• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Deployment on GlassFish as a Servlet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Deployment on GlassFish as a Servlet


  • Subject: Deployment on GlassFish as a Servlet
  • From: Jerome Chan <email@hidden>
  • Date: Sat, 22 Mar 2008 22:42:20 +0800

I made a simple hello world project wonder app and use the ant to create a war file.

I've tried deploying this war file on jetty and it worked but when I tried to deploy it on GlassFIsh, I get the following error message

javax.enterprise.system.tools.deployment| _ThreadID=14;_ThreadName=Timer-6;_RequestID=3d1c3432-8032-4e7a-a872- b3b5cd4df612;|Exception occured in J2EEC Phaseorg.xml.sax.SAXParseException: The content of element type "web- app" must match "(icon?,display- name?,description?,distributable?,context-param*,servlet*,servlet- mapping*,session-config?,mime-mapping*,welcome-file-list?,error- page*,taglib*,resource-ref*,security-constraint*,login- config?,security-role*,env-entry*,ejb-ref*)".
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [Arakis] Line 138 Column 11 -- Deployment descriptor file WEB-INF/web.xml in archive [Arakis]. The content of element type "web-app" must match "(icon?,display- name?,description?,distributable?,context-param*,servlet*,servlet- mapping*,session-config?,mime-mapping*,welcome-file-list?,error- page*,taglib*,resource-ref*,security-constraint*,login- config?,security-role*,env-entry*,ejb-ref*)".


I'm not familiar enough with servlets and j2ee to understand what is wrong with the web.xml file. Can anyone help or provide a hint?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Deployment on GlassFish as a Servlet
      • From: William Sandner <email@hidden>
  • Prev by Date: Re: db Model and EOModel
  • Next by Date: Re: Help with this db design
  • Previous by thread: Re: WOLips Outline
  • Next by thread: Re: Deployment on GlassFish as a Servlet
  • Index(es):
    • Date
    • Thread