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.
AVK 5 plugin to NetBeans 5.5. I installed AS PE b48, NetBeans 5.5 and deployed AVK plugin. After that I opened NetBeans new projects and used NetBeans Samples/Java BluePrints Solutions samples. I compiled/deployed/run different such samples and also I added webapps-caching AS sample. In all cases according to AS domain.xml the deployment location of these samples was: <project_path>/build/web (I used web applications). For example: location="/root/command-submissions/build/web" location="/root/tabbed-view/build/web location="/root/clientside-state/build/web location="/root/caching/build/web But AVK searched the applications under <AS_HOME>/domains/domain1/applications/j2ee-modules/<application_name>, for example: AppServer Version : 9.0 Current instace properties : key = password, value = admin123 key = PROP_INSTANCE_ID, value = sjsas8 key = username, value = admin key = url, value = [/opt/sunone48]deployer:Sun:AppServer::localhost:4848 key = LOCATION, value = /opt/sunone48/domains key = httpportnumber, value = null key = DOMAIN, value = domain1 key = displayName, value = Sun Java System Application Server isVerifierSetup - true Running redeploy build target... Redeploy completed... Deploy Dir = /opt/sunone48/domains/domain1/applications/j2ee-modules//caching For this reason AVK doesn't work and creates an error message: "Deployment failed. So, Dynamic Verification could not be performed." So, to be compatible with NetBeans, AVK has to search the deployed apps not in <AS_HOME>/domains/domain1/applications/j2ee-modules/..., but it has to use the deployment location from AS domain.xml file.
Fix details: ============ Read the deployment directory of the application from domain.xml using JMX APIs. Code changes: ============= Checking in src/org/netbeans/modules/j2ee/sun/ide/avk/actions/CommonNodeAction.java; /cvs/serverplugins/sun/avk/src/org/netbeans/modules/j2ee/sun/ide/avk/actions/Attic/CommonNodeAction.java,v <-- CommonNodeAction.java new revision: 1.1.2.2; previous revision: 1.1.2.1 done Checking in src/org/netbeans/modules/j2ee/sun/ide/avk/actions/StartInstrumentation.java; /cvs/serverplugins/sun/avk/src/org/netbeans/modules/j2ee/sun/ide/avk/actions/Attic/StartInstrumentation.java,v <-- StartInstrumentation.java new revision: 1.1.2.2; previous revision: 1.1.2.1 done
W2K NetBeans 5.5 nightly build 05/31, AS 9.0 PE b48. I downloded AVK from Update Center. After that restared NetBeans, AS and created new projects that were based on NB samples and stateless-simple AS sample. I deployed all these samples to AS. Then tried to execute Dynamic Verification. But I again saw an error message box: "Deployment failed. So, Dynamic Verification could not be performed." When I saw this problem I uninstalled everything and removed all directories manually, then made a fresh installation. After that I saw this problem again. On Solaris and Linux this problem doesn't exist.
Code changes: Checking in src/org/netbeans/modules/j2ee/sun/ide/avk/actions/AdminTasks.java; /cvs/serverplugins/sun/avk/src/org/netbeans/modules/j2ee/sun/ide/avk/actions/Attic/AdminTasks.java,v <-- AdminTasks.java new revision: 1.1.4.2; previous revision: 1.1.4.1 done Checking in src/org/netbeans/modules/j2ee/sun/ide/avk/actions/CommonNodeAction.java; /cvs/serverplugins/sun/avk/src/org/netbeans/modules/j2ee/sun/ide/avk/actions/Attic/CommonNodeAction.java,v <-- CommonNodeAction.java new revision: 1.1.4.2; previous revision: 1.1.4.1 done