This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 75819 - Deployed Web App isn't shown in 'Web applications' tree
Summary: Deployed Web App isn't shown in 'Web applications' tree
Status: VERIFIED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-03 09:49 UTC by Dan Kolar
Modified: 2006-10-16 16:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Kolar 2006-05-03 09:49:48 UTC
build 200605030200beta  jdk1.5.06fcs

1) Create Web Application on bundled tomcat 5.5.16
2) Deploy it

Web application isn't shown in appropriate tree in Runtime/Servers tab.
Comment 1 Sherold Dev 2006-05-03 10:39:29 UTC
use the refresh action on the web application node

decreasing to p3

marking as a duplicate

*** This issue has been marked as a duplicate of 49923 ***
Comment 2 Dan Kolar 2006-05-03 12:02:12 UTC
Sorry, but deployment on Tomcat is really weird. I've made several web project 
and tried to deploy them on tomcat.
Usually the've deployed in context path "/", so only ONE at a time was 
acessible. Sometimes some project deployed even under its name, so sometimes it 
even work as it should.
I'm just curious, why this Tomcat plugin doesn't behave like a Glassfish one, 
where I can deploy any number of web applications and all of them are visible 
and accessible in the tree?!
Comment 3 Sherold Dev 2006-05-03 12:35:18 UTC
I've just tested it and everything seems to work just fine. The application is
even correctly listed without the need of calling the refresh action.

From you description it is not very clear what is the exact problem, see the
Tomcat server log whether there is no problem with your application.

Please note that on Tomcat there cannot be two application with the same context
path deployed at the same time. If you try to deploy an application to a context
path, which is already occupied on the server, NetBeans undeploys the old
application for you before deploying the new one.

Please do not reopen this issue, unless you are really sure that there is a bug
and you have exact steps to reproduce it.
Comment 4 Dan Kolar 2006-05-03 12:43:20 UTC
Ok, I won't, but could you tell me at least, why isn't possible to intentionally 
deploy web application on other path than on "/"?
Thing, that erver cannot deploy 2 applications on same path, id evident even for 
me.

I'm working with build 200605030200(beta) and jdk1.5.06fcs
Comment 5 Sherold Dev 2006-05-03 12:55:40 UTC
Open the project properties dialog, select the "Run" category and set the
desired context path your application should be deployed to.

You can do this also directly in the context.xml file.
Comment 6 Dan Kolar 2006-05-03 13:21:09 UTC
Thanks for a hint, as I've found discrepancy between web projects created on 
different servers ;-)
Comment 7 Dan Kolar 2006-10-16 16:47:21 UTC
v.