|
-
The Connection Pool in Weblogic Server.
Hi Everbody,
I am using Weblogic with Oracle8i on WindowsNT4.0
I am connecting to Weblogic via Connection Pooling.
In my weblogic.properties file I have the following code:
weblogic.jdbc.connectionPool.oraclePool=\
url=jdbc:weblogic racle,\
driver=weblogic.jdbc.oci.Driver,\
loginDelaySecs=1,\
initialCapacity=4,\
maxCapacity=10,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=10,\
testTable=dual,\
props=user=SCOTT;password=tiger;server=Oracle8
[I am able to connect to DB by SQL Plus with given parameters]
But when I write it in My Servlet:
Class.forName("weblogic.jdbc.pool.Driver");
conn = DriverManager.getConnection"jdbc:weblogic ool raclePool");
I am getting the Error and not able to connect to the DB.The error raised
is:
java.SQL.Exception: Poolconnect failed: Connection Pool oraclePool does not
exist.
Can anybodyof you tell me that what might be the problem??? How I can rectify
it????
TIA.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks