tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Eggers <>
Subject Re: Fwd:
Date Wed, 11 Nov 2015 16:13:10 GMT
Hash: SHA1


On 11/11/2015 7:06 AM, Yuval Schwartz wrote:
> Hello,
> I am using tomcat My Catalina_Home is set to "C:\tomcat".
>  IDE: Netbeans. Language: Java.
> For some reason, when I deploy a web application in Netbeans that
> has the name "applicationName" and context path: "/applicationName"
> I do not see the application in the c:\tomcat\webapps folder. Can
> someone help me figure out what is not configured correctly? All I
> see is 4 folders "docs, examples, host-manager, manager."
> Interestingly, if I undeploy one of these 4 folders in netbeans,
> then this change is reflected immediately in path c:\tomcat\webapps
> (ie: I see 3 folders). However, as I said, deploying
> "applicationName" does not result in the folder being available in
> c:\tomcat\webapps (as it should).
> The whole reason I got into this was because I stopped seeing the 
> tomcat favicon in my application all of a sudden (I suspect because
> I changed the context path from "/applicationName" to "/"). Now I
> would like to see the favicon and would like to understand why I am
> not seeing the deployed application where I should.
> My application is deployed successfully and runs fine (I just
> don't see it in c:\tomcat\webapps).
> Thank you.

This is due to how NetBeans deploys to Tomcat. NetBeans creates a
config.xml file and copies it to

Inside the appname.xml, there's a docBase that points to where you
built your application (for me it's ProjectName\target\artifact-id).

This then makes use of Tomcat's default configuration to trigger
reloads of your web application when certain resources are changed.

Here's a link on how that deployment works:

Look for Deploy using a Context configuration ".xml" file.

. . . just my two cents
Version: GnuPG v2


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

View raw message