This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Test Evironment (Visual Age)  RSS feed

 
Amit Punjwani
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends..
I have got IBM Visual Age 3.5 Enterprise Editon installed.. and i want to
use for testing out the EntityBeans i am making..
we are using Oracle Database.
I have added the EJB Feature in my default workbench..
and now from the from the menu's
Window->Options.. am getting a screen where i can set the WorkSpace
classpath (for resources).. there i am giving the path from where it can
find the OracleDriver.. am using oracle.jdbc.driver.OracleDriver now from
the menu i am selecting..
Workspace->Tools->Websphere Test Enviornment..
it opens a window..from where i can start a Persistent Name Server after
specifying the driver name and username and pwd for connecting to the
database..
when i click the button Start Server..
it gives me Exception message Box saying that the specified driver ie
oracle.jdbc.driver.OracleDriver..was not found..
The problem is i am not able to connect to the Oracle Database
Is there any other settings required for that..
if so please tell me..

Amit
 
Django Boonman
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For some reason you also have to add the driver-zipfile to your classpath.
That should help,
Django
 
daman sidhu
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
Add the classes111.zip( the driver classes) to the classpath from the options tab in the visual age, that will do the work.
Cheers,
Daman
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
This thread belongs to the IBM Application Servers section so Amit you should have posted it there. The J2ee and Ejb forum is not for these questions.
Could this thread be transfered please.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!