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 113541 - 0820: disable/enable directory deployment for EAR broken for GF V2
Summary: 0820: disable/enable directory deployment for EAR broken for GF V2
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-22 19:09 UTC by nouar38
Modified: 2007-08-22 20:03 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 nouar38 2007-08-22 19:09:34 UTC
NB 6.0 200708200000 & GF v2 b58b (bundled):
EAR project directory deployment (default enabled) is ok for server instance if we don't uncheck/check the combo box for
"Directory Deployment" in Properties/Option Tab after first registeration done by the IDE.
After unckecking/checking the combo box, the "directory deployment" will always default to the EAR file deployment.

will attach the log file for a personal domain created for this issue and using the CustomerCMP ear project.
Comment 1 nouar38 2007-08-22 19:48:44 UTC
with the local default domain "GF V2" at deployment has in the Out-put build.xml (run-deploy):

<<
pre-dist:
do-dist-without-manifest:
do-dist-with-manifest:
Building jar: /NetBeansProjects/CustomerCMP/dist/CustomerCMP.ear
post-dist:
dist:
pre-run-deploy:
Checking for missing JDBC drivers ...
Start registering the project's server resources
Finished registering server resources
Distributing /NetBeansProjects/CustomerCMP/dist/CustomerCMP.ear to [localhost:4848_server]
Start registering the project's server resources
Finished registering server resources
deployment started : 0%
deployment finished : 100%
Deploying application in domain completed successfully
Trying to create reference for application in target server  completed successfully
Trying to start application in target server  completed successfully
Deployment of application CustomerCMP  completed successfully
Enable of CustomerCMP in target server completed successfully
Enable of application in all targets  completed successfully
All operations completed successfully
post-run-deploy:
run-deploy:
BUILD SUCCESSFUL (total time: 5 seconds)
>>>

with the personal domain (domain2) created and toggled uncheck/check (undeploy/remove res/deploy):
<<<
post-dist:
dist:
pre-run-deploy:
Checking for missing JDBC drivers ...
Start registering the project's server resources
Finished registering server resources
Initial deploying CustomerCMP to /NetBeansProjects/CustomerCMP/dist/gfdeploy
Completed initial distribution of CustomerCMP
Start registering the project's server resources
Finished registering server resources
moduleID=CustomerCMP
deployment started : 0%
deployment finished : 100%
Deploying application in domain completed successfully
Trying to create reference for application in target server  completed successfully
Trying to start application in target server  completed successfully
Deployment of application CustomerCMP  completed successfully
Enable of CustomerCMP in target server completed successfully
Enable of application in all targets  completed successfully
All operations completed successfully
post-run-deploy:
run-deploy:
BUILD SUCCESSFUL (total time: 5 seconds)
>>>

could not produce with the personal domain, updating the summary with GF V2 node (not registered by the user).
Comment 2 Vince Kraemer 2007-08-22 20:02:38 UTC
here is what I did..

1. register a personal domain
2. created an ear with a web app
3. deploy the app
4. verified the app was directory deployed
5. unchecked the Enable directory deployment option and saved it
6. create a different ear with a web app
7. deployed app from step 6
8. verified that the app was archive deployed.
9. reenable the directory deployment option.
10. create another ear with web app
11. deployed app from step 10
12. verified that the app deployed in step 11 was directory deployed.
Comment 3 Vince Kraemer 2007-08-22 20:03:26 UTC
please reopen with detailed steps to guide me on how to reproduce the issue