小编Bal*_*ato的帖子

如果我更改JNDI端口,在Eclipse中关闭JBoss的问题

第一阶段

我在Eclipse下关闭运行的JBoss实例时遇到了问题,因为我更改了JBoss的JNDI端口.当然我可以从控制台视图关闭它,但不能使用停止按钮(它仍然在默认的1099端口搜索JNDI端口).我期待着任何解决方案.谢谢!

使用环境:

  • JBoss 4.0.2(默认使用)
  • Eclipse 3.4.0.(使用JBoss Tools 2.1.1.GA)

默认端口:1098,1099已更改端口:11098,11099

我在jbosspath/server/default/conf/jboss-service.xml中更改了以下部分:

   <!-- ==================================================================== -->
   <!-- JNDI                                                                 -->
   <!-- ==================================================================== -->

   <mbean code="org.jboss.naming.NamingService"
      name="jboss:service=Naming"
      xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
      <!-- The call by value mode. true if all lookups are unmarshalled using
      the caller's TCL, false if in VM lookups return the value by reference.
      -->
      <attribute name="CallByValue">false</attribute>
      <!-- The listening port for the bootstrap JNP service. Set this to -1
        to run the NamingService without the JNP invoker listening port.
      -->
      <attribute …
Run Code Online (Sandbox Code Playgroud)

java eclipse jboss jboss-tools

7
推荐指数
1
解决办法
2万
查看次数

标签 统计

eclipse ×1

java ×1

jboss ×1

jboss-tools ×1