How to configure my J2EE App server to connect to oracle database?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, April 23, 2001 11:57 PM

How can I configure my J2EE App server to connect to my Oracle database. What are the configuration files, environment files & JNDI naming configurations which I have to do to get my J2EE working with Oracle. Now it is giving me a Remote Exception & Naming Exception. How & where do I specify the JDBC driver & the IP address, login & password for my Oracle database server. I am working on Bean Managed Persistence. Please advise me?

Re: How to configure my J2EE App server to connect to oracle database?

Posted By:   Shaun_Childers  
Posted On:   Tuesday, April 24, 2001 09:45 AM

What EJB server vendor are you using? For Weblogic, you need to configure the /weblogic/weblogic.properties file to create a connection pool to your appropriate Oracle DB (you will specify the userid, password, DB driver, and DB name here).

For the JNDI, the EJB server should manage this for you whenever you deploy your bean within the EJB server (also specified in the weblogic.properties). The "name" you give it in the EJB deployment descriptor is the "name" you should use in your lookup from InitialContext.

I will let someone describe this process for WebSphere & iPlanet.
About | Sitemap | Contact