3 Replies Latest reply on Mar 3, 2009 11:11 PM by Peter Johnson

    Unable to access static htmls files and JSPs placed in file

    RAJENDRA KAVURI Newbie

      Hi

      Recently I am trying to upgrade to JBoss5.0.1 GA version. Previously we are using JBoss4.2.1GA. We have some html and JSP pages need to be accessed from file system. We have placed them under C:/Root/test.war folder. To access these web these pages we have modifed following section in jboss-server.xml file available under ${JBossRoot}/server/default/conf folder and it is working fine.

      Code:

      <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
       name="jboss.deployment:type=DeploymentScanner,flavor=URL">
      
       <attribute name="URLs">
       deploy/,../../Root/
       </attribute>
       <attribute name="RecursiveSearch">True</attribute>
      
       </mbean>


      When I am trying to browse the same file in JBoss5, i do not find this section. So I have serched the forums and tried following things to access pages. None of them are working fine.

      1) Addibng Context entry in server.xml - Failed
       2) Modified profile.xml available under /conf/bootstrap file - Not working
      
       Also read the JIRA issue entered related to this issue -
      
       https://jira.jboss.org/jira/browse/JBAS-6368

      Please advise.

      Thanks
      Raj