• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Connect to Oracle

 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I need to connect to oracle from my Weblogic Server 6.1. Any ideas or documents on how to do it will help.
Thanks
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Connecting to Oracle is no different from any other database. Take a look at the JDBC submenu of the console application.
The basic steps would be:
- configure a new connectionpool,
- configure a new jdbc datasource
- configure a new jdbc TX datasource (if needed)
- configure a multipool (if needed)
You need to put the drivers (classes12.zip) in the classpath of the server.
 
Rahul Mahindrakar
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


You need to put the drivers (classes12.zip) in the classpath of the server.


How do i do the above
 
Rahul Mahindrakar
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are there any document online with bea that will help.
 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If u r using a script, u are probably doing something like this:
set CLASSPATH=%WEBLOGIC%;%WL_HOME%;%JAVA_HOME%\lib\tools.jar;%BEA%;%ORACLE%
%JAVA_HOME%\bin\java -hotspot -ms64m -ms64m -classpath %CLASSPATH% -Dweblogic.Domain=xxx -Dweblogic.Name=yyy -Djava.security.policy=%WL_HOME%\lib\weblogic.policy weblogic.Server
Substitute the path to the classes12.zip in ur ORACLE variable above.
Go to www.e-docs.bea.com and find the documentation for the server u r interested in.
HTH
Anup

[This message has been edited by anup vachali (edited August 22, 2001).]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic