Hi Devs,

I tried to follow [1].

My /repostory/conf/tomcatcatalina-server.xml file look like this



      <Host name="localhost" unpackWARs="true" deployOnStartup="false"
autoDeploy="false"
appBase="${carbon.home}/repository/deployment/server/webapps/">
        *  <Context
 docBase="/work/temp/wso2as-5.2.1/repository/conf/myfolder"
path="/test/ping" /> *
          <Valve
className="org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve"/>
          <Valve className="org.apache.catalina.valves.AccessLogValve"
directory="${carbon.home}/repository/logs"
               prefix="http_access_" suffix=".log"
               pattern="combined" />
          <Valve
className="org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve"
threshold="600"/>
          <Valve
className="org.wso2.carbon.tomcat.ext.valves.CompositeValve"/>
  <Valve
className="org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve"/>
  <Valve
className="org.wso2.carbon.statistics.webapp.RequestIntercepterValve"/>
      </Host>


If i access

http://localhost:9763/test/ping/test.xml


It says 404 not found. If i apply this to tomcat 7.x, it works.

Can you help me to understand why and get it working?

[1]
https://www.moreofless.co.uk/static-content-web-pages-images-tomcat-outside-war/

Thanks

-- 
*Hasitha Abeykoon*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
*cell:* *+94 719363063*
*blog: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to