2017-10-05 23 views
0

가능한 경우 정보를 찾을 수 없으며 구성된 경우 실행 된 JNDI 리소스로 정보를 표시하는 방법을 찾을 수 없습니다.jboss 6.4 EAP 스레드 풀/executor JNDI 조회

이 내가 java:global/threads/spring-async-tp, java:comp/threads/spring-async-tp에 액세스 할 수 그것을 시도했지만 그 찾을 수 없습니다 standalone.xml

<subsystem xmlns="urn:jboss:domain:threads:1.1"> 
     <thread-factory name="spring-async-factory" group-name="spring-thread-pool" thread-name-pattern="spring-async-%t" priority="1"/> 
     <blocking-bounded-queue-thread-pool name="spring-async-tp"> 
      <core-threads count="5"/> 
      <queue-length count="100"/> 
      <max-threads count="10"/> 
      <keepalive-time time="20" unit="seconds"/> 
      <thread-factory name="spring-async-factory"/> 
     </blocking-bounded-queue-thread-pool> 
    </subsystem> 

안에 내 구성입니다. 그래서 가능하다면 JNDI를 통해 어떻게 찾을 수 있습니까?

답변

0

threads 하위 시스템은 더 이상 사용되지 않으며 JBoss EAP 7.0에서 제거되었습니다. JNDI를 통해 팩토리를 노출하는 방법도 없습니다. 다른 하위 시스템이 스레드 팩토리를 가리키는 참조 점이 될 서브 시스템의 의도였습니다. 이러한 공장이 배포에 사용되는 것은 결코 의도 된 것이 아닙니다.