OSGi 控制台未显示在 Glassfish 3.1.1 管理页面中
我刚刚安装了一个全新的 glassfish 3.1.1 实例。由于某些原因,我需要将默认 HTTP 端口更改为 9081,将管理端口更改为 9049。
然后从管理界面我使用更新工具安装 OSGi 控制台。
我现在在服务器管理页面中有一个新的“OSGi Console”选项卡,但是当我单击它时,内容不会加载。事实证明,该选项卡尝试从标准 HTTP 端口 (8080) 加载页面,而我配置的 HTTP 端口是 9081。
当我尝试使用我的管理端口 (http:// /localhost:9049/osgi/system/console/bundles/),一切都显示正常,所以安装本身是可以的。
所以我的问题是,如何设置 glassfish 以便正确重定向请求?
谢谢。
I just installed a fresh new glassfish 3.1.1 instance. For some reasons, I needed to change the default HTTP port to 9081 and the admin port to 9049.
Then from the admin interface I used the update tool to install the OSGi console.
I now do have a new "OSGi Console" tab in the server admin page, but when I click on it, the contents don't load. As it turns out, the tab is trying to load the page from the standard HTTP port (8080), whereas my configured HTTP port is 9081.
When I try to access the OSGi console directly from another browser with my admin port (http://localhost:9049/osgi/system/console/bundles/), everything's showing up fine, so the installation in itself is ok.
So my question is, how do I setup glassfish so that the request is properly redirected?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 glassfish jira 的 osgi 类别中提交错误。 OSGi 控制台插件应该能够智能地知道服务器配置为侦听 http 请求的端口。
File a bug in osgi category in glassfish jira. The OSGi console plugin should have the intelligence to know which port the server is configured to listen for http requests.