jQuery in Action, 2nd edition*
The moose likes EJB and other Java EE Technologies and the fly likes URGENT! problem with Oracle ConnectionPoolDataSource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "URGENT! problem with Oracle ConnectionPoolDataSource" Watch "URGENT! problem with Oracle ConnectionPoolDataSource" New topic
Author

URGENT! problem with Oracle ConnectionPoolDataSource

Himal Chuli
Ranch Hand

Joined: Aug 06, 2002
Posts: 118
hi folks,
i am trying to implement EJB in WSAD and Oracle8i. I created a CMP entity bean and bound with the follwing:
Implementation Class = oracle.jdbc.pool.OracleConnectionPoolDataSource
URL prefix = jdbc racle
Classpath = C:\Oracle\Ora90\jdbc\lib\classes12.zip
JNDI name = jdbc/OracleDatasource
Created the following 3 Resource Properties (the panel underneath the Datasource panel)
A) serverName
java.lang.String
kirant
B) URL
java.lang.String
jdbc racle:thin:@kirant:1521:jaguar
Note:jaguar is my database name

C) portNumber
java.lang.Integer
1521 (default)
i tried testing my sessionbean that access the CMP entity bean. gives me the following error:

i am just lost here. could you please tell me what's wrong going on here?
thanks.


Himal
thakur thakur
Greenhorn

Joined: Dec 06, 2002
Posts: 9
You would have given type of the URL property as String make it java,lang.String and also 'url' should be URL in capitals which you have I guess.
I don't think that you need to give the port as a property as you can give the complete JDBC conenct string inside the URL.
-Thakur
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: URGENT! problem with Oracle ConnectionPoolDataSource
 
Similar Threads
jdbc driver problem
WSAD specific directions for creating an Oracle Data Source
WSAD 4.0.3 Test Environment
Problem when developing EJB using WSAD to config Oracle DataSource
The correct way of Creating a Data Source for Oracle in WSAD5.0 ??