0
XAOracleDS라는 다른 JNDI 리소스에 의존하고 xml 데이터 소스 파일 (* -ds.xml)에 정의 된 Jboss4 MBean을 작성했습니다. 내 보스 인스턴스를 다시 시작 때, 나는JNDI 리소스에 종속 된 Jboss 서비스
을 구속하지. 나는 제이 보스 이름 지정 서비스javax.naming.NameNotFoundException이 있습니다 XAOracleDS 인해 내 서비스의 구현에
...
<depends>jboss:service=Naming</depends>
...
에 종속성을 추가 내 제이 보스-service.xml 파일을 업데이트하여이 문제를 해결하기 위해 시도했지만 작동하지 않았다. 여기 는
<server>
<classpath codebase="lib" archives="scheduler-plugin.jar" />
<mbean code="org.jboss.varia.scheduler.Scheduler" name="DefaultDomain:service=MigrationScheduler">
<attribute name="StartAtStartup">true</attribute>
<attribute name="SchedulableClass">MyScheduler</attribute>
<attribute name="InitialStartDate">NOW</attribute>
<attribute name="InitialRepetitions">1</attribute>
<attribute name="SchedulePeriod">1000</attribute>
<depends>jboss:service=Naming</depends>
</mbean>
사람이 무엇이 잘못되었는지 생각이 있습니까 내 보스-service.xml입니까?
팁 주셔서 감사합니다. 내 * - ds.xml에 aaa를 접두어로 붙이면이 해결책을 시도했지만 같은 오류가있었습니다. – 1tox