• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt on specifying Data source

 
Mey Mey
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to deploy Account EJB of websphere examples, I am working on linux machine having oracle database on solaris, database configuration are ok, How to specify data source while creating container, when I click change button on admin console I am getting only NONE, I am not able to deploy the bean without specifying data source can anybody help me out in this regard.
 
Tony Chen
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to create a "Data Source" first!
------------------
Tony Chen
SCJP, ICS & ICSD (WebSphere)
 
daman sidhu
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
From the types tab u first need to create a jdbc driver for oracle, then u need to create a datasource from that driver and then u need to install that driver from the topology tab, then u will get it in the container selection of datasource.
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mey Mey,
I have sucessfully been able to create a ORACLE Datasource and a JDBC driver. If you want any further details do get in touch over here.
Its easy once you know how
 
daman sidhu
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i created the jdbc driver with the thin client for oracle, the url ull have to specify is jdbc racle:thin:@pcname ort
dont specify the db name after this, as the driver is database specific
 
daman sidhu
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh i didnot disable the similies, it is
oracle:jdbc:thin:@pcname:port
 
Mey Mey
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot now I am able to connect with oracle thro' bean, its due to the problem of not specifying datasource.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic