我运行一个EntityBean的例子,在JB7内启动Weblogic7服务器时出错:<2002-12-6 上午09时50分55秒> <Error> <JDBC> <001060> <Cannot startup connection pool "OraclePool" weblogic.common.ResourceException: Cannot load driver class: oracle.jdbc.driver.OracleDriver> <2002-12-6 上午09时50分55秒> <Error> <JDBC> 连接池和数据源已经配置好了,并且已经在jb7里面指定了JDBC驱动程序,在E:\JBuilder7\lib\ext 目录下可以找到我定义的驱动程序配置文件,OracleJDBC。内容为: addpath C:/bea/weblogic700/server/lib/classes12.jar这个classes12.jar 是从Oracle数据库的classes12.zip拷贝过来的然后更名classes12.jar,请大侠们帮我看看,为什么不能装载驱动程序呢?
解决方案 »
- 如果获得LinkedList<int[]> featureList = flow.getFeaturesList()里的int值
- java内部类问题,请求帮忙谢谢先
- 使用java编写一个删除空行的小程序,要考虑TAB符和ENTER换行等所有情况,请大虾贴代码。
- 如何用java实现自动批量打印
- 如何打包出不需要jre也可以运行的java程序
- 斑竹请问:贴怎么没了?<google面试题第17题>
- jdbc + mysql 大数据量写库的问题
- 关于数据库字段类型存储的问题,解决问题,100分相送!(在线等)
- JCreator 2.5 pro中的中文问题
- 一个小问题:java bean 组件模型与CORBA 组件模型有什么区别?
- 请问如何实现提取系统设置的环境变量?谢谢先。
- 奇怪的问题,请大家帮帮忙!
SETLOCAL@rem Set SERVER_NAME to the name of the server you wish to start up.
set SERVER_NAME=myserver@rem Set WLS_USER equal to your system username and WLS_PW equal
@rem to your system password for no username and password prompt
@rem during server startup. Both are required to bypass the startup
@rem prompt. This is not recomended for a production environment.
set WLS_USER=Daimon
set WLS_PW=tongwenjun@rem Set Production Mode. When this is set to true, the server starts up in
@rem production mode. When set to false, the server starts up in development
@rem mode. If it is not set, it will default to false.
set STARTMODE=@rem Set JAVA_OPTIONS to the java flags you want to pass to the vm. i.e.:
@rem set JAVA_OPTIONS=-Dweblogic.attribute=value -Djava.attribute=value
set JAVA_OPTIONS=-Dweblogic.security.SSL.trustedCAKeyStore=C:\bea\weblogic700\server\lib\cacerts@rem Set JAVA_VM to the java virtual machine you want to run. For instance:
@rem set JAVA_VM=-server
set JAVA_VM=@rem Set MEM_ARGS to the memory args you want to pass to java. For instance:
@rem set MEM_ARGS=-Xms32m -Xmx200m
set MEM_ARGS=@rem Call Weblogic Server
call "C:\bea\weblogic700\server\bin\startWLS.cmd"ENDLOCAL这个是我的 startweblogic.cmd文件,应把set classpath 加在哪里呢?