• 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
Re: Deployment on GlassFish as a Servlet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deployment on GlassFish as a Servlet


  • Subject: Re: Deployment on GlassFish as a Servlet
  • From: William Sandner <email@hidden>
  • Date: Sat, 22 Mar 2008 16:06:36 +0100
  • Organization: CodeFab

Jerome Chan wrote:


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?

I believe your web.xml file is not validating against the J2EE deployment descriptor schema. The W3C provides a xml validation service here:

http://www.w3.org/2001/03/webdata/xsv

A several weeks ago I tried to do a similar task but deployed on Tomcat. I noticed several suspect areas in my generated deployment descriptor, but nobody answered my post. You might want to look out for the following areas in your web.xml:

1.  Note the double forward slashes

<param-name>WOAINSTALLROOT</param-name>
<param-value>//Library/WebObjects/Applications</param-value>

WEBINFROOT//Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
WEBINFROOT//Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar
...

2.  Note the double slash and the repeated WEB-INF/tlds


<taglib-uri>/WOtaglib</taglib-uri> <taglib-location>/WEB-INF/tlds//WEB-INF/tlds/WOtaglib_1_0.tld</taglib-location>

_______________________________________________
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


References: 
 >Deployment on GlassFish as a Servlet (From: Jerome Chan <email@hidden>)

  • Prev by Date: Re: Better start with Wonder than WO
  • Next by Date: Re: Prototype Boolean gives external type as a VARCHAR??
  • Previous by thread: Deployment on GlassFish as a Servlet
  • Next by thread: Using Design Patterns ???
  • Index(es):
    • Date
    • Thread