Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
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:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
Parse error on web.xml when deployed on Unix
M Conlin
Greenhorn
Posts: 15
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Locally on my windows xp machine my .war application works correctly.
When I deploy to unix I get the following error;
SEVERE: Parse error in default web.xml
org.xml.sax.SAXParseException: Premature end of file.
HOWEVER, if I "touch" the web.xml file
tomcat
is able to pick it up and parse it correctly and all is well.
Any thoughts? Thanks!
Merrill Higginson
Ranch Hand
Posts: 4864
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This is probably due to the different carriage return and line feed (CR/LF) characters used on Windows and Unix.
Here's a link that explains it:
http://usertools.plus.net/tutorials/id/22
My recommendation is to get a windows text editor that will allow you to save files bound for a Unix system with the proper CR/LF characters.
Merrill
Consultant,
Sima Solutions
Where all the women are strong, all the men are good looking and all the tiny ads are above average:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
SAXParseException
jsp compile error
Struts config works on windows, not on Unix
upload.parseRequest(request); giving null.
tomcat error
More...