http://primavera.zxlm.cn/kb/prim84189 ]!q
}|bP 0=2H9v 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.
HhzkMJR8 Problem: When both Contract Management 13 and P6 v7 JBoss web servers are installed on the same machine, receive error: “Page cannot be displayed”.
F_K
Problem: Port Conflicts when Running P6 v7 Web Application (JBoss) and Contract Management (JBoss) from the same machine
PKl]GegP 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.
/F
oUo Fix: To resolve the port conflict, the default configuration of one of the web servers will need to be changed.
:vw0r` SlR7h$r' d~w}NK[( /5&3WG&<u Both web servers have port configuration information stored within files called bindings.xml and server.xml.
6Wf*>G
*h /j`i/Ha1 *xEI
Zx d&O'r[S Stop both the Contract Management and the P6 v7 Web Application Services.
+oE7~64LL ,w,ENU0~f #(m`2Z`H ZD$-V3e` Locate the bindings.xml file to be changed.
VaOpO8y` SH .9!lQv NOTE: Changing either server is acceptable.
aS c#&{ !%SdTaC{T Default file location for Contract Management: <Install Drive>\jboss-5.0.1.GA\server\cm\conf\bootstrap\bindings.xml
nF|#@O`1 Default file location for P6 v7 Web Access: <Install Drive>\jboss-5.0.1.GA\server\primaveraweb\conf\bootstrap\bindings.xml
)->-~E}p9 ls8olLM> 2hjre3"? 'w>uF
g1. Ensure the file is not read-only, open with Notepad.
o=mq$
Z:} S3%.-)ib L8,H9T#e 9}K(Q= Change the port numbers for the following eight areas:
+G3nn!gl4 @lb=-oR!~ >S?C {_g Remote classloading service
7Va#{Y;Zy a'*5PaXU@/ Change port 8083 to an available port.
)A>U<n $h ;-Y]X(z> For Example:
~pX(w!^ 0-;DN:> <!– Remote classloading service –>
r{Qs
9 <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
+O.&64( <property name=”serviceName”>jboss:service=WebService</property>
fl5UY$a2- <property name=”port”>8084</property>
1pYmtr </bean>
VO
owA^ B
$ y44 q>(I*=7 RMI/JRMP invoker
82Z[eo Mo/2,DiI5 Change port 4444 to an available port.
1 o 7(+OsE For Example:
}]n>A C>k;Mvq O <!– RMI/JRMP invoker –>
+ hyWo]nW0 <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
f!uA$uLc <property name=”serviceName”>jboss:service=invoker,type=jrmp</property>
<L!~f`nH2 <property name=”port”>4454</property>
5b{yA~ty </bean>
1K*f4BnDr~ Jegx[*O>b c=jI.=mi3 Pooled invoker
e8P!/x-y $@:>7Y" Change port 4445 to an available port.
xP5mL3j iEJQ#5))0 For Example:
^*?B)D =, ffoo^1}1 <!– Pooled invoker –>
D?*sdm9r` <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
13>3R+o <property name=”serviceName”>jboss:service=invoker,type=pooled</property>
&"H<+>` <property name=”port”>4455</property>
@L>NN>?SGQ </bean>
beHCEwh G4iLCcjY cJ(zidf_$ Naming Service
I$6
f.W He71h(BHm Change ports 1098 and 1099 to available ports.
c[d'1=Qiy zQ6
-2 A For Example:
g`5`KU| }2!5#/^~ <!– Naming Service –>
xO9]yULgu <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
9snyX7/!L <property name=”serviceName”>jboss:service=Naming</property>
3W0E6H" <property name=”bindingName”>Port</property>
7^t(RNq <property name=”port”>10990</property>
"/K&qj </bean>
LOb'<R\p 18w^7!F?~u <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
b
mq XP <property name=”serviceName”>jboss:service=Naming</property>
#ZnX6=;X <property name=”bindingName”>RmiPort</property>
C7 &
6rUX <property name=”port”>10980</property>
+@7x45;D </bean>
uSQ>oi] QVRokI`BF LX?r=_\ deploy/jmx-remoting.sar
0qd;'r< J)yy}[Fx Change port 1090 to an available port.
Py2
5k 0j! $}nUK~$GSv For Example:
674oL,
pA,EUh|H <!– ********************* deploy/jmx-remoting.sar **************** –>
@G$<6CG\ I/b8 <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
*=If1qZs <property name=”serviceName”>jboss.remoting:service=JMXConnectorServer,protocol=rmi</property>
oY6|h3T=Q$ <property name=”port”>10900</property>
P$qkb|D, </bean>
y=qo-v59' ]XafFr6pe = SJF\Z Standard JBM bisocket connector
L(n~@gq #bZ=R Change port 4457 to an available port.
jhbH6=f4]^ GGL4<P7 For Example:
N u2]~W& a<"& RnG( <!– Standard JBM bisocket connector –>
IS4K$Ac. <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
4kF . <property name=”serviceName”>jboss.messaging:service=Connector,transport=bisocket</property>
H_=[~mJ <property name=”port”>4458</property>
O*/-I
pM </bean>
& c9Fw:f; &trh\\I" +Y]*>afG JBossTS Recovery Manager
&r5%WRzpYT }ZV
v Change port 4712 to an available port.
d?y\~< SVWSO For Example:
G
/3lX^Z> rZQHB[^3 <!– JBossTS Recovery Manager –>
YIUmCx0a <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
bK;a
V& <property name=”serviceName”>TransactionManager</property>
:9q^ <property name=”bindingName”>recoveryManager</property>
$hp?5KM <property name=”port”>4715</property>
E^W*'D </bean>
n
>PM_W ;p!hd}C HFWm}vA: JBossTS Transaction Status Manager
w/W?/1P>q +1fOW4!5 Change port 4713 to an available port.
tU/NwA" ,;pX.Ob U For Example:
IMrOPwjc G*p.JsZP <!– JBossTS Transaction Status Manager –>
*t9qH <bean class=”org.jboss.services.binding.ServiceBindingMetadata”>
E?D{/k,zZ <property name=”serviceName”>TransactionManager</property>
Jd6Q 9~z# <property name=”bindingName”>transactionStatusManager</property>
9],"AjD <property name=”port”>4714</property>
zn$Ld, </bean>
`^k<.O jAHn`Bxz ,8?*U]} Save all changes and close the bindings.xml file.
abP?Dj& >8t[EsW/ )?y"NVc* m?G+#k;K Locate the server.xml file to be changed.
y s6"Q[B *.Hnt\4| NOTE: Changing either server is acceptable.
=H?5fT^
lfd{O7 L0b Default file location for Contract Management: <Install Drive>\jboss-5.0.1.GA\server\cm\deploy\jbossweb.sar\server.xml
Q_Squuk Default file location for P6 v7 Web Access: <Install Drive>\jboss-5.0.1.GA\server\primaveraweb\deploy\jbossweb.sar\server.xml
r
T$g^ IQY#EyTb 8GQs9 Y%8QFM Change the port number in the following location:
,1h(k<- !gQ(1u|r A AJP 1.3 Connector on port 8009
%'5 wwl H}
rP{`m Change port 8009 to an available port.
3e1"5~?'< Gl1$W=pR: Example:
L6qA=b~iz 9j9?;3; <!– A AJP 1.3 Connector on port 8019 –>
36UWoo <Connector protocol=”AJP/1.3″ port=”8019” address=”${jboss.bind.address}”
NKYyMHv6 redirectPort=”8443″ />
:7*\|2z
A l]cQ7g5 i/B"d,=< Save the change and close the server.xml file, close Notepad.
\/zS@fz Fd'L:A~ AP@d2{"m} '-{jn+, Restart both the Contract Management and the P6 Web Services.
!{\c`Z<# ]ORat.*0[T NOTE: The order in which the services are started are irrelevant.