James 메일 서버

etc tools 2009. 2. 19. 16:21

메일 설정  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 안정적인 버젼 사용하기

 

 

 

Posted by '김용환'
,