摘要:
1.下载jdk1.3和tomcat;
2.安装jdk1.3和解压tomcat到c:盘根目录下;
3.进入tomcat的目录里,找到startup.bat文件,打开编辑。
在行call tomcat start的前面加上两行:
set tomcat_home=c:\tomcat 和 set java_home=c:\jdk1.3
注:c:\jdk1.3是jdk1.3安......
摘要:the way some people hobble their application servers, youd think they considered the server as pointless middleware. most java developers, however, want to unleash their application servers to do righ......
Weblogic中访问oracle数据库的连接池的配置方法
weblogic中访问oracle数据库的连接池可以采用三种jdbc方式进行配置
一 在weblogic console中按如下配置 建立connection pool ,并修改startweblogic.cmd文件
1 weblogic 方式, 使用weblogic的jdriver
属性 值
url : jdbc:weblogic:oracle
driver classes : weblogic.jdbc.oci.driver
properties (key=value): user=xixi
password=haha
server=your_tnsname
需要安装oracle的客户端
your_tnsname是你在oracle客户端中配置的指向oracle服务器的本地服务名
startweblogic.cmd中 path变量加入.\bin\oci817_8
2 oracle jdbc的thin方式
属性 值
url : jdbc:oracle:thin:@193.0.0.5:1521:ora8
driver classes : oracle.jdbc.driver.oracledriver
properties (key=value): user=xixi
password=haha
dll=ocijdbc8
protocol=thin
不需要安装oracle的客户端 , ora8为你要连接的数据库的sid
startweblogic.cmd中 path变量加入.\bin\oci817_8, classpath中加入$oracle_home\jdbc\lib\...
下一页 摘要:
in the interests of creating employment opportunities in the java programming field, i am passing on these tips from the masters on how to write code that is so difficult to maintain that the peopl......