Tuesday, 29 March 2016

JBOSS Deployment procedure


1) Add Archive to your domain.

Add button in the Deployments tab will let you browse your war file. Once the file is uploaded you'll find the following entry in Documents\vamsi\DC_replica\dc\configuration\domain.xml 

<deployments>
        <deployment name="example.war" runtime-name="example.war">
            <content sha1="cbe0a3a1e144bf6d37dba6cba8ccbc46000fef39"/>
        </deployment>
</deployments>

2) Mapping to application app servers. This you can do from deployments tab.


.

<deployments>
        <deployment name="example.war" runtime-name="example.war">
            <content sha1="cbe0a3a1e144bf6d37dba6cba8ccbc46000fef39"/>
        </deployment>
    </deployments>

    <server-groups>
        <server-group name="Optum-Dev-Group" profile="default">
            <socket-binding-group ref="standard-sockets"/>
            <deployments>
                <deployment name="example.war" runtime-name="example.war"/>
            </deployments>
        </server-group>
        <server-group name="Optum_Prod_Group" profile="ha">
            <socket-binding-group ref="ha-sockets"/>
        </server-group>
    </server-groups>

http://192.168.1.208:8180/example/ - This is where you can test the application deployed properly or not.


No comments:

Post a Comment