tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Davis <mich...@damaru.com>
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
though).

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
deploy?config=file:/home/mike/tbrc/cvs/src/TbrcCatalog/build/web/META-INF/context.xml&war=file:/home/mike/tbrc/cvs/src/TbrcCatalog/build/web/
FAIL - Invalid context path null was specified
/home/mike/tbrc/cvs/src/TbrcCatalog/nbproject/build-impl.xml:340:
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment$DeploymentException: Deployment
failed.
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"
path="/TbrcCatalog">
  <Logger className="org.apache.catalina.logger.FileLogger"
prefix="TbrcCatalog." suffix=".log" timestamp="true"/>
</Context>

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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message