LinkedNestBlog

Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

by Dev Jinwon
Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name jdbc is not bound in this Context


Reference
http://blog.daum.net/hagi/148 


Problem
tomcat  connection pool을 위해 xml 수정중 tomcat startup시 위의 오류 발생.

Solution
conf/폴더 하위의 server.xml에서 아래 내용을 지우면 OK.     

<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase"/>
Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name jdbc is not bound in this Context · LinkedNest Blog