The build script came from the "basic" one to which the Tomcat
documentation refers. I just really changed the name to that of my 
app "Hello".

I have now used an alternative deployment method. I copied the 
"build" directory created in my application's directory by the
ant script.

  cp -rv  build   $CATALINA_HOME/webapps/Hello

restarted the Tomcat server and the servlet works now! 

I think this confirms that the ant build mechanism is working ??

Charles.

--------------------------------------------------------------------
Dr Charles J Gillan
Principal Engineer for Telecommunications Software
ECIT at the Queen's University of Belfast
Innovation Road, Titanic Quarter, Belfast
Northern Ireland BT3 9DT
United Kingdom
 
See ECIT on the web at: http://www.ecit.qub.ac.uk
-------------------------------------------------------------------
-----Original Message-----
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: 11 September 2009 19:12
To: Tomcat Users List
Subject: RE: Installing Servlets

> From: Charles Gillan [mailto:c.gil...@ecit.qub.ac.uk]
> Subject: Installing Servlets
> 
> I have now followed the TomCat manual

It's Tomcat, not TomCat.

> The problem I now have is that I get an exception thown at
>            ant install

Is your ant script something home-grown, or did you borrow it from somewhere?

What happens if you use the supported Tomcat Client Deployer?
http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html

> It was Userdatabase, and I changed this to MemoryRealm in 
> order to pick up the tomcat-users.xml file.

Unnecessary, since the UserDatabaseRealm utilizes tomcat-users.xml; look at its 
resourceName attribute and the corresponding <Resource> element.  I'd suggest 
putting things back the way they were to make sure you didn't accidentally 
break something else.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to