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: | Cannot run Java Web application on Linux on WildFly | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Vladimir Riha <vriha> |
Component: | WildFly | Assignee: | ehsavoie <ehsavoie> |
Status: | VERIFIED WONTFIX | ||
Severity: | normal | CC: | kganfield |
Priority: | P1 | Keywords: | RELNOTE |
Version: | 8.0.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Wildfly server log
IDE log sample project |
Description
Vladimir Riha
2014-08-13 11:40:48 UTC
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 |