Hi.
It was just an error in the config file:
 
<database-connections>
<data-sources>
<data-source name="scateldb" class=...>
...
</data-source>
</data-sources>
</database-connections>

There should be a more strict xml validation
Cheers
Marcello


-----Messaggio originale-----
Da: Steve Short [mailto:[EMAIL PROTECTED] 
Inviato: mercoled� 26 gennaio 2005 19.03
A: James Users List
Oggetto: RE: Db config issue with oracle

Also, the Oracle thin drivers only support blobs up to 2k (I think), so for
most real world configurations you will want to use the OCI URL.

Steve

-----Original Message-----
From: Serge Knystautas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 26, 2005 8:19 AM
To: James Users List
Subject: Re: Db config issue with oracle

Marcello Marangio wrote:
> <database-connections>
> <data-source name="scateldb"
> class="org.apache.james.util.dbcp.JdbcDataSource">
> <driver>oracle.jdbc.driver.OracleDriver</driver>
> <dburl>jdbc:oracle:thin:@scatel.csata.tno.it:1521:scatel</dburl>
> <user>scatel</user>
> <password>scatel</password>
> <max>20</max>
> </data-source>
> 
> Oracle driver jar file is in <phoenix_home>/lib
> 
> What i get is:
> org.apache.excalibur.containerkit.lifecycle.LifecycleException: 
> Component named "spoolmanager" failed to pass through th e 
> Initialization stage. (Reason: javax.mail.MessagingException: Error 
> initializing JDBCVirtualUserTable; ...
> ...
> Caused by: javax.mail.MessagingException: Error initializing 
> JDBCVirtualUserTable;
>   nested exception is:
>         org.apache.avalon.framework.component.ComponentException: 
> Unable to provide DataSourceComponent for scateldb

You should be able to find elsewhere in the logs where it will give an error
of trying to create the scateldb.  Either can't find the driver class, or
some oracle error message or something.

--
Serge Knystautas
Lokitech >> software . strategy . design >> http://www.lokitech.com p.
301.656.5501 e. [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to