Bug 779565 (SOA-1941)

Summary: Server startup freezes when jUDDI default node uses default JAX-WS transport settings.
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Marek Baluch <mbaluch>
Component: Configuration, jUDDI - within SOAAssignee: Kevin Conner <kevin.conner>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0.0 CR1   
Target Milestone: ---   
Target Release: 5.1.0 GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1941
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-02 07:06:39 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:
Attachments:
Description Flags
server.log
none
esb.juddi.client.xml none

Description Marek Baluch 2010-02-10 10:33:30 UTC
Affects: Release Notes
Date of First Response: 2010-02-10 05:54:53
project_key: SOA

If we setup the "default" node in esb.juddi.client.xml file to use preconfigured JAX-WS transport settings then server will freeze during startup when it tries to deploy juddi. For more information see attached log.

HOW TO REPRODUCE:

* Use the attached esb.juddi.client.xml file and start the server.

Comment 1 Marek Baluch 2010-02-10 10:34:15 UTC
Attachment: Added: server.log
Attachment: Added: esb.juddi.client.xml


Comment 2 Kevin Conner 2010-02-10 10:54:53 UTC
This is *why* you need to use InVM when talking to the local server.  The web server (i.e. WS endpoints) are not available until after the server has started.

Comment 3 Marek Baluch 2010-02-10 12:04:08 UTC
I know the reason *why* it does not start. IMHO the configuration should not be there. At least not with the URL's pointing to the same port and host name if it doesn't serve as some kind of example. 

The RMI configuration works.

Comment 4 Kevin Conner 2010-02-10 12:09:08 UTC
It is there in case someone chooses to use WS to access a remote UDDI, so perhaps the only issue is the fact that it specifies ${jboss.esb.bind.address} and that any documentation on this does not say *replace*.

Perhaps it would be better to replace it with

                <custodyTransferUrl>http://REMOTE_HOST:REMOTE_PORT/juddiv3/services/custody-transfer?wsdl</custodyTransferUrl>

and fix the docs.

Comment 5 Marek Baluch 2010-02-10 12:26:30 UTC
Perhaps it does not have to say *replace*, but changing the ${jboss.esb.bind.address} to something else is definitely a good idea.

Comment 7 Len DiMaggio 2010-02-10 14:47:57 UTC
Affects: Added: [Documentation (Ref Guide, User Guide, etc.), Release Notes]


Comment 8 tcunning 2010-02-10 14:56:23 UTC
We could probably add a comment into the JAX-WS esb.juddi.client.xml section referencing the doc section that talks about the tomcat connector problem locally for future versions.

Comment 9 Kevin Conner 2010-02-10 15:08:20 UTC
I suspect that specifying REMOTE_HOST:REMOTE_PORT would be sufficient, as the tomcat behaviour is deliberate and is probably documented in the EAP docs.

Comment 10 Kevin Conner 2010-11-08 06:20:18 UTC
Link: Added: This issue depends JBESB-3528


Comment 11 Kevin Conner 2010-11-08 06:23:14 UTC
Updated the default configuration to use REMOTE_HOST:REMOTE_PORT

Comment 12 Anne-Louise Tangring 2010-12-06 18:52:02 UTC
Kevin, you said this was resolved, or no longer an issue. Please mark resolved. Thanks.

Comment 13 Kevin Conner 2010-12-07 15:12:58 UTC
ESB configuration was updated to remove the properties which represent the local bindings.

Comment 14 Marek Baluch 2010-12-08 12:30:30 UTC
Verified on SOA-P ER5.

Comment 15 Dana Mison 2010-12-20 03:37:17 UTC
Affects: Removed: [Documentation (Ref Guide, User Guide, etc.), Release Notes] Added: [Release Notes]


Comment 16 Dana Mison 2011-01-05 00:36:32 UTC
Reopening to document

Comment 17 Dana Mison 2011-01-05 00:36:54 UTC
Release Notes Docs Status: Added: Not Yet Documented
Writer: Added: Darrin


Comment 18 Dana Mison 2011-01-05 01:15:08 UTC
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue
Release Notes Text: Added: https://issues.jboss.org/browse/JBESB-3528
The PROFILE/deploy/jbossesb.sar/esb.juddi.client.xml configuration file included a commented-out example that used the JAX-WS transport to connect to the local UDDI registry.  Using this configuration caused the server to freeze at launch.   The JAX-WS transport can only be used to connect to a remote UDDI registry because the required webservice endpoints are not available until after the server has finished launching. The JAX-WS configuration example has been updated to replace the ${jboss.esb.bind.address}:8080 values with REMOTE_HOST:REMOTE_PORT.  Using this configuration requires that the settings are edited to include the correct hostname and port for the remote UDDI registry.


