• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Questions(Urgent)  RSS feed

 
Tauqueer Ali
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Please help me solving the following questions:
Question 1
How do you load drivers in Weblogic application server
Question 2
How and where is the system password stored in a weblogic
server
Question 3
How do we use the interface javax.sql.dataSource interface
in EJB to get connection from a pool.
These questions are not properly worded as I myself don't have
them properly worded. If they don't make any sense then please
try figure out the possible question.
Thanks in advance


------------------
max
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would better post your questions to the WebLogic forum as many of them are Application Server specific.
 
Nitin Shivaram
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Answer to question 1:
to load a driver, which would mostly be a java class, just put the path to the driver in your classpath.
Answer to question 2:
The system password is stored in the weblogic.properties file. This file would typically be in the home directory of weblogic.
Search for "weblogic.password.system" property.
Answer to question 3:
To get a datasource from a pool, use the following property.
weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.poolAlias=nameOfThePool
Hope this helps !


------------------
Nitin S
 
Prabhakar Goel
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
::Question 2::
For Weblogic version6.0 and above this Weblogic.properties file has been replaced by a config.xml file. But You will find the password in this file as a " Message digest " and not a plain text which earlier was the case with Weblogic5.1 or prior versions, so It will not be that easy to get the password from there.
Look For It In detail at weblogic forums..............

------------------
enJoy Life with Technology ;-)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!