Issues with EAP6 alternate server runtime configuration in JBoss Developer Studio 5

Solution Verified - Updated -

Issue

  • I copied the eap6 'standalone' directory to my own directory called "custom".
  • I did the Redhat JBoss Dev Studio with EAP 6 installation.
  • Starting the standalone server that is configured out of the box works fine.
  • When I start 'custom' though (via JBoss Dev Studio), I get an error. I have set the configuration file location to:
<jboss_eap_path>\custom\configuration\standalone-full.xml using the GUI.
  • In starting the server, I get the following error:
"The server's configuration file does not exist: <jboss_eap_path>\standalone\configuration\<jboss_eap_path>\custom\configuration\standalone-full.xml"
  • It's (JBoss Dev Studio) concatenating two locations together.
  • I have tried setting additional -D props in the launch configuration window, but they doesn't work as well
Program Arguments:
-mp <jboss_eap_path>/modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -b localhost --server-config=<jboss_eap_path>\custom\configuration\standalone-full.xml

VM Arguments:
-server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.jboss.boot.log.file=<jboss_eap_path>/custom/log/boot.log -Dlogging.configuration=file:/<jboss_eap_path>/custom/configuration/logging.properties -Djboss.home.dir=<jboss_eap_path>
-Djboss.server.config.dir=<jboss_eap_path>/custom/configuration
-Djboss.server.base.dir=<jboss_eap_path>/custom
  • The custom configuration with non-default configuration file works from command line (outside JBoss Developer Studio)

Environment

JBoss Developer Studio 5.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content