2 Replies Latest reply on Apr 26, 2004 6:02 AM by Uma Maheswar

    Configuring Servlets

    Uma Maheswar Newbie

      Hello,
      I tried to Modify web.xml file and uncomment the lines for "invoker" servlet. I saved the file and restarted the JBoss. But JBoss remodified the file that I saved to the original state and hence prevent me from using the Servlets.

      How can I uncomment the invoker servlet?

      Thanks
      Uma

        • 1. Re: Configuring Servlets
          Raja Master

          Can you try post the section of code u are modifying? Is this in ur web.xml ? If you are modifying something in the tmp directory of ur config, e.g. <JBOSS_HOME>/server/default/tmp/..../xxx.war
          Then jboss will rewrite it everytime the server starts. There shudnt be a overwrite otherwise.

          • 2. Re: Configuring Servlets
            Uma Maheswar Newbie

            Hi,
            I am trying to modify web.xml file present in F:\jboss-3.2.3\jboss-3.2.3\server\default\conf

            and this is the part of the xml file that I am trying to modify

            <!-- The mapping for the invoker servlet -->
            <!--
            <servlet-mapping>
            <servlet-name>invoker</servlet-name>
            <url-pattern>/servlet/*</url-pattern>
            </servlet-mapping>
            -->

            As soon as I uncomment the XML tags and restart the server. They again come to the same state.

            Any help would be great.

            Thanks
            Uma