javax_naming_NameNotFoundException_Name is not bound in this Context_ Unable to find

javax_naming_NameNotFoundException_Name is not bound in this Context_ Unable to find 경고문이 나올 때 해결방법

증상

DAOJDCP를 연동하려고 할 때 javax_naming_NameNotFoundException_Name is not bound in this Context_ Unable to find 이라는 경고문이 뜨며 에러가 났다.

원인

이름이 맞지 않아 찾을 수 없다는 뜻.
TomcatContext.xml에는Oracle로 등록을 했는데
DAOcontext객체에는 Oracl로 오타가 났었었다.

해결

이름을 제대로 적어주면 해결된다.

  • Contect.xml 파일의 Resource에 저장했던 name을 그대로 DAOContext객체에 똑같이 넣어준다.

COPYRIGHT© 2019 matamong All rights reserved.

Powered by Hydejack v8.5.2