Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set JDBC with J2EE "deploytool"

 
Pho Nguyen
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
1. I am new with J2EE and I appreciate very much if being helped by experts/gurus :-)
2. How do I set database JNDI in the Deployment Settings/Database Settings of the J2EE's Deployment Tool "deploytool". In the Tutorial it shows to use Cloudscape and the value to enter is "jdbc/Cloudscape".
3. I want to use driver from WebLogic for SQLServer "jdbc:weblogic:mssqlserver4"
Thank you so much !
 
James Carman
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the "Tools" menu, select "Server Configuration...".
 
georgejk
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
use the j2eeadmin tool provided in the J2ee RI.
1)for adding JDBC Driver j2eeadmin -addJdbcDriver <classname for the driver>
2)for adding DataSource j2eeadmin -addJdbcDatasource jndiname url
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic