Bug 778326 (SOA-811)

Summary: sample-bindings.xml
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Aleksandar Kostadinov <akostadinov>
Component: JBossESB, Embedded Server, ExamplesAssignee: Aleksandar Kostadinov <akostadinov>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3 IR4   
Target Milestone: ---   
Target Release: 4.3 IR5   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-811
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-26 20:26:02 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 Aleksandar Kostadinov 2008-09-19 09:08:05 UTC
Date of First Response: 2008-09-19 05:55:29
project_key: SOA

I see that jboss-as/docs/examples/binding-manager/sample-bindings.xml has ${jboss.esb.bind.address} instead of ${jboss.bind.address} on some places.

Is this intentional and why? For me it breaks the EAP test suite run against SOA-P because jboss.esb.bind.address is missing as a property. But anyways I don't see any reason to have somewhere configured ${jboss.bind.address} and somewhere ${jboss.esb.bind.address}. I think it should be jboss.bind.address because it is set by the server startup process and the other one needs to be set manually.

Btw you can look at JBPAPP-996 for some issues with the sample-bindings.xml in EAP. I'm not sure if these apply to SOA-P.

Comment 1 Kevin Conner 2008-09-19 09:55:29 UTC
Of course it is intentional, that is why it is included.

It was part of the work for JBESB-1804 and did work in previous versions although this seems to no longer be the case.

It may be better if we stick to the actual issue rather than the description above and, for completeness, here is what I am seeing when I start the current server.  I assume you are seeing the same thing.

java.net.UnknownHostException: ${jboss.esb.bind.address}: ${jboss.esb.bind.address}
	at java.net.InetAddress.getAllByName0(InetAddress.java:1145)
	at java.net.InetAddress.getAllByName(InetAddress.java:1072)
	at java.net.InetAddress.getAllByName(InetAddress.java:1008)
	at java.net.InetAddress.getByName(InetAddress.java:958)
	at org.jboss.services.binding.ServiceBinding.setBindAddress(ServiceBinding.java:131)
	at org.jboss.services.binding.ServiceBinding.<init>(ServiceBinding.java:87)
	at org.jboss.services.binding.XMLServicesStore.parseBinding(XMLServicesStore.java:220)
	at org.jboss.services.binding.XMLServicesStore.parseConfig(XMLServicesStore.java:181)
	at org.jboss.services.binding.XMLServicesStore.parseServer(XMLServicesStore.java:147)
	at org.jboss.services.binding.XMLServicesStore.load(XMLServicesStore.java:121)
	at org.jboss.services.binding.ServiceBindingManager.initStore(ServiceBindingManager.java:346)
	at org.jboss.services.binding.ServiceBindingManager.applyServiceConfig(ServiceBindingManager.java:256)


Comment 2 Kevin Conner 2008-09-19 09:57:39 UTC
Link: Added: This issue depends JBESB-2056


Comment 3 Aleksandar Kostadinov 2008-09-19 10:09:39 UTC
Yes, exactly!

Comment 4 Aleksandar Kostadinov 2008-09-26 20:26:02 UTC
verified in IR5