Comment 19 Dana Mison 2011-01-05 01:32:04 UTC
Release Notes Text: Removed: https://issues.jboss.org/browse/JBESB-3528
The PROFILE/deploy/jbossesb.sar/esb.juddi.client.xml configuration file included a commented-out example that used the JAX-WS transport to connect to the local UDDI registry.  Using this configuration caused the server to freeze at launch.   The JAX-WS transport can only be used to connect to a remote UDDI registry because the required webservice endpoints are not available until after the server has finished launching. The JAX-WS configuration example has been updated to replace the ${jboss.esb.bind.address}:8080 values with REMOTE_HOST:REMOTE_PORT.  Using this configuration requires that the settings are edited to include the correct hostname and port for the remote UDDI registry. Added: https://issues.jboss.org/browse/JBESB-3528
The PROFILE/deploy/jbossesb.sar/esb.juddi.client.xml configuration file included an example that used the JAX-WS transport to connect to the local UDDI registry.  Using this example configuration caused the server to freeze at launch.   The JAX-WS transport can only be used to connect to a remote UDDI registry because the required webservice endpoints are not available until after the server has finished launching. The JAX-WS configuration example has been updated to replace the ${jboss.esb.bind.address}:8080 values with REMOTE_HOST:REMOTE_PORT.  Using this configuration requires that the settings be edited to include the correct hostname and port for the remote UDDI registry.


Comment 20 Dana Mison 2011-01-05 02:37:59 UTC
Release Notes Text: Removed: https://issues.jboss.org/browse/JBESB-3528
The PROFILE/deploy/jbossesb.sar/esb.juddi.client.xml configuration file included an example that used the JAX-WS transport to connect to the local UDDI registry.  Using this example configuration caused the server to freeze at launch.   The JAX-WS transport can only be used to connect to a remote UDDI registry because the required webservice endpoints are not available until after the server has finished launching. The JAX-WS configuration example has been updated to replace the ${jboss.esb.bind.address}:8080 values with REMOTE_HOST:REMOTE_PORT.  Using this configuration requires that the settings be edited to include the correct hostname and port for the remote UDDI registry. Added: https://issues.jboss.org/browse/JBESB-3528
The PROFILE/deploy/jbossesb.sar/esb.juddi.client.xml configuration file included an example that used the JAX-WS transport to connect to the local UDDI registry.  Using this example configuration caused the server to freeze at launch.   The JAX-WS transport can only be used to connect to a remote UDDI registry because the required webservice endpoints are not available until after the server has finished launching. 
The JAX-WS configuration example has been updated to replace the ${jboss.esb.bind.address}:8080 values with REMOTE_HOST:REMOTE_PORT.  Using this configuration requires that the settings be edited to include the correct hostname and port for the remote UDDI registry.


Comment 21 Dana Mison 2011-02-02 07:05:41 UTC
have to edit release note :-(

Comment 22 Dana Mison 2011-02-02 07:06:39 UTC
Release Notes Text: Removed: https://issues.jboss.org/browse/JBESB-3528
The PROFILE/deploy/jbossesb.sar/esb.juddi.client.xml configuration file included an example that used the JAX-WS transport to connect to the local UDDI registry.  Using this example configuration caused the server to freeze at launch.   The JAX-WS transport can only be used to connect to a remote UDDI registry because the required webservice endpoints are not available until after the server has finished launching. 
The JAX-WS configuration example has been updated to replace the ${jboss.esb.bind.address}:8080 values with REMOTE_HOST:REMOTE_PORT.  Using this configuration requires that the settings be edited to include the correct hostname and port for the remote UDDI registry. Added: https://issues.jboss.org/browse/JBESB-3528
The PROFILE/deploy/jbossesb.sar/esb.juddi.client.xml configuration file included an example that used the JAX-WS transport to connect to the local UDDI registry.  Using this example configuration caused the server to freeze at launch.   The JAX-WS transport can only be used to connect to a remote UDDI registry because the required webservice endpoints are not available until after the server has finished launching. 

The JAX-WS configuration example has been updated to replace the ${jboss.esb.bind.address}:8080 values with REMOTE_HOST:REMOTE_PORT.  Using this configuration requires that the settings be edited to include the correct hostname and port for the remote UDDI registry.