You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/01/19 08:06:12 UTC

DO NOT REPLY [Bug 48569] New: Not able to replicate Servlet Context Attributes

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.gutha@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48569] Not able to replicate Servlet Context Attributes

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48569

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-02-16 00:27:43 UTC ---
This works for me. There are some odd looking values in your Context element. I
suspect you have a configuration problem. Please use the Tomcat users list to
help you debug it.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org