在weblogic8.1配置JDataStore连接池
我在weblogic8.1中,想建立JDataStore的JDBC连接。
连接参数是:
Driver Classname: com.borland.datastore.jdbc.DataStoreDriver
URL: jdbc:borland:dslocal:/jbuilder9/samples/Ejb/db/esite.jds
Properties: user=Frank
进行尝试连接时,提示:JDBC driver is not on the CLASSPATH
我的JDataStore驱动文件是在"E:\JBuilder9\bin\jds.jar"。我把她加入到系统的CLASSPATH中还是不行.
weblogic帮主文档说是要这么加入:
Include the path to JDBC driver classes and to weblogic.jar in your CLASSPATH as follows:
set CLASSPATH=DRIVER_CLASSES;WL_HOME\server\lib\weblogic.jar;%CLASSPATH%
Where DRIVER_CLASSES is the path to the JDBC driver classes and WL_HOME
is the directory where you installed WebLogic Server.
我觉得奇怪,”set CLASSPATH=DRIVER_CLASSES;WL_HOME\server\lib\weblogic.jar;%CLASSPATH%“这种格式只有写在bat文件中吧,不能直接加入CLASSPATH中的吧。现在我越来越糊涂了,CLASSPATH是操作系统的配置参数吧,好像每个应用都又这么一个参数一样。
现在我是用尽办法都不能让我的JDataStore驱动在weblogic找到。不过在weblogic下的一个工具("WL_HOME\common\eval\dbvisualizer\run.bat")可以成功连接JDataStore,而在Weblogic的服务中就是不能载入,总感觉哪里还可以设置其自己的classpath。我就是找不到。不知哪位兄弟姐妹能帮我忙。我已经为这个问题困扰了两天了。