Skip to content
This repository was archived by the owner on Aug 21, 2019. It is now read-only.

Wildfly

Nilzao edited this page Jul 26, 2017 · 12 revisions

Ready-to-use

Wildfly download

  1. Extract the files
  2. Configure your wildfly/standalone/configuration/standalone.xml file
  3. Go to latest github release page
  4. Download soapbox-race-core.war and put inside folder wildfly/standalone/deployments
  • Windows run wildfly.bat
  • Linux run wildfly/bin/standalone.sh -b 0.0.0.0

wildfly/standalone/configuration/standalone.xml file examples

system property example:

 <system-properties>
    <property name="openFireToken" value="xzxzx99df4d51z2d" />
    <property name="openFireAddress" value="http://localhost:9090/plugins/restapi/v1" />
    <property name="xmppIp" value="127.0.0.1" />
    <property name="xmppPort" value="5222" />
    <property name="udpRaceIp" value="127.0.0.1"/>
    <property name="udpRacePort" value="9998"/>
    <property name="udpFreeroamIp" value="127.0.0.1"/>
    <property name="udpFreeroamPort" value="9999"/>
    <property name="ticketToken" value="123456789"/>
    <property name="emailFrom" value="myemail@gmail.com" />
    <property name="serverAddress" value="http://127.0.0.1:8680" />
    <property name="promoCodeToken" value="987654321" />
  </system-properties>

email config example:

<subsystem xmlns="urn:jboss:domain:mail:2.0">
  <mail-session name="default" jndi-name="java:jboss/mail/Default">
    <smtp-server outbound-socket-binding-ref="mail-smtp" />
  </mail-session>
  <mail-session name="Gmail" from="myemail@gmail.com" jndi-name="java:jboss/mail/Gmail">
    <smtp-server password="secretPassword" username="myemail@gmail.com" ssl="true" outbound-socket-binding-ref="mail-smtp-gmail" />
  </mail-session>
</subsystem>
......
<outbound-socket-binding name="mail-smtp">
  <remote-destination host="localhost" port="25" />
</outbound-socket-binding>
<outbound-socket-binding name="mail-smtp-gmail" source-port="0" fixed-source-port="false">
  <remote-destination host="smtp.gmail.com" port="465" />
</outbound-socket-binding>
Clone this wiki locally