[
https://issues.apache.org/jira/browse/AXIS2-5178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264483#comment-13264483
]
Kishanthan Thangarajah commented on AXIS2-5178:
-----------------------------------------------
Hi,
This is because the ClusteringAgent was not initialized when updateContexts
method was called. Can you try changing the <parameter
name="AvoidInitiation">true</parameter> to false in axis2.xml under clustering
section and then try again to see whether it works?
Thanks,
Kishanthan.
> Axis2 Clustering on Tomcat
> --------------------------
>
> Key: AXIS2-5178
> URL: https://issues.apache.org/jira/browse/AXIS2-5178
> Project: Axis2
> Issue Type: Bug
> Components: deployment
> Affects Versions: 1.6.1
> Environment: Tomcat 7.0.22, Axis2 1.6.1
> Reporter: Dzmitry Hancharou
> Assignee: Afkham Azeez
> Labels: clustering, tomcat,
> Fix For: 1.6.1
>
> Attachments: bug.zip
>
>
> I've extracted Axis2 distribution in two different tomcat directories and
> changed http ports in axis2 xml.
> After that I've enabled clustering support by changing Clustering section.
> Also I created simple ClusterableService with getName/setName methods in
> application scope.
> But after running I've got NullPointerException:
> at
> org.apache.axis2.clustering.state.DefaultStateManager.updateContexts(DefaultStateManager.java:80)
> at org.apache.axis2.clustering.state.Replicator.replicate(Replicator.java:81)
> If I run simple axis2servers everything works.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]