File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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

How to set JDBC with J2EE "deploytool"

Pho Nguyen

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.

Joined: Jul 29, 2002
Posts: 24
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
I agree. Here's the link:
subject: How to set JDBC with J2EE "deploytool"
It's not a secret anymore!