Home  >  Article  >  Database  >  WebLogic下配置MySql数据库的JDBC驱动_MySQL

WebLogic下配置MySql数据库的JDBC驱动_MySQL

WBOY
WBOYOriginal
2016-06-01 13:56:431888browse

WebLogic下配置MySql数据库的JDBC驱动

对于初学者来说,Weblogic的配置常让人摸不着头脑,其实应该是比较容易的。
比如对于Weblogic8.1可直接修改
/bea/user_projects/domains/mydomain下的startweblogic.cmd

找到 “Set classpath=”,加入mysql.jar的路径,如:

set CLASSPATH=C:/mysql.jar;%WEBLOGIC_CLASSPATH%;
%POINTBASE_CLASSPATH%;%JAVA_HOME%/jre/lib/rt.jar;
%WL_HOME%/server/lib/webservices.jar;%CLASSPATH%


mysql.jar的路径最好放在最前面

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn