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 239732 - Cannot deploy to WildFly
Summary: Cannot deploy to WildFly
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WildFly (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: ehsavoie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-22 20:05 UTC by svanimpe
Modified: 2014-04-03 06:58 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 svanimpe 2013-12-22 20:05:47 UTC
Steps to reproduce:
* Create a new Java Web Application.
* Deploy

The result is:

/Users/Steven/Desktop/WFTest/nbproject/build-impl.xml:1045: Deployment error.
See the server log for details.
BUILD FAILED (total time: 0 seconds)

where line 1045 is the nbdeploy tag in:

<target if="netbeans.home" name="-run-deploy-nb">
  <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
</target>

This is using NetBeans 8 (201312190002) on JDK 8 b120 and WildFly 8 CR!. I had the same issue with WildFly 8 beta1 running on JDK 7u45.

A similar problem occurs with a Maven based project:

NetBeans: Deploying on WildFly 8
profile mode: false
debug mode: false
force redeploy: true
(hangs here)

Not that I can start/stop WildFly using NetBeans, and I can deploy the projects manually using admin web console, so the issue seems to be with the NetBeans plugin.
Comment 1 ehsavoie 2013-12-23 12:32:42 UTC
Could you try with the new version ?
I've met this one but not after some changes which are in 1.0.1
The war should be deployed even if this fails (it is the part that launch the browser at the webapp URL).
Comment 2 svanimpe 2013-12-23 14:15:10 UTC
Indeed, after updating to 1.0.1, I can deploy just fine. Thanks!
Comment 3 Quality Engineering 2013-12-24 02:42:17 UTC
Integrated into 'main-silver', will be available in build *201312240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8d8ef6851661
User: Emmanuel Hugonnet <ehsavoie@netbeans.org>
Log: Fixing #239732:  Cannot deploy to WildFly
There was some cases when the URL of the module wasn't propagated.
This commit should fix this.