You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Kishanthan Thangarajah (JIRA)" <ji...@apache.org> on 2012/04/29 10:08:45 UTC
[jira] [Commented] (AXIS2-5178) Axis2 Clustering on Tomcat
[ 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org