tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Davis <>
Subject Running 5.5.4 from netbeans
Date Wed, 09 Feb 2005 11:01:13 GMT
Hi, I asked this question on the netbeans list, and got no reply, so I'm
trying my luck here:

I'm using Netbeans 4.1 EA2. I've got a web app which works fine with the
built-in tomcat 5.0. But I'd like to use an external 5.5.4 (same machine

When I try to run the app, I get the following error below. Has anyone
seen this before?

In-place deployment at /home/mike/tbrc/cvs/src/TbrcCatalog/build/web
FAIL - Invalid context path null was specified
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment$DeploymentException: Deployment
BUILD FAILED (total time: 12 seconds)

The contents of context.xml are:

<?xml version="1.0" encoding="UTF-8"?>
<Context docBase="/home/mike/tbrc/cvs/src/TbrcCatalog/build/web"
  <Logger className="org.apache.catalina.logger.FileLogger"
prefix="TbrcCatalog." suffix=".log" timestamp="true"/>

I thought that when you used the tomcat manager deploy command, as long
as you passed in a war file you didn't have to specify a context?

As an aside, when I copy the war file to my hosting server, I have to
delete context.xml because the docBase of course is invalid on a
different machine. Can I get netbeans to stop using that docbase?

Thanks very much,
Michael Davis

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message