0

设置

我有运行两个应用程序服务器的 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 端口?

假设

我希望它在应用程序服务器中的某个地方。

4

3 回答 3

0

登录到管理控制台并遵循此选择路径 - Application_servers > server1 > Ports > BOOTSTRAP_ADDRESS

请注意,一旦您进入“Server1”选择页面,端口链接将出现在右侧的“Communications”部分下

假设您的默认服务器名称是 server1 您将有一个屏幕,您可以在其中编辑 BOOTSTRAP_ADDRESS 的端口号 - 这是 WebSphere Application Server 名称服务或 RMI 连接器端口。

于 2011-08-24T22:42:20.370 回答
0

终于找到了我要找的东西:

在 maximo.properties 文件中添加这个...

// Port used by RMI for communication, if left at 0, RMI will use any available
// port on the system. To use a specific port, set this parameter to an available  
// port number.
mxe.rmi.port=0

我将它设置为 12222 重建耳朵并重新部署。端口 12222 从未打开。

真正的问题是 mxe.name 所有应用程序在属性文件中具有相同的名称。更改名称解决了问题。

// Name to bind the MXServer server object to in the RMI registry
mxe.name=MXServer

https://www-304.ibm.com/support/docview.wss?uid=swg21262022

于 2011-09-07T19:52:57.193 回答
0

复制您的 weblogic 文件夹并将其重命名为其他名称。您可以更改第二个实例的设置。

于 2012-11-20T16:23:02.547 回答