'wtp'에 해당되는 글 1건

  1. 2008.02.25 | [WTP] CHKJ4019W Warning

[WTP] CHKJ4019W Warning

개발 이야기/이클립스 | 2008. 2. 25. 13:20
Posted by 시반

이클립스 WTP에서 dbcp설정을 하기위해 tomcat(v5.5)의 web.xml에

   <resource-ref>
      <description>Oracle</description>
      <res-ref-name>jdbc/데이타소스명</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
    </resource-ref>

을 추가했다.

 

헌데 CHKJ4019W: Invalid res-sharing-scope; valid values are "Shareable" or "Unshareable". 라는

warning 문구가 web.xml에 반짝거리는것이 아닌가?

 

dbcp 설정이 좀 변한것이 있나 싶어서 dbcp로 검색해봐두 그런부분은 없는데...

정말 인터넷이 없다면 어떻게 개발할까 고민이..ㅋ_ㅋ

 

The bean provider can control the extent that connections are shared. By default, other enterprise beans in the application that use the same resource in the same transaction context can share the connection. The bean provider can set the res-sharing-scope deployment descriptor element to Unshareable to indicate that a connection not be shared. Keep in mind, though, that sharing connections to a resource manager allows the container to optimize connection and local transaction use. It is recommended that connections be marked Shareable

 

이런이런 애써 찾은것이 영어라니.. 힘들군.. 대충 짧은 영어실력으로나마 해석해보면

같은 리소스를 사용하는 (웹)어플리케이션에서 빈끼리는 커넥션을 공유할 수 있으며

container 설정을 통해 관리될수 있다.(추천사항은 Shareable) 

 

설명은 복잡하지만 한 마디로

 <res-sharing-scope>Shareable</res-sharing-scope>

문구를  <resource-ref/> 안에 추가해주라는 말이다.

 

시간이 흘러갈수록 점점더 내가 무엇을 알고 있나 하는 생각이 끊이질 않는다.

아싸. 힘내자...

 

 
블로그 이미지

시반

시반(詩伴)이란 함께 시를 짓는 벗이란 뜻을 가지고 있습니다. 함께 나눌수 있는 그런 공간이길 바라며...

카테고리

분류 전체보기 (233)
개발 이야기 (73)
WEB2.0 (57)
DB2 (24)
MySQL (6)
오라클 (26)
기타 (44)
취미 (0)
잡담 (2)