473,320 Members | 1,744 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Configuring Oracle 9i thin driver for WAS 5.1

HI Group,
I have installed WAS 5.0 in my machine recently and would like to
configure Oracle JDBC thin driver. I tried it with the admin console,
with the following parametners
JDBC provider implementation classname :
oracle.jdbc.pool.OracleConnect*ionPoolDataSource
classpath : <path>\oracle9i_12.jar
datasource
name : mydb
JNDI name : mydb
Custom properties
url : jdbc:oracle:thin:@mydb:1521:my*db
(server name is also mydb)
driver type : thin
databasename : mydb
servername:mydb
datasourcename:mydb
However, this is not connecting. Says java.sql.SQLException: invalid
arguments in call. Where do I specify the username and password for the

database ? Tried to find it myself but in vain. Forgive me , I am new
to Websphere.
Thanks for all help
Pramod R.

Jul 18 '05 #1
1 3860
OOPS...

Fixed it. Found the J2CAuthentication link where I can set the
username/password.

regards

Ramachandran Pramod wrote:
HI Group,
I have installed WAS 5.0 in my machine recently and would like to
configure Oracle JDBC thin driver. I tried it with the admin console,
with the following parametners
JDBC provider implementation classname :
oracle.jdbc.pool.OracleConnect*ionPoolDataSource
classpath : <path>\oracle9i_12.jar
datasource
name : mydb
JNDI name : mydb
Custom properties
url : jdbc:oracle:thin:@mydb:1521:my*db
(server name is also mydb)
driver type : thin
databasename : mydb
servername:mydb
datasourcename:mydb
However, this is not connecting. Says java.sql.SQLException: invalid
arguments in call. Where do I specify the username and password for the
database ? Tried to find it myself but in vain. Forgive me , I am new
to Websphere.


Thanks for all help


Pramod R.


Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Paul | last post by:
hi, i'm getting the following error when i try to run the code below to connect to an oracle db: java.lang.ClassnotfoundException:oracle.jdbc.driver.OracleDriver java.sql.SQLException No...
3
by: David | last post by:
Hello all, I have been trying to use the OCI driver to connect to Oracle 9i, but have been getting the following error: java.sql.SQLException: Closed Connection at...
3
by: hilz | last post by:
Hi all: I have an oracle 9i server running behind a firewall. i set up the machine that has the oracle server as a DMZ zone. i can connect to the oracle server from the local network but not...
1
by: Harish | last post by:
Hi, Why is "jdbc:oracle:thin" called a thin driver? Thanks in advance. Harish.
1
by: CM | last post by:
Hi, when i want connect me in my BD with a JSP (with this simple code), this exception is throw. Thank's for ur help Mathieu CODE of my JSP ---------------------
0
by: JWM | last post by:
I am trying to implement Oracle connection pooling for the following code, which was written by someone else. Here is my main question -- this java file creates code that is executed every hour,...
5
by: Joe Kinsella | last post by:
Java JDBC defines four types of database drivers. A type 4 driver is a native protocol, fully Java-enabled driver. For Oracle, this means the driver is written to the socket based protocol...
2
by: Jim H | last post by:
We have applications that must connect to oracle databases. Is there a way to connect using .NET that does not require installation of the Oracle client on each PC? I'm pretty sure java apps do...
0
by: Rauf Sarwar | last post by:
Originally posted by Nelson Broat Have you included Oracle jdbc driver in your classpath? Depending on your Oracle version, it would be ORACLE_HOME/jdbc/lib/classesXXX.zip or classesXXX.jar...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.