<!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;"> </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;"> </p><p>[code]</p><p><?xml version="1.0" encoding="UTF-8"?></p><p><!DOCTYPE weblogic-web-app PUBLIC</p><p>    "-//BEA Systems, Inc.//DTD Web Application 8.1//EN"</p><p><span>    "</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>"></span></p><p><weblogic-web-app></p><p>    <description></p><p>        sensitive</p><p>    </description></p><p>    </p><p>    <!-- Disables session cookies and encoding the session ID in the URL because we're not using sessions --></p><p>    <session-descriptor></p><p>         <session-param></p><p>            <param-name>TimeoutSecs</param-name></p><p>            <param-value>120</param-value>            <!-- 30 minute timeout --></p><p>        </session-param></p><p>        <session-param></p><p>            <param-name>URLRewritingEnabled</param-name></p><p>            <param-value>false</param-value></p><p>        </session-param></p><p>        <session-param></p><p>            <param-name>CookiesEnabled</param-name></p><p>            <param-value>false</param-value></p><p>        </session-param></p><p>    </session-descriptor></p><p>    <jsp-descriptor></p><p>        <jsp-param></p><p>            <param-name>compileFlags</param-name></p><p>            <param-value>-g</param-value></p><p>        </jsp-param></p><p>        <jsp-param></p><p>            <param-name>keepgenerated</param-name></p><p>            <param-value>true</param-value></p><p>        </jsp-param></p><p>    </jsp-descriptor></p><p>    <container-descriptor></p><p>        <prefer-web-inf-classes>true</prefer-web-inf-classes></p><p>    </container-descriptor></p><p>    <context-root>sensitive</context-root></p><p></weblogic-web-app></p><p>[/code]</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I also have a web.xml file that was told needed to be changed.</p><p>[code]</p><p><?xml version="1.0" encoding="UTF-8"?></p><p><!--  Filename: web.xml --></p><p><!-- $Header:   //VM_Data/IRS_GOV/Source_Code/a/Source_Code/IRS_App/JAVA/sensitive/WebContent/WEB-INF/web.xml-arc   1.15   Aug 18 2010 12:34:24   me  $ --></p><p><!-- $Revision:   1.15  $ --></p><p><span><!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>"></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><web-app> </p><p>    <display-name>Application</display-name></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <context-param></p><p>        <param-name>log4jConfigLocation</param-name></p><p>        <param-value>classpath:log4j.properties</param-value></p><p>    </context-param></p><p>    </p><p>    <context-param></p><p>        <param-name>contextConfigLocation</param-name></p><p>        <param-value></p><p>            classpath:/foundation-core-context.xml,</p><p>            classpath:/integration-context.xml,</p><p>            classpath:/integration-core-context.xml,</p><p>            classpath:/service-context.xml,</p><p>            classpath:/controller-servlet.xml,</p><p>            classpath:/controller-support.xml,</p><p>            classpath:/override-context.xml</p><p>        </param-value></p><p>    </context-param></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <listener></p><p>        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class></p><p>    </listener></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <servlet></p><p>        <servlet-name>log4j</servlet-name></p><p>        <servlet-class>sensitive.servlet.Log4jServlet</servlet-class></p><p>        <init-param></p><p>            <param-name>config</param-name></p><p>            <param-value>/WEB-INF/classes/log4j.properties</param-value></p><p>        </init-param></p><p>        <load-on-startup>1</load-on-startup></p><p>      </servlet></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <servlet></p><p>        <servlet-name>action</servlet-name></p><p>        <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class></p><p>        <init-param></p><p>            <param-name>namespace</param-name></p><p>            <param-value>classes/controller-servlet</param-value></p><p>        </init-param></p><p>        <load-on-startup>2</load-on-startup></p><p>    </servlet></p><p>    </p><p>    <servlet></p><p>        <servlet-name>errorHandlerServlet</servlet-name></p><p>        <servlet-class>sensitive.servlet.ErrorServlet</servlet-class></p><p>        <init-param></p><p>            <param-name>errorPage</param-name></p><p>            <param-value>/WEB-INF/error.jsp</param-value></p><p>        </init-param></p><p>      </servlet></p><p>    </p><p>    <servlet-mapping></p><p>        <servlet-name>log4j</servlet-name></p><p>        <url-pattern>/log4j</url-pattern></p><p>    </servlet-mapping></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <servlet-mapping></p><p>        <servlet-name>action</servlet-name></p><p>        <url-pattern>/list/*</url-pattern></p><p>    </servlet-mapping></p><p>    </p><p>    <servlet-mapping></p><p>        <servlet-name>errorHandlerServlet</servlet-name></p><p>        <url-pattern>/errorHandlerServlet</url-pattern></p><p>    </servlet-mapping></p><p>    </p><p>    <!-- The Welcome File List --></p><p>    <welcome-file-list></p><p>        <welcome-file>index.jsp</welcome-file></p><p>    </welcome-file-list></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <error-page></p><p>        <error-code>400</error-code></p><p>        <location>/WEB-INF/errorPages/400errorPage.jsp</location></p><p>      </error-page></p><p>     <error-page></p><p>        <error-code>403</error-code></p><p>        <location>/WEB-INF/errorPages/403errorPage.jsp</location></p><p>      </error-page></p><p>      <error-page></p><p>        <error-code>404</error-code></p><p>        <location>/WEB-INF/errorPages/404errorPage.jsp</location></p><p>      </error-page></p><p>      <error-page></p><p>        <error-code>408</error-code></p><p>        <location>/WEB-INF/errorPages/408errorPage.jsp</location></p><p>      </error-page></p><p>      <error-page></p><p>        <error-code>500</error-code></p><p>        <location>/WEB-INF/errorPages/500errorPage.jsp</location></p><p>      </error-page></p><p>      <error-page></p><p>        <error-code>503</error-code></p><p>        <location>/WEB-INF/errorPages/503errorPage.jsp</location></p><p>      </error-page></p><p>      <error-page></p><p>        <error-code>504</error-code></p><p>        <location>/WEB-INF/errorPages/504errorPage.jsp</location></p><p>      </error-page></p><p>      <error-page></p><p>        <error-code>505</error-code></p><p>        <location>/WEB-INF/errorPages/505errorPage.jsp</location></p><p>      </error-page></p><p>      </p><p>      <error-page></p><p>          <exception-type>java.lang.Throwable</exception-type></p><p>          <location>/errorHandlerServlet</location></p><p>      </error-page></p><p>      </p><p>      <taglib></p><p><span>        <taglib-uri></span><a class="jive-link-external-small" href="http://java.sun.com/jstl/core" target="_blank">http://java.sun.com/jstl/core</a><span></taglib-uri></span></p><p>        <taglib-location>/WEB-INF/tld/c.tld</taglib-location></p><p>    </taglib></p><p></web-app></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>