Hi!

I received the following error while trying to establish a db
connection:

ERROR   2004-06-13 15:49:29.655 [Phoenix.] (): Component named
"database-connections" failed to pass through the Initialization stage.
(Reason: java.lang.ClassCastException).
ERROR   2004-06-13 15:49:29.665 [Phoenix.] (): There was an error
running phase "startup" for Block named "database-connections". (Reason:
Component named "database-connections" failed to pass through the
Initialization stage. (Reason: java.lang.ClassCastException).).
org.apache.excalibur.containerkit.lifecycle.LifecycleException:
Component named "database-connections" failed to pass through the
Initialization stage. (Reason: java.lang.ClassCastException).

<snip>

My configuration of the db connection is as follows:

<data-source name="maildb"
class="com.microsoft.jdbcx.sqlserver.SQLServerDataSource">
 
<driver>com.microsoft.jdbc.sqlserver.SQLServerDriver</driver>
 
<dburl>jdbc:microsoft:sqlserver://localhost:1433;user=james;password=jam
es</dburl>
            <user>james</user>
            <password>james</password>
            <max>20</max>
         </data-source>
      </data-sources>
   </database-connections>

I'm using a SQLServer2000 with the original Microsoft drivers. I
manually set the classpath and also copied the jars in the james/lib
directory and also in the james/apps/james/SAR-INF/lib directory.

Has somebody already experienced this behaviour? Thanks a lot for any
hints,
Tobi




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

Reply via email to