http://primavera.zxlm.cn/kb/prim84189 w0fFm"A|W I sB=G-s Problem: How To: Resolve JBoss port conflicts when P6 v7 Web and Contract Management 13 are installed on the same server running on JBoss 5.0.1.
<0H^2ekd Problem: When both Contract Management 13 and P6 v7 JBoss web servers are installed on the same machine, receive error: “Page cannot be displayed”.
>3y:cPTM5 Problem: Port Conflicts when Running P6 v7 Web Application (JBoss) and Contract Management (JBoss) from the same machine
GhY MO6Q4 Cause: By default, both the P6 v7 Web and Contract Manager servers will attempt to use the same ports. If one web server is already started, the other web server will fail because the ports it is attempting to use are already in use.
jftf]n&Z(q Fix: To resolve the port conflict, the default configuration of one of the web servers will need to be changed.
{us"=JJVN 7cZ(g dQ/
:O{
ZZ IHNl`\Le Both web servers have port configuration information stored within files called bindings.xml and server.xml.
^es/xt F]^ZdJ2 $r
m
fE p ^Dm w0y Stop both the Contract Management and the P6 v7 Web Application Services.
vrvOPLiQ dz
yp:\&9 CqbPUcK ##qs{s^] Locate the bindings.xml file to be changed.
<LA!L
Ce_ES. NOTE: Changing either server is acceptable.
44(l1xEN+ {/SLDyf%Z Default file location for Contract Management: <Install Drive>\jboss-5.0.1.GA\server\cm\conf\bootstrap\bindings.xml
e2$k
%c~ Default file location for P6 v7 Web Access: <Install Drive>\jboss-5.0.1.GA\server\primaveraweb\conf\bootstrap\bindings.xml
o<8=@ ^T UqaV9 xdd;!HK, u.L{3gkT Ensure the file is not read-only, open with Notepad.
([L5i&DT W=@]
YI zeG_H}[2& gl~>MasV& Change the port numbers for the following eight areas:
{%Q&CQG_ o&b1-=MC2 or{X{_X7 Remote classloading service
RkuPMs
Hw; vTY+J$N__ Change port 8083 to an available port.
l2LUcI$ x 'CSIC8M<j For Example:
*Af:^>mh z}:|is)? <!– Remote classloading service –>
vPA {)l\K <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
k9pOY]_Y <property name=”serviceName”>jboss:service=WebService</property>
x O~t <property name=”port”>8084</property>
i-`n5, </bean>
Mk~]0d T
2^0Q9E? nR1QS_@{L RMI/JRMP invoker
ToWtltCD CZL:&~l1 Change port 4444 to an available port.
SsE8;IGH E1uyMh-dy For Example:
H=j&uv8 \Gk4J< <!– RMI/JRMP invoker –>
0[qU k(=}[ <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
|_^A$Hv <property name=”serviceName”>jboss:service=invoker,type=jrmp</property>
NlS/PWc6( <property name=”port”>4454</property>
XH?}0D( </bean>
LK1 r@
`N69xAiy ?Q]{P] Pooled invoker
'9Hah >K2Md*[P3q Change port 4445 to an available port.
:bhpYEUMx c3>#
.NP_ For Example:
:q
x
d])- Vg0$5@ <!– Pooled invoker –>
>(}
I7 <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
,(6U3W*bu <property name=”serviceName”>jboss:service=invoker,type=pooled</property>
&F
*L=Ng <property name=”port”>4455</property>
_djr>C=H" </bean>
FOFZ/q fJb<<6C rl
0sN5n Naming Service
Tw!]N%E 'n9<z)/,! Change ports 1098 and 1099 to available ports.
kXmnLxhS/ OKo39 A\fu For Example:
a5v}w7vL f#s
/Ycp+ <!– Naming Service –>
1@j0kTJ~m <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
7g}lg8M <property name=”serviceName”>jboss:service=Naming</property>
J
P2zom <property name=”bindingName”>Port</property>
FZW)C'j <property name=”port”>10990</property>
(o!v,=# 6{ </bean>
SIBNU3;DL 7gL N7_2 <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
'.sS"QdN <property name=”serviceName”>jboss:service=Naming</property>
BM(8+Wj <property name=”bindingName”>RmiPort</property>
VOkEDH
<property name=”port”>10980</property>
DriJn`vtzq </bean>
Ag
3[Nu1 na;U]IK
!$/1Q+ deploy/jmx-remoting.sar
)%4%Uo_Xm K0|8h!WF+ Change port 1090 to an available port.
@WV}VKm ZfPWH'P For Example:
(vq0Gl y"Fp4$qb <!– ********************* deploy/jmx-remoting.sar **************** –>
:x36^{7
tOJK~%' <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
kZ&|.q1zki <property name=”serviceName”>jboss.remoting:service=JMXConnectorServer,protocol=rmi</property>
P8hA<{UFS\ <property name=”port”>10900</property>
J}Q4.1WG$ </bean>
OF$0]V ?#OGH`ZvkI :ET05MFs\# Standard JBM bisocket connector
YVzcV`4w( O5:?nD Change port 4457 to an available port.
V/X4WZs|i y\=(;]S' For Example:
W'3&\} L/2{}l>D <!– Standard JBM bisocket connector –>
I9sx*' <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
i%1ny`Q <property name=”serviceName”>jboss.messaging:service=Connector,transport=bisocket</property>
hxIG0d!o <property name=”port”>4458</property>
@8IYJ{= </bean>
Who7{|M\' + 9vd(c qTbY'V5A JBossTS Recovery Manager
@x9DV{j)V ~i
`@ Change port 4712 to an available port.
XkB^.[B Oeua<,]Z~ For Example:
JfJUOaL fZoV\a6Kj <!– JBossTS Recovery Manager –>
3|$>2IRq <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
KfC8~{O- <property name=”serviceName”>TransactionManager</property>
F[q:jY <property name=”bindingName”>recoveryManager</property>
+&LzLF.bK <property name=”port”>4715</property>
d3A= (/>D </bean>
q#fj?`k bFivHms m$T?~oo JBossTS Transaction Status Manager
fz%I'+! OBGA~E;% Change port 4713 to an available port.
=@#[@Ia @"M%ZnFu For Example:
19 h7 M . &dh7`l <!– JBossTS Transaction Status Manager –>
1WGcv O)< <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
+Eil:Jz <property name=”serviceName”>TransactionManager</property>
]~my<3j}or <property name=”bindingName”>transactionStatusManager</property>
I }AO_rtb <property name=”port”>4714</property>
t`b>iX%(1t </bean>
al/3$0#U OrXx0Hn %@IZ41<C
Save all changes and close the bindings.xml file.
3kxI'0&T l
O482l_t I!(.tu6u6c az7<@vSXi Locate the server.xml file to be changed.
65FdA-4 z/bJDSQ NOTE: Changing either server is acceptable.
%|(~k*s4 28l",j)S Default file location for Contract Management: <Install Drive>\jboss-5.0.1.GA\server\cm\deploy\jbossweb.sar\server.xml
QcyYTg4i Default file location for P6 v7 Web Access: <Install Drive>\jboss-5.0.1.GA\server\primaveraweb\deploy\jbossweb.sar\server.xml
Lp\89tB> h1 \)_jxA h:QKd!Gq yteJHaq Change the port number in the following location:
H-%)r&"vn iE}jilU A AJP 1.3 Connector on port 8009
$M\[^g(q 1Yt;1k'
Change port 8009 to an available port.
MRvtuE|g XcJ'w Example:
9wLV\>i[k m
ys5B} <!– A AJP 1.3 Connector on port 8019 –>
-Z&6PT7 <Connector protocol=”AJP/1.3″ port=”8019” address=”${jboss.bind.address}”
} G$rr.G redirectPort=”8443″ />
<\k=j{@ q_Td!?2? A:3bL:
;t Save the change and close the server.xml file, close Notepad.
]E90q/s@c t5h]]TOz X<s']C9c h'wOslyFa Restart both the Contract Management and the P6 Web Services.
3=xb%Upw c }>:>^ NOTE: The order in which the services are started are irrelevant.