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 247254 - URL for browser broken when using wildfly
Summary: URL for browser broken when using wildfly
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WildFly (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-18 07:55 UTC by htlbugfinder
Modified: 2015-06-24 02:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Error message (1.41 KB, text/plain)
2014-09-18 07:55 UTC, htlbugfinder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description htlbugfinder 2014-09-18 07:55:21 UTC
Created attachment 149330 [details]
Error message

Create a new Java EE Project, using Wildfly 8.1.0 Full&Web Distribution. 
Run and see the broken URL error message (seems as if variable substitution is broken) 
(tried on Ubuntu 14.04 with JDK 8u20 and Netbeans 8.0.1)
Comment 1 Petr Hejl 2015-06-08 14:50:33 UTC
By Java EE project you mean the EAR archive?
Comment 2 ehsavoie 2015-06-08 15:28:50 UTC
What is the status of the server at that point ?
This may happen if the deployment failed.
Comment 3 htlbugfinder 2015-06-09 05:42:03 UTC
Thanks for trying to solve this issue.

On Ubuntu 14.04(.1) do

1. Fetch the netbeans-8.0.2-201411181905.zip-distribution, the wildfly-8.2.0.Final.zip-Distribution and the jdk-8u45-linux-i586.tar.gz for Linux86. 
2. Unzip those packages (unzip *.zip, tar xzf jdk-8u45-linux-i586.tar.gz).
3. Start netbeans (in the unzipped netbeans/bin folder enter
./netbeans --jdkhome PATHWHEREYOUEXTRACTEDTHEJDK
in the terminal
4. Activate the necessary Plugins (JAVA EE, ...) (Tools --> Plugins --> Installed Plugins --> activate).
5. Update netbeans to the current patch level (go to Tools --> Plugins and run update) and let it restart.
6. File --> New Project --> Java EE --> Enterprise Application use the default settings until you can select the Java EE server.
7. Add a new server type "WildFly" using the path where you extracted it.
8. Use the default settings.
9. "Run" the Enterprise Application project.
10. It tells you that the project has been deployed and fails to open the browser with the same error message that I posted on 2014-09-18.

Hope that answers all your questions and helps you to reproduce the issue.
Comment 4 Petr Hejl 2015-06-23 15:07:38 UTC
Fixed in web-main 449f4512427e.
Comment 5 Quality Engineering 2015-06-24 02:26:54 UTC
Integrated into 'main-silver', will be available in build *201506240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/449f4512427e
User: Petr Hejl <phejl@netbeans.org>
Log: #247254 - URL for browser broken when using wildfly