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.
Summary: | NB6.1: Problem deploying EAR with a "packaged archive" module (RAR) | ||
---|---|---|---|
Product: | serverplugins | Reporter: | jmarine <jmarine> |
Component: | Infrastructure | Assignee: | pslechta <pslechta> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | phejl, sustaining |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
jmarine
2008-05-06 20:44:51 UTC
I can reproduce this issue. Fixed. http://hg.netbeans.org/main/rev/c6c4f9cc8d9c Petre, please double check if the fix is not breaking anything else. Thanks! After applying the patch to my system, I can deploy the EAR project with packaged archives from NetBeans 6.1. Thank you very much! After some succesful deployments, I tried to start a debugging session of some tests. After that, and I'm having a new error when deploying the same project on NB6.1 + patch "c6c4f9cc8d9c": Deployment error: null See the server log for details. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:166) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151) Caused by: java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372) at java.util.AbstractList$Itr.next(AbstractList.java:343) at org.netbeans.modules.j2ee.deployment.plugins.api.ServerProgress.notify(ServerProgress.java:116) at org.netbeans.modules.j2ee.deployment.impl.InitialServerFileDistributor.setStatusDistributeFailed(InitialServerFileDistributor.java:230) at org.netbeans.modules.j2ee.deployment.impl.InitialServerFileDistributor.distribute(InitialServerFileDistributor.java:137) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.initialDistribute(TargetServer.java:186) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:518) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151) ... 16 more BUILD FAILED (total time: 16 seconds) I think the reason could be that "getJ2eeModule" method should return "null" for this type of "packaged RAR" modules (instead of returning "j2eeModule")? Thanks. Can you please provide steps to reproduce? Or project on which it is failing? Thanks! Sorry, I think I have generated the new error when I removed the Glassfish domain in NetBeans' server preferences, and registered a new domain with the "Directory Deployment Enabled" option checked (by default). After disabling "Directory Deployment Enabled" option, I can deploy the project again (from NetBeans 6.1 with patch "c6c4f9cc8d9c" applied). I've transplanted the changeset http://hg.netbeans.org/main/rev/c6c4f9cc8d9c into release61_fixes repository as http://hg.netbeans.org/release61_fixes/rev/ac659c59aba3 I've verified that I can correctly deploy again this type of projects with NetBeans 6.5 and 6.1+updates. Thank you very much, |