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 "Dzmitry Hancharou (Created) (JIRA)" <ji...@apache.org> on 2011/11/03 15:45:35 UTC
[jira] [Created] (AXIS2-5178) Axis2 Clustering on Tomcat
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
Fix For: 1.6.1
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)
--
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
[jira] [Commented] (AXIS2-5178) Axis2 Clustering on Tomcat
Posted by "Afkham Azeez (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148705#comment-13148705 ]
Afkham Azeez commented on AXIS2-5178:
-------------------------------------
@Dmitry,
Are you running Axis2 as two different webapps, or are you running two different Tomcat servers?
> 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
[jira] [Commented] (AXIS2-5178) Axis2 Clustering on Tomcat
Posted by "Kishanthan Thangarajah (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (AXIS2-5178) Axis2 Clustering on Tomcat
Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265664#comment-13265664 ]
Sagara Gunathunga commented on AXIS2-5178:
-------------------------------------------
I tested with a different sample and it seems this should work too.
> 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
[jira] [Issue Comment Edited] (AXIS2-5178) Axis2 Clustering on
Tomcat
Posted by "Afkham Azeez (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148705#comment-13148705 ]
Afkham Azeez edited comment on AXIS2-5178 at 11/11/11 8:00 PM:
---------------------------------------------------------------
@Dmitry,
Are you running Axis2 as two different webapps, or are you running two different Tomcat servers?
Edit: looks like you have two different Tomcat servers since you have attached two server.xml files
was (Author: afkham_azeez):
@Dmitry,
Are you running Axis2 as two different webapps, or are you running two different Tomcat servers?
> 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
[jira] [Resolved] (AXIS2-5178) Axis2 Clustering on Tomcat
Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sagara Gunathunga resolved AXIS2-5178.
---------------------------------------
Resolution: Not A Problem
Fix Version/s: (was: 1.6.1)
Assignee: (was: Afkham Azeez)
> 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
> Labels: clustering, tomcat,
> 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
[jira] [Updated] (AXIS2-5178) Axis2 Clustering on Tomcat
Posted by "Dzmitry Hancharou (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dzmitry Hancharou updated AXIS2-5178:
-------------------------------------
Attachment: bug.zip
> 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
> 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
[jira] [Assigned] (AXIS2-5178) Axis2 Clustering on Tomcat
Posted by "Afkham Azeez (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Afkham Azeez reassigned AXIS2-5178:
-----------------------------------
Assignee: Afkham Azeez
> 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
[jira] [Updated] (AXIS2-5178) Axis2 Clustering on Tomcat
Posted by "Dzmitry Hancharou (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dzmitry Hancharou updated AXIS2-5178:
-------------------------------------
Description:
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.
was:
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)
> 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
> Labels: clustering, tomcat,
> Fix For: 1.6.1
>
>
> 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
[jira] [Commented] (AXIS2-5178) Axis2 Clustering on Tomcat
Posted by "Dzmitry Hancharou (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149503#comment-13149503 ]
Dzmitry Hancharou commented on AXIS2-5178:
------------------------------------------
Yes, two Tomcat servers.
> 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