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 138156 - support ear deployment to v3
Summary: support ear deployment to v3
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-24 22:03 UTC by ieising
Modified: 2009-04-13 18:34 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ieising 2008-06-24 22:03:34 UTC
Hi,

When I want my JavaEE project to deploy to GF v3 TP2 I get the following build error:

Starting GlassFish V3 TP2
GlassFish V3 TP2 Server started
Distributing C:\Iwan\SticktailGames\projects\FriendOrFoe\backend\IFFServer\dist\IFFServer.ear to [GlassFish V3
Application server, the hundred K kernel...]
Deployment error:
Hk2DeploymentManager.distribute(target, file, file) not supported yet.
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.GeneratedMethodAccessor369.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.lang.UnsupportedOperationException: Hk2DeploymentManager.distribute(target, file, file) not supported yet.
        at org.netbeans.modules.glassfish.javaee.Hk2DeploymentManager.distribute(Hk2DeploymentManager.java:125)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:528)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151)
        ... 16 more
BUILD FAILED (total time: 12 seconds)

Although I did install the GF v3 JavaEE support modules. (Glassfish V3 JavaEE Integration).

Iwan
Comment 1 _ pcw 2008-06-25 07:11:42 UTC
Ears are not supported by V3 yet, so we haven't done any tooling support, probably NB 7.0 timeframe (not 6.5 for sure).

Odd that you were even able to select it as a server for such a project.  I'll have to check that part out, it should
not have been available.
Comment 2 Vince Kraemer 2009-04-13 18:34:39 UTC
done