• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

using DataSource in RAD 7.5

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I used to work with RAD 7 and WAS 6.0 and call a DataSource from my servlet by using a reference I created earlier from RAD itselt.

Now I'm working on RAD 7.5 and WAS 7.0 and I tried to create a reference to the same DS, but there is no field for adding the DS jndi name. Did I missed something ? How should I connect to the DS with RAD 7.5 ?

Thanks !!
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you attempting to add it as a resource reference in the web.xml? I've seen this behavior in RAD 7.5 versus RSA 7.5. Make sure it is opening the the Deployment Descriptor Editor.

 
Thomas Houseman
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In RAD 7 I created a datasource reference through "Deployment Descriptor" :
1. Open DD.
2. click the "References"
3. click "Add" and create a DS Reference.
4. Then add the "JNDI Name" in the right field.

The problem is that in RAD 7.5 I don't have ch.4, means I don't have any field to place the "JNDI name" of the DataSource.
So how should the WEB application will know what the JNDI name is ? how should it access to the data source on the server ?

Thanks.
reply
    Bookmark Topic Watch Topic
  • New Topic