2008年11月23日 星期日

Set JNDI and connect to DB2 on WAS v6.1

1.Confirm your WebSphere variables:
【WAS Administrator consoleàEnvironment/WebSphere Variables】

WP_DB2_JDBC_DRIVER_CLASSPATH_11--> C:/IBM/WebSphere/PortalExpress/db2/java/db2jcc_license_cu.jar

2. Resource/JDBC/ JDBC Provider
Create a JDBC Provider

3. Create a new DataSource



Server name:localhost
port : 500000


4. Set JAAS-J2C Authentication


The last step..
must be sure that you are run on the correct WAS!
(there may be more than 1 WASs on your machine)

my original WAS set up root:


change to .. (what I wnat to run on it)


done!

1 則留言:

⊙⊙ 提到...

哈哈哈哈哈~真的有專業到!
竟然是英文版本的..