메일 설정 DB로 변경 변경하기.
<!--
<inboxRepository>
<repository destinationURL="file://var/mail/inboxes/" type="MAIL"/>
</inboxRepository>
-->
<inboxRepository>
<repository destinationURL="db://maildb/inbox/" type="MAIL"/>
</inboxRepository>
<data-source name="maildb" class="org.apache.james.util.dbcp.JdbcDataSource">
<driver>com.mysql.jdbc.Driver</driver>
<dburl>jdbc:mysql://insert-log.google.com/maildb?autoReconnect=true</dburl>
<user>mail</user>
<password>1111</password>
<max>20</max>
</data-source>
에러가 나면...
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException: Component named "database-connections" failed to pass through the Starting stage. (Reason: java.lang.NoClassDefFoundError: org/aspectj/lang/Signature).
java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
이런 에러 안나오게 하려면, mysql jar를 신경쓰면서 봐야 한다.
mysql의 bin-g 버젼 쓰지 않기
mysql의 2개이상 넣지 않기
mysql 안정적인 버젼 사용하기
'etc tools' 카테고리의 다른 글
7zip과 bzip2의 비교 (0) | 2009.03.02 |
---|---|
디렉토리 비교, 3개의 파일 비교 가능 툴 (0) | 2009.02.20 |
jad.bat JAD 디컴파일러 효율적으로 쓰기 (0) | 2007.06.29 |
특수 문자 기호 이름 (0) | 2007.06.04 |
<img src="http://blogimgs.naver.com/nblog/ico_scrap01.gif" class="i_scrap" width="50" height="15" alt="본문스크랩" /> [리뷰] UltraVNC로 원격 제어를 간편하게! (0) | 2006.11.08 |