You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Getty Images USA License <li...@gettyimages.com> on 2004/02/02 18:22:50 UTC

'Getty=001-016-299'Please help Console Problem in tomcat 5 .0.16

Hello and thank you for your email. We strive to respond to all email inquiries within one business day. If your issue cannot wait that long, please call us at 877-438-8966. Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. 

For reference, your assigned case ID is:1016299



-----Original Message-----
From: Aadi Deshpande [mailinglists@clubmom-inc.com]
Sent: Monday, Feb 2 2004 9:16AM
To: Tomcat Users List [tomcat-user@jakarta.apache.org]
Subject: Please help Console Problem in tomcat 5.0.16



i've always managed to get this error when i have spaces between the xml 
pi ( <?xml version="..." ?> ) and the start of the file. 
i'd check for that, and that you have no spaces at the '<?xml' and a 
space before the '?>' 

hope this helps, 

-a 



Avinash Sridhar wrote: 

>Hi, 
>  Thanks for the reply.How do I correct the invalid server.xml file. 
> 
>Kindly let me know. 
> 
> 
>server.xml file for the same directory structure. 
> 
><Context path="/sampleapp" docBase="sampleapp" debug="0" 
>reloadable="true"> 
></Context> 
> 
>Thanks 
>AS 
> 
> 
>On Mon, 02 Feb 2004 Bodycombe, Andrew wrote : 
>  
> 
>>This indicates your server.xml is invalid. 
>> 
>>-----Original Message----- 
>>From: Avinash Sridhar [ mailto:smartnash78@rediffmail.com <ma...@rediffmail.com> ] 
>>Sent: 02 February 2004 16:07 
>>To: tomcat-user@jakarta.apache.org 
>>Subject: Please help Console Problem in tomcat 5.0.16 
>> 
>> 
>>have my own directory as "sampleapp" which has the necessary structure 
>>    
>> 
>and 
>  
> 
>>the .class file is put into the following directory structure. 
>>classes/package1/structure/HelloServlet.class. 
>> 
>>All in the %TOMCAT% home directory. 
>> 
>>My question is in %TOMCAT%/conf/server.xml file how is the <Context> 
>></Context> tag written. 
>>I have written it like this........ 
>> 
>><Context path="/sampleapp" docBase="sampleapp" debug="0" 
>>    
>> 
>reloadable="true"> 
>  
> 
>></Context> 
>> 
>>The directory structure of sampleapp is as follows...... 
>>%TOMCAT%/webapps/sampleapp/WEB-INF/classes 
>>/lib 
>>/sourcefiles 
>>/web.xml. 
>>The classes directory has the structure like this.. 
>> 
>>classes/package1/structure/HelloServlet class file. 
>> 
>>My Web.xml file looks like this 
>> 
>>/************************ web.xml ************************************/ 
>> 
>><?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 <http://java.sun.com/dtd/web-app_2_3.dtd> "> 
>> 
>><web-app> 
>><display-name>Servlet 2.4 Examples</display-name> 
>><description> Servlet 2.4 Examples </description> 
>> 
>><!-- Servlet mapping start --> 
>><!-- Define servlets. i.e. bind a servlet name to a class --> 
>> 
>><servlet> 
>><servlet-name>HelloServlet</servlet-name> 
>><servlet-class>package1.structure.HelloServlet</servlet-class> 
>></servlet> 
>> 
>><!-- bind a servlet name to a URL (pattern) --> 
>><servlet-mapping> 
>><servlet-name>HelloServlet</servlet-name> 
>><url-pattern>/sampleapp</url-pattern> 
>></servlet-mapping> 
>> 
>><!-- Servlet mapping end --> 
>> 
>></web-app> 
>>/************************* web.xml ******************************/ 
>> 
>> 
>>/******************* Console error *********************/ 
>>Feb 2, 2004 8:33:19 AM org.apache.commons.digester.Digester fatalError 
>>SEVERE: Parse Fatal Error at line 3 column 6: The processing 
>>    
>> 
>instruction 
>  
> 
>>target 
>>matching "[xX][mM][lL]" is not allowed. 
>>/******************* Console error *********************/ 
>> 
>>Let me know if any changes are to be made. 
>> 
>>Help greatly apreciated. 
>> 
>>Thanks 
>>AS 
>> 
>>--------------------------------------------------------------------- 
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org 
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org 
>>    
>> 
>> 
> 
>  
> 


--------------------------------------------------------------------- 
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org 
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org 



=======================================================
This email and its contents are confidential. If you
are not the intended recipient, please do not disclose
or use the information within this email or its
attachments. If you have received this email in error,
please delete it immediately. Thank you.
=======================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org