在WebLogic Console里面不可以配置吗?
解决方案 »
- 如何远程对一个程序进行起停操作
- 怎么样提取出这三个文件名?
- 我的log4J出问题了,为什么会打印代码出来??
- 怎么没人帮我顶一哈呢?? 最近遇到了三个问题,都贴在我论坛里边,大家到我论坛里边看哈,看谁能帮我解决这三个问题,顺便帮我顶哈!!!!!
- 谁整理过位操作吗~-~,
- 请教一个问题
- 看看这个程序的执行结果是什么?
- 请高手们推荐讲JAVA可视化开发工具的好书最好是讲JB的,我已经有一定的JAVA基础了!
- 怎么获得一个输入流的大小或一个文件的大小?
- 请教:www.china-pub.com网站有很多好书,
- 几个问题请教高手们了。。。。。。呵呵
- 可以介绍一下吗?ORCALE里的DECODE的用法与例子
你而且我也不会配,最好能帖子例子上来,谢谢!
Modify the classpath used when starting WebLogic Server. Add the classes (or .jar file) for the Oracle driver to the WebLogic Classpath (using the weblogic.class.path property-not the Java System Classpath):
For more information on setting your classpath, see Setting Classpath in the WebLogic Server installation instructions.
Add one of the following connection pool definitions to your weblogic.properties file, making the correct substitutions for your environment: #Oracle thin driver Method #1weblogic.jdbc.connectionPool.thinPool=\ url=jdbc:oracle:thin:DEMO,\ driver=oracle.jdbc.driver.OracleDriver,\| initialCapacity=1,\ maxCapacity=1,\ props=user=SCOTT;password=tiger,\ allow=guest;joe;jill(Where DEMO is the name of a host and database defined in the tnsnames file. See your Oracle documentation for more information.)
#Oracle thin driver Method #2weblogic.jdbc.connectionPool.thinPool=\ url=jdbc:oracle:thin:@hostName:portNumber:databaseName,\ driver=oracle.jdbc.driver.OracleDriver,\ initialCapacity=1,\ maxCapacity=1,\ capacityIncrement=1,\ props=user=scott;password=tiger,\ allow=guest;joe;jill(Where hostName is the name of the machine hosting the Oracle DBMS, portNumber is the port where the host machine is listening for requests, and databaseName is the name of the database.)
to configure the connection pool, which includes defining the attributes and connection parameters, cloning pools, and assigning connection pools to a server or domain