Uncategorized

Auto Deploy Or Hot Deploy of JSP’s in JBOSS EAP 6.1

Jboss EAP 6.1 is not by default detect or deploy latest changes to JSP pages at runtime.

We need to place following settings in order to enable auto deployment or hot deployment of JSP pages.

Add following settings in standalone/configurations/standalone.xml file or In your server specific config file.

    <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false">
            <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
            <configuration>
                <jsp-configuration development="true"/>
            </configuration>
            <virtual-server name="default-host" enable-welcome-root="true">
                <alias name="localhost"/>
                <alias name="example.com"/>
            </virtual-server>
        </subsystem>        

            

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 )

Connecting to %s