• 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

JNDI DataSource Configuration (Java System Application Server with Duke Book Store)

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In tomcat 5.x, in order to configure the JNDI DataSource (map the
resource reference name to database URL), we add the information
between the <Context> tag in file $CATALINA_HOME/conf/server.xml.
However, when using Sun Java System Application Server, i have no idea
where it stores the JNDI DataSource information.
I try to have a look on Duke Book Store example comes with
j2eetutorial14. The database was created (is the resource reference
name "jdbc/BookDB also mapped to the database URL at this stage?) by
using "asant create-db_common".
however, all the steps is just like a black box by using asant
automated tool. i have exactly no idea what is the steps need to be
performed, in order to make jdbc/BookDB mapped to
jdbc :p ointbase:server://${db.host}:${db.port}/${db.sid}
i try to check on the admin console, the JNDI->Custom Resources and
JNDI->External Resources are empty, does that mean the jdbc/BookDB
have not mapped to the database URL?
if yes, what step by step should i do in order to map the
"jdbc/BookDB" resource reference name to database URL?
thank you.
regards
yan cheng
[ April 21, 2004: Message edited by: Yan Cheng Cheok ]
 
    Bookmark Topic Watch Topic
  • New Topic