• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Fatal Eorror

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I have created new application but when i start Tomcat 5.0 it prints the following error in DOS windown for my application while it loads all its other applications successfully and i can
use the examples of servlets & JSP.

Error is:

Installing web application at context path /myapp from URL D:/Jakarta-tomcat-5\webapps\myapp
jul 15,2004 11:50:00 AM org.appache.commons.digester.Digester fatal error
SEVER: Parse Fatal Eorror at line 2 column 6: The processing instruction target matching "[xX][mM][lL] is not allowed
org.xml.sax.SAXParse Exception: The processing instruction target matching
"[xX][mM][lL] is not allowed

Directory structure is,
/webapps/myapp/WEB-INF/web.xml
/webapps/myapp/WEB-INF/classes/ (all java classes are here)
/webapps/myapp/myapp.xml

---contents of myapp.xml---
<Context path="/myapp" docbase="" debug = "0" privileged="true">
</Context>

---contents of web.xml---
<web-app>
<servlet>
<servlet-name>s1</servlet-name>
<servlet-class>classes.homeservlet</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>s1</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
</web-app>

needs help.

Thnx
Naveed
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

SEVER: Parse Fatal Eorror at line 2 column 6: The processing instruction target matching "[xX][mM][lL] is not allowed


Apparently, it doesn't like that. Maybe what you mean is:

That's just a guess. I haven't messed around with Digest too much.
 
Naveed Ali
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nathaniel,

You might have misunderstood and not like that what
you have said but it is exactly like what i have written.
Any way, i need a quick solution. Can any body lists the steps
to create a new application using Tomcat 5.0 while not using the
default setup (servlets & invoker)???

thnx.

Naveed
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic