0 Replies Latest reply on Jul 16, 2007 9:33 AM by ruchi thakur

    define custom context in context.xml

    ruchi thakur Newbie

      Hi,
      I'm using jboss 4.0.5, and I tried to define custom context in server.xml.
      ,but I can not access the context, I keep on getting 404.

      I wrote following in server.xml. It does not work



      Do i need to put this in context.xml. If yes how can i do it.
      Below is my dafault context.xml
      <!-- The contents of this file will be loaded for each web application -->

      <!-- Session persistence is disable by default. To enable for all web
      apps set the pathname to a non-empty value:


      To enable session persistence for a single web app, add a
      WEB-INF/context.xml
      -->


      <!-- Install an InstanceListener to handle the establishment of the run-as
      role for servlet init/destroy events.
      -->
      org.jboss.web.tomcat.security.RunAsListener


      Regards,
      Ruchika