0 Replies Latest reply on Jun 12, 2013 1:30 AM by jay gohel

    how to access folder insite jboss 6.1.0 directly through URL or access the folder publically

    jay gohel Newbie

      I am working on JBOSS 6.1.0. I want to assign context path inside host element of the server.xml but it gives me following error.

      Deployment "WebServer" is in error due to the following reason(s): 
      org
      .jboss.xb.binding.JBossXBRuntimeException: Defau ltContext cannot appear in this position.
      Expected content of Host is unordered_sequence: Listener* Valve* Alias* Realm? attributes?

      The same configuration working fine with jboss 4.2.2GA. do anyone have any idea where I can define following path in JBOSS 6.x?

      <Context path="/cp" docBase="D:\jboss-4.2.2.GA\server\default\testImages" unpackWAR="false" />