Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with setting up data sources

 
Vijay Gade
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am using the RI tool, and I was trying to create a CMP Entity Bean. The home, remote and bean, all returned passed tests when I used the verifier in the RI tool.

Now came the part when I have to connect the data sources, and here is what I did:

(1) copied my classes12.jar to the C:\j2sdkee1.3.1\lib\system directory, and included this classes12.jar in my CLASSPATH (windows).
(2) changed the config\resource.properties to the following:


But nothing seems to work. When I go try to build the SQL code giving the jdbc/Oracle jndi name and username and password, I get a message box that says I have an SQLException (no suitable driver).

Can someone help me out in connecting to an oracle database using the RI tool please?

Thanks,
-Vijay
 
Vijay Gade
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nobody had this problem?
 
Ugender Rekulampally
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry Vijay, I use weblogic.. setting up servers first time is kinda sucks ...

goodluck,
Ugender
 
Vijay Gade
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
:-)
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!