javax.servlet.ServletException: Server configuration denies access t o data source
등록 2002-04-10 10:17:00
조회 4
이름 김수용
BIND + qmail + apache + php + tomcat4(mod_jk)로 환경을 구축했습니다. VirtualHost두 설정을 했구요..
jsp 파일은 작동을 합니다. 근데요..
db에 접근시에 에러가 나는군요.
아래와 같은 메시지가 뜹니다.
db에 사용자 추가와 권한은 주었구요.
어떤 설정이 잘 못되었는지 모르겠네요.
고수님들...짐작가는거라도 좀 알려주시길 바랍니다.
<a href="http://www.uro.pe.kr/testdb.jsp" target="newwin">http://www.uro.pe.kr/testdb.jsp</a> 에러나는 페이지
입니다. javax.servlet.ServletException: Server configuration denies access to data source
Server configuration denies access to data source 는 Tomcat 의 Context 설정에서 데이터 소스 접근이 막혔을 때 나옵니다. server.xml 이나 웹 앱의 context.xml 에 DataSource 설정을 넣고, 권한과 드라이버 jar 위치를 확인하세요.