Re: Deployment on GlassFish as a Servlet
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