Replace Oracle WebLogic Server Virtual Directories in Red Hat JBoss Enterprise Application Platform 6 or 7

Updated -

Summary

Oracle WebLogic Server provides the ability to specify an alternate document root directory for files in a Web application using the <virtual-directory-mapping> element in the weblogic.xml proprietary descriptor file. Red Hat JBoss Enterprise Application Platform 6 and 7 do not support this feature. If your WebLogic application uses this feature, you must make changes when you migrate your application so JBoss can find the files.

Replace Virtual Directories

For JBoss EAP servers running on Linux, you can set up symbolic links (symlinks) for the the documents defined with alternate roots.

For JBoss EAP servers running on platforms that do not support symbolic links, you must modify the application packaging structure and move the files to the well-known standard Java EE 6 or Java EE 7 location.

1 Comments

[Oracle WebLogic Server]

<virtual-directory-mapping>
        <local-path>/SHARED/portal</local-path>
        <url-pattern>/pt/*</url-pattern>
    </virtual-directory-mapping>

Spring Resouce Mapping On JBoss EAP

<mvc:resources mapping="/pt/**" location="file:/SHARED/portal" />