JBOSS在standalone.xml中设置http.proxyHost和http.proxyPort

vhipe2zx  于 2022-11-08  发布在  其他
关注(0)|答案(1)|浏览(201)

我正在使用JBOSS 7.1.1运行我的应用程序。我必须配置代理主机以访问我的服务器。我尝试在standalone.xml文件中设置更改
我将其添加为

<system-properties>
    <property name="http.proxyHost" value="My proxy Host here"/>
    <property name="http.proxyPort" value="My proxy Port here"/>
</system-properties>

但是我在我的服务器运行时添加了这个。我仍然不能通过代理连接。这些更改似乎没有反映出来。
是否需要重新启动服务器以应用更改?

wz3gfoph

wz3gfoph1#

要应用独立xml文件中的任何更改,我们需要重新启动服务器。只有在我重新启动后,更改才被应用。

相关问题