Correst! How on earty did you find out that was the problem? I was pulling my hair out.
:> -G --- In [EMAIL PROTECTED], Laurie Harper <[EMAIL PROTECTED]> wrote: > > Your root element should be > > <web-app xmlns="http://java.sun.com/xml/ns/j2ee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" > version="2.4"> > > You're missing the public identifier part in the schema location. > > L. > > Bishop, Gregory (HAR-ORL) wrote: > > Here is the web.xml > > > > <?xml version="1.0" encoding="UTF-8"?> > > > > <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" id="WebApp_ID"> > > > > <display-name>pss7</display-name> > > > > <welcome-file-list> > > > > <welcome-file>ViewHome.jsp</welcome-file> > > > > </welcome-file-list> > > > > <context-param> > > > > <param-name>supportOrganizationName</param-name> > > > > <param-value>Harcourt Help Desk</param-value> > > > > </context-param> > > > > <context-param> > > > > <param-name>supportPhoneNumber</param-name> > > > > <param-value>1-407-345-3333</param-value> > > > > </context-param> > > > > <context-param> > > > > <param-name>supportEmailAddress</param-name> > > > > <param-value>[EMAIL PROTECTED]</param-value> > > > > </context-param> > > > > <filter> > > > > <display-name>ResponseOverrideFilter</display-name> > > > > <filter-name>ResponseOverrideFilter</filter-name> > > > > <filter- class>org.displaytag.filter.ResponseOverrideFilter</filter-class> > > > > </filter> > > > > <filter-mapping> > > > > <filter-name>ResponseOverrideFilter</filter-name> > > > > <url-pattern>*.do</url-pattern> > > > > </filter-mapping> > > > > <filter-mapping> > > > > <filter-name>ResponseOverrideFilter</filter-name> > > > > <url-pattern>*.jsp</url-pattern> > > > > </filter-mapping> > > > > <servlet> > > > > <display-name> > > > > ApplicationDataServlet</display-name> > > > > <servlet-name>ApplicationDataServlet</servlet-name> > > > > <servlet-class> > > > > com.harcourt.its.ecat.servlets.ApplicationDataServlet</servlet-class> > > > > <load-on-startup>1</load-on-startup> > > > > </servlet> > > > > <servlet> > > > > <display-name> > > > > TestServlet</display-name> > > > > <servlet-name>TestServlet</servlet-name> > > > > <servlet-class> > > > > com.harcourt.its.ecat.servlets.TestServlet</servlet- class> > > > > </servlet> > > > > <servlet> > > > > <servlet-name>TilesServet</servlet-name> > > > > <servlet- class>org.apache.tiles.web.startup.TilesServlet</servlet-class> > > > > <init-param> > > > > <param-name>definitions-config</param-name> > > > > <param-value>/WEB-INF/tiles-defs.xml</param- value> > > > > </init-param> > > > > <load-on-startup>3</load-on-startup> > > > > </servlet> > > > > <servlet> > > > > <description> > > > > Struts Action Servlet</description> > > > > <display-name> > > > > ActionServlet</display-name> > > > > <servlet-name>ActionServlet</servlet-name> > > > > <servlet-class> > > > > org.apache.struts.action.ActionServlet</servlet-class> > > > > <init-param> > > > > <description> > > > > </description> > > > > <param-name>config</param-name> > > > > <param-value>WEB-INF/struts-config.xml</param- value> > > > > </init-param> > > > > <init-param> > > > > <description> > > > > </description> > > > > <param-name>debug</param-name> > > > > <param-value>2</param-value> > > > > </init-param> > > > > <init-param> > > > > <description> > > > > </description> > > > > <param-name>detail</param-name> > > > > <param-value>2</param-value> > > > > </init-param> > > > > <init-param> > > > > <description> > > > > </description> > > > > <param-name>validate</param-name> > > > > <param-value>true</param-value> > > > > </init-param> > > > > <load-on-startup>2</load-on-startup> > > > > </servlet> > > > > <servlet-mapping> > > > > <servlet-name>ApplicationDataServlet</servlet-name> > > > > <url-pattern>/applicationdataservlet</url-pattern> > > > > </servlet-mapping> > > > > <servlet-mapping> > > > > <servlet-name>TestServlet</servlet-name> > > > > <url-pattern>/TestServlet</url-pattern> > > > > </servlet-mapping> > > > > <servlet-mapping> > > > > <servlet-name>ApplicationDataServlet</servlet-name> > > > > <url-pattern>/ApplicationDataServlet</url-pattern> > > > > </servlet-mapping> > > > > <servlet-mapping> > > > > <servlet-name>ActionServlet</servlet-name> > > > > <url-pattern>*.do</url-pattern> > > > > </servlet-mapping> > > > > <error-page> > > > > <error-code>403</error-code> > > > > <location>/ViewAuthorizationError.jsp</location> > > > > </error-page> > > > > <jsp-config> > > > > <jsp-property-group> > > > > <url-pattern>*.jsp</url-pattern> > > > > <el-ignored>false</el-ignored> > > > > </jsp-property-group> > > > > </jsp-config> > > > > <security-constraint> > > > > <web-resource-collection> > > > > <web-resource-name>AuthorizedUsers</web- resource-name> > > > > <url-pattern>/protected/*</url-pattern> > > > > <url-pattern>*.do</url-pattern> > > > > </web-resource-collection> > > > > <auth-constraint> > > > > <role-name>HSG-App-ECATi1-User</role-name> > > > > </auth-constraint> > > > > </security-constraint> > > > > <login-config> > > > > <auth-method>FORM</auth-method> > > > > <form-login-config> > > > > <form-login-page>/ViewLoginForm.jsp</form-login- page> > > > > <form-error-page>/ViewLoginError.jsp</form- error-page> > > > > </form-login-config> > > > > </login-config> > > > > <security-role> > > > > <description> > > > > Allows access to the entire application.</description> > > > > <role-name>HSG-App-ECATi1-User</role-name> > > > > </security-role> > > > > <resource-ref id="ResourceRef_1202394815391"> > > > > <description>Uncached datasource.</description> > > > > <res-ref-name>jdbc/ecatds</res-ref-name> > > > > <res-type>javax.sql.DataSource</res-type> > > > > <res-auth>Container</res-auth> > > > > <res-sharing-scope>Shareable</res-sharing-scope> > > > > </resource-ref> > > > > <resource-ref id="ResourceRef_1202394889594"> > > > > <description>Cached datasource.</description> > > > > <res-ref-name>jdbc/ecatdsCached</res-ref-name> > > > > <res-type>javax.sql.DataSource</res-type> > > > > <res-auth>Container</res-auth> > > > > <res-sharing-scope>Shareable</res-sharing-scope> > > > > </resource-ref> > > > > </web-app> > > > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > > Here is tha application.xml. > > > > <application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"> > > > > <display-name> > > > > pss7EAR</display-name> > > > > <icon> > > > > </icon> > > > > <module id="WebModule_1203970969679"> > > > > <web> > > > > <web-uri>pss7.war</web-uri> > > > > <context-root>pss</context-root> > > > > </web> > > > > </module> > > > > <security-role id="SecurityRole_1202326008024"> > > > > <description> > > > > Allows access to the entire application.</description> > > > > <role-name>HSG-App-ECATi1-User</role-name> > > > > </security-role> > > > > </application> > > > > I noticed the name spaces are the same, is that ok? > > > > Greg Bishop > > Senior Technical Analyst > > Publishing Technology > > Houghton Mifflin Harcourt > > 6277 Sea Harbor Drive > > Orlando, Florida 32887 > > 407.345.3873 (work) > > 321.276.8588 (cell) > > 407.345.4308 (fax) > > > > -----Original Message----- > > From: Santiago Fernández [mailto:[EMAIL PROTECTED] > > Sent: Monday, February 25, 2008 4:20 PM > > To: [EMAIL PROTECTED] > > Subject: Re: schemaLocation value ... must have even number of URI's. > > > > Can u copy the content of your web.xml here? > > > > On 2/25/08, javaskull <[EMAIL PROTECTED]> wrote: > >> org.xml.sax.SAXParseException: SchemaLocation: schemaLocation value > >> = 'http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd' must have even > >> number of URI's. > >> > >> Anyone know what this is about? I deleted my validator- rules.xml file > >> from web-inf because I didn't need to customize it and I have moved > >> from Struts 1.1 to 1.3. (That's OK right?) I also deleted Struts- > >> Tiles 1.38.jar because I am using Tiles 2. > >> > >> I also get > >> > >> org.xml.sax.SAXParseException: Attribute "schemaLocation" bound to > >> namespace "http://www.w3.org/2001/XMLSchema-instance" was already > >> specified for element "web-app". > >> > >> And it says it can't load web-inf. Any ideas? > >> > >> > >> ----------------------------------------------------------------- ---- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > > > -------------------------------------------------------------------- - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]