Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run WildFly with standalone-full.xml from IntelliJ IDEA?

I'm trying to run Wildfly 8.0 from Intellij IDEA. When starting WildFly through commmand-line I can use the -c standalone-full.xml parameter to use the standalone-full.xml configuration file. How can I specify this when running WildFly from Intellij IDEA?

like image 635
jorgen.ringen Avatar asked Sep 15 '14 13:09

jorgen.ringen


People also ask

How do I run WildFly in IntelliJ?

WildFly and IntelliJ Integration The integration with WildFly requires the Ultimate version of IntelliJ Idea. You can find it in: Settings > Build, Executions, Deployment -> Application Servers > “+” > JBoss Server. Then, you will be able to add a Run/ Debug configuration which includes JBoss Server.

What is standalone xml in WildFly?

standalone. xml file contains all the information regarding modules used by the JBOSS or wildfly.

How do I start JBoss with standalone full ha xml?

Click on Browse button to locate standalone-full. xml & save the configuration. Start JBoss server from Eclipse, it will use full profile defined in standalone-full. xml to start.

What is standalone full xml?

xml: This is an example configuration for a standalone server. It includes support for every possible subsystem except for those required for high availability.


2 Answers

In my opinion switch -c standalone-full.xml is not a VM Option so I will post a little bit different solution: In the Run/Debug configuration for your server in the tab Startup/Connection you have the ability to set Startup script: On the end of line there is checkbox Use default. Please unselect it and paste on the end of the input -c standalone-full.xml

like image 160
Krzysztof Miksa Avatar answered Sep 16 '22 12:09

Krzysztof Miksa


Adding -Djboss.server.default.config=standalone-full.xml to VM_OPTIONS is the equivalent of running standalone -c standalone-full.xml from a shell

like image 24
Mike Holdsworth Avatar answered Sep 17 '22 12:09

Mike Holdsworth