[plug] Re: Java servlets with tomcat application server

David Buddrige buddrige at wasp.net.au
Thu Jun 26 16:11:41 WST 2003


One of my collegues thinks that the problem is in the .xml file... Tomcat is 
definitely running correctly, since we can bring up the example servlets 
that come with it... 

It seems that the web.xml file is not constructed correctly.  Still working 
on what's wrong with it... 

cheers 

David. 

Onno Benschop writes: 

> On Thu, 2003-06-26 at 14:55, David Buddrige wrote:
>> > I have written the attached [very] basic servlet.  I am now attempting to 
>> > run it using the TomCat application server.  I have placed the 
>> > HelloClient.war in the webapps/ directory of the jakarta-tomcat program, 
>> > and re-started the tomcat server by running the bin/shutdown.sh followed 
>> > by the bin/startup.sh scripts. However when I go to 
>> > http://localhost:8080/HelloClient, an error page is displayed rather than 
>> > the output of the HelloClient program.  
>> > 
>> > Do you know anything about how tomcat works, and why it might not be 
>> > working?  
> 
> While I don't know anything about tomcat, perhaps a description of the
> error page would be helpful. Also, if there is an access and error log,
> you might find some useful information there. 
> 
> Let us know how you go... 
> 
> Perhaps the HelloClient.war file is only readable by the author, not the
> web-process... 
> 
> Onno Benschop  
> 
> Connected via Optus B3 from S33:37'33" - E115:07'30" (Dunsborough, WA)
> -- 
> ()/)/)()        ..ASCII for Onno.. 
> |>>?            ..EBCDIC for Onno.. 
> --- -. -. ---   ..Morse for Onno..  
> 
> Proudly supported by Skipper Trucks, Highway1, Concept AV, Sony Central, Dalcon
> ITmaze   -   ABN: 56 178 057 063   -  ph: 04 1219 8888   -   onno at itmaze.com.au 
> 
 



More information about the plug mailing list