<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Migrating from Weblogic to JBoss
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/pyroplasm">Sean Smith</a> in <i>JBoss Web Development</i> - <a href="https://community.jboss.org/message/715012#715012">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hello,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am part of a team that is migrating an application from Weblogic 11g to JBoss Enterprise Platform 5.0.1.CR2. I know that part of this is to change the existing weblogic.xml file over to a jboss.xml file. I have seen some things online about using XLST stylesheets to do this, I believe, at runtime but this really isn't an option for me. I'm looking to see if there is either a methodoligy that I need to use when converting it over from JBoss to Weblogic or if there is some kind of tool that I can use that I give some information and it does the conversion or if I need to use something like the XLST but I only need to use it once and it converts my code. Below is my weblogic.xml file. Any help would be appreciated.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>[code]</p><p>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</p><p>&lt;!DOCTYPE weblogic-web-app PUBLIC</p><p>&#160;&#160;&#160; "-//BEA Systems, Inc.//DTD Web Application 8.1//EN"</p><p><span>&#160;&#160;&#160; "</span><a class="jive-link-external-small" href="http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd" target="_blank">http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd</a><span>"&gt;</span></p><p>&lt;weblogic-web-app&gt;</p><p>&#160;&#160;&#160; &lt;description&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; sensitive</p><p>&#160;&#160;&#160; &lt;/description&gt;</p><p>&#160;&#160;&#160; </p><p>&#160;&#160;&#160; &lt;!-- Disables session cookies and encoding the session ID in the URL because we're not using sessions --&gt;</p><p>&#160;&#160;&#160; &lt;session-descriptor&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;session-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;TimeoutSecs&lt;/param-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;120&lt;/param-value&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- 30 minute timeout --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/session-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;session-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;URLRewritingEnabled&lt;/param-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;false&lt;/param-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/session-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;session-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;CookiesEnabled&lt;/param-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;false&lt;/param-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/session-param&gt;</p><p>&#160;&#160;&#160; &lt;/session-descriptor&gt;</p><p>&#160;&#160;&#160; &lt;jsp-descriptor&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;jsp-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;compileFlags&lt;/param-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;-g&lt;/param-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/jsp-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;jsp-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;keepgenerated&lt;/param-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;true&lt;/param-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/jsp-param&gt;</p><p>&#160;&#160;&#160; &lt;/jsp-descriptor&gt;</p><p>&#160;&#160;&#160; &lt;container-descriptor&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;prefer-web-inf-classes&gt;true&lt;/prefer-web-inf-classes&gt;</p><p>&#160;&#160;&#160; &lt;/container-descriptor&gt;</p><p>&#160;&#160;&#160; &lt;context-root&gt;sensitive&lt;/context-root&gt;</p><p>&lt;/weblogic-web-app&gt;</p><p>[/code]</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I also have a web.xml file that was told needed to be changed.</p><p>[code]</p><p>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</p><p>&lt;!--&#160; Filename: web.xml --&gt;</p><p>&lt;!-- $Header:&#160;&#160; //VM_Data/IRS_GOV/Source_Code/a/Source_Code/IRS_App/JAVA/sensitive/WebContent/WEB-INF/web.xml-arc&#160;&#160; 1.15&#160;&#160; Aug 18 2010 12:34:24&#160;&#160; me&#160; $ --&gt;</p><p>&lt;!-- $Revision:&#160;&#160; 1.15&#160; $ --&gt;</p><p><span>&lt;!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "</span><a class="jive-link-external-small" href="http://java.sun.com/dtd/web-app_2_3.dtd" target="_blank">http://java.sun.com/dtd/web-app_2_3.dtd</a><span>"&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;web-app&gt; </p><p>&#160;&#160;&#160; &lt;display-name&gt;Application&lt;/display-name&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;context-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;log4jConfigLocation&lt;/param-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;classpath:log4j.properties&lt;/param-value&gt;</p><p>&#160;&#160;&#160; &lt;/context-param&gt;</p><p>&#160;&#160;&#160; </p><p>&#160;&#160;&#160; &lt;context-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; classpath:/foundation-core-context.xml,</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; classpath:/integration-context.xml,</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; classpath:/integration-core-context.xml,</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; classpath:/service-context.xml,</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; classpath:/controller-servlet.xml,</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; classpath:/controller-support.xml,</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; classpath:/override-context.xml</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/param-value&gt;</p><p>&#160;&#160;&#160; &lt;/context-param&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;listener&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt;</p><p>&#160;&#160;&#160; &lt;/listener&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;servlet&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;servlet-name&gt;log4j&lt;/servlet-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;servlet-class&gt;sensitive.servlet.Log4jServlet&lt;/servlet-class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;init-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;config&lt;/param-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;/WEB-INF/classes/log4j.properties&lt;/param-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/init-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/servlet&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;servlet&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;servlet-name&gt;action&lt;/servlet-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;init-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;namespace&lt;/param-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;classes/controller-servlet&lt;/param-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/init-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;load-on-startup&gt;2&lt;/load-on-startup&gt;</p><p>&#160;&#160;&#160; &lt;/servlet&gt;</p><p>&#160;&#160;&#160; </p><p>&#160;&#160;&#160; &lt;servlet&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;servlet-name&gt;errorHandlerServlet&lt;/servlet-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;servlet-class&gt;sensitive.servlet.ErrorServlet&lt;/servlet-class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;init-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-name&gt;errorPage&lt;/param-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;param-value&gt;/WEB-INF/error.jsp&lt;/param-value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/init-param&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/servlet&gt;</p><p>&#160;&#160;&#160; </p><p>&#160;&#160;&#160; &lt;servlet-mapping&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;servlet-name&gt;log4j&lt;/servlet-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;url-pattern&gt;/log4j&lt;/url-pattern&gt;</p><p>&#160;&#160;&#160; &lt;/servlet-mapping&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;servlet-mapping&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;servlet-name&gt;action&lt;/servlet-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;url-pattern&gt;/list/*&lt;/url-pattern&gt;</p><p>&#160;&#160;&#160; &lt;/servlet-mapping&gt;</p><p>&#160;&#160;&#160; </p><p>&#160;&#160;&#160; &lt;servlet-mapping&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;servlet-name&gt;errorHandlerServlet&lt;/servlet-name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;url-pattern&gt;/errorHandlerServlet&lt;/url-pattern&gt;</p><p>&#160;&#160;&#160; &lt;/servlet-mapping&gt;</p><p>&#160;&#160;&#160; </p><p>&#160;&#160;&#160; &lt;!-- The Welcome File List --&gt;</p><p>&#160;&#160;&#160; &lt;welcome-file-list&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;</p><p>&#160;&#160;&#160; &lt;/welcome-file-list&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;error-code&gt;400&lt;/error-code&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;location&gt;/WEB-INF/errorPages/400errorPage.jsp&lt;/location&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/error-page&gt;</p><p>&#160;&#160;&#160;&#160; &lt;error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;error-code&gt;403&lt;/error-code&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;location&gt;/WEB-INF/errorPages/403errorPage.jsp&lt;/location&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;error-code&gt;404&lt;/error-code&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;location&gt;/WEB-INF/errorPages/404errorPage.jsp&lt;/location&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;error-code&gt;408&lt;/error-code&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;location&gt;/WEB-INF/errorPages/408errorPage.jsp&lt;/location&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;error-code&gt;500&lt;/error-code&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;location&gt;/WEB-INF/errorPages/500errorPage.jsp&lt;/location&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;error-code&gt;503&lt;/error-code&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;location&gt;/WEB-INF/errorPages/503errorPage.jsp&lt;/location&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;error-code&gt;504&lt;/error-code&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;location&gt;/WEB-INF/errorPages/504errorPage.jsp&lt;/location&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;error-code&gt;505&lt;/error-code&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;location&gt;/WEB-INF/errorPages/505errorPage.jsp&lt;/location&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160; </p><p>&#160;&#160;&#160;&#160;&#160; &lt;error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;exception-type&gt;java.lang.Throwable&lt;/exception-type&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;location&gt;/errorHandlerServlet&lt;/location&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/error-page&gt;</p><p>&#160;&#160;&#160;&#160;&#160; </p><p>&#160;&#160;&#160;&#160;&#160; &lt;taglib&gt;</p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;taglib-uri&gt;</span><a class="jive-link-external-small" href="http://java.sun.com/jstl/core" target="_blank">http://java.sun.com/jstl/core</a><span>&lt;/taglib-uri&gt;</span></p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;taglib-location&gt;/WEB-INF/tld/c.tld&lt;/taglib-location&gt;</p><p>&#160;&#160;&#160; &lt;/taglib&gt;</p><p>&lt;/web-app&gt;</p><p>[/code]</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/715012#715012">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Development at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2112">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>