• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

using DataSource in RAD 7.5

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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.
 
Humans and their filthy friendship brings nothing but trouble. My only solace is this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic