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.
Created attachment 148678 [details] Wildfly server log Please try to: - add WildFly server to NetBeans (WildFly 8.1 Final) - in NetBeans, create a new Java Web project, all default and set it to run on Wildfly - right click on project and select Run => action fails, output tab contains (server log attached) Initial deploying WebApplication15 to /home/vriha/wildfly-8.1.0.Final/standalone/deployments/WebApplication15.war Completed initial distribution of WebApplication15 Deploying /home/vriha/wildfly-8.1.0.Final/standalone/deployments/WebApplication15.war {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.WebApplication15.WebApplication15.DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]"]} /home/vriha/NetBeansProjects/WebApplication15/nbproject/build-impl.xml:1045: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 4 seconds) If I checked Wildfly Application Server -> Application -> Web Applications in Services window, the WebApplication15 is present with a little green triangle icon over it. If I try to open URL http://localhost:8080/WebApplication15/index.html in browser, I get 404 Not found I'm not very familiar with Wildfly, I find this issue when I was trying to verify issue 245240. The same steps work fine on Windows 7 for me. Product Version: NetBeans IDE 8.0.1 RC1 (Build 201408122300) Java: 1.8.0_11; Java HotSpot(TM) Client VM 25.11-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12 System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
Created attachment 148679 [details] IDE log
Created attachment 148680 [details] sample project Here's archive of the project I tried to run
Looks like you have some issue with your Hornetq which prevents WildFly from deploying your war: 56) HQ222010: Critical IO Error, shutting down the server. file=AIOSequentialFile:/home/vriha/wildfly-8.1.0.Final/standalone/data/messagingjournal/hornetq-data-1.hq.tmp, message=Can't open file: HornetQException[errorType=NATIVE_ERROR_CANT_OPEN_CLOSE_FILE message=Can't open file] I think you will have to clean your WildFly installation
I think this is related to : https://community.jboss.org/message/750503 or http://stackoverflow.com/questions/16266337/hornetq-cant-start-error-native-error-cant-open-close-file and not an issue in the plugin
Thanks, I'll try it. If that's the case, I think RELNOTE would be useful here.
The links mention to configure <subsystem xmlns="urn:jboss:domain:messaging:1.1"> <hornetq-server> <persistence-enabled>true</persistence-enabled> ... **<journal-type>NIO</journal-type>** Do you have any idea where to put it? I tried file [serverFolder]/domain/configuration/domain.xml: <subsystem xmlns="urn:jboss:domain:messaging:2.0"> <hornetq-server> <journal-type>NIO</journal-type> But no change, still the same problem. The jboss forum link mentions having wildfly in encrypted partition could be issue. I have encrypted home folder so I moved it to /var/www but I'm still getting the same problem.
Product Version: NetBeans IDE 8.0.1 RC1 (Build 201408122300) Java: 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb) Application Server: WildFly 8.1.0.Final "Kenny" Works fine for me.
1/in standalone-full.xml if you are using the default config from the plugin. The "edit configuration" on the server should get you there. 2/ domain mode is not supported by the plugin as part of it relies on the deployment scanner which doesn't work (for good reasons) with domain mode
Thank you Emmanuel, that does the trick. I propose a RELNOTE for this one: Description: Web application fails to run on WildFly server on Linux due to encrypted partition Workaround: Right click on WildFly server in Services, select Edit Configuration and paste <journal-type>NIO</journal-type> right below <hornetq-server> and restart the server.
Hum what do you mean by RELNOTE ?
That it should be mentioned in Release Notes page, like [1]. Don't worry, it is not your responsibility to "place" it there ;) [1] https://netbeans.org/community/releases/80/relnotes.html
added to release notes
Thank you, Ken