Thought inc.

The Dynamic O/R Mapping Company
     

CocoBase Technical Support Forums
For access to developer site with software download and doc's, please request CocoBase download and password
will be emailed to you. Response to posts will appear when answered by THOUGHT Support team.
NOTE:You must register separately with forum in order to post your questions, please click on register icon below.
Home   Frequently Asked Questions   Search   Edit your profile   Registration is free!  
Email This Page to Someone!
Show a Printable Version
CocoBase Enterprise O/R Forums > CocoBase Installation
Oracle 9.2 OCI problem
< Previous Thread     Next Thread >
Author
Thread    Post New Thread     Post A Reply
MukeshSomani
Member

Registered: Aug 2002
Posts: 2

I am having problems connecting to Oracle9i using COCOBASE. I am using OCI9 drivers. My application server is WEBLOGIC. Can you please tell me the steps involved in connecting to Oracle 9.2 using cocobase.

Its urgent

Thanks
Mukesh Somani

08-07-2002 05:19 PM
Click Here to See the Profile for MukeshSomani    Find more posts by MukeshSomani        Edit/Delete Message    Reply w/Quote    IP: Logged
admin
Administrator

Registered: Apr 2001
Posts: 19

Did you see the Weblogic BMP tutorials? They step through the
configuration & usage of Weblogic with Oracle drivers.
CocoBase requires that you properly configure the app server
& database to work together first, and then our runtime can
use your defined connection pool in the same way that a hand
coded jdbc application would.

So the correct question is do you have the connection pools
defined?

Did you find the tutorials on the download page, and give them
a try?

That should get you started...

THOUGHT Support

08-07-2002 05:28 PM
Click Here to See the Profile for admin    Find more posts by admin        Edit/Delete Message    Reply w/Quote    IP: Logged
MukeshSomani
Member

Registered: Aug 2002
Posts: 2

I am not using any BMP at all or even WebLogic connection pools. I want to use Oracle OCI drivers and I have my own connection pool ( CocoBase Pool ) . Now how do I configure if I am on WebLogic. I might want to shift to Tomcat and that should not make any difference as well.

08-08-2002 09:47 AM
Click Here to See the Profile for MukeshSomani    Find more posts by MukeshSomani        Edit/Delete Message    Reply w/Quote    IP: Logged
admin
Administrator

Registered: Apr 2001
Posts: 19

What programming model/components are you using? CocoBase
can use both JDBC 1.2 & JDBC 2.0 style connections. The
JDBC 1.2 connection url syntax will be the same with or without
CocoBase.

So if a pool is avaiable with some jdbc 1.2 url syntax like
jdbc:mypoolprovider:poolname

then CocoBase would support this same syntax. It's really an
issue of what the jdbc system supports however.

With JDBC 2.0 style syntax, you'll need to make
the pool available to your component/application, and then
CocoBase supports a jndiurl syntax in the url such as:

jdbc:cocoprop=jndiurl=java:comp/env/jdbc/MyPool
or
jdbc:cocoprop=jndiurl=jdbc/MyPool

The jndiurl syntax depends on the server and how you have the
pool configured...

But basically CocoBase would rely & use the same basic pool
configuration just as any jdbc code...

THOUGHT Support

08-08-2002 11:18 AM
Click Here to See the Profile for admin    Find more posts by admin        Edit/Delete Message    Reply w/Quote    IP: Logged
All times are PST (US)    Post New Thread     Post A Reply
Forum Jump:
< Previous Thread     Next Thread >

Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author. Messages can be deleted by their author.
Posts: HTML code is OFF. Smilies are OFF. vB code is OFF. [IMG] code is OFF.

Admin Options:
Open / Close Thread
Move Thread
Delete Thread
Edit Thread

< Contact Us - THOUGHT Inc. >

Copyright © Jelsoft Enterprises Limited 2000.
Copyright 2001 All Rights Reserved, THOUGHT Inc.