接続プールの接続ポート番号を変更します。
以下のコマンドで変更してください。
【Windows】
"%SWCTMG_HOME%\glassfish\bin\asadmin" set %OPTION% server.resources.jdbc-connection-pool.BSSPool.property.portNumber=<PORT NO>
【Linux】
/opt/FJSVctbss/glassfish/bin/asadmin set $OPTION server.resources.jdbc-connection-pool.BSSPool.property.portNumber=<PORT NO>