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

Similar Messages

  • Problem in executing a SP in Java using Oracle OCI Driver...

    Hi,
    I have a installed the Oracle OCI driver on iPlanet Web Server 4.1. The application has been designed using the Jakarta Struts framework where the dom classes act as an interface between the database and the application(action classes). The dom classes execute stored procedures stored in an SP packages (eg. DDTS_PACK.setContact(..)). Now here's the problem. When a new record is being inserted, the dom executes the 'setContact' stored procedure using a java.sql.CallableStatement. The execution of this stored procedure is successful at times and fails at times. What could be the reason?? Could it be something to do with connection pooling. The default connection pooling class from oracle, oracle.jdbc.pool.OracleConnectionCacheImpl() is being used to get the connection. The funny thing is that the stored procedure gets executed both the time (success/failure) and returns a return status as 'N' when it fails and 'Y' when it is successful.
    I would be greatful to anybody who could give a solution to the above problem. Thanks and have a great day.
    Regards,
    Anand

    Since the pipe '|' is interpreted by the shell then you need the shell to invoke your command
            String[] command = {"sh","-c","find /tmp/reports1 -name " + "\"" + "*" + "\"" + " -mtime +" + strdaysback + " -print|xargs rm -r"};
            final Process process = Runtime.getRuntime().exec(command);
      You should also read http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html at least twice and implement the recommendation regarding stdout and stderr.
    P.S. Why are you not using Java to find and delete these files?
    Message was edited by:
    sabre150

  • 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

  • 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/lib

    We 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 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 PM

    Hi 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

  • Error in creating Connection Pool using Oracle Thin Driver

    Hi,
    I am trying to create a connection pool in WS 5.1 with sp #6 using Oracle Thin Driver (oracle.jdbc.driver.OracleDriver) on a Sun box. But I am able to create the pool using weblogic.jdbc.oci.Driver. I get an DBMS Driver exception when I use thin driver. I have LD library path and weblogic class path set correctly. WL shows the following exception :
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the
    connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
    Any help on this is greatly appreciated.
    Thanks,
    Ramu

    Hi Ramu,
    Please post your connection pool setting here. You might have missed some
    port/server info. The driver is unable to connect to the db server here.
    sree
    "Ramu" <[email protected]> wrote in message
    news:3d5bbc3a$[email protected]..
    >
    Yes. I am trying to create a connection pool in weblogic and I have theweblogic
    class path setup correctly. It points to classes111.zip andnls_charset11.zip.
    >
    -Ramu
    "Neo Gigs" <[email protected]> wrote:
    Did you setup the JDBC library classpath correctly?
    For me, e.g. Oracle 7.3.4, the classpath should be:
    export CLASSPATH = /oracle7.3.4/jdbc/lib/classes.zip:%CLASSPATH%
    Noted that the JDBC classpath must be the first classpath element in
    the export
    statement.
    Neo

  • Unable to use SQLJ OCI driver in weblogic 5.1

    Hi,I am trying to use SQLJ OCI driver instead of JDriver on solaries but always get an error "java.sql.SQLException: Error while trying to retrieve text for error ORA-12545" when connection pool is being created.The same works fine if I use JDriver.Moreover when I try with a standalone application which loads SQLJ OCI Driver it also works fine. Is there anything to be done/added in weblogic properties file or startWeblogic.sh for this to work on solaries? ORACLE_HOME is set properly! if not JDRIVER would have thrown the same error!!On NT it works great!!

    To us, a JDBC driver is just a JDBC driver provided that it is JDBC complaint. Make sure that you have the ORACLE_HOME set to point to the base directory where the Oracle client is installed and LD_LIBRARY_PATH includes the $ORACLE_HOME/lib directory. If this still doesn't help, can you post the relevant section of the weblogic.properties file and the complete error message including the stack trace?
    Samprathi wrote:
    Hi,I am trying to use SQLJ OCI driver instead of JDriver on solaries but always get an error "java.sql.SQLException: Error while trying to retrieve text for error ORA-12545" when connection pool is being created.The same works fine if I use JDriver.Moreover when I try with a standalone application which loads SQLJ OCI Driver it also works fine. Is there anything to be done/added in weblogic properties file or startWeblogic.sh for this to work on solaries? ORACLE_HOME is set properly! if not JDRIVER would have thrown the same error!!On NT it works great!!

  • 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

  • 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

  • Using oracle thin driver with to_char gives invalid column name

    select x,y,z, to_char(event_time,'YYYY-MMM-DD') from eventtable;
    if i execute the above query using oracle thin driver it gives me invalid column name. It works fine if i use weblogic driver. So what could be the problem ???
    thanks.

    Sorry , forgot to add that 'YYYY-MM-DD' or 'YYYY-Month-DD' or 'Year-MM-DD' or 'Year-Month-DD' are also allowed(please cheek also for other combinations), not 'YYYY-MMM-DD'.
    Thanks

  • ORA-01401 error on char column with oracle oci driver

    Hello,
    We found a potential bug in the kodo.jdbc.sql.OracleDictionary class
    shipped as source with Kodo:
    In newer Kodo versions (at least in 3.3.4), the method
    public void setString (PreparedStatement stmnt, int idx, String
    val,          Column col)
    has the following code block:
    // call setFixedCHAR for fixed width character columns to get padding
    // semantics
    if (col != null && col.getType () == Types.CHAR
    && val != null && val.length () != col.getSize ())
    ((OraclePreparedStatement) inner).setFixedCHAR (idx, val);
    This block seems to be intended for select statements but is called on
    inserts/updates also. The latter causes a known problem with the Oracle
    oci driver when settings CHAR columns as FixedCHAR, which reports an
    ORA-01401 error (inserted value too large for column) when definitely no
    column is too long. This does not happen with the thin driver.
    We reproduced this with 8.1.7 and 9.2.0 drivers.
    For us we solved the problem by subclassing OracleDictionary and removing
    the new code block.
    Regards,
    Rainer Meyer
    ELAXY Financial Software & Solutions GmbH & Co. KG

    Rainer-
    I read at
    re:'ORA-01401 inserted value too large for column' - 9i that:
    "This is fixed in Oracle9i Release 2"
    Can you try that version of the driver? Also, does it fail in the Oracle
    10 OCI driver?
    Rainer Meyer wrote:
    Hello,
    We found a potential bug in the kodo.jdbc.sql.OracleDictionary class
    shipped as source with Kodo:
    In newer Kodo versions (at least in 3.3.4), the method
    public void setString (PreparedStatement stmnt, int idx, String
    val,          Column col)
    has the following code block:
    // call setFixedCHAR for fixed width character columns to get padding
    // semantics
    if (col != null && col.getType () == Types.CHAR
    && val != null && val.length () != col.getSize ())
    ((OraclePreparedStatement) inner).setFixedCHAR (idx, val);
    This block seems to be intended for select statements but is called on
    inserts/updates also. The latter causes a known problem with the Oracle
    oci driver when settings CHAR columns as FixedCHAR, which reports an
    ORA-01401 error (inserted value too large for column) when definitely no
    column is too long. This does not happen with the thin driver.
    We reproduced this with 8.1.7 and 9.2.0 drivers.
    For us we solved the problem by subclassing OracleDictionary and removing
    the new code block.
    Regards,
    Rainer Meyer
    ELAXY Financial Software & Solutions GmbH & Co. KG
    Marc Prud'hommeaux
    SolarMetric Inc.

  • Using oracle thin driver from Weblogic server 6.1

    Hi
    I need to know which driver is best for establishing JDBC Connection i.e.
    whether to use JDriver provided with Weblogic or to go using Oracle thin driver.
    Can some one tell the detailed procedure involved in configuring oracle thin driver
    in Weblogicserver 6.1.
    Thanks in advance,
    S Gopikrishna

    I would recommend using the thin driver where ever possible, their are
    certain problems with thin driver which are more in the area of XA support
    you can check weblogic documentation for pointers on this. Oracles latest
    thin driver is pretty stable as they have fixed a bunch of problems.
    heres how to use thin driver:
    create the connection pool using the following url
    jdbc:oracle:thin:@<mc-name or ip-address>:<port-no>:<oracle sid>
    and driver: oracle.jdbc.driver.OracleDriver
    You dont have to install the thin driver its bundled with the product.
    hth
    sree
    "S Gopikrishna" <[email protected]> wrote in message
    news:3c34a0e5$[email protected]..
    Hi
    I need to know which driver is best for establishing JDBC Connection
    i.e.
    whether to use JDriver provided with Weblogic or to go using Oracle thin
    driver.
    Can some one tell the detailed procedure involved in configuring oracle thin
    driver
    in Weblogicserver 6.1.
    Thanks in advance,
    S Gopikrishna

  • ODBC error using ORACLE MERANT DRIVER

    Hi,
    OS-windows 7 64bit
    Oracle Database 11g-64 bit
    Oracle Merant Driver 32 is installed(SysWOW64) when install DAC. so can't connect using Oracle merant driver 32 with Oracle Database 64bit. it's showing the below error.
    How can connect Oracle Merant Driver 32 bit with Oracle database 64 bit. kindly check how to resolve this.
    Error:
    Specified driver could not be loaded due to system error 193:
    \DataDirectODBC\seor820.dll)

    You may also try Oracle's odbc drivers available free from OTN
    see also http://support.microsoft.com/support/kb/articles/Q159/6/57.asp
    Oracle procedure is:
    CREATE OR REPLACE PROCEDURE test(
    a OUT integer,
    b out integer)
    AS
    BEGIN
    a:=100;
    b:=200;
    END;
    I have verified output values with oracle odbc 8.1.6 and OLEDB 8.1.6
    Turloch

  • Hibernet query returns null for XMLTYPE data when I use oracle type4 driver

    Hi,
    I am using Oracle type-4 driver, My hibernet query returns null for data type XMLTYPE. But when I use BEA type -4 driver its working fine. Please help me to retrive XMLTYPE data using oracle-4 driver through hibernet query.
    Thanks in advance.
    regards,
    Amaresh

    Hi,
    I am using Oracle type-4 driver, My hibernet query returns null for data type XMLTYPE. But when I use BEA type -4 driver its working fine. Please help me to retrive XMLTYPE data using oracle-4 driver through hibernet query.
    Thanks in advance.
    regards,
    Amaresh

  • Using oracle thin driver

    Hi,
    I have a problem in using oracle thin driver,ive downloaded oracle thin driver and classpath has been set for classes12.zip.Iam trying to connect to server:teams sid:teams .
    the following code compiles and throws error @ runtime
    ************************ code****************8
    import java.sql.*;
    public class ocdtest {
    public static void main(String arg[]){
    try {
    DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@teams:1521:teams", "raghu", "startoracle");
    Statement stmt = conn.createStatement ();
    ResultSet rset = stmt.executeQuery ("select login_name from login");
    while (rset.next ()){
    System.out.println (rset.getString ("login_name"));
    }catch(Exception e){
    System.out.println(e);
    ********************* code *********************************
    ********************** Exception *************************
    Exception in thread "main" java.lang.UnsatisfiedLinkError: get_env_handle
    at oracle.jdbc.oci8.OCIEnv.get_env_handle(Native Method)
    at oracle.jdbc.oci8.OCIEnv.getEnvHandle(OCIEnv.java:70)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:359)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:252)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:172)
    at ocdtest.main(ocdtest.java:11)
    *******************************Exception **********************
    can anyone help me how to solve this problem.
    thanks in advance
    karthik

    Hi,
    The following code works
    import java.sql.*;
    public class ocdtest {
    public static void main(String arg[]){
    try {
              Class.forName("oracle.jdbc.driver.OracleDriver");
              Connection con=DriverManager.getConnection("jdbc:oracle:thin:@teams:1521:teams", "raghu", "startoracle");
              Statement s=con.createStatement();
              System.out.println("connected");
              ResultSet rs=s.executeQuery("select login_name from login where login_name='tom'");
              System.out.println("resultset");
              while(rs.next()){
                   System.out.println(rs.getString("login_name"));
    }catch(Exception e){
              System.out.println(e);
    all u need to download is classes12.zip and the patch for this zip .
    thanks and regards
    Karthik

Maybe you are looking for