i think your problem lies in two places in your
data-source tag.
class should be:
"com.evermind.sql.ConnectionDataSource"
and connection-driver should be something like:
"com.oracle.thin.driver" or whatever the proper
reference is.
here is my data-source tag, which seems to work just
fine. i am using the jturbo type 4 driver:
<data-source
name="Default data-source"
class="com.evermind.sql.ConnectionDataSource"
location="jdbc/DefaultDS"
pooled-location="jdbc/DefaultPooledDS"
xa-location="jdbc/xa/DefaultXADS"
ejb-location="jdbc/DefaultEJBDS"
url="jdbc:JTurbo://localhost:1433/nexus"
connection-driver="com.ashna.jturbo.driver.Driver"
username="xxx"
password="yyy"
/>
hth,
bradley mclain
--- "Sudhir A." <[EMAIL PROTECTED]> wrote:
> Hi,
> I have been trying to set up the Oracle driver for
> a long time. Finally could not make it. Check if
> someelse had the same problem and founf out a way. I
> have tried placing Classes12.zip at all places,
> orion/
> orion/lib/
>
> Even extracted the entire zip file and tried it. It
> didn't work. Here is how my data-source definition
> looks like
>
> ***************
>
> <data-source
> name="Default data-source"
> class="oracle.jdbc.driver.OracleDriver"
> location="jdbc/DefaultDS"
> pooled-location="jdbc/DefaultPooledDS"
> xa-location="jdbc/xa/DefaultXADS"
> ejb-location="jdbc/DefaultEJBDS"
> url="jdbc:ORACLE:defaultdb"
>
>
connection-driver="jdbc:oracle:thin:@surya:1521:TESTDB"
> username="XXXXXXXX"
> password="CXXXXXX"
> schema="database-schemas/oracle.xml"
> />
>
> ***************
>
> The only file i made changes are to
> "data-sources.xml"
> I am getting error invalid Driver name
> "oracle.jdbc.driver.OracleDriver"
>
> Can some one please help me with this one.
>
> Thanks
> Sudhir
>
>
_____________________________________________________________
> Get email for your site --->
> http://webmail.bharathexpress.com
>
>
__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com