• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Establish Connection to the Oracle Database

 
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am working on an EJB project using the Oracle databse on the WebLogic platform. How do I establish the connection?
1. what are the codes in my servlet or JSP I have to use?
2. Do I have to look into the Settings --> Control Panel?
3. I tried to follow the "Installing WebLogic jDriver for Oracle" document of the WebLogic Server 6.0:
a. I set up the environment (I am using the Windows 2000 and the Oracle is on the network.)
set PATH=c:\bea\wlserver6.0sp1\bin\oci816_8;e:\bin;%PATH;
b. add the WebLogic Server classses to my CLASSPATH variable
I do not know how to accomplish this step. I do not know if the WebLogic jDriver for Oracle is bundled with the WebLogic Server software. How do I identify?

c. Checking Connections (set environment to use dbping) to the Oracle Database
I cd to bea\wlserver6.0sp1\config\mydomain>setEnv.cmd java utils.dbping ORACLE user password server
and I got "your environment has been set."
d. I am confused about "Configuring a Connection Pool with WebLogic Server Software", what should I do?
4. Are there other things I have to know?
Thanks in advance.

 
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic