Comparison of Weblogic Multipools VS. Oracle OCI TAF?
My group is thinking of going with Weblogic's Multipools as opposed to
using Oracle's TAF for failover support.
Has anyone done any benchmarking on the two - or does anyone know of
the pros and cons of going with either solution?
Any first hand feedback on either solution would be extremely helpful,
as would recommendations.
Our setup is:
Linux, oracle 9i and weblogic 7.0
thanks,
- Ryan
Hi Joe,
thanks for the reply - the code change helped a little. It's returning
a bit faster than it was before. However, I'm still experiencing
problems with the Multipool functionality.
After experimenting a little, I have more information on the problem
definition.
I have 2 DB Connection Pools, both set up for one multipool (set up
for HighAvailability).
I can see both pools getting populated (max of 10) at the server
startup.
DB 'getConnection' requests are being created without any problems on
the first connection pool.
As an experiment, I decided to test the health of the connection pools
frequently (every time a connection is requested). The code grabs a
connection and releases it immediately.
This is the code I wrote to do that:
>>>>>>>>>>>>>>
try{
conn1 = d.connect("jdbc:weblogic:pool:RConnPool1", null);
}catch(Exception e)
debug("Conn1 threw exception " + e.getMessage());
finally
try {conn1.close(); } catch (Exception e) { debug("Conn1.Close
E " + e.getMessage());}
try{
conn2 = d.connect("jdbc:weblogic:pool:RConnPool2", null);
}catch(Exception e)
debug("Conn2 threw exception " + e.getMessage());
finally
try {conn2.close(); } catch (Exception e) { debug("Conn2.Close
E " + e.getMessage());}
>>>>>>>>>>>>>>
That code worked inefinitely (I sent about 20-30 requests through
without problems). The actual connection being used was requestd from
the multipool right after that section of code.
>>>>>>>>>>>>>>
conn = d.connect("jdbc:weblogic:pool:RMultiPool", null);
notRetrieved = false;
>>>>>>>>>>>>>>
So, when I shut down one the server for ConnPool1 (through the
console), I expected to have the first try-catch to generate an
exception and the second one to continue to function healthily. I also
expected the multipool to switch over to the second pool.
On the first few requests after the db shutdown, I do get the
exception from the first Connpool1 and a healthy message from
Connpool2. However, the multipool returns exceptions for ConnPool1,
but doesn't return connections from ConnPool2 (it just throws an
exception), and healthy message from ConnPool2 stops after 10 tries,
and then I get this message:
"Error in getConnection Pool connect failed:
weblogic.common.ResourceException:
RMultiPool(RConnPool2): no connections available"
It seems that the multipool is grabbing connections from the backup
connection pool and not releasing them. I thought it was me who was
getting the connection and not releasing it, but all connection
objects I have access to appear accounted for.
I tried to confirm this by removing the multipool 'getConnection'
request (instead retrieving the connection from the second connection
pool explicity after I do the health check). With the multipool code
removed, ConnPool2 never runs out of connections.
So finally, I've implemented this bit of code:
>>>>>>>>>>>>>>
try{
conn1 = d.connect("jdbc:weblogic:pool:RConnPool1", null);
notRetrieved = false;
conn = conn1;
}catch(Exception e)
debug("Conn1 threw exception - FAILING OVER" + e.getMessage());
try{
conn2 = d.connect("jdbc:weblogic:pool:RConnPool2", null);
notRetrieved = false;
conn = conn2;
}catch(Exception eX)
debug("Conn2 threw exception - TOTAL DB FAILURE" +
eX.getMessage());
>>>>>>>>>>>>>>
And that code seems to provide failover support.. At least at the
level we need for now.
We would really rather use MultiPools - they're probably better
implemented than what I wrote above, more flexible and more of a
standard - but we just can't figure out what is preventing the
multipool from returning a good connection right away.
No. Refresh is separate. If you have testConnsOnReserve, you don't need
refresh. Set it to 99999999 to effectively turn it off and save resources.This has been changed - thanks.
I wish. However, if you get the failover URL into the pool definition,
the first pool should benefit from the oracle driver failing over internally.
If you disable a pool, using the admin command or the console, then a
multipool will quickly pass over it to the next, so if/when you know the
primary DBMS is down, you can save a lot of time for connectors, if you
disable it's pool, and re-enable it when the DBMS is back.Could you explain the paragraph above? What do you mean by the
failover URL? Do you mean I'd have to disable the connection pool
manually if the database fails? (I'm sure I'm interpreting that
incorrectly) How else can you disable and re-enable a pool
programatically and in a timely manner? Wasn't that the purpose of the
MultiPool?
Thanks,
- Ryan
Similar Messages
-
WebLogic MultiPool Vs Oracle FCF
I am checking on whats the most efficient way to utilize Oracle RAC from weblogic application server perspective.
Based on the information available, it looks like weblogic multiPool has the functionalities (if not better) than what Oracle FCF offers.
Can some one from BEA/Oracle and anyone who evaluated both the approaches comment on this. (considering both XA and non XA connections).
Going forward what would the reccommended approach?
-VijayDefinitely use MultiPools. FCF does not support XA, and FCF fails over connection-by-connection
whereas MP can know about the DBMS connectivity state from the first couple of failed
connections, and be able to fail over to the other pool immediately, and fix up/close the
remaining dead connections in the other pool asynchronously. -
Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
Checks performed:
RMS Application code location and directory contents:
[oracle@test-rms-app application]$ pwd
/binary_files/STAGING_DIR/rms/application
[oracle@test-rms-app application]$ ls -ltr
total 144
-rw-r--r-- 1 oracle oinstall 272 Dec 7 2010 version.properties
-rw-r--r-- 1 oracle oinstall 405 Jan 16 2011 expected-object-counts.properties
-rw-r--r-- 1 oracle oinstall 892 May 13 2011 ant.install.properties.sample
-rw-r--r-- 1 oracle oinstall 64004 Jun 6 2011 build.xml
drwxr-xr-x 9 oracle oinstall 4096 Jun 16 2011 rms13
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 installer-resources
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 antinstall
drwxr-xr-x 2 oracle oinstall 4096 Jun 16 2011 ant-ext
drwxr-xr-x 5 oracle oinstall 4096 Jun 16 2011 ant
-rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
-rwxr-xr-x 1 oracle oinstall 4249 Dec 18 10:01 install.sh
drwxr-xr-x 4 oracle oinstall 4096 Dec 18 10:06 common
-rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
-rw-r--r-- 1 oracle oinstall 689 Dec 19 10:37 ant.install.log
[oracle@test-rms-app application]$
Application installation:
[oracle@test-rms-app application]$ ./install.sh
THIS IS the driver directory
Verified $ORACLE_SID.
Verified SQL*Plus exists.
Verified write permissions.
Verified formsweb.cfg read permissions.
Verified Registry.dat read permissions.
Verified Java version 1.4.2.x or greater. Java version - 1.6.0
Verified Tk2Motif.rgb settings.
Verified frmcmp_batch.sh status.
WARNING: Oracle Enterprise Linux not detected. Some components may not install properly.
Verified $DISPLAY - 172.16.129.82:0.0.
This installer will ask for your "My Oracle Support" credentials.
Preparing installer. This may take a few moments.
Your internet connection type is: NONE
Integrating My Oracle Support into the product installer workflow...
[move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
Installer preparation complete.
MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
WLS_INSTANCE=WLS_FORMS
ORACLE_SID=rmsdbtst
JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
Launching installer...
To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
[oracle@test-rms-app application]$ tnsping rmsdbtst
TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
Copyright (c) 1997, 2008, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
OK (0 msec)
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ ping test-rms-db
PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
--- test-rms-db.vonmaur.vmc ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ uname -a
Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ cat /etc/*-release
Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
[oracle@test-rms-app application]$
The database is created and all the batch file scripts have been successfully deployed. Now working on the application server. The Weblogic server is installed and 11g forms and reports are installed successfully.
Any help would be helpful.
Thanks,
Ram.Please check MOS Notes:
FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1) -
Oracle OCI driver stops working after a while of disuse
I am using wl server 8.1, oracle oci driver (oracle 9i client), on solaris.
When i create a connection pool using the oci driver, it connects, and i
test it, and the tests run fine.
The Application works for a few days. Then eventually after disuse, say over
the weekend, I get exceptions in the log (the message is at end of email).
This is because it gives me a sql exception saying it cannot resolve the
service name. The database is up and running, confirmed.
I tried testing the connection pool manually through the console, and it
failed with the service name exception. But it would connect fine when i
used sqlplus to connect to the databse, using the same service name.
Why does this deteriorate over time? Is there a specific test that would
prevent this from happening?
Once i restart the weblogic server, the connection pool connects fine. But
this is not a solution, since I can't be restarting the server all the time.
Any one got any ideas?
-Ayan
------------WEBLOGIC MANAGED SERVER LOG----------
####<Mar 27, 2004 4:20:57 AM EST> <Error> <JDBC><<WLS Kernel>> <>
<BEA-001112> <Test "SELECT 1 FROM DUAL" set up for pool "CRCPool2" failed
with exception: "java.sql.SQLException: ORA-03113: end-of-file on
communication channel
".>
####<Mar 27, 2004 4:20:57 AM EST> <Info> <JDBC> <<WLS Kernel>> <>
<BEA-001128> <Connection for pool "CRCPool2" closed.>
---------- and then eventually this----------
####<Mar 28, 2004 4:33:11 AM EST> <Warning> <JDBC> <<WLS Kernel>> <>
<BEA-001129> <Received exception while creating connection for pool
"CRCPool2": ORA-12154: TNS:could not resolve service name
>Ayan wrote:
I am using wl server 8.1, oracle oci driver (oracle 9i client), on solaris.
When i create a connection pool using the oci driver, it connects, and i
test it, and the tests run fine.
The Application works for a few days. Then eventually after disuse, say over
the weekend, I get exceptions in the log (the message is at end of email).
This is because it gives me a sql exception saying it cannot resolve the
service name. The database is up and running, confirmed.
I tried testing the connection pool manually through the console, and it
failed with the service name exception. But it would connect fine when i
used sqlplus to connect to the databse, using the same service name.
Why does this deteriorate over time? Is there a specific test that would
prevent this from happening?
Once i restart the weblogic server, the connection pool connects fine. But
this is not a solution, since I can't be restarting the server all the time.
Any one got any ideas?
-AyanHi. Is there a firewall between the weblogic server and DBMS? There is
a problem with OCI losing connectivity to the DBMS. OCI may be keeping
a socket open as long as the process (weblogic) is running.
Joe
------------WEBLOGIC MANAGED SERVER LOG----------
####<Mar 27, 2004 4:20:57 AM EST> <Error> <JDBC><<WLS Kernel>> <>
<BEA-001112> <Test "SELECT 1 FROM DUAL" set up for pool "CRCPool2" failed
with exception: "java.sql.SQLException: ORA-03113: end-of-file on
communication channel
".>
####<Mar 27, 2004 4:20:57 AM EST> <Info> <JDBC> <<WLS Kernel>> <>
<BEA-001128> <Connection for pool "CRCPool2" closed.>
---------- and then eventually this----------
####<Mar 28, 2004 4:33:11 AM EST> <Warning> <JDBC> <<WLS Kernel>> <>
<BEA-001129> <Received exception while creating connection for pool
"CRCPool2": ORA-12154: TNS:could not resolve service name -
WebLogic Server - JDBC - Oracle
Hi,
I'm a JDBC beginner and I got an ORA-24327 error when accessing Oracle database with IBM WebLogic Server and JDBC OCI 1.2 on a Sun Solaris 2.6 host whith Sun JDK 1.2.2.
Who can help me ?
PASCALI am having the same problem and have not had any luck. Did you figure it out?
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Pascal LAMBERT ([email protected]):
Hi,
I'm a JDBC beginner and I got an ORA-24327 error when accessing Oracle database with IBM WebLogic Server and JDBC OCI 1.2 on a Sun Solaris 2.6 host whith Sun JDK 1.2.2.
Who can help me ?
PASCAL<HR></BLOCKQUOTE>
null -
Using Oracle OCI Driver 8.1.6 in Compaq Tru64 fastVM
Hi!
I try to using Oracle OCI Driver in Compaq Tru64.
I used fast VM (with -fast option weblogic startup) then the result
during populating Connection Pool, weblogic server down with core dump
I attached core file.
is there anyone in this situation?
[weblogicOCITest.txt]Try using the 8.1.7 Thin Driver (the 8.1.6 Thin driver is buggy).
"jungil, kim" wrote:
Hi!
I try to using Oracle OCI Driver in Compaq Tru64.
I used fast VM (with -fast option weblogic startup) then the result
during populating Connection Pool, weblogic server down with core dump
I attached core file.
is there anyone in this situation?
^A^G^A^E}v^A^C^A^R^_!®.E^?^A@˜B^K!@”K!^W
!°o!ðµ.Ei^A@°R!Ø.E^AX^M^G!@”K!È´.E9i!Iweblogic/common/internal/ResourceAllocato
r_Descriptor.serX^M^G!@”K!.E"i!2/fsweblogic/weblogic/classes/boot/°R!.E[X^M^G!@-
”K!¶.E[^Ai!2/fsweblogic/weblogic/classes/boot/i!f/fsweblogic/weblogic/classes/b
oot/weblogic/common/internal/ResourceAllocator_Descriptor.ser°R!¶.E[i![/fsweblo
gic/weblogic/classes/boot/weblogic/common/internal/ResourceAllocator_Descriptor.
ser^T^O!x$^R!p.E^A^A ¸.Eø¸.E`K^R!¸¸.Eظ.E@X^A!^D@X^A!^D^P^M!ðµ.E^Dp.Ei!^Dread—^
M!ø¸.E0
!ðµ.E^A˜…^H!^A.Eh@¹.E¹.E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/boot/weblogic/common/internal/ResourceAllocator_Descri
ptor.ser'^A!^Br'^A![/fsweblogic/weblogic/classes/boot/weblogic/common/internal/R
esourceAllocator_Descriptor.ser'^A![/fsweblogic/weblogic/classes/boot/weblogic/c
ommon/internal/ResourceAllocator_Descriptor.ser°R!ø».E[H(^G!^AÀ».Eؤ@л.Eл.Ei!^
A@X^A!^F0f^G!xB^G!`N^G!^P/^G!HZ^G!:^G!i![/fsweblogic/weblogic/classes/boot/weblo
gic/common/internal/ResourceAllocator_Descriptor.ser^C!^A^G^B@0
!H.E^AX^M^G!@”K!p.E[^Ai!1/fsweblogic/weblogic/classes/boot/i!d/fsweblogic/weblog
ic/classes/boot/weblogic/common/internal/ResourceAllocator_Descriptor.ser°R!p.E[
˜…^H!^A¾.Eh@ ¾.E ¾.E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/boot/weblogic/common/internal/ResourceAllocator_Descri
ptor.ser'^A!^Br'^A![/fsweblogic/weblogic/classes/boot/weblogic/common/internal/R
esourceAllocator_Descriptor.ser°R!p.E; T^M!À.E9^A!]^B^M^C^F^H^N^K^\^A^A^Ll^C
^M^V"^^^V&^OE^A^B^AE^A^C^Z^C'^V\^D^AYY^D^PV^D^D^_V^D^B^R(^D^A'^B
^A^G^A^E}v^A^C^AX^M^G!@”K!^H.EZ^Ai!^]getResource( i!FgetResource( weblogic/commo
n/internal/ResourceAllocator_Descriptor.seri!getResource( weblogic/common/intern
al/ResourceAllocator_Descriptor.ser ) found result null°R!^H.EZX^M^G!@”K!ÈÄ.EX^A
i!-ServerClassFinder.getSource( i!\ServerClassFinder.getSource( weblogic/common/
internal/ResourceAllocator_Descriptor.ser )°R!ÈÄ.EXè³^T!(.EV^Ai!,/fsweblogic/web
logic/license/i!Z/fsweblogic/weblogic/license/weblogic/common/internal/ResourceA
llocator_Descriptor.ser0
!øÆ.E^A°R!^P.EVi!V/fsweblogic/weblogic/license/weblogic/common/internal/Resource
Allocator_Descriptor.ser˜…^H!^AøÇ.Eh@^H.E^H.E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/license/weblogic/common/internal/ResourceAllocator_Descriptor.
ser'^A!^Br'^A!V/fsweblogic/weblogic/license/weblogic/common/internal/ResourceAll
ocator_Descriptor.ser°R!^P.E6 0
!ØÊ.E^AX^M^G!@”K!^X.EV^Ai!,/fsweblogic/weblogic/classes/i!Z/fsweblogic/weblogic/
classes/weblogic/common/internal/ResourceAllocator_Descriptor.ser°R!^X.EV˜…^H!^A
[email protected]'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/common/internal/ResourceAllocator_Descriptor.
ser'^A!^Br'^A!V/fsweblogic/weblogic/classes/weblogic/common/internal/ResourceAll
ocator_Descriptor.ser°R!^X.E6 0
! .E^AX^M^G!@”K!H.E\^Ai!2/fsdev/ver/bc/webapp/serverclasses/i!f/fsdev/ver/bc/web
app/serverclasses/weblogic/common/internal/ResourceAllocator_Descriptor.ser°R!H.
E\˜…^H!^[email protected]'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
dev/ver/bc/webapp/serverclasses/weblogic/common/internal/ResourceAllocator_Descr
iptor.ser'^A!^Br'^A!\/fsdev/ver/bc/webapp/serverclasses/weblogic/common/internal
/ResourceAllocator_Descriptor.ser°R!H.E< X^M^G!@”K! .E5^Ai!A[ServerClassFinder]f
ound local classpath source: null°R! .E5i!9weblogic/common/internal/resourceallo
cator_descriptor.ser°R!`.E9i!9weblogic/common/internal/resourceallocator_descrip
tor.serX^M^G!@”K!ØÒ.EZ^Ai!^]getResource( i!FgetResource( weblogic/common/interna
l/ResourceAllocator_Descriptor.seri!getResource( weblogic/common/internal/Resour
ceAllocator_Descriptor.ser ) found source null°R!ØÒ.EZ ^_!H.E0.EX^M^G!@”K!Ô.EI
^Ai!^_Failed to find i!IFailed to find /weblogic/common/internal/ResourceAllocat
or_Descriptor.ser°R!Ô.EI9^A!9\^D^AxY^D^PV^D^D^_V^D^B^R(^D^A'^B
@^B ?6^D^HT8^D^B^Q6^D^Y^G^D^HN^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^AF*!Áå¼ ^PO.E/^\E!!/^\Eh.E°R!.E*i!*weblogic.common.internal.Resou
rceAllocator¸î!!/^\EøÖ.E°R!^P.E*i!*weblogic.common.internal.ResourceAllocator°R!
ˆ×.E i! weblogic.time.common.ScheduleDef°R!ˆ×.E^T°R!^H.E i! weblogic/time/common
/ScheduleDefp^B!p.Eð×.E9^A!?^V^P^V^Q^F^V, ^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^E
^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^AxA^M!pb^[email protected]! weblogic/time/common/ScheduleDef°R!ˆÙ.E i!&weblo
gic/time/common/ScheduleDef.class°R!ðÙ.E&T^M!p.E9^A!N^B^M^C^F^H^N^K^\^A^Zl^E
^M^V,*^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^E ^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^
D:^D^A'
^A^G^A^E}v^A^C^Ap^B!ÐÛ.Ep.E9^A!B^AEl^E ^M^V,*^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^
E ^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
!°o!(.Ei^A@°R!`.EX^M^G!@”K!(.E&i!6weblogic/time/common/ScheduleDef.classX^M^G!@-
”K!¸Þ.E"i!2/fsweblogic/weblogic/classes/boot/°R!ðà.EHX^M^G!@”K!.EH^Ai!2/fsweblog
ic/weblogic/classes/boot/i!f/fsweblogic/weblogic/classes/boot/weblogic/time/comm
on/ScheduleDef.class°R!.EHi!H/fsweblogic/weblogic/classes/boot/weblogic/time/com
mon/ScheduleDef.class^T^O!0
!^H.E^AX^M^G!@”K!0.EH^Ai!1/fsweblogic/weblogic/classes/boot/i!d/fsweblogic/weblo
gic/classes/boot/weblogic/time/common/ScheduleDef.class°R!0.EH˜…^H!^AP.Eh@`.E`.E
'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/boot/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!
H/fsweblogic/weblogic/classes/boot/weblogic/time/common/ScheduleDef.class°R!0.E7
^QT^M!Èä.E9^A!K^B^M^C^F^H^N^K^\^A^Zl^E ^M^V,*^D$^V+^CE^A^M^NE^A^AP^V+^C^A^E
^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^Ap^B!^X.Ep.E9^A!?^AEl^E ^M^V,*^D$^V+^CE^A^M^NE^A^AP^V+^C^A^E
^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^AX^M^G!@”K!x.E+^Ai!^XLoading i!2Loading weblogic.time.common.Sche
duleDef...°R!x.E+i! weblogic/time/common/ScheduleDef°R!.E X^M^G!@”K!.E&^Ai!0webl
ogic/time/common/ScheduleDef.class°R!.E&X^M^G!@”K!ˆé.EE^Ai!-ServerClassFinder.ge
tSource( i!\ServerClassFinder.getSource( weblogic/time/common/ScheduleDef.class
)°R!ˆé.EEè³^T!èê.EC^Ai!,/fsweblogic/weblogic/license/i!Z/fsweblogic/weblogic/lic
ense/weblogic/time/common/ScheduleDef.class0
!¸ë.E^A°R!Ðë.ECi!C/fsweblogic/weblogic/license/weblogic/time/common/ScheduleDef.
class˜…^H!^A˜ì.Eh@¨ì.E¨ì.E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/license/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!C/fsw
eblogic/weblogic/license/weblogic/time/common/ScheduleDef.class°R!Ðë.E2^Q0
[email protected]^AX^M^G!@”K!.EC^Ai!,/fsweblogic/weblogic/classes/i!Z/fsweblogic/weblogic/cla
sses/weblogic/time/common/ScheduleDef.class°R!.EC˜…^H!^Aˆï.Eh@˜ï.E˜ï.E'^A!^A?@X^
A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!C/fsw
eblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class°R!.E2^Q˜í^S!ðí.E
X^M^G!@”K!˜ñ.Et^Ai!A[ServerClassFinder]found local classpath source: i![ServerCl
assFinder]found local classpath source: /fsweblogic/weblogic/classes/weblogic/ti
me/common/ScheduleDef.class°R!˜ñ.EtX^M^G!@”K!0.E2^Ai!"Found local class i!FFound
local class weblogic.time.common.ScheduleDef°R!0.E2˜…^H!^A^P.Eh@ .E .E'^A!^A?@X
^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!C/fsw
eblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class'^A!^AÊþº¾^C-^T^G
^S^G^O^G^M^G^N^A^MConstantValue^A"(Lweblogic/common/T3ServicesDef;)V^A
Exceptions^A^LscheduleInit^A^OLineNumberTable^A
SourceFile^A^NLocalVariables^A^DCode^A weblogic/time/common/ScheduleDef^A weblog
ic/time/common/Schedulable^A^Pjava/lang/Object^A^](Lweblogic/common/ParamSet;)V^
A^PScheduleDef.java^A^KsetServices^A!weblogic/common/ParamSetException^B^A^C^B^A
^D^B^D^A^R^F^D^A^H^P^A^G^D^A^A^A
^B^Q(!^D!øÜ^CA@^^.E^Y/Eèß^G!˜…^H!^AP.Eh@`.E`.E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!C/fsw
eblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class°R!ˆ×.E^TE^A!X^M^
G!@”K!.Ep^Ai!^WLoaded i!0Loaded weblogic.time.common.ScheduleDef from i!pLoaded
weblogic.time.common.ScheduleDef from /fsweblogic/weblogic/classes/weblogic/time
/common/ScheduleDef.class°R!.Ep°R! ú.E^_i!^_weblogic.time.common.TriggerDef°R! ú
.E^T°R! .E^_i!^_weblogic/time/common/TriggerDefp^B!ˆû.E^H.E9^A!?^V^P^V^Q^F^V, ^V
,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^F^D^A"'^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^AxA^M!pb^A@ˆú.Ei!^_weblogic/time/common/TriggerDef°R! ü.E^_i!%web
logic/time/common/TriggerDef.class°R!^H.E%T^M!ˆý.E9^A!N^B^M^C^F^H^N^K^\^A^Zl^E
^M^V,*^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^F^D^A"'^D ^D^H^B^D^Mu^B^B^A~^A^B^
D:^D^A'
^A^G^A^E}v^A^C^Ap^B!èþ.Eˆú.E9^A!B^AEl^E ^M^V,*^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^
F^D^A"'^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^AxA^M!^?^A@ˆú.Ei!^_weblogic/time/common/TriggerDef°R!^P/E^_i!%web
logic/time/common/TriggerDef.class°R!x/E%˜B^K!@”K!^W
!°o!@^B/Ei^A@°R!x/EX^M^G!@”K!@^A/E%i!5weblogic/time/common/TriggerDef.classX^M^G
!@”K!^A/E"i!2/fsweblogic/weblogic/classes/boot/°R!^C/EGX^M^G!@”K!^B/EG^Ai!2/fswe
blogic/weblogic/classes/boot/i!f/fsweblogic/weblogic/classes/boot/weblogic/time/
common/TriggerDef.class°R!^B/EGi!G/fsweblogic/weblogic/classes/boot/weblogic/tim
e/common/TriggerDef.class^T^O!0
!^E/E^AX^M^G!@”K!^P^E/EG^Ai!1/fsweblogic/weblogic/classes/boot/i!d/fsweblogic/we
blogic/classes/boot/weblogic/time/common/TriggerDef.class°R!^P^E/EG˜…^H!^A0^F/Eh
@@^F/E@^F/E'^A!^A?@X^A!
!^E/E^AX^M^G!@”K!^P^E/EG^Ai!1/fsweblogic/weblogic/classes/boot/i!d/fsweblogic/we
blogic/classes/boot/weblogic/time/common/TriggerDef.class°R!^P^E/EG˜…^H!^A0^F/Eh
@@^F/E@^F/E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/boot/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!G
/fsweblogic/weblogic/classes/boot/weblogic/time/common/TriggerDef.class°R!^P^E/E
7^PT^M!^G/E9^A!K^B^M^C^F^H^N^K^\^A^Zl^E ^M^V,*^D$^V+^CE^A^M^NE^A^AP^V+^C^A^F^D^A
"'^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^Ap^B!^H/Eˆú.E9^A!?^AEl^E ^M^V,*^D$^V+^CE^A^M^NE^A^AP^V+^C^A^F^D^A
"'^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^AX^M^G!@”K!X
/E*^Ai!^XLoadingi!2Loading weblogic.time.common.TriggerDef...°R!X
/E*i!^_weblogic/time/common/TriggerDef°R!
/E^_X^M^G!@”K!`^K/E%^Ai!/weblogic/time/common/TriggerDef.class°R!`^K/E%X^M^G!@”K
!h^L/ED^Ai!-ServerClassFinder.getSource( i!\ServerClassFinder.getSource( weblogi
c/time/common/TriggerDef.class )°R!h^L/EDè³^T!^M/EB^Ai!,/fsweblogic/weblogic/lic
ense/i!Z/fsweblogic/weblogic/license/weblogic/time/common/TriggerDef.class0
!^N/E^A°R!^N/EBi!B/fsweblogic/weblogic/license/weblogic/time/common/TriggerDef.c
lass˜…^H!^Ap^O/Eh@^O/E^O/E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/license/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
blogic/weblogic/license/weblogic/time/common/TriggerDef.class°R!^N/E2^P0
!^N/E^A°R!^N/EBi!B/fsweblogic/weblogic/license/weblogic/time/common/TriggerDef.c
lass˜…^H!^Ap^O/Eh@^O/E^O/E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/license/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
blogic/weblogic/license/weblogic/time/common/TriggerDef.class°R!^N/E2^P0
!^P^R/E^AX^M^G!@”K!P^Q/EB^Ai!,/fsweblogic/weblogic/classes/i!Z/fsweblogic/weblog
ic/classes/weblogic/time/common/TriggerDef.class°R!P^Q/EB˜…^H!^AX^R/Eh@h^R/Eh^R/
E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
blogic/weblogic/classes/weblogic/time/common/TriggerDef.class°R!P^Q/E2^P˜í^S!^P/
EX^M^G!@”K!`^T/Es^Ai!A[ServerClassFinder]found local classpath source: i![Server
ClassFinder]found local classpath source: /fsweblogic/weblogic/classes/weblogic/
time/common/TriggerDef.class°R!`^T/EsX^M^G!@”K!^U/E1^Ai!"Found local class i!FFo
und local class weblogic.time.common.TriggerDef°R!^U/E1˜…^H!^A^V/Eh@^V/E^V/E'^A!
^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
blogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^AÊþº¾^C-^T^G^S
^G^O^G^F^G^P^A^MConstantValue^A^_weblogic/time/common/TriggerDef^A^KtriggerInit^
A"(Lweblogic/common/T3ServicesDef;)V^A
Exceptions^A^OLineNumberTable^A
ClassFinder]found local classpath source: /fsweblogic/weblogic/classes/weblogic/
time/common/TriggerDef.class°R!`^T/EsX^M^G!@”K!^U/E1^Ai!"Found local class i!FFo
und local class weblogic.time.common.TriggerDef°R!^U/E1˜…^H!^A^V/Eh@^V/E^V/E'^A!
^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
blogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^AÊþº¾^C-^T^G^S
^G^O^G^F^G^P^A^MConstantValue^A^_weblogic/time/common/TriggerDef^A^KtriggerInit^
A"(Lweblogic/common/T3ServicesDef;)V^A
Exceptions^A^OLineNumberTable^A
SourceFile^A^NLocalVariables^A^DCode^A^OTriggerDef.java^A^Pjava/lang/Object^A we
blogic/time/common/Triggerable^A^](Lweblogic/common/ParamSet;)V^A^KsetServices^A
!weblogic/common/ParamSetException^B^A^C^B^A^D^B^D^A^R^H^D^A^G^Q^A ^D^A^A^A
^K^B^N(!^D!^H^CA@ðö.Eèß^G!˜…^H!^A^H^Z/Eh@^X^Z/E^X^Z/E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
blogic/weblogic/classes/weblogic/time/common/TriggerDef.class°R! ú.E^TE^A!X^M^G!
@”K!0^\/En^Ai!^WLoaded i!0Loaded weblogic.time.common.TriggerDef from i!nLoaded
weblogic.time.common.TriggerDef from /fsweblogic/weblogic/classes/weblogic/time/
common/TriggerDef.class°R!0^\/En(B!CDh(/^\EhüëD/^\E^D^H˜âDX^M^G!@”K!^]/E
^Ai!^A+°R!^]/E^Ai!^Q+HncbPool°R!^]/E ^P#!^P^YE^]/E/^\E8R^E!;ˆØ^]/E^]/EX^M^G!@
”K!^^/E,^Ai!^XHncbPool created with 1i!^L01°R!^^/E^Ai!^A1i!2HncbPool created wit
h 1 initial connections.°R!^^/E,^H4^E!@”K! /EK@?^^E!eøÑ6!^_/E /E^H4^E!@”K!!/EK@?
^^E!eøÑ6!!/E!/E -
Can I create connection pool by oracle oci driver?
Can I create connection pool by oracle oci driver?My weblogic's version is 6.1 sp2 and oracle is 9.0.1.2.
I have some trouble with connection pool created by weblogic jDriver.
I try to read Timestamp from table and I always get the exception.It told me that ORA-00932: inconsistent datatypes.
So I created another pool by oracle thin driver and everything was right.Then I created other pool by oracle oci driver,but something were wrong. 'Could not create pool connection. The DBMS driver exception was:java.sql.SQLException: ORA-06401: NETCMN:Invalid driver designator'
The oci pool's parameters are below lines.
url: jdbc:oracle:oci:@COCO
Driver Classname: oracle.jdbc.driver.OracleDriver
Properties: user=scott;password=tiger;protocol=oci
If I get connection directly,don't use connection pool,I can get right connection.But why didn't I create pool by oci driver?Maybe weblogic7 or weblogic8 will work good?Venkat Amirineni wrote:
Hi Joe,
I am also trying to create a connection pool using Oracle Oci XA. Weblogic
type 2 oci threads hanging on native calls and suggested to go for thin drivers.
But we want to try with Oracle Oci drivers.. Can you please tell us how to
create a conn pool using Oracle Oci.. Just the driverclass and url is enough
or need any classpath settings etc..
Thanks in advance for your quick reply.Hi. As far as driver properties, just use what Oracle says to. Any pool properties
that we recommend for XA would still apply. Note that Oracle themselves recommends
the thin driver over their OCI one:
http://download-west.oracle.com/docs/cd/B14117_01/java.101/b10979.pdf
Joe -
Unsatisfied Link Error when using Oracle OCI (Type II) driver
Using Oracle OCI (Type II) driver on HPUX with Oracle 9.2.0.4.
If when creating a connection pool via the console, using the Oracle OCI (Type
II) driver, you get the error "Unsatisfied link error with library libocijdbc9.sl
or format error" then check that the library included in the SHLIB_PATH is pointing
at the $ORACLE_HOME/lib32 directory and not just the $ORACL_HOME/libWe do not offer a JDBC driver for Linux in version 5.1. In version 6.0,we
do offer a type 4 driver for Linux.
In version 5.1, I suggest trying the platform independent type 4 JDBC driver
available for free from Oracle. It is supported (as is any JDBC driver)
with WebLogic Server. To download it:
Go to http://www.oracle.com and select the "Download" option.
From the resulting page, use the "Select Utility or Driver" dropdown to
select Oracle JDBC drivers
From the resulting page, scroll down a little (since SQLJ stuff appears at
the top).
Or, to go directly there:
http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm
Thanks,
Michael
Michael Girdley, BEA Systems Inc
Learning WebLogic? Buy the book.
http://www.learnweblogic.com/
"Michael W. Warren, Sr." <[email protected]> wrote in message
news:[email protected]..
I have installed WebLogic 6.0 on Solaris platform and verified that the
server comes up
and that I can connect to it via Netscape. Next step was to verify
installation of WebLogic
jDriver for Oracle. When I run the following:
java utils.dbping ORACLE scott tiger
I get the following error:
Starting Loading jDriver/Oracle .....
Error encountered:
java.sql.SQLException: System.loadLibrary threw
java.lang.UnsatisfiedLinkError
with the message
'/ldatae/bea/wlserver6.0/lib/solaris/oci816_8/libweblogicoci37.so:
ld.so.1: /ldatae/bea/jdk130/jre/bin/../bin/sparc/native_threads/java:
fatal: libgen.so.1: open failed: No such file or directory'.
at
weblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:182)
Anyone seen this? Help!!!
Thanks in advance
Mike Warren, Sr.
[email protected] -
Error in configuring Oracle OCI Driver in WLS
My application uses Oracle OCI driver for making JDBC connection from the server application.I have installed Oracle client in the machine.Added the Oracle Bin directory to System Path.But when i try to create the connection Pool Weblogic throws the error saying DLL file is not found in System.Library.Path.Can you help in solving this problem,Config detailsOS - Windows 2000 ProfessionalWeblogic 5.1 serverOracle 8.1.7 clientDriver used Oracle OCI driver...Expecting a reply
You need to set your path to point to the <wls-install-home>/bin/oci8xx_x/
folder as well. I dont think 5.1 supports 817 type 2 driver, you may have to
use the thin driver from oracle instead.
sree
"Varadharajan" <[email protected]> wrote in message
news:3b8f070f$[email protected]..
My application uses Oracle OCI driver for making JDBC connection from theserver application.I have installed Oracle client in the machine.Added the
Oracle Bin directory to System Path.But when i try to create the connection
Pool Weblogic throws the error saying DLL file is not found in
System.Library.Path.Can you help in solving this problem,Config detailsOS -
Windows 2000 ProfessionalWeblogic 5.1 serverOracle 8.1.7 clientDriver used
Oracle OCI driver...Expecting a reply -
Create Oracle OCI JDBCConnectionPool via silent script
Hi there,
I'm currently trying to create a JDBCConnectionPool via silent script that uses the Oracle OCI thick driver. My silent script looks like this:
create JDBCConnectionPool "MyPool" as jdbcpool;
set jdbcpool.DbmsHost "myhost";
set jdbcpool.DbmsPort "1521";
set jdbcpool.Password "user";
set jdbcpool.URL "jdbc:oracle:oci:@//myhost:1521/mysid";
set jdbcpool.DriverName "oracle.jdbc.pool.OracleDataSource";
set jdbcpool.Properties "user=user;portNumber=1521;SID=mysid;serverName=myhost;dll=ocijdbc9;protocol=oci";
The log of the silent script says everything was set successfully. Unfortunately when I take a look at the "Connection Pools" at the GUI admin console, the URL for the jdbcpool has been changed to "jdbc:bea:oracle:///myhost:1521" !
I'm using WebLogic 8.1SP3 with Oracle 9.2.0.5!
Can anyone help me with this? Any hint/help is appreciated!
- razeHi Joe,
I've done a demo script that produces the described "error". Would be great if you (or anybody else) could check if the same behaviour occurs.
[... start script ...]
read template from "/opt/bea/8.1.SP3/user_home/common/templates/domains/wls.jar";
create Cluster "MyCluster" as c1;
set c1.ClusterAddress "127.0.0.1:59251";
set c1.MulticastAddress "237.0.0.1";
set c1.MulticastPort "59251";
find Server "myserver" as s1;
set s1.Name "AdminServer";
set s1.ListenAddress "";
set s1.ListenPort "59261";
set s1.HostnameVerificationIgnored "true";
set s1.SSL.Enabled "true";
set s1.SSL.ListenPort "59262";
create Server "ManagedServer" as n1;
set n1.ListenAddress "";
set n1.ListenPort "59251";
set n1.Cluster "MyCluster";
set n1.HostnameVerificationIgnored "true";
set n1.Machine "MyMachine";
set n1.SSL.Enabled "false";
create UnixMachine "MyMachine" as machine1;
set machine1.NodeManager.ListenPort "59255";
set machine1.NodeManager.Name "MyMachine";
create JDBCConnectionPool "MyPool" as jdbcpool;
set jdbcpool.DbmsName "user";
set jdbcpool.Password "user";
set jdbcpool.Properties "user=user;portNumber=1521;SID=db-sid;serverName=db-host;dll=ocijdbc9;protocol=oci";
set jdbcpool.URL "jdbc:oracle:oci:@//db-host:1521/db-sid";
set jdbcpool.DriverName "oracle.jdbc.pool.OracleDataSource";
assign JDBCConnectionPool "*" to target "MyCluster";
find User "weblogic" as u1;
set u1.password "weblogic";
set OverwriteDomain "true";
write domain to "/home/user/BeaDomain";
close template;
[... end script ...]
Setting the URL succeeds as the log says:
[runScript] com.bea.plateng.domain.script.ScriptExecutor - set jdbcpool attribute URL to "jdbc:oracle:oci:@//db-host:1521/db-sid"
[runScript] com.bea.plateng.domain.script.ScriptExecutor - succeed: set jdbcpool attribute URL to "jdbc:oracle:oci:@//db-host:1521/db-sid"
But nevertheless the "config.xml" of the created domain contains the following entry:
<JDBCConnectionPool Name="MyPool" Targets="MyCluster"
DriverName="oracle.jdbc.pool.OracleDataSource"
Password="{3DES}Zlf46kqr6QE=" Properties="" URL="jdbc:bea:oracle:///db-host:1521"/>
Thus I assume when writing the domain, the URL gets changed for some reason. I also tried to increase the log level by executing the script with the options "-log_priority=debug -silent_priority=debug", but that did not help to find out why the URL got changed.
Is there maybe someone already using the Oracle OCI thick driver successfully and could post/email me the used silent script?
Greetings,
raze -
Oracle OCI 9.0.1 driver
Hi,
Due to past occurrances of "ORA-01002: fetch out of sequence", we switched to use Weblogic OCI driver.
This might have resolved the issue but introduced exceptions straight from the native code. We were recommended to use Oracle OCI 9.0.1 driver.
Our concern is does Oracle OCI resolves the ORA problem too? Appreciate for any feedback.
Best regards,
Pei Ling TanIt sounds like the original poster is talking about a JDBC application (Java). Oracle provides two different JDBC drivers, one that is pure Java and one that makes calls to the OCI libraries on the client machine. The original poster probably meant "OCI JDBC driver". This has nothing to do with developing an OCI application in C yourself.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Error while creating a report that uses Oracle OCI JDBC connectivity
Please let me know why my CR and LF characters are removed from my forum posting *****
Hi,
I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip". I have successfully created a JDBC OCI connection.
The connection parameters are given below:
URL: jdbc:oracle:oci8:@xe
Database: xe
username: <userName>
password: <password>
I have tested the above connection in Data source Explorer and it works fine!!!
But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here? Any help is highly appreciated.
com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thanks
Karthik
Edited by: KARTHIK1 on Oct 14, 2009 9:38 PMHi Ted,
Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI. It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
1) Can you please let me know if there is a way to do this?
2) Will it allow data sources using native database driver?
3) If so, can I use JRC to create these reports from a desktop java program?
Thanks & Regards
Karthik
Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM -
Unable to find Oracle OCI libraries on Centos 6.3
Hello,
I am having an issue with configuring an application(Zabbix) to use OCI on clean image of CentOS 6.3.
checking for Oracle OCI headers in /usr/include/oracle/11.1/client/... yes
checking if Oracle OCI version is >= 10.0... yes
checking for Oracle version >= 11.x to use -lnnz11 flag... yes
checking for Oracle OCI libraries in /usr/lib/oracle/11.1/client/lib/... not found
checking if Oracle support is enabled... no
I try to perform configuration of the source like this:
$ ./configure with-oracle with-oracle-include=/usr/include/oracle/11.1/client with-oracle-lib=/usr/lib/oracle/11.1/client/lib enable-server enable-agent enable-java
config.log has this:
configure:7084: result: no
configure:7089: checking for architecture
configure:7128: result: linux (linux-gnu)
configure:7132: checking for the linux kernel version
configure:7139: result: 2.6 family (2.6.32-279.el6.x86_64)
configure:7810: checking for Oracle OCI headers in /usr/include/oracle/11.1/client
configure:7837: gcc -c -g -O2 -I/usr/include/oracle/11.1/client conftest.c >&5
configure:7837: $? = 0
configure:7846: result: yes
configure:7878: checking if Oracle OCI version is >= 10.0
configure:7895: result: yes
configure:7913: checking for Oracle version >= 11.x to use -lnnz11 flag
configure:7919: result: yes
configure:7941: checking for Oracle OCI libraries in /usr/lib/oracle/11.1/client/lib
configure:7961: gcc -o conftest -g -O2 -I/usr/include/oracle/11.1/client -rdynamic -L/usr/lib/oracle/11.1/client/lib conftest.c -lm -lrt -lresolv -lclntsh -lnnz11 >&5
/usr/bin/ld: skipping incompatible /usr/lib/oracle/11.1/client/lib/libclntsh.so when searching for -lclntsh
/usr/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
configure:7961: $? = 1
configure: failed program was:
| /* confdefs.h */
result of *'rpm -qa | grep oracle'* is:
oracle-instantclient11.1-odbc-11.1.0.7.0-1.i386
oracle-instantclient11.1-basic-11.1.0.7.0-1.i386
oracle-instantclient11.1-sqlplus-11.1.0.7.0-1.i386
oracle-instantclient11.1-devel-11.1.0.7.0-1.i386
oracle-instantclient11.1-tools-11.1.0.7.0-1.i386
oracle-instantclient11.1-jdbc-11.1.0.7.0-1.i386
result of *'ls -l /usr/lib/oracle/11.1/client/lib'* is:
total 136808
-rw-r--r--. 1 root root 342 Oct 26 2008 glogin.sql
lrwxrwxrwx. 1 root root 17 Feb 28 16:43 libclntsh.so -> libclntsh.so.11.1
-rw-r--r--. 1 root root 37174788 Oct 26 2008 libclntsh.so.11.1
-rw-r--r--. 1 root root 11159 Oct 26 2008 libheteroxa11.so
-rw-r--r--. 1 root root 5974910 Oct 26 2008 libnnz11.so
lrwxrwxrwx. 1 root root 15 Feb 28 16:43 libocci.so -> libocci.so.11.1
-rw-r--r--. 1 root root 2333632 Oct 26 2008 libocci.so.11.1
-rw-r--r--. 1 root root 85112897 Oct 26 2008 libociei.so
-rw-r--r--. 1 root root 129297 Oct 26 2008 libocijdbc11.so
-rw-r--r--. 1 root root 1510045 Oct 26 2008 libsqlplusic.so
-rw-r--r--. 1 root root 1122713 Oct 26 2008 libsqlplus.so
-rw-r--r--. 1 root root 771229 Oct 26 2008 libsqora.so.11.1
-rw-r--r--. 1 root root 1890499 Oct 26 2008 ojdbc5.jar
-rw-r--r--. 1 root root 1988051 Oct 26 2008 ojdbc6.jar
-rw-r--r--. 1 root root 1656243 Oct 26 2008 orai18n.jar
-rw-r--r--. 1 root root 82979 Oct 26 2008 orai18n-mapping.jar
-rw-r--r--. 1 root root 299638 Oct 26 2008 ottclasses.zip
result of *'uname -a'* is:
Linux localhost.localdomain 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Any help would be appreciated.Oracle is NOT certified on Centos
V11.1 Oracle is NOT certified on V6 kernel
so You're On Your Own (YOYO)! -
Hi All,
We have jave code, that resides in the same server as the Oracle DB( HP-Ux). It uses OCI driver to connect to the server.
jdbc.url=jdbc:oracle:oci8:@
jdbc.username=
jdbc.password=
These are the properties that had been set. The code was working fine in Oracle 9.i. On migrating the server to 10g we get an error saying that
java.java.sql.SQLException: SimpleDataSource:connect - java.sql.SQLException: ORA-01017: invalid username/password; logon denied.
OfCourse the basic idea would be that userid/pwd is not being passed. But we have not been setting the user id and pwd in 9i and it is working there, but not in 10g. So does OCI driver use the os userid/pwd or something for connecting.
Thanks in Advance,
VigneshNo, we have no such file. In fact i just wrote a simple connection class. The code is as below.
import java.sql.Connection;
import java.sql.*;
class SimpleCon {
public static void main(String args[]){
getConnection();
public static void getConnection() {
try {
Connection con = connect();
System.out.println("Connected");
} catch(SQLException ex) {
ex.printStackTrace();
public static Connection connect() throws SQLException
final String methodSig = "SimpleDataSource:connect";
String jdbcUrl = "jdbc:oracle:oci:@" ;
String jdbcUsername = "" ;
String jdbcPassword = "";
Connection conn = null;
try
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
conn = DriverManager.getConnection
(jdbcUrl, jdbcUsername, jdbcPassword);
DatabaseMetaData dbm = conn.getMetaData();
System.out.println(dbm.getUserName());
System.out.println(dbm.getDriverName());
System.out.println(dbm.getDriverVersion());
//setConnectionProperties(conn);
return conn;
catch (SQLException e) {
e.printStackTrace();
System.err.println("SQL error: " + e.getErrorCode());
System.err.println("SQL state: " + e.getSQLState());
throw(e);
}catch(Exception ie){
ie.printStackTrace();
return null;
This particular code works in HP-UX - Oracle 9.i . If we do not pass userid/pwd it usually connects in as OS user, and Oracle has a User id Setup corresponding to the os user.
But the same code does not work in Oracle 10g, even though we have the Oracle User corresponding to the OS user set up. If we pass that particular user id and pwd, it works fine.
Does it throw and light.
Thanks
Vignesh -
Hi All,
I am getting below build error. I am migrating weblogic 10. Which jar file contains this interface: weblogic.jdbc.vendor.oracle.OracleThinClob?
Error:
package weblogic.jdbc.vendor.oracle does not exist [javac] if (theClob instanceof weblogic.jdbc.vendor.oracle.OracleThinClob)
I already got weblogic.jar file from weblogic 10.
Thanks,
SrinivasSrinivas U wrote:
Hi All,
I am getting below build error. I am migrating weblogic 10. Which jar file contains this interface: weblogic.jdbc.vendor.oracle.OracleThinClob?
Error:
package weblogic.jdbc.vendor.oracle does not exist [javac] if (theClob instanceof weblogic.jdbc.vendor.oracle.OracleThinClob)
I already got weblogic.jar file from weblogic 10.
Thanks,
SrinivasIt's in the datasource module/jar: modules/com.bea.core.datasource_1.0.0.0.jar
Maybe you are looking for
-
Migration of JMS Queues from Weblogic 10.3 to 12c
Hi - We are currently planning to move our JMS Queues from existing 10.3 server to 12c and for the same we are looking for some feedback : We need to define a rollback strategy in case our migration to 12c does not work well and we need to revert ba
-
Greyed Out TV Episodes on My iPhone
Hello, I use the latest version of iTunes on my Windows 7 PC to sync with my iPhone 4S, which is running iOS 7.0.2. Ever since I updated to iOS 7, whenever I connect my iPhone to the computer, it will show that there are 4 new items in "TV Shows" und
-
Setting background for single row in JTable
Hi, I have a table which uses the DefaultCellRenderer for cols0,1,3-5 while column 2 uses a custom renderer. When user right clicks mouse on one of the rows i get the rowindex and colindex selected and tries to set background color for this row. but
-
Last log-on attributes value not showing in some AD user account
Hi, As per the requirement in my project I want to get the details of user's last log-on time in AD Attributes. My DC is running Win2K8 R2. The funny thing is that I can find out some users last log-on time details. Can anybody help me to solve this
-
Periodically, some of my notes just disppear from my iphone5.
Every once in a while, some of the notes I have stored on my iphone5 just disppear. Cannot figure out why this is happening.