简体   繁体   English

在Wildlfly 10.1中配置JNDI属性

[英]Configure JNDI properties in wildlfly 10.1

In my application it is using port 1099 for JMX Service (jmx:rmi://jndi/rmi://localhost:1099/jmxrmi). 在我的应用程序中,它将端口1099用于JMX服务(jmx:rmi:// jndi / rmi:// localhost:1099 / jmxrmi)。 Does anyone know how we can configure wildfly not to start this remote JNDI lookup service or any other way to stop listening to port 1099. Is there anyway we can configure JNDI properties in standalone config for wildfly 10.1? 有谁知道我们如何配置wildfly使其不启动此远程JNDI查找服务或以其他任何方式停止监听端口1099。是否总能在Wildfly 10.1的独立配置中配置JNDI属性?

My jmx, remoting and naming subsystem config as follows; 我的jmx,远程处理和命名子系统配置如下;

<subsystem xmlns="urn:jboss:domain:jmx:1.3">
        <expose-resolved-model/>
        <expose-expression-model/>
        <!--<remoting-connector/>-->
</subsystem>
<subsystem xmlns="urn:jboss:domain:naming:2.0">
        <!--<remote-naming/>-->
</subsystem>
<subsystem xmlns="urn:jboss:domain:pojo:1.0"/>
<subsystem xmlns="urn:jboss:domain:remoting:3.0">
        <endpoint/>
        <http-connector name="http-remoting-connector" connector-ref="default" security-realm="ApplicationRealm"/>
</subsystem>

If you are facing port conflicts you can refer the Wildfly Admin Guide - Configuring Interfaces and Ports . 如果您面临端口冲突,则可以参考《 Wildfly管理指南-配置接口和端口》 If you want to bind simple properties to JNDI, you can refer Wildfly Documentation - Naming Subsystem Configuration 如果要将简单属性绑定到JNDI,则可以参考Wildfly文档-命名子系统配置

For both you can tweak the standalone config xml file or use CLI commands. 两者都可以调整独立的config xml文件或使用CLI命令。

What is your JMX and remoting subsystem configurations ? 您的JMX和远程子系统是什么配置? I think you should either use the management port or change your connector port there. 我认为您应该使用管理端口或在此处更改连接器端口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM