Hi, Unfortunatley the web.xml is too large for posting, but the header is as follows:-
<?xml version = '1.0' encoding = 'ISO-8859-1'?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <description>web.xml file for Services</description> <servlet> <servlet-name>GenericServices</servlet-name> <servlet-class>my.domain.gls.servlet.GenericServices</servlet-class> </servlet> . . . The web.xml currently conforms to 2.3 spec Your question suggests I may need to update to 2.4 with schema specified. So I'll give that a go Thanks >>> [EMAIL PROTECTED] 7/01/2004 9:56:45 a.m. >>> Howdy, Can you post your web.xml? Is it a 2.4 version with the schema specified? Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Carl Bailey [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 06, 2004 3:15 PM >To: [EMAIL PROTECTED] >Subject: Problem with Validator Task on TC5 client deployer > >Hi, > >I am trying to run the tc5 client deployer standalone to >pre-compile a web application , the application compiles fine, >however the validator task >throws the following error. >I have checked that the build directory contains a valid web.xml >under the WEB-INF directory, and that the correct path to the >application is passed to the validator task. I notice that the >java docs for org.apache.catalina.ant.ValidatorTask, suggest that >the validation uses XML schema Validation, does this require a >valid schema to be included in the web.xml > >Can anyone help or point me to additional docs on the >validatorTask > >[validator] 6/01/2004 16:34:22 >org.apache.commons.digester.Digester startElement >[validator] SEVERE: Begin event threw exception >[validator] java.lang.IndexOutOfBoundsException: Index: 0, Size: >0 >[validator] at >java.util.ArrayList.RangeCheck(ArrayList.java:508) >[validator] at java.util.ArrayList.get(ArrayList.java:320) >[validator] at >org.apache.commons.collections.ArrayStack.peek(Unknown Source) >[validator] at >org.apache.commons.digester.Digester.peek(Digester.java:2329) >[validator] at >org.apache.catalina.startup.SetPublicIdRule.begin(WebRuleSet.java:599) >[validator] at >org.apache.commons.digester.Rule.begin(Rule.java:200) >[validator] at >org.apache.commons.digester.Digester.startElement(Digester.java:1273) >[validator] at >org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown >Source) >[validator] at >org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown >Source) >[validator] at >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement( Unkn >own >Source) >[validator] at >org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRoo tEle >mentHook(Unknown >Source) >[validator] at >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi spat >cher.dispatch(Unknown >Source) >[validator] at >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn own >Source) >[validator] at >org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) >[validator] at >org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) >[validator] at >org.apache.xerces.parsers.XMLParser.parse(Unknown Source) >[validator] at >org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown >Source) >[validator] at >org.apache.commons.digester.Digester.parse(Digester.java:1548) >[validator] at >org.apache.catalina.ant.ValidatorTask.execute(ValidatorTask.java:144) >[validator] at >org.apache.tools.ant.Task.perform(Task.java:341) >[validator] at >org.apache.tools.ant.Target.execute(Target.java:309) >[validator] at >org.apache.tools.ant.Target.performTasks(Target.java:336) >[validator] at >org.apache.tools.ant.Project.executeTarget(Project.java:1339) >[validator] at >org.apache.tools.ant.Project.executeTargets(Project.java:1255) >[validator] at >org.apache.tools.ant.Main.runBuild(Main.java:609) >[validator] at >org.apache.tools.ant.Main.start(Main.java:196) >[validator] at >org.apache.tools.ant.Main.main(Main.java:235) > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- 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]
