tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patil, Anand" <anand.pa...@verizon.com>
Subject RE: Sunday and the brain is numb
Date Tue, 24 Apr 2001 13:08:22 GMT
This subject line can be a good line for a song.
Should have Apache/TOmcat somewhere in it,
to ooficially qualify to be a song. 

Anand
> -----Original Message-----
> From:	Noel E. Lecaros [SMTP:sponks@mozcom.com]
> Sent:	Tuesday, April 24, 2001 4:03 AM
> To:	tomcat-user@jakarta.apache.org
> Subject:	Re: Sunday and the brain is numb
> 
> Hi, Andrew
> 
> I think newlist.class should be in a subdirectory named "classes" under
> WEB-INF (see your item 3).
> 
> Regards,
> Noel Lecaros
> 
> Andrew Stubbs wrote:
> 
> > Okay - please will somebody spot the obvious mistake for me - I cant
> > see itThe servlet is called newlist 1) Mailman starts and give the
> > following 2001-04-22 03:00:54 - Ctx( /mailadmin/servlet ): XmlReader -
> > init  /mailadmin/servlet /www/listserv/mailadmin
> > 2001-04-22 03:00:54 - Ctx( /mailadmin/servlet ): Reading
> > /www/listserv/mailadmin/WEB-INF/web.xml
> > 2001-04-22 03:00:54 - Ctx( /mailadmin/servlet ): Loading -2147483646
> > newlist
> > 2001-04-22 03:00:54 - Ctx( /mailadmin/servlet ): Loading -2147483646
> > jsp Si it finds the class ok.  2) I have setup the alias in httpd.conf
> > as Alias /mailadmin "/www/listserv"
> > <Directory "/www/listserv">
> >     Options Indexes FollowSymLinks
> > </Directory>
> > ApJServMount /mailadmin/servlet /mailadmin
> > <Location "/mailadmin/WEB-INF/">
> >     AllowOverride None
> >     deny from all
> > </Location> Apache starts ok. 3) Servlet is in
> > "/www/listserv/mailadmin/WEB-INF/net/stusoft/newlist.class" 4) tomcat
> > server.xml is:         <Context path="/mailadmin/servlet"
> >                  docBase="/www/listserv/mailadmin"
> >                  debug="99"
> >                  reloadable="true"
> >                  trusted="true" >
> >         </Context>5) "/www/listserv/mailadmin/WEB-INF/web.xml
> > is: <web-app>
> >     <servlet>
> >         <servlet-name>
> >             newlist
> >         </servlet-name>
> >           <url-pattern>
> >                 /servlet
> >           </url-pattern>
> >         <servlet-class>
> >             net.stusoft.newlist
> >         </servlet-class>
> >         <load-on-startup>
> >             -2147483646
> >         </load-on-startup>
> >     </servlet> </web-app> When I try and access the page using
> > http:/www/mailadmin/servlet/newlist - it does not find it.It is being
> > called from a jsp as www/mailadmin/test.jsp which submits a form with
> > action = "servlet/newlist"Bypassing apache and using port 8080 also
> > gives the same result.   Ideas anyone ? I am off to drown my sorrows
> > in beer !! Andrew

Mime
View raw message