0 Replies Latest reply on Feb 21, 2013 2:53 PM by Praveen Gunda

    Porting a simple JSP/Servlet web app from Websphere 7.1 to JBoss AS 7.1.1

    Praveen Gunda Newbie

      I have a Web application that uses JSP & Servlets. This is currently running on Websphere 7.1. We are trying to port to JBoss AS 7.1.1 in standalone mode to start with and am having issues.

      The WAR deployed successfully and I get the home page (Static HTML)


      Our application uses two files ibm-bnd-ext.xmi and ibm-web-ext.xmi .. These two files seem to be Websphere specific and detail the configuration of the JSP engine and Servlet engine.



      <?xml version="1.0" encoding="UTF-8"?>
      <com.ibm.ejs.models.base.extensions.webappext:WebAppExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:com.ibm.ejs.models.base.extensions.webappext="webappext.xmi" xmi:id="WebAppExtension_1" reloadInterval="3" reloadingEnabled="true" additionalClassPath="" fileServingEnabled="true" directoryBrowsingEnabled="false" serveServletsByClassnameEnabled="true">
        <webApp href="WEB-INF/web.xml#WebApp"/>
        <jspAttributes xmi:id="JSPAttribute_1310946960877" name="reloadEnabled" value="true"/>
        <jspAttributes xmi:id="JSPAttribute_1310946960878" name="reloadInterval" value="10"/>




      <?xml version="1.0" encoding="UTF-8"?>
      <com.ibm.ejs.models.base.bindings.webappbnd:WebAppBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:com.ibm.ejs.models.base.bindings.webappbnd="webappbnd.xmi" xmi:id="WebAppBinding_1" virtualHostName="default_host">
        <webapp href="WEB-INF/web.xml#WebApp"/>


      What is the equivalent configuration of these in JBoss?

      Also, how do we enable Serve Servlets by Class Name in JBoss?


      Any help is greatly appreciated...