Hi Maheeka,

​I have also checked my configuration file in ESB and as you mentioned, it
uses Hazelcast clustering. But when I check the axis sample server which
comes under ESB samples, it has Tribes as the clustering agent. However
without changing clustering type to Hazelcast in axis2.xml, I was able to
up and run the sample axis server.

For the educational purpose, then I changed it to Hazelcast clustering as
you mentioned, I got the following error.

INFO: [127.0.0.1]:4000 [apache.axis2.application.domain]
Address[127.0.0.1]:4000 is STARTED
15/03/03 15:47:59 INFO hazelcast.HazelcastClusteringAgent: Hazelcast
initialized in 7136ms
15/03/03 15:47:59 INFO hazelcast.HazelcastClusteringAgent: Local member:
[8f395038-748e-4e91-a26a-e692792b32d3] - Host:127.0.0.1, Remote Host:null,
Port: 4000, HTTP:9000, HTTPS:9002, Domain: apache.axis2.application.domain,
Sub-domain:null, Active:true
15/03/03 15:47:59 FATAL util.SampleAxis2ServerManager: [SimpleAxisServer]
Shutting down. Error starting SimpleAxisServer
java.lang.*NullPointerException*
        at
org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:229)
        at
samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:106)
        at
samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61)
        at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40)


-- 
Milan Harindu Perera
Software Engineer
*WSO2, Inc*
(+94) 77 309 7088
lean . enterprise . middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to