Now, Kandula client can call the ws in wstm in the same machine(environment A), 
so I copy the
whole web app to another machine(environment B). The only difference between 
environment A and B
is at the service locator, in which I change the address from
"http://centerhost:8080/services/MyService"; in A to 
"http://nodehostb:8080/services/MyService"; in
B.

The file kandula.properties is same in both machines, so I need not change 
kandula.context, which
is http://centerhost:8080/services/.

In environment A, kandula client, kandula coordinator service and the kandula 
ws service are in
same machine "centerhost". In environment B, kandula client, and the kandula ws 
service are in
same machine "nodehostb", but the kandula coordinator service is at machine 
"centerhost". 

This is the test environment. I can run environment A's kandula client, but 
when I run environment
B's kandula client, after the ws in "nodehostb" is called, both machines come 
into waiting state,
later, errors occur as following.

Web service side in "nodehostb" 
--------------------------------------------------
[CallbackRegistry] registerCallback: timeout= 180000
[AbstractParticipant] timeout ACTIVE
org.apache.kandula.coordinator.TimedOutException
at 
org.apache.kandula.coordinator.at.AbstractParticipant.timeout(AbstractParticipant.java:221)
at 
org.apache.kandula.coordinator.CallbackRegistry$1.run(CallbackRegistry.java:62)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
-------------------------------------------------

Kandula coordinator side in "centerhost"
--------------------------------------------------
[CallbackRegistry] registerCallback: timeout= 180000
[ATCoordinatorImpl] timeout NONE
[AbstractParticipant] timeout NONE
[ATCoordinatorImpl] timeout PREPARING_DURABLE
org.apache.kandula.coordinator.TimedOutException 
at 
org.apache.kandula.coordinator.at.ATCoordinatorImpl.timeout(ATCoordinatorImpl.java:487)
at 
org.apache.kandula.coordinator.CallbackRegistry$1.run(CallbackRegistry.java:62)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
--------------------------------------------------

Where is the problem ?



Wang Jun


        

        
                
___________________________________________________________ 
雅虎1G免费邮箱百分百防垃圾信 
http://cn.mail.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to