Hello Mark, Thanks for the reply. I am interested in finding where the Document Root is for my application ("applicationName"). As I understand, since my Catatlina_Home = "c:\tomcat" and the "<host>" tag in the server.xml specifies "appbase='webapps'", it should be under c:\tomcat\webapps...but it is not.
Thanks again. On Wed, Nov 11, 2015 at 6:13 PM, Mark Eggers <its_toas...@yahoo.com.invalid> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Yuval, > > On 11/11/2015 7:06 AM, Yuval Schwartz wrote: > > Hello, > > > > I am using tomcat 8.0.22.0. 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 > %CATALINA_BASE%\conf\Catalina\localhost\appname.xml > > 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: > > http://tomcat.apache.org/tomcat-8.0-doc/manager-howto.html > > Look for Deploy using a Context configuration ".xml" file. > > . . . just my two cents > /mde/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iQEcBAEBAgAGBQJWQ2kWAAoJEEFGbsYNeTwtHpcH/2YsibyvjQcWTekK+YMmDqIn > 64oE2+S274JWKQLnfkSbtQnUoGHqQRb2RpmUPPLXvyBWmRQ3NXoujduhESpiITd+ > os6Xz4TXQ4qa/Q0LQJlvBwfBcJeV8LE4AOK7PyImzOlKrQX2o1+547hSLPELSqtg > f9xFtvL06ACgjauvXDPETW8hcgbvHIsQ5dYso44lW0fdYz+1r7VbsoeuIp7fOrgw > EVV+Tp8jIpLvze3vGw04G9JlhGOJoqz4ePb4/xzDLsboGO4oHSeYHviMQ1gyZ4zY > vEGPENRvv/1K/nBHa8WB1fcje2vJ0326n5z3Q9+z4zrvL8IaH4Fyaqf5t4disFA= > =qg7p > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >