Fighting with DEV ENV. Part II

It seems that talented team decided to move/upgrade JMS from JBossAS to WildFly even in 7.2 release:

Below is an adapted config for DEV ENV:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<server xmlns="urn:jboss:domain:3.0">
    <extensions>
        <extension module="org.jboss.as.deployment-scanner" />
        <extension module="org.jboss.as.ee" />
        <extension module="org.jboss.as.naming" />
        <extension module="org.jboss.as.remoting" />
        <extension module="org.jboss.as.security" />
        <extension module="org.wildfly.extension.io"/>
        <extension module="org.wildfly.extension.undertow" />
    </extensions>

    <profile>
        <subsystem xmlns="urn:jboss:domain:deployment-scanner:2.0">
            <deployment-scanner deployment-timeout="300" path="deployments" relative-to="jboss.server.base.dir" runtime-failure-causes-rollback="${jboss.deployment.scanner.rollback.on.failure:false}" scan-interval="5000" />
        </subsystem>
        <subsystem xmlns="urn:jboss:domain:ee:3.0" />
        <subsystem xmlns="urn:jboss:domain:io:1.1">
            <worker name="default"/>
            <buffer-pool name="default"/>
        </subsystem>
        <subsystem xmlns="urn:jboss:domain:naming:2.0">
            <remote-naming />
        </subsystem>
        <subsystem xmlns="urn:jboss:domain:remoting:3.0" />
        <subsystem xmlns="urn:jboss:domain:security:1.2" >
            <security-domains>
                <security-domain name="other" cache-type="default">
                    <authentication>
                        <login-module code="Remoting" flag="optional">
                            <module-option name="password-stacking" value="useFirstPass"/>
                        </login-module>
                        <login-module code="RealmDirect" flag="required">
                            <module-option name="password-stacking" value="useFirstPass"/>
                        </login-module>
                    </authentication>
                </security-domain>
            </security-domains>
        </subsystem>
        <subsystem xmlns="urn:jboss:domain:undertow:2.0">
            <buffer-cache name="default" />
            <server name="default-server">
                <http-listener max-post-size="0" name="default" redirect-socket="https" socket-binding="http" />
                <host alias="localhost" name="default-host">
                    <location handler="welcome-content" name="/" />
                    <filter-ref name="server-header" />
                    <filter-ref name="x-powered-by-header" />
                </host>
            </server>
            <servlet-container name="default">
                <jsp-config />
                <websockets />
            </servlet-container>
            <handlers>
                <file name="welcome-content" path="${jboss.home.dir}/welcome-content" />
            </handlers>
            <filters>
                <response-header header-name="Server" header-value="WildFly/9" name="server-header" />
                <response-header header-name="X-Powered-By" header-value="Undertow/1" name="x-powered-by-header" />
            </filters>
        </subsystem>
    </profile>

    <interfaces>
        <interface name="public">
            <inet-address value="${jboss.bind.address:0.0.0.0}" />
        </interface>
    </interfaces>

    <socket-binding-group default-interface="public" name="standard-sockets" port-offset="${jboss.socket.binding.port-offset:0}">
        <socket-binding name="ajp" port="9089" />
        <socket-binding name="http" port="9080" />
        <socket-binding name="https" port="9082" />
    </socket-binding-group>
</server>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s