WebSphere数据源配置
WebSphere data source Configuration
- login http://localhost:9061/ibm/console/login.do(According to your own configuration for this URL, this is default URL).
- On the left navigation, click on “Environment” menu, and then spread the sum menu, click on the “WebSphere variables”.

- On the right page shows the variables list, click “Next” button to move to next page and find “ORACLE_JDBC_DRIVER_PATH” variable.


- Edit this path, set the “Value” as the path of your Oracle driver jar file.

- After set the value, click “Apply” button, also click “Save” button to take effect.

- Click the menu as below image shows, and click “New” button.

- Step 1: Create new JDBC provider. The values set as below image shows. And then click “Next”.

- Step 2, if the oracle jar is not the same as images shows, you can change it later. This page no needs to change, click “Next”.

- Step 3, no change to click “Finish”

- Save the configuration.

- You can click name in the list to change the configuration.

- If something is wrong, you can change it. Eg.my jar name is not “ojdbc6.jar”, so change the class path as “ojdbc14-10.2.0.3.jar”, and click “Apply”, “Save” button.

- Create Data source.

- Step 1, “Date source name” can free to input, “JNDI name” is “jdbc/DataSource”.

- Step 2, select an existing JDBC provider.

- Input URL “jdbc:oracle:thin:@cndalwebdb04vl.cn.fid-intl.com:1521:D1CIA”.
(According you own configuration).

- Setup security aliases. (Set up oracle username and password). Set later. Do nothing and next.

- Confirm page, click “Finish” button.

- Save the data source configuration.

- Add “JAAS - J2C authentication data” (oracle username and password).
After that set “security setting”.

- Click “New” button.

- Alias is free to input, User ID and Password use to connect oracle db.

- Apply and save.

- Link to data source edit page, edit “Security settings” option.

- Apply and save.

- Test connection.

- Connect successfully if shows below page. And the entire configuration for data source has done.
WebSphere数据源配置的更多相关文章
- WebSphere中配置的数据源在Web应用中引用的写法
WebSphere中配置的数据源在Web应用中引用时名称一定要和数据源的JNDI名称保持一致,否则会出现无法找到数据源的错误. 引用WAS的数据源时只需要与JNDI名称保持一致即可. 引用Tomcat ...
- Spring jndi数据源配置方法
xml配置: <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverMana ...
- spring 四种数据源配置方式
1.spring自带的数据源 DriverManagerDataSource XML代码: <bean id="dataSource" class="org.spr ...
- 复习Spring第三课--数据源配置的多种方式
spring数据源配置可以说分为:spring容器自带连接池.项目中创建连接池.服务器创建连接池三种 一.spring容器自带连接池 Spring本身也提供了一个简单的数据源实现类DriverMa ...
- JAVA spring hibernate 多数据源配置记录
数据源配置 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http:// ...
- 基于xml的Spring多数据源配置和使用
上一篇讲了<基于注解的Spring多数据源配置和使用>,通过在类或者方法上添加@DataSource注解就可以指定某个数据源.这种方式的优点是控制粒度细,也更灵活. 但是当有些时候项目分模 ...
- mysql连接超时与jndi数据源配置
昨天有运营说添加活动不能用了,我就看了一下后台日志,发现访问数据库是报错: at java.lang.Thread.run(Thread.java:722) Caused by: com.mysql. ...
- 三、oracle数据库成功安装步骤 Oracle数据源配置
安装完Oracle驱动后,如需连接远程Oracle数据库,还需进行数据源配置,类似Windows下的ODBC数据源配置. 运行"开始菜单\Oracle - OraDb11g_home1\ ...
- java连接数据源-读取tomcat数据源配置
读取数据源配置,获取连接 1.配置数据源 D:\apache-tomcat-7.0.70\conf\context.xml <Resource name="jdbc/news" ...
随机推荐
- ChainOfResponsibility
#include <iostream> using namespace std; class Chain { public: bool Handle() { return false; } ...
- Sublime Text 2 常用快捷键
Sublime Text 2 常用的快捷键 (不包含插件快捷键) Ctrl+P 打开文件搜索框,可以直接输入文件名搜索,或者输入@funcName 可以直接到函数定义处,输入#key 可以直接查找,输 ...
- C#虚方法认识
C# 中虚方法 1.具体的是new后面具体是那个类,调用的是该类的实现方法.不和基类有关,虽然可以将子类赋值给基类句柄. 但是具体还是调用具体实例化的方法.
- mysql 5.7压缩包安装笔记
转载请注明出处http://www.cnblogs.com/havedream/p/5075263.html 重装系统之后准备安装mysql,看到官网上有mysql 5.7.10可以下载就点了,然后就 ...
- 学习c的第8天
#include <stdio.h> int main() { char ch; printf("请输入分数等级(A,B,C,D):"); scanf("%c ...
- 【php学习之路】php基础语法
一.什么是php? PHP即PHP: Hypertext Preprocessor(超文本处理器),是一种服务器端脚本语言,适用于创建web站点.开源免费 二.php能做什么? ...
- S5PV2210
http://www.doc88.com/p-773451739254.html CAN转换器 CAN总线信息转换输出装置 基于车载CAN总线的倒车雷达单元设计[图] http://www.doc88 ...
- java clone简单学习
最近在帮忙写单侧的时候,经常会和这几个对象类打交道,因为对java也不是很熟悉,刚好学习一下,都是很浅的学习,并没有深入的去学习哈,因为感觉也用不上. protected Object clone() ...
- @Async java 异步方法
在spring 3中,@Async注解能让某个方法快速变为异步执行,马上来先DEMO上手下. 假如在网站的用户注册后,需要发送邮件,然后用户得到邮件确认后才能继续其他工作: 假设发送是一个很耗费时间的 ...
- object sender ,EventArs e
引用:http://blog.csdn.net/kongbai308416350/article/details/4233786 说的通俗一些,就是: 有一个叫做EventHandler 的家伙,他会 ...