Looks like there is some external problem: 1 May be your j2ee server has already installed web applications. And on server startup one of them can throw this exception. 2 May be your deploytool environment has existent projects. 3 It will be better to you to not use deploytool, use ANTClick hereto regard
I have no clear idea. Where have you got this exception? Describe more precisely your steps to reproduce this error.
How tedious is it to use Ant, alternatively i m trying to use the Deploytool for Application Server 8, I cant figure out what to put in the context root, conventionally i would put the path of the Public_html folder but in this setup (j2eesdk-1_4_01_2005Q1-windows), it doesnt give me any public_html folder. If you could help me with what should be in the context root and if any web context root is to be given? Thanx & Regards, Gautam
Joined: Mar 04, 2005
I have not experience with trickful GUI deployment. But the classic way to deploy application is this: 1. Construct a directory structure of your web application(by hands or write *.bat or *.sh file or use ANT) Here is the doc how to construct the web application. 2. Make war (u can even use zip archiver and change extencion with *.war, or see Here how to use ANT) 3. Find out where is the directory of your application server, in which to deploy application. This can be done next Way: create some Unique name of Java Class(e.g "OneTwoThreeFourServlet"), deploy simple web application, using deploy tool and then search your filesystem where this file (OneTwoThreeFourServlet.class) will appear 4. Copy the war file to deployment directory and give the command to your AppServer to deploy it.