To add a Data Source from JDeveloper:
- View > Application Server Navigator
- Application Servers > IntegratedWebLogicServer
- R-click > Launch Administrative Console…
-that should be i.e. like “http://127.0.0.1:7101/console/login/LoginForm.jsp” - Login with user/password
- From Domain Structure open Services > select Data Sources
- New > Generic Data Source
- Specify the connection properties:
- Name: MyConnectionDS (or whatever you defined in your Java app data source)
- JNDI Name: comp/env/jdbc/MyConnectionDS or jdbc/PoliceConnectionDS
- Database Type: Oracle
- > Next
- Database Driver: Oracle’s Driver (thin) for Instance Connections (versions 9.0.1 or later)
- > Next
- Supports Global Transactions
- One-phase commit
- > Next
- Type in: Database Name, Host Name, Port, Database User Name, Password
- > Next
- Test Database Connection screen > click Test Your Configuration
- if “Connection test succeeded.”, click Finish
Your new data source should be ready to use for local server run/debug.
Comments