everybody loves repackaging:)

On 17/02/12 16:11, Kendrick C. Wilson wrote:

oracle.jdbc.driver.OracleDriver was replaced by oracle.jdbc.OracleDriver
https://forums.oracle.com/forums/thread.jspa?threadID=687175

Kendrick C. Wilson


Date: Fri, 17 Feb 2012 15:50:38 +0100
From: [email protected]
To: [email protected]
Subject: Re: storing messages on oracle database

Thx. I see in the log (Reason: java.lang.ClassNotFoundException:
oracle.jdbc.driver.OracleDriver)

Look at http://james.apache.org/server/2.3.0/using_database.html where
you will read "To make these classes available to Phoenix, place the
jar/zip files for the JDBC driver in the lib subdirectory of the James
installation directory. Any additional libraries upon which the JDBC
library depends that are not part of the standard Java distribution
should also be added to this directory."

Put the your oracle jdbc jar in the lib folder and (re)start server.

Hope this helps.
Eric


On 17/02/12 15:23, mike tazelaar wrote:
I have attached the log. I am using 2.3.2.

------------------------------------------------------------------------
*From:* Eric Charles<[email protected]>
*To:* James Users List<[email protected]>
*Sent:* Friday, February 17, 2012 2:06 AM
*Subject:* Re: storing messages on oracle database

Hi, do you get any exceptions in the log files (I guess it is james 2.3) ?
Thx,
Eric

On 17/02/12 00:29, mike tazelaar wrote:
  >  I want to store messages in oracle database instead of the files.
What information does James require in the<durl>?
  >  The jdbc I am using to connect my db to oracle works for my
application but doesn't connect with James.
  >
  >  <data-source name="maildb"
class="org.apache.james.util.dbcp.JdbcDataSource">
  >  <driver>oracle.jdbc.driver.OracleDriver</driver>
  >  <dburl>jdbc:oracle:thin:@localhost:1521:nhind3</dburl>
  >  <user>someuser</user>
  >  <password>somepassword</password>
  >  <max>20</max>
  >  </data-source>

--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
<mailto:[email protected]>
For additional commands, e-mail: [email protected]
<mailto:[email protected]>






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

                                        

--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to