Bug 778328 (SOA-813)

Summary: ServiceInvoker fails to find HAJNDI when invoked in clustered environment
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Magesh Bojan <mageshbk>
Component: JBossESBAssignee: tcunning
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.2 CP02   
Target Milestone: ---   
Target Release: FUTURE   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-813
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
SOA-P and Fedora9 Linux
Last Closed: 2011-12-06 22:01:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Magesh Bojan 2008-09-20 06:18:57 UTC
Date of First Response: 2008-09-21 14:28:37
project_key: SOA

Create two instances of SOA-P in Linux platform using the ports binding service. Start the two instances. Change the InquiryURI and PublishURI as below in jbossesb-properties.xml inside samples/quickstarts/helloworld:

<property name="org.jboss.soa.esb.registry.queryManagerURI"     		
    		value="jnp://127.0.0.1:1100/InquiryService?org.apache.juddi.registry.rmi.Inquiry#inquire"/>    		
<property name="org.jboss.soa.esb.registry.lifeCycleManagerURI"     		
    		value="jnp://127.0.0.1:1100/PublishService?org.apache.juddi.registry.rmi.Publish#publish" />

Notice they use HAJNDI ports. Deploy Quicktsart_helloworld_esb and run "ant sendesb", the test fails with exception:

sendesb:
     [echo] Runs Test ESB Message Sender
     [java] Exception in thread "main" org.jboss.soa.esb.listeners.message.MessageDeliverException: Failed to deliver message [header: [  ]] to Service [JBossESB-Internal:DeadLetterService].  Check for errors.
     [java] 	at org.jboss.soa.esb.client.ServiceInvoker.post(ServiceInvoker.java:356)
     [java] 	at org.jboss.soa.esb.client.ServiceInvoker.deliverAsync(ServiceInvoker.java:225)
     [java] 	at org.jboss.soa.esb.client.ServiceInvoker.deliverToDeadLetterService(ServiceInvoker.java:267)
     [java] 	at org.jboss.soa.esb.client.ServiceInvoker.deliverAsync(ServiceInvoker.java:235)
     [java] 	at org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage.main(SendEsbMessage.java:55)

However, this only happens in Linux enviornment (Fedora9 in my test) and passes in Windows. Also the HAJNDI port 1100 works if only one instance is running in that cluster partition.

When we use these ports 1100/1200 in JMS client and do "ant runtest", they connect seamlessly.

Comment 1 Mark Little 2008-09-21 18:28:37 UTC
This is an ESB issue. Please follow JIRA procedures for raising SOA-P issues and create a cross-link.

Comment 2 Magesh Bojan 2008-09-22 03:31:52 UTC
Link: Added: This issue depends JBESB-2060


Comment 3 Kevin Conner 2008-09-22 08:14:16 UTC
Well, it is certainly one for us to check out but it is unusual that it works on windows and not linux.