Trouble when enrolling remote participant
xiaoqj Jun 20, 2006 5:19 AMI'm trying to deploy the elementary restaurant service at another jboss instance(192.168.0.49:8080), while the composite service remains at the original jboss instance(192.168.0.56:8080) where the jsp portal stays.
After RestaurantServiceAT received the SOAP request, it's just stuck at participant enrollment.
16:41:09,572 INFO [STDOUT] RestaurantServiceAT transaction id =AtomicTransactio nIdentifier: -3f57ffc8:403:4497b265:f 16:41:09,572 INFO [STDOUT] RestaurantServiceAT - enrolling...
Then the composite service cannot wait forever, so it timed out.
The following is the soap request to RestaurantServiceAT:
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <wscoor:CoordinationContext xmlns:wscoor="http://schemas.xmlsoap.org/ws/2004/10/wscoor"> <wscoor:Identifier xmlns:wscoor="http://schemas.xmlsoap.org/ws/2004/10/wscoor">-3f57ffc8:403:4497b265:f</wscoor:Identifier> <wscoor:CoordinationType xmlns:wscoor="http://schemas.xmlsoap.org/ws/2004/10/wscoor">http://schemas.xmlsoap.org/ws/2004/10/wsat</wscoor:CoordinationType> <wscoor:RegistrationService xmlns:wscoor="http://schemas.xmlsoap.org/ws/2004/10/wscoor"> <wsa:Address xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://192.168.0.56:8080/xts/soap/RegistrationCoordinator</wsa:Address> <wsa:ReferenceParameters xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <wsarj:InstanceIdentifier xmlns:wsarj="http://schemas.arjuna.com/ws/2005/10/wsarj">-3f57ffc8:403:4497b265:f</wsarj:InstanceIdentifier> </wsa:ReferenceParameters> </wscoor:RegistrationService> </wscoor:CoordinationContext> </soapenv:Header> <soapenv:Body> <ns1:bookSeats xmlns:ns1="http://www.jboss.com/jbosstm/xts/demo/Restaurant"> <in0>1</in0> </ns1:bookSeats> </soapenv:Body> </soapenv:Envelope>
Then the context identifier matches and RegistrationCoordinator is also correct. And I didn't change the ws-c.war's context-root in application.xml
The application.xml
<application> <display-name>XML Transaction Service Demo</display-name> <description>XML Transaction Service Demo</description> <module> <web> <web-uri>ws-c.war</web-uri> <context-root>/xts</context-root> </web> </module> ... </application>