0 Replies Latest reply on Jul 15, 2013 4:49 AM by A G

    How to convert weblogic.xml tags  to jboss-web.xml tags

    A G Newbie

      Hi ,

       

      Can anyone help with the steps to covert

       

      weblogic.xml to jboss-web.xml (Migration from Weblogic9.2 to JBoss5.2)

       

      Its contains  tags like :

      Weblogic.xml:

       

      <?xml version="1.0" encoding="UTF-8"?>

      <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

       

      <ejb-reference-description>

         <ejb-ref-name>AddTaskProcessorBean</ejb-ref-name>

         <jndi-name>com.experian.ncac.ejb.AddTaskProcessorHome</jndi-name>

        </ejb-reference-description>

       

      <session-descriptor>

        <timeout-secs>7200 </timeout-secs>

        <tracking-enabled>true</tracking-enabled>

      </session-descriptor>

       

      <jsp-descriptor>

        <keepgenerated>true</keepgenerated>

        <package-prefix>jsp_servlet</package-prefix>

        <page-check-seconds>10</page-check-seconds>

        <precompile>true</precompile>

        <precompile-continue>true</precompile-continue>

        <verbose>true</verbose>

        <working-dir>D:\TEST\BEA\user_projects\domains\myApp\classfiles</working-dir>

        <print-nulls>false</print-nulls>

      </jsp-descriptor>

       

      <context-root>

       

      myApp</context-root>

      </weblogic-web-app>

       

      How can I convert <ejb-reference-description> , <jsp-description> and <session-descriptor> tags   to jboss-web.xml tags.

       

       

      I have also tried writing TransformerFactory Class to convert xml to xml using xslt file  .But it provides only inner  inputs no Jboss-web.xslt tags

      Please help me or provide me some reference .

       

      kind regards

      AG