이클립스에서 내 jboss 구성에 문제가 있습니다.
기본 포트가 이미 사용 중이기 때문에 jboss-service.xml에서 Jboss 구성을 변경해야했습니다 (1099 포트).
이클립스의 서버 구성 변경은 고려되지 않았습니다. 서버 속성의 jndi 포트가 시작 동작에서 고려되지 않은 것처럼 보입니다.
그래서 JBoss/default/conf 저장소의 jboss-service.xml을 수정했습니다.이클립스 3.4 Jboss 구성 : 중지 문제
<code>
<!-- ==================================================================== -->
<!-- JNDI -->
<!-- ==================================================================== -->
<mbean code="org.jboss.naming.NamingService"
name="jboss:service=Naming">
<!-- The listening port for the bootstrap JNP service. Set this to -1
to run the NamingService without the JNP invoker listening port.
-->
<attribute name="Port">1199</attribute>
<!-- The bootstrap JNP server bind address. This also sets the default
RMI service bind address. Empty == all addresses
-->
<attribute name="BindAddress">${jboss.bind.address}</attribute>
<!-- The port of the RMI naming service, 0 == anonymous -->
<attribute name="RmiPort">1198</attribute>
<!-- The RMI service bind address. Empty == all addresses
-->
<attribute name="RmiBindAddress">${jboss.bind.address}</attribute>
</mbean>
<mbean code="org.jboss.naming.JNDIView"
name="jboss:service=JNDIView"
xmbean-dd="resource:xmdesc/JNDIView-xmbean.xml">
</mbean>
</code>
이 변경 사항은 JBoss 시작시 고려되었지만 정상적으로 중단 할 수는 없습니다. 중지 작업은 1099 포트를 유지하므로 서버를 중지하는 대신 Java 프로세스가 종료됩니다.
구성 : JBoss의 3.2.5과 3.4.0