https://issues.apache.org/bugzilla/show_bug.cgi?id=48569

           Summary: Not able to replicate Servlet Context Attributes
           Product: Tomcat 6
           Version: 6.0.18
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Cluster
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: rnd.gu...@gmail.com


Hello,

As per the Tomcat documentation
(http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html) the servlet
context attributes can be replicated, i did the same by adding the className
attribute as org.apache.catalina.ha.context.ReplicatedContext in Context node.

The below is the sample code.

<Context path="/admin" docBase="/websites/www.izmoindy.com/ROOT/admin"
debug="0" reloadable="true" allowLinking="true"
className="org.apache.catalina.ha.context.ReplicatedContext">
         
<WatchedResource>/websites/www.izmoindy.com/ROOT/admin/WEB-INF/web.xml</WatchedResource>
         
<WatchedResource>/websites/www.izmoindy.com/ROOT/admin/WEB-INF/struts-config.xml</WatchedResource>
         
<WatchedResource>/websites/www.izmoindy.com/ROOT/admin/WEB-INF/faces-config.xml</WatchedResource>
          <Resources className="org.apache.naming.resources.FileDirContext"
allowLinking="true" docBase="" />
        </Context>

Thanks
Regards
Ramakrishna Gutha

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to