Author: jeff.yuchang
Date: 2013-01-11 02:57:46 -0500 (Fri, 11 Jan 2013)
New Revision: 1598
Modified:
dsp/trunk/integration/jbossas5/src/main/java/org/jboss/soa/dsp/server/jbossas5/JBossServerConfigImpl.java
dsp/trunk/integration/jbossas6/src/main/java/org/jboss/soa/dsp/server/jbossas6/JBossServerConfigImpl.java
Log:
RIFTSAW-519: updated the node name.
Modified:
dsp/trunk/integration/jbossas5/src/main/java/org/jboss/soa/dsp/server/jbossas5/JBossServerConfigImpl.java
===================================================================
---
dsp/trunk/integration/jbossas5/src/main/java/org/jboss/soa/dsp/server/jbossas5/JBossServerConfigImpl.java 2013-01-11
07:57:00 UTC (rev 1597)
+++
dsp/trunk/integration/jbossas5/src/main/java/org/jboss/soa/dsp/server/jbossas5/JBossServerConfigImpl.java 2013-01-11
07:57:46 UTC (rev 1598)
@@ -234,7 +234,7 @@
public String getClusterNodeName() {
if (this.clusterNodeName == null || "".equals(this.clusterNodeName.trim()))
{
- return nonClusteredServerName;
+ return getDefaultNodeName();
}
return this.clusterNodeName;
}
@@ -244,6 +244,10 @@
}
+ public String getDefaultNodeName() {
+ return this.getWebServiceHost() + ":" + this.getWebServicePort();
+ }
+
public String getUddiNodeName() {
return this.getWebServiceHost() + "-" + this.getWebServicePort();
}
Modified:
dsp/trunk/integration/jbossas6/src/main/java/org/jboss/soa/dsp/server/jbossas6/JBossServerConfigImpl.java
===================================================================
---
dsp/trunk/integration/jbossas6/src/main/java/org/jboss/soa/dsp/server/jbossas6/JBossServerConfigImpl.java 2013-01-11
07:57:00 UTC (rev 1597)
+++
dsp/trunk/integration/jbossas6/src/main/java/org/jboss/soa/dsp/server/jbossas6/JBossServerConfigImpl.java 2013-01-11
07:57:46 UTC (rev 1598)
@@ -234,7 +234,7 @@
public String getClusterNodeName() {
if (this.clusterNodeName == null || "".equals(this.clusterNodeName.trim()))
{
- return nonClusteredServerName;
+ return getDefaultNodeName();
}
return this.clusterNodeName;
}
@@ -243,6 +243,9 @@
this.clusterNodeName = clusterNodeName;
}
+ public String getDefaultNodeName() {
+ return this.getWebServiceHost() + ":" + this.getWebServicePort();
+ }
public String getUddiNodeName() {
return this.getWebServiceHost() + "-" + this.getWebServicePort();
Show replies by date