You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ji...@apache.org on 2004/04/19 18:27:53 UTC

[jira] Closed: (JAMES-155) how can I configure a user-store in an Oracle db

Message:

   The following issue has been closed.

   Resolver: Noel J. Bergman
       Date: Mon, 19 Apr 2004 9:25 AM

No response from the reporter when either myself or Steve Short tried to followup.

Steve Short is familar with James and Oracle, and suggests that it is probably a mis-configuration issue.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-155

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-155
    Summary: how can I configure a user-store in an Oracle db
       Type: Task

     Status: Closed
   Priority: Major
 Resolution: CANNOT REPRODUCE

    Project: James
 Components: 
             MailStore & MailRepository
   Versions:
             2.1

   Assignee: 
   Reporter: lixiaoyun

    Created: Tue, 24 Feb 2004 4:42 AM
    Updated: Mon, 19 Apr 2004 9:25 AM
Environment: windows 2000 server

Description:
I want to put users infomation in Oracle Database ,I have edit config.xml file this way :
<users-store>
 <repository name="LocalUsers" class="org.apache.james.userrepository.JamesUsersJdbcRepository"  destinationURL="db://maildb/users">
         <sqlFile>file://conf/sqlResources.xml</sqlFile>
      </repository>   
   </users-store>

<data-sources name="maildb" class="org.apache.james.util.mordred.JdbcDataSource">
           <driver>oracle.jdbc.driver.OracleDriver</driver>
            <dburl>jdbc:oracle:thin:@192.168.100.63:1521:dzzwbk</dburl>
            <user>mail-admin</user>
            <password>admin</password>
            <max>20</max>
      </data-sources>

and I also put the driver Class12.jar in the subdirectory \lib,but when the James server still report such error:

Component named "users-store" failed to pass through the Initialization stage. (Reason: org.apache.avalon.framework.component.ComponentException: Unable to provide DataSourceComponent for maildb)

any one can help me?
my E-mail address:lxy2000@vip.sina.com

 



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org