2 Replies Latest reply on Aug 9, 2007 6:34 PM by mcclainc

    How to define additional context for JBoss Portal 2.6

    mcclainc

      I'm running jboss-portal-2.6-CR2.

      I want to define an additional context in order for my portlet to retrieve files from the filesystem.

      I've tried adding

      <context path="/data" docBase="E:/data">
      </context>
      


      to jbossweb-tomcat55.sar/context.xml
      but it's not working.......

      I pass in http://localhost:8080/data/xxxx/xxxx/x.txt and expect this to resolve to E:/data/xxxx/xxxx/x.txt

      E:/data/xxxx/xxxx/x.txt exists.

      What am I doing wrong?