设置
我有运行两个应用程序服务器的 websphere 6.1。每个都运行相同的应用程序 (Maximo)。每个应用程序指向不同的数据库。
有一个第三方应用程序通过 RMI 端口 13400 连接。
两个 Maximo 应用程序在属性文件中都有这个。
mxe.registry.port=13400
问题
当第三方程序调用 RMI 端口时,错误的应用程序进程会得到调用。
我试过的
我在 WebSphere 控制台中找不到任何可以让我更改端口的内容。
将 Maximo 属性文件中的 RMI 端口更改为 13400 并重新部署 ear。然后在第三方软件上更改端口。没有骰子。事实上,在访问 Maximo 时,我得到了一个错误 500 System not bound on。
ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet ReportBridgeServlet: java.lang.NoClassDefFoundError: com.ibm.tivoli.maximo.report.birt.logging.ReportLoggerFactory
at com.ibm.tivoli.maximo.report.birt.bridge.launcher.FrameworkLauncher.<init>(FrameworkLauncher.java:83)
at com.ibm.tivoli.maximo.report.birt.servlet.MXWebAppOSGiFrameworkLauncher.<init>(MXWebAppOSGiFrameworkLauncher.java:33)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1328)
...... 12000++ lines of errors like this one.
正如 ring Bearer 指出的那样,此错误与更改 RMI 端口无关。然而,当我将属性文件改回 13400 时,没有任何错误。
问题
如何更改每个应用程序服务器的 RMI 端口?
假设
我希望它在应用程序服务器中的某个地方。