tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Mixon" <>
Subject RE: Deploying Servlet Project from Windows to Fedora
Date Thu, 01 Dec 2005 15:02:43 GMT

I do not have reference for any such documentation. However in the past I
have been bit badly a number of times trying to move a web application from
Windows to Linux. The other way around works much more reliable.

The two issues that resolved my problem always ended up being:

1) Case sensitivity of file names. Windows will treat "/myApp" the same as
"/myapp" the same - so if you have been inconsistent in how you referred to
a file/path name this could be an issue with a "servlet not found" problem.

2) Line endings of text files - in SOME situations. Sometimes it does not
seem to matter, but to be sure I would recomment either running the
"dos2unix" utility against all of your text files (XML, JSP, HTML, etc) or
you can use the equivalent Ant task in your build process, something like:
        <fixcrlf srcdir="src-gen/web/WEB-INF/classes"

Hope this helps -Richard

> -----Original Message-----
> From: Aydın Toprak [] 
> Sent: Thursday, December 01, 2005 7:48 AM
> To:
> Subject: Deploying Servlet Project from Windows to Fedora
> Hii,
> I have developed web based project that covers many servlets 
> and uses Postgresql dataBase, on ;Windows platform...
> But I want to deploy the software to the Linux (Fedora Core 4  64) .. 
> However I havent been able to deploy the compleate project 
> correctly under the linux enviroment..
> Tomcat cant find my servlets and so do nothing...
> Should I modify the web.xml file of my own .. or  do 
> something different ? ..
> I am looking for some clear descriptions  or an accurate 
> documentation to do it...
> thanks....
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message