Manjul,

If you copied the web.xml form the windows box, I wonder about 
end-of-lines.  The EOL char on windows is cr/lf while on UNIX it's 
simply lf.  I haven't had any experience with that issue in conjunction 
with tomcat, but it wrecks havoc with shell scripts, or perl, or 
anything that's basically an ASCII text.

I'd bring the wbe.xml file up in emacs or some other editor that'll 
that stuff, and if you see a bunch of ^M's, get rid of them and see if 
the problem persists.  I don't know if that will help, but if you 
copied the file from the windows box, that's the next place I'd look.

-- Rob


--On Thursday, March 15, 2001 12:08:52 AM +0530 Manjul Sahay 
<[EMAIL PROTECTED]> wrote:

> Hi Rob
> Thanks a lot.
>
> First of all it is reading web.xml , figured it out from logs( after
> making a few changes ;) ). But the problem which now persists is that
> it is not accepting values from web.xml (application's Web-inf/ one
> and not conf ) . For example,I have specified index.jsp in welcome
> file tags but it is simply making whole directory listing despite
> index.jsp being present. I have tried all options I can think of and
> definitely no typos, I guess.
>
> As about typos, one of the problems initially was that I copied
> directoris and were named Web-inf ( from Win ) and on linux it didnt
> work ;0 , had to rename to WEB-INF
> I thought I will just share.
>
> Thanks and hoping to hear more
>
> manjul
>
>
> WINNER never QUITS & QUITTERS never WIN !!
>
> Manjul Sahay
>
>  ( [EMAIL PROTECTED] )
>
>
>
>
> -----Original Message-----
> From: Rob Tanner [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 14, 2001 9:39 PM
> To: [EMAIL PROTECTED]
> Cc: Manjul Sahay
> Subject: Re: web.xml reading (?) problem
>
>
> Are you talking about the default web.xml in tomcat's conf directory,
> or an application specific web.xml in your application's WEB-INF
> directory?  Also, is there other evidence that the web.xml file is not
> beibg read (other specifications that are being ignored)?  You might
> also try setting permissions to 000 (instead of 777) to see if tomcat
> complains about not being able to read the file, and have you looked
> at the logs tomcat generates and have you up'd the logging level to
> get more detail?  The other thought that comes to mind is have you
> checked your spelling?  I'm an ace typo kinda guy, and whenever I
> have a really wierd problem (your's falls into that category), that's
> the first thing I look for -- oops, index starts with an "i" doesn't
> it!  And yup [sic], I do that kind of thing to myself all the time.
>
> -- Rob
> --On Wednesday, March 14, 2001 03:23:19 PM +0530 Manjul Sahay
> <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>> I am using Tomcat 3.1 on RedHat linux 6.0 system.
>> Tomcat is working fine with jsps being served.
>>
>> However, Tomcat does not seem to be reading the web.xml file in the
>> WEB-INF directory of the application contexts.
>> Even for the examples context of tomcat distribution i see a
>> directory listing of files, even with index.jsp present in the
>> directory but when executed index.jsp works just fine.
>>
>> The same version running on Windows NT machine is having no problems.
>> Also I tried the same with Tomcat 3.2 :) but it didnt work either.
>>
>> Eagerly looking forward for help and suggestions.
>>
>> - manjul sahay
>>
>> P.S i even changed all permissions to 777 to make Tomcat read and
>> write and do all that it wants, ;) But !
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, email: [EMAIL PROTECTED]
>>
>
>
>
>
>        _ _ _ _           _    _ _ _ _ _
>       /\_\_\_\_\        /\_\ /\_\_\_\_\_\
>      /\/_/_/_/_/       /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
>     /\/_/__\/_/ __    /\/_/    /\/_/          PROFUNDUM VIDITUR
>    /\/_/_/_/_/ /\_\  /\/_/    /\/_/
>   /\/_/ \/_/  /\/_/_/\/_/    /\/_/         (Whatever is said in Latin
>   \/_/  \/_/  \/_/_/_/_/     \/_/              appears profound)
>
>   Rob Tanner
>   McMinnville, Oregon
>   [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>




       _ _ _ _           _    _ _ _ _ _
      /\_\_\_\_\        /\_\ /\_\_\_\_\_\
     /\/_/_/_/_/       /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
    /\/_/__\/_/ __    /\/_/    /\/_/          PROFUNDUM VIDITUR
   /\/_/_/_/_/ /\_\  /\/_/    /\/_/
  /\/_/ \/_/  /\/_/_/\/_/    /\/_/         (Whatever is said in Latin
  \/_/  \/_/  \/_/_/_/_/     \/_/              appears profound)

  Rob Tanner
  McMinnville, Oregon
  [EMAIL PROTECTED]

Reply via email to