Bug 778328 (SOA-813) - ServiceInvoker fails to find HAJNDI when invoked in clustered environment
Summary: ServiceInvoker fails to find HAJNDI when invoked in clustered environment
Keywords:
Status: CLOSED WONTFIX
Alias: SOA-813
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBossESB
Version: 4.2 CP02
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: FUTURE
Assignee: tcunning
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-20 06:18 UTC by Magesh Bojan
Modified: 2011-12-06 22:01 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
SOA-P and Fedora9 Linux
Last Closed: 2011-12-06 22:01:33 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-813 0 Major Closed ServiceInvoker fails to find HAJNDI when invoked in clustered environment 2013-03-14 06:18:36 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.