使用 Maximo 更改 Websphere 6 上的 RMI 端口

发布于 2024-12-01 01:35:10 字数 1293 浏览 3 评论 0原文

设置

我有 websphere 6.1 运行两个应用程序服务器。每个都运行相同的应用程序 (Maximo)。每个应用程序都指向不同的数据库。

有一个第三方应用程序通过 RMI 端口 13400 连接 VIA。

两个 Maximo 应用程序的属性文件中都包含此内容。

mxe.registry.port=13400

问题

当第三方程序调用 RMI 端口时,错误的应用程序进程会收到该调用。

我已经尝试过

我在WebSphere 控制台中找不到任何可以让我更改端口的内容。

将 Maximo 属性文件中的 RMI 端口更改为 13400 并重新部署 Ear。然后在第三方软件上更改端口。没有骰子。事实上,我在访问 Maximo 时收到错误 500 System not bond 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.

正如环承载者所指出的,此错误与更改 RMI 端口无关。然而,当我将 proprieties 文件更改回 13400 时,没有任何错误。

问题

如何更改每个应用程序服务器的 RMI 端口?

假设

我希望它位于应用程序服务器中的某个位置。

The set up

I have websphere 6.1 running two application servers. Each running the same application (Maximo). Each application point to a different database.

There is a third party app that connects VIA an RMI port of 13400.

Both Maximo applications have this in the proprieties file.

mxe.registry.port=13400

The issue

When the third party program makes a call to the RMI port the wrong application processes gets the call.

What I have tried

I can't find anything in the WebSphere console that would let me change the port.

Changing the RMI port in the Maximo properties file to 13400 and redeploying the ear. Then changed the port on the third party software. No dice. In fact I get a Error 500 System not bound on when accessing Maximo.

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.

As ring bearer pointed out this error doesn't correlate with changing the RMI port. Yet when I change the proprieties file back to 13400 there are no error what so ever.

The Question

How do I change the RMI port for each application server?

Hypothesis

I'm hoping it's somewhere in the application server.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

甲如呢乙后呢 2024-12-08 01:35:10

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

在 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

Finally found what I was looking for:

In the maximo.properties file add this...

// 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

I set it to 12222 rebuilt the ear and redeployed. Port 12222 never opened up.

The real issue was the mxe.name all there applications had the same name in the proprieties file. Changing the names resolved the issue.

// 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

春庭雪 2024-12-08 01:35:10

登录管理控制台并遵循此选择路径 - Application_servers >服务器1>端口> BOOTSTRAP_ADDRESS

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

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

Logon to admin console and follow this selection path - Application_servers > server1 > Ports > BOOTSTRAP_ADDRESS

Note that once you are on the "Server1" selection page, the ports link will appear on the right hand side, under "Communications" section

Assuming your default server name is server1
You will have a screen where you can edit port number for BOOTSTRAP_ADDRESS- which is the WebSphere Application Server name Service or RMI Connector Port.

暖心男生 2024-12-08 01:35:10

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

Make a copy of your weblogic folder and rename it something else. You can change the settings on the second instance.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文