This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes How to set JDBC with J2EE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to set JDBC with J2EE "deploytool"" Watch "How to set JDBC with J2EE "deploytool"" New topic
Author

How to set JDBC with J2EE "deploytool"

Pho Nguyen
Greenhorn

Joined: Jul 26, 2002
Posts: 4
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

Joined: Feb 20, 2001
Posts: 580
From the "Tools" menu, select "Server Configuration...".


James Carman, President<br />Carman Consulting, Inc.
georgejk
Greenhorn

Joined: Jul 29, 2002
Posts: 24
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
 
wood burning stoves
 
subject: How to set JDBC with J2EE "deploytool"
 
Similar Threads
New to J2EE
Transaction Demarcation Home Interface FAILED
Deploy Entity Bean in J2EE RI
Errors getting started with J2EE/Cloudscape
Need Help with AdviceClient Error