2 Replies Latest reply on Jun 8, 2005 2:56 AM by ssureddy

    JSP Reloading in JBOSS, Please Help

    ssureddy

      Hello,
      I am using JBOSS 4 app. server. When I change a jsp under my deployed folder, I am not able to get my new changes reloaded unless I restart the jboss server. I changed a configuration setting under <<JBOSS_HOME>>\server\default\deploy\jbossweb-tomcat50.sar\server.xml to <DefaultContext reloadable="true" cookies="true" crossContext="true" override="true"/>. But this does not seem to work.
      Please help. Thanks in advance.

      Regards,
      Srikanth.

        • 1. Re: JSP Reloading in JBOSS, Please Help

          Are you deploying from a custom location? If so, make sure that you location is followed by a / in the jboss-service.xml file, located in the conf directory of the server instance. Here is an example:

          <attribute name="URLs">
          deploy/,../../../mydeploy/
          </attribute>
          


          Without the trailing slash, it will not be scanned by the deployment scanner. There is a comment in the jboss-service.xml file that explains how this relates to RFC2518.

          Darin

          • 2. Re: JSP Reloading in JBOSS, Please Help
            ssureddy

            My ear file is deployed directly from the JBOSS deployment folder which is <<JBOSS_HOME>>\server\default\deploy. I changed my JSPs under this deployment folder. But my changes are not reflected without redeploying the application or restarting the server.