jQuery in Action, 3rd edition
The moose likes Tomcat and the fly likes Deploying a new application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deploying a new application" Watch "Deploying a new application" New topic

Deploying a new application

jack nick
Ranch Hand

Joined: Jan 11, 2001
Posts: 96
Hi there,
Am new to using tombcat and seemingly I just cannot seem to get deploying a new application into the server right.
Just as a test copied the whole directory structure of the examples application of tomcat, renamed it to test and added a new context element in the servlet.xml file. restarted the server and prayed that it worked. my prayers were not answered
Well for starts is this the right way to do it? Is is possible to deploy a new application into tomcat without creating a .WAR file.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Yes it is possible to deploy an app without the WAR file.

What is the error you are getting, and what does the context you created look like ? And where in server.xml is it?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

Did you define the servlet URLs in the WEB-INF/web.xml file?

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link: http://aspose.com/file-tools
subject: Deploying a new application
jQuery in Action, 3rd edition