2013/3/7 Jay Kakkad <jay_kak...@persistent.co.in>:
> [ version of tomcat : 6.0.35 , os version : RHEL 6.3 , Bit configuration : 
> 64bit ]
>
> Hi,
> I am having a requirement where I need to have the same Multicast Ip, but the 
> cluster needs to be differentiated based on domain.For this we are using a 
> domain interceptor DomainFilterInterceptor. So we have configured server.xml 
> as follows:
>
> <Host name="localhost"  appBase="webapps" unpackWARs="true" autoDeploy="true"
>             xmlValidation="false" xmlNamespaceAware="false">
> <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" 
> channelSendOptions="8">
> <Manager className="org.apache.catalina.ha.session.DeltaManager"
> expireSessionsOnShutdown="false"
>  notifyListenersOnReplication="true"/>
> ......................
> <Membership className="org.apache.catalina.tribes.membership.McastService"
> address="228.0.0.4"
> domain="abc.com"
> port="45564"
> frequency="500"
> dropTime="3000" />
> .................
> <Interceptor 
> className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
> <Interceptor 
> className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
> <Interceptor 
> className="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor"/>
> <Interceptor 
> classname="org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor"
>  domain="abc.com"/>

The above line is broken.  s/classname/className/

> ..................
> </Channel>
> .....................
> </Cluster>
> </Host>
>
> For this configuration we are getting the following error.
>
> java.lang.NullPointerException
>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at 
> org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:205)
> (...)

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

Reply via email to