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 135469 - On checking Directory Deployment box out put not shown in the browser for the sample project customer CMP
Summary: On checking Directory Deployment box out put not shown in the browser for the...
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: Sun Linux
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-21 08:03 UTC by dpkumar
Modified: 2008-06-23 14:40 UTC (History)
1 user (show)

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 dpkumar 2008-05-21 08:03:30 UTC
NB Build:NB IDE Dev 20050515003
Appserver Build:GF2.1(b-33)
JDK:jdk1.5.0_13

Steps to reproduce:

1.Start the IDE and register default local domain.Start the server.
2.Right click on GF V2 server select properties/options tab keep the Directory Deployment box checked
3.Open an Enterprise application (EJB + web + App-Client ) /Build/Deploy/Run.(I used custmer CMP sample project from the
NetBeans).

On checking Directory Deployment box ,out put shown in the browser is:

HTTP Status 404 -
type Status report
message
description*The requested resource () is not available. 

But on unchecking Directory Deployment box, out put shown in the browser is:

Create New Customer
Search For Customer
Create New Subscription
Search For Subscription
Search For Address
Comment 1 Vince Kraemer 2008-05-21 15:59:50 UTC
it looks like the steps are incomplete...

Are these the steps that you meant to include?

4. open the server options dialog and uncheck the Directory deployment box.
5. Build/deploy/run the application again.
  see the 404

6. re-enable directory deployment (basically step 4... backwards)
7. build/deploy/run
  this time the run is successful.

Does this describe the steps you performed correctly?
Comment 2 dpkumar 2008-05-22 14:37:47 UTC
Steps to reproduce:

When enabling Directory Deployment box:

1.Start the IDE.
2.Right click on the server select GF V2 and give platform location for the installed GF2.1 installer.selct Next>Finish.
3.Right click on registered GF V2 server select properties/options tab keep the Directory Deployment box checked and
start the server.(Open the server options dialog and check the Directory deployment box.)
4.Open Customer CMP Sample application from the NB IDE.(Select File/New Project/Samples/Enterprise/Customer CMP).
5.Right click on the customer CMP application select Build/deploy/run.
  see the 404 in the browser out put.

6.Undeploy the application, stop the server and remove.

When Unchecking the Directory Deployment box:

1.Start the IDE.
2.Right click on the server select GF V2 and give platform location for the installed GF2.1 installer.selct Next>Finish.
3.Right click on GF V2 server select properties/options tab and uncheck the  Directory Deployment box and start the
server.(open the server options dialog and uncheck the Directory deployment box.)
4.Open Customer CMP Sample application from the NB IDE.(Selet File/New Project/Samples/Enterprise/Customer CMP).
5.Right click on the customer CMP application select Build/deploy/run.
  this time the run is successful and you can see out put in the browser.

6.Undeploy the application, stop the server and remove.


Comment 3 Vince Kraemer 2008-06-21 00:26:27 UTC
I just tried this with a recently pulled trunk build against v2.1 b38 and could not replicate the results you are
describing...

The server log may have some valuable info.  If you are able to replicate this with a recent dev build, please attach
the log and reopen this issue.
Comment 4 dpkumar 2008-06-23 14:40:04 UTC
I tried with NB build 200806230002 against v2.1 b38, but I could not reproduce this issue now.