Oracle 10.2.0.4 client/ODP connecting to 11g database
Hi Folks -
Are there any know problems using an Oracle 10.2.0.4 client and the 10.2 ODP/ODAC client to connect to an 11g database?
Normally ,we'd use the Oracle 11g client/ODP but it is giving us errors so we need to go back to 10g
..any foresee-able problems with this?
soryy it took so long to reply.
we hit a bug which was supposed to be fixed in 11g client but is still there. OraOps11x.dll causing IIS 6.0 to crash. Took us a week to figure out what it was and didn't even consider it being an error caused by the 11g client until MS support pointed it out in a dump file we had them analyze. Oracle support confirmed it was true and last I heard they plan to have it fixed in the next update to the client, which they say is scheduled for end of July 2008. I hope it is fixed, because we're running into other problems with the 10.2.0.4 client also (ORA-21500 [%],[%],[%],[%],[%]).
Similar Messages
-
SQL Connection to 11g database slow
Hi all,
Database :Oracle 11g database Standard edition 11.2.0.1
Application : Oracle forms 6i client/sever (sqlplus version 6.0.8)
OS : Windows 2008 server with sp1
When i tried to connect to database using sqlplus (6.0.8) it is very slow. At the same time when itried connecting from 11g sql client it connects faster.
We tried installing Oracle 11.2.0.1 EE database on a Win 7 Pc and tried connecting to it, it connects in a flash in both 11g and 6.0.8 clients.
I traced it and found there is a significant delay in below area,
2012-10-17 22:17:12.644127 : snlpcss:Spawn Oracle completed oracle (LOCAL=NO) orcl.
2012-10-17 22:17:12.644233 : snlpcss:exit
*2012-10-17 22:17:12.644337 : sntpcall:Attempting to open pipe \\.\PIPE\ORANTP874.1878*
*2012-10-17 22:17:12.653334 : sntpcall:Successfully established pipe 808 to child with 0 retries.*
2012-10-17 22:17:12.653373 : sntpcall:Attempting to open pipe \\.\PIPE\ORANTP874.1878.w
2012-10-17 22:17:12.653437 : sntpcall:Successfully established pipe 920 to child with 0 retries.
2012-10-17 22:17:12.653475 : sntpcall:exit
2012-10-17 22:17:12.635186 : nsevfnt:cxd: 0x5e60760 stage 0: NT events set:
CONNECTION REQUEST
2012-10-17 22:17:12.635211 : nsevfnt:cxd: 0x5e60760 stage 0: NS events set:
INCOMING CALL
2012-10-17 22:17:12.635235 : nsevrec:event is 0x1, on 3
2012-10-17 22:17:12.635254 : nsevwait:1 posted event(s)
2012-10-17 22:17:12.635272 : nsevwait:exit (0)
2012-10-17 22:17:12.635316 : nsglhe:entry
2012-10-17 22:17:12.635337 : nsglhe:Event on cxd 0x5e60760.
2012-10-17 22:17:12.635366 : nsglhc:Allocating cxd 0x62da3c0
2012-10-17 22:17:12.635386 : nsanswer:entry
2012-10-17 22:17:12.635405 : nsopen:entry
2012-10-17 22:17:12.635429 : nsmal:entry
2012-10-17 22:17:12.635450 : nsmal:1496 bytes at 0x5f2e7f0
2012-10-17 22:17:12.635466 : nsmal:normal exit
2012-10-17 22:17:12.635486 : nsopenmplx:entry
2012-10-17 22:17:12.635675 : nsmal:entry
2012-10-17 22:17:12.635709 : nsmal:2944 bytes at 0x6022e80
2012-10-17 22:17:12.635726 : nsmal:normal exit
2012-10-17 22:17:12.635743 : nsiorini:entry
2012-10-17 22:17:12.635762 : nsbal:entry
2012-10-17 22:17:12.635778 : nsbgetfl:entry
2012-10-17 22:17:12.635796 : nsbgetfl:normal exit
2012-10-17 22:17:12.635814 : nsbal:normal exit
2012-10-17 22:17:12.635830 : nsiorini:exit (0)
2012-10-17 22:17:12.635848 : nscpxget:entry
2012-10-17 22:17:12.635864 : nscpxget:normal exit
2012-10-17 22:17:12.635884 : nsopenalloc_nsntx:nlhthput on mplx_ht_nsgbu:ctx=5f2e7f0, nsntx=6022e80
2012-10-17 22:17:12.635906 : nsopenmplx:normal exit
2012-10-17 22:17:12.635927 : nstoSetupTimeout:entry
2012-10-17 22:17:12.635947 : nstoSetupTimeout:ATO enabled for ctx=0x0000000005F2E7F0, val=60000(millisecs)
2012-10-17 22:17:12.635966 : nstoUpdateActive:entry
2012-10-17 22:17:12.635984 : nstoUpdateActive:Active timeout is 0 (see nstotyp)
2012-10-17 22:17:12.636002 : nsopen:opening transport...
2012-10-17 22:17:12.636023 : nttcon:entry
2012-10-17 22:17:12.636039 : nttcon:toc = 3
2012-10-17 22:17:12.636063 : nttcnp:entry
2012-10-17 22:17:12.636106 : nttcnp:getting sockname
2012-10-17 22:17:12.636131 : nttcnp:getting peername
2012-10-17 22:17:12.636149 : nttcnp:exit
2012-10-17 22:17:12.636166 : nttcnr:entry
2012-10-17 22:17:12.636182 : nttcnr:waiting to accept a connection.
2012-10-17 22:17:12.636322 : nttcnr:getting sockname
2012-10-17 22:17:12.636352 : snlinGetNameInfo:entry
2012-10-17 22:17:12.636380 : snlinGetNameInfo:exit
2012-10-17 22:17:12.636398 : nttcnr:connected on ipaddr 200.200.210.101
2012-10-17 22:17:12.636416 : nttvlser:entry
2012-10-17 22:17:12.636432 : nttvlser:Accepted Entry
2012-10-17 22:17:12.636448 : nttcnr:exit
2012-10-17 22:17:12.636477 : nttcon:NT layer TCP/IP connection has been established.
2012-10-17 22:17:12.636518 : nttcon:set TCP_NODELAY on 904
2012-10-17 22:17:12.636537 : nttcon:exit
2012-10-17 22:17:12.636556 : nsiorecycle:entry
2012-10-17 22:17:12.636572 : nsiorecycle:exit
2012-10-17 22:17:12.636589 : nsopen:transport is open
2012-10-17 22:17:12.636607 : nstoPostNTConn:entry
2012-10-17 22:17:12.636624 : nstoArmEventATO:entry
2012-10-17 22:17:12.636642 : nstoArmEventATO:exit (0)
2012-10-17 22:17:12.636659 : nstoPostNTConn:exit (0)
2012-10-17 22:17:12.636676 : nsnainit:entry
2012-10-17 22:17:12.636694 : nsnainit:answer
2012-10-17 22:17:12.636710 : nsnadct:entry
2012-10-17 22:17:12.636726 : nsnadct:normal exit
2012-10-17 22:17:12.636741 : nsnasvnainfo:entry
2012-10-17 22:17:12.636758 : nsnasvnainfo:NA disabled for this connection
2012-10-17 22:17:12.636774 : nsnasvnainfo:normal exit
2012-10-17 22:17:12.636794 : nainit:entry
2012-10-17 22:17:12.636814 : nagblini:entry
2012-10-17 22:17:12.636839 : nau_gin:entry
2012-10-17 22:17:12.636858 : nau_gparams:entry
2012-10-17 22:17:12.636877 : nam_gbp:Reading parameter "sqlnet.authentication_required" from parameter file
2012-10-17 22:17:12.636897 : nam_gbp:Parameter not found
2012-10-17 22:17:12.636914 : nau_gparams:Using default value "FALSE"
2012-10-17 22:17:12.636931 : nau_gslf:entry
2012-10-17 22:17:12.636947 : nam_gic:entry
2012-10-17 22:17:12.636965 : nam_gic:Counting # of items in "sqlnet.authentication_services" parameter
2012-10-17 22:17:12.636984 : nam_gic:Parameter not found
2012-10-17 22:17:12.637001 : nam_gic:Found 0 items
2012-10-17 22:17:12.637016 : nam_gic:exit
2012-10-17 22:17:12.637033 : nau_gslf:Using default value "all available adapters"
2012-10-17 22:17:12.637050 : nauss_set_state:entry
2012-10-17 22:17:12.637065 : nauss_set_state:exit
2012-10-17 22:17:12.637081 : nau_gslf:exit
2012-10-17 22:17:12.637096 : nau_gparams:exit
2012-10-17 22:17:12.637112 : nau_gin:exit
2012-10-17 22:17:12.637126 : nagblini:exit
2012-10-17 22:17:12.637144 : na_saveprot:entry
2012-10-17 22:17:12.637165 : na_saveprot:exit
2012-10-17 22:17:12.637182 : nacomin:entry
2012-10-17 22:17:12.637200 : nas_init:entry
2012-10-17 22:17:12.637217 : nas_init:exit
2012-10-17 22:17:12.637233 : nau_ini:entry
2012-10-17 22:17:12.637252 : naugcp_get_connect_parameters:entry
2012-10-17 22:17:12.637268 : nauss_set_state:entry
2012-10-17 22:17:12.637283 : nauss_set_state:exit
2012-10-17 22:17:12.637299 : naugcp_get_connect_parameters:exit
2012-10-17 22:17:12.637315 : nau_gettab:entry
2012-10-17 22:17:12.637333 : nau_gettab:using authentication adapter table "nautab"
2012-10-17 22:17:12.637350 : nau_gettab:nautab contains the following services:
2012-10-17 22:17:12.637366 : nau_gettab: KERBEROS5
2012-10-17 22:17:12.637381 : nau_gettab: NTS
2012-10-17 22:17:12.637395 : nau_gettab: RADIUS
2012-10-17 22:17:12.637410 : nau_gettab:exit
2012-10-17 22:17:12.637426 : nau_sini:entry
2012-10-17 22:17:12.637441 : nau_sini:exit
2012-10-17 22:17:12.637456 : nau_ini:connection type: "standard"
2012-10-17 22:17:12.637473 : nau_ini:exit
2012-10-17 22:17:12.637489 : naeeinit:entry
2012-10-17 22:17:12.637507 : nam_gbp:Reading parameter "SQLNET.FIPS_140" from parameter file
2012-10-17 22:17:12.637526 : nam_gbp:Parameter not found
2012-10-17 22:17:12.637544 : nam_gnsp:Reading parameter "SQLNET.ENCRYPTION_SERVER" from parameter file
2012-10-17 22:17:12.637564 : nam_gnsp:Parameter not found
2012-10-17 22:17:12.637581 : naequad:Using default value "ACCEPTED"
2012-10-17 22:17:12.637596 : nam_gic:entry
2012-10-17 22:17:12.637613 : nam_gic:Counting # of items in "SQLNET.ENCRYPTION_TYPES_SERVER" parameter
2012-10-17 22:17:12.637631 : nam_gic:Parameter not found
2012-10-17 22:17:12.637646 : nam_gic:exit
2012-10-17 22:17:12.637662 : naesno:Using default value "all available algorithms"
2012-10-17 22:17:12.637684 : naeshow:entry
2012-10-17 22:17:12.637706 : naeshow:These are the encryption algorithms that the server will accept, in decreasing order of
preference:
2012-10-17 22:17:12.637726 : naeshow:Choice 0: no algorithm; encryption inactive
2012-10-17 22:17:12.637741 : naeshow:exit
2012-10-17 22:17:12.637756 : naeeinit:exit
2012-10-17 22:17:12.637773 : naecinit:entry
2012-10-17 22:17:12.637790 : nam_gnsp:Reading parameter "SQLNET.CRYPTO_CHECKSUM_SERVER" from parameter file
2012-10-17 22:17:12.637808 : nam_gnsp:Parameter not found
2012-10-17 22:17:12.637824 : naequad:Using default value "ACCEPTED"
2012-10-17 22:17:12.637840 : nam_gic:entry
2012-10-17 22:17:12.637856 : nam_gic:Counting # of items in "SQLNET.CRYPTO_CHECKSUM_TYPES_SERVER" parameter
2012-10-17 22:17:12.637874 : nam_gic:Parameter not found
2012-10-17 22:17:12.637889 : nam_gic:exit
2012-10-17 22:17:12.637905 : naesno:Using default value "all available algorithms"
2012-10-17 22:17:12.637920 : naeshow:entry
2012-10-17 22:17:12.637937 : naeshow:These are the checksumming algorithms that the server will accept, in decreasing order
of preference:
2012-10-17 22:17:12.637956 : naeshow:Choice 0: no algorithm; checksumming inactive
2012-10-17 22:17:12.637972 : naeshow:exit
2012-10-17 22:17:12.637986 : naecinit:exit
2012-10-17 22:17:12.638003 : nainit:native services disabled - disconnecting
2012-10-17 22:17:12.638020 : nadisc:entry
2012-10-17 22:17:12.638036 : nacomtm:entry
2012-10-17 22:17:12.638052 : nacompd:entry
2012-10-17 22:17:12.638067 : nacompd:exit
2012-10-17 22:17:12.638081 : nacompd:entry
2012-10-17 22:17:12.638096 : nacompd:exit
2012-10-17 22:17:12.638110 : nacomtm:exit
2012-10-17 22:17:12.638126 : nas_dis:entry
2012-10-17 22:17:12.638142 : nas_dis:exit
2012-10-17 22:17:12.638158 : nau_dis:entry
2012-10-17 22:17:12.638175 : nau_dis:exit
2012-10-17 22:17:12.638190 : naeetrm:entry
2012-10-17 22:17:12.638205 : naeetrm:exit
2012-10-17 22:17:12.638221 : naectrm:entry
2012-10-17 22:17:12.638237 : naectrm:exit
2012-10-17 22:17:12.638253 : nagbltrm:entry
2012-10-17 22:17:12.638269 : nau_gtm:entry
2012-10-17 22:17:12.638285 : nau_gtm:exit
2012-10-17 22:17:12.638300 : nagbltrm:exit
2012-10-17 22:17:12.638318 : nadisc:exit
2012-10-17 22:17:12.638338 : nainit:exit
2012-10-17 22:17:12.638357 : nsnainit:NS Connection version: 314
2012-10-17 22:17:12.638377 : nsnainit:inf->nsinfflg[0]: 0xd inf->nsinfflg[1]: 0xd
2012-10-17 22:17:12.638400 : nsnainit:"or" info flags: 0xd Translations follow:
native service(s) is (are) wanted
NA disabled remotely for this connection
NA services unavailable on both processes - negotiation not needed
2012-10-17 22:17:12.638426 : nsnainit:"or" info flags: 0xd Translations follow:
native service(s) is (are) wanted
NA disabled remotely for this connection
NA services unavailable on both processes - negotiation not needed
"and" info flags: 0xd Translations follow:
native service(s) is (are) wanted
NA disabled remotely for this connection
NA services unavailable on both processes - negotiation not needed
2012-10-17 22:17:12.638454 : nsnainit:normal exit
2012-10-17 22:17:12.638473 : nsopen:global context check-in (to slot 5) complete
2012-10-17 22:17:12.638497 : nsopen:lcl[0]=0xf4ffefff, lcl[1]=0x12003, gbl[0]=0x7abf, gbl[1]=0x2001, tdu=32767, sdu=8192
2012-10-17 22:17:12.638517 : nsfull_opn:entry
2012-10-17 22:17:12.638535 : nsfull_opn:cid=5, opcode=65, *bl=0, *what=0, uflgs=0x0, cflgs=0x0
2012-10-17 22:17:12.638553 : nsfull_opn:nsctx: state=7, flg=0x4000, mvd=0
2012-10-17 22:17:12.638570 : nsbal:entry
2012-10-17 22:17:12.638584 : nsbgetfl:entry
2012-10-17 22:17:12.638600 : nsbgetfl:normal exit
2012-10-17 22:17:12.638615 : nsbal:normal exit
2012-10-17 22:17:12.638630 : nsbal:entry
2012-10-17 22:17:12.638644 : nsbgetfl:entry
2012-10-17 22:17:12.638660 : nsbgetfl:normal exit
2012-10-17 22:17:12.638674 : nsbal:normal exit
2012-10-17 22:17:12.638690 : nsfull_opn:normal exit
2012-10-17 22:17:12.638706 : nsopen:normal exit
2012-10-17 22:17:12.638724 : nsanswer:deferring connect attempt; at stage 5
2012-10-17 22:17:12.638741 : nsanswer:normal exit
2012-10-17 22:17:12.638758 : nsevreg:entry
2012-10-17 22:17:12.638777 : nsevreg:begin registration process for 5
2012-10-17 22:17:12.638795 : nsevregPrePost:entry
2012-10-17 22:17:12.638811 : nsevregPrePost:normal exit
2012-10-17 22:17:12.638828 : nsevreg:sgt=0, evn=4, evt[2]=0x0
2012-10-17 22:17:12.638846 : nsevreg:begin notification process for 5
2012-10-17 22:17:12.638863 : nsevregAffectNotif:entry
2012-10-17 22:17:12.638880 : nsrah:entry
2012-10-17 22:17:12.638897 : nsrah:setting transport read mode (2)
2012-10-17 22:17:12.638916 : nttctl:entry
2012-10-17 22:17:12.638933 : nttctl:Clearing non-blocking mode
2012-10-17 22:17:12.638953 : nttctl:entry
2012-10-17 22:17:12.638971 : nttctl:Setting connection into async mode
2012-10-17 22:17:12.638991 : nsrah:normal exit
2012-10-17 22:17:12.639007 : nsevregAffectNotif:exit (0)
2012-10-17 22:17:12.639026 : nsevreg:rdm=2, sgt=0, evt[0]=0x20, [1]=0x20, [2]=0x0, nrg=0
2012-10-17 22:17:12.639043 : nsevreg:registering for 0x20
2012-10-17 22:17:12.639069 : nsiorasy:entry
2012-10-17 22:17:12.639087 : nsiorecv:entry
2012-10-17 22:17:12.639104 : nttmrd:entry
2012-10-17 22:17:12.639120 : nttrd:entry
2012-10-17 22:17:12.639154 : snttcallback:entry
2012-10-17 22:17:12.639174 : snttcallback:exit
2012-10-17 22:17:12.639195 : nttrd:socket 904 had bytes read=210
2012-10-17 22:17:12.639211 : nttrd:exit
2012-10-17 22:17:12.639228 : nsiorecv:exit (0)
2012-10-17 22:17:12.639244 : nsiorasy:exit (0)
2012-10-17 22:17:12.639260 : nsiooverflow:entry
2012-10-17 22:17:12.639276 : nsiooverflow:exit (1)
2012-10-17 22:17:12.639294 : nsevreg:normal exit
2012-10-17 22:17:12.639311 : nsglhe:exit
2012-10-17 22:17:12.639330 : nsevwait:entry
2012-10-17 22:17:12.639346 : nsevwait:4 registered connection(s)
2012-10-17 22:17:12.639364 : nsevwait:1 pre-posted event(s)
2012-10-17 22:17:12.639381 : nsevwait:waiting for transport event (1 thru 5)...
2012-10-17 22:17:12.639400 : nsevwait:0 newly-posted event(s)
2012-10-17 22:17:12.639418 : nsevwait:1 pre-posted event(s)
2012-10-17 22:17:12.639436 : nsevdansw:entry
2012-10-17 22:17:12.639453 : nsevdansw:at STAGE 5
2012-10-17 22:17:12.639471 : nsdo:entry
2012-10-17 22:17:12.639492 : nsdo:cid=5, opcode=68, *bl=2040, *what=8, uflgs=0x0, cflgs=0x3
2012-10-17 22:17:12.639512 : nsdo:rank=64, nsctxrnk=0
2012-10-17 22:17:12.639531 : nsdo:nsctx: state=14, flg=0x20004004, mvd=0
2012-10-17 22:17:12.639550 : nsdo:gtn=10, gtc=10, ptn=10, ptc=8191
2012-10-17 22:17:12.639567 : nscon:entry
2012-10-17 22:17:12.639584 : nscon:doing connect handshake...
2012-10-17 22:17:12.639601 : nscon:recving a packet
2012-10-17 22:17:12.639617 : nsiooverflow:entry
2012-10-17 22:17:12.639632 : nsiooverflow:exit (1)
2012-10-17 22:17:12.639649 : nsprecv:entry
2012-10-17 22:17:12.639666 : nsprecv:210 bytes from leftover
2012-10-17 22:17:12.639686 : nsprecv:tlen=210, plen=210, type=1
2012-10-17 22:17:12.639703 : nsprecv:packet dump
2012-10-17 22:17:12.639724 : nsprecv:00 D2 00 00 01 00 00 00 |........|
2012-10-17 22:17:12.639744 : nsprecv:01 34 01 2C 0C 01 08 00 |.4.,....|
2012-10-17 22:17:12.639763 : nsprecv:7F FF 4F 98 00 00 00 01 |..O.....|
2012-10-17 22:17:12.639782 : nsprecv:00 B0 00 22 00 00 00 00 |..."....|
2012-10-17 22:17:12.639800 : nsprecv:01 01 28 44 45 53 43 52 |..(DESCR|
2012-10-17 22:17:12.639818 : nsprecv:49 50 54 49 4F 4E 3D 28 |IPTION=(|
2012-10-17 22:17:12.639837 : nsprecv:41 44 44 52 45 53 53 5F |ADDRESS_|
2012-10-17 22:17:12.639856 : nsprecv:4C 49 53 54 3D 28 41 44 |LIST=(AD|
2012-10-17 22:17:12.639874 : nsprecv:44 52 45 53 53 3D 28 50 |DRESS=(P|
2012-10-17 22:17:12.639892 : nsprecv:52 4F 54 4F 43 4F 4C 3D |ROTOCOL=|
2012-10-17 22:17:12.639911 : nsprecv:54 43 50 29 28 48 4F 53 |TCP)(HOS|
2012-10-17 22:17:12.639930 : nsprecv:54 3D 4F 52 49 4F 4E 31 |T=ORION1|
2012-10-17 22:17:12.639948 : nsprecv:30 36 2E 69 6E 74 65 72 |06.inter|
2012-10-17 22:17:12.639967 : nsprecv:63 61 72 65 2E 63 6F 2E |care.co.|
2012-10-17 22:17:12.639985 : nsprecv:61 65 29 28 50 4F 52 54 |ae)(PORT|
2012-10-17 22:17:12.640004 : nsprecv:3D 31 35 32 31 29 29 29 |=1521)))|
2012-10-17 22:17:12.640022 : nsprecv:28 43 4F 4E 4E 45 43 54 |(CONNECT|
2012-10-17 22:17:12.640040 : nsprecv:5F 44 41 54 41 3D 28 43 |_DATA=(C|
2012-10-17 22:17:12.640059 : nsprecv:49 44 3D 28 50 52 4F 47 |ID=(PROG|
2012-10-17 22:17:12.640077 : nsprecv:52 41 4D 3D 29 28 48 4F |RAM=)(HO|
2012-10-17 22:17:12.640096 : nsprecv:53 54 3D 5F 5F 6A 64 62 |ST=__jdb|
2012-10-17 22:17:12.640114 : nsprecv:63 5F 5F 29 28 55 53 45 |c__)(USE|
2012-10-17 22:17:12.640133 : nsprecv:52 3D 4F 52 49 4F 4E 31 |R=ORION1|
2012-10-17 22:17:12.640151 : nsprecv:30 36 24 29 29 28 53 45 |06$))(SE|
2012-10-17 22:17:12.640170 : nsprecv:52 56 49 43 45 5F 4E 41 |RVICE_NA|
2012-10-17 22:17:12.640188 : nsprecv:4D 45 3D 6F 72 63 6C 29 |ME=orcl)|
2012-10-17 22:17:12.640207 : nsprecv:29 29 |)) |
2012-10-17 22:17:12.640224 : nsprecv:normal exit
2012-10-17 22:17:12.640241 : nscon:got NSPTCN packet
2012-10-17 22:17:12.640258 : nsconneg:entry
2012-10-17 22:17:12.640276 : nsconneg:vsn=308, lov=300, opt=0xc01, sdu=2048, tdu=32767, ntc=0x4f98
2012-10-17 22:17:12.640297 : nsconneg:vsn=308, gbl=0x801, sdu=2048, tdu=32767
2012-10-17 22:17:12.640313 : nsconneg:normal exit
2012-10-17 22:17:12.640330 : nscpxget:entry
2012-10-17 22:17:12.640345 : nscpxget:normal exit
2012-10-17 22:17:12.640363 : nscon:got 176 bytes connect data
2012-10-17 22:17:12.640380 : nscon:exit (0)
2012-10-17 22:17:12.640396 : nsdo:nsctxrnk=0
2012-10-17 22:17:12.640412 : nsdo:normal exit
2012-10-17 22:17:12.640429 : nsevdrcvreq:entry
2012-10-17 22:17:12.640451 : nsevdansw:exit
2012-10-17 22:17:12.640468 : nsevrec:event is 0x20, on 5
2012-10-17 22:17:12.640487 : nstoToqWalk:entry
2012-10-17 22:17:12.640503 : nstoToqWalk:exit (0)
2012-10-17 22:17:12.640519 : nsevwait:1 posted event(s)
2012-10-17 22:17:12.640534 : nsevwait:exit (0)
2012-10-17 22:17:12.640561 : nsglhe:entry
2012-10-17 22:17:12.640578 : nsglhe:Event on cxd 0x62da3c0.
2012-10-17 22:17:12.640615 : nsglfc:Assume establishing a connection...
2012-10-17 22:17:12.640633 : nsglfc:command = establish
2012-10-17 22:17:12.640650 : nsglauthorized:entry
2012-10-17 22:17:12.640669 : nsglauthorized:Determining auth method...
2012-10-17 22:17:12.640689 : nsglauthorized:No authorization needed.
2012-10-17 22:17:12.640706 : nsglecmd:entry
2012-10-17 22:17:12.640723 : nscontrol:entry
2012-10-17 22:17:12.640740 : nstoControlATO:entry
2012-10-17 22:17:12.640757 : nstoClearTimeout:entry
2012-10-17 22:17:12.640775 : nstoClearTimeout:ATO disabled for ctx=0x0000000005F2E7F0
2012-10-17 22:17:12.640791 : nstoUpdateActive:entry
2012-10-17 22:17:12.640807 : nstoUpdateActive:Active timeout is -1 (see nstotyp)
2012-10-17 22:17:12.640827 : nstoControlATO:ATO disabled for ctx=0x0000000005F2E7F0
2012-10-17 22:17:12.640843 : nstoControlATO:exit (0)
2012-10-17 22:17:12.640859 : nscontrol:cmd=26, lcl=0x0
2012-10-17 22:17:12.640875 : nscontrol:normal exit
2012-10-17 22:17:12.640907 : nttaddr2bnd:entry
2012-10-17 22:17:12.640924 : snlinGetNameInfo:entry
2012-10-17 22:17:12.640946 : snlinGetNameInfo:exit
2012-10-17 22:17:12.640964 : nttaddr2bnd:Resolved to 200.200.210.101
2012-10-17 22:17:12.640985 : nttaddr2bnd:exit
2012-10-17 22:17:12.641012 : nsglbgetRSPidx:entry
2012-10-17 22:17:12.641048 : nsglbgetRSPidx:returning ecode=0
2012-10-17 22:17:12.641065 : nsglbgetRSPidx:exit
2012-10-17 22:17:12.641082 : nsgettrans_bycxdwattr:entry
2012-10-17 22:17:12.641100 : ntgettrans:entry
2012-10-17 22:17:12.641116 : ntgettrans:exit
2012-10-17 22:17:12.641132 : nsgettrans_bycxdwattr:exit
2012-10-17 22:17:12.641149 : nsglbgetSdPidx:secondary protocol=4
2012-10-17 22:17:12.641166 : nsglb:entry
2012-10-17 22:17:12.641185 : nsglb:exit
2012-10-17 22:17:12.641202 : nsbequeath:entry
2012-10-17 22:17:12.641218 : nsc2addr:entry
2012-10-17 22:17:12.641236 :
nsc2addr:(ADDRESS=(PROTOCOL=beq)(PROGRAM=oracle)(ENVS='ORACLE_HOME=D:\Ora11gdb\dbhome_1,ORACLE_SID=orcl')(ARGV0=oracleorcl)(A
RGS='(LOCAL=NO)'))
2012-10-17 22:17:12.641271 : nlpcaini:entry
2012-10-17 22:17:12.641338 : nlpcaini:prg = oracle
2012-10-17 22:17:12.641357 : nlpcaini:arg[0] = oracleorcl
2012-10-17 22:17:12.641373 : nlpcaini:arg[1] = (LOCAL=NO)
2012-10-17 22:17:12.641390 : nlpcaini:env[0] = ALLUSERSPROFILE=C:\ProgramData
2012-10-17 22:17:12.641407 : nlpcaini:exit
2012-10-17 22:17:12.641424 : nsc2addr:normal exit
2012-10-17 22:17:12.641440 : nsbeqaddr:entry
2012-10-17 22:17:12.641456 : nsbeqaddr:connecting...
2012-10-17 22:17:12.641472 : nsopen:entry
2012-10-17 22:17:12.641487 : nsmal:entry
2012-10-17 22:17:12.641506 : nsmal:1496 bytes at 0x6025010
2012-10-17 22:17:12.641521 : nsmal:normal exit
2012-10-17 22:17:12.641537 : nsopenmplx:entry
2012-10-17 22:17:12.641552 : nsmal:entry
2012-10-17 22:17:12.641570 : nsmal:2944 bytes at 0x60255f0
2012-10-17 22:17:12.641585 : nsmal:normal exit
2012-10-17 22:17:12.641600 : nsiorini:entry
2012-10-17 22:17:12.641616 : nsbal:entry
2012-10-17 22:17:12.641631 : nsbgetfl:entry
2012-10-17 22:17:12.641646 : nsbgetfl:normal exit
2012-10-17 22:17:12.641661 : nsbal:normal exit
2012-10-17 22:17:12.641677 : nsiorini:exit (0)
2012-10-17 22:17:12.641693 : nscpxget:entry
2012-10-17 22:17:12.641707 : nscpxget:normal exit
2012-10-17 22:17:12.641724 : nsopenalloc_nsntx:nlhthput on mplx_ht_nsgbu:ctx=6025010, nsntx=60255f0
2012-10-17 22:17:12.641742 : nsopenmplx:normal exit
2012-10-17 22:17:12.641760 : ntpcon:entry
2012-10-17 22:17:12.641775 : ntpcon:toc = 6
2012-10-17 22:17:12.641790 : ntpcon:exit
2012-10-17 22:17:12.641806 : nsopen:opening transport...
2012-10-17 22:17:12.641823 : ntpcon:entry
2012-10-17 22:17:12.641837 : ntpcon:toc = 1
2012-10-17 22:17:12.641857 : sntpcall:entry
2012-10-17 22:17:12.641874 : snlpcss:entry
2012-10-17 22:17:12.644127 : snlpcss:Spawn Oracle completed oracle (LOCAL=NO) orcl.
2012-10-17 22:17:12.644233 : snlpcss:exit
2012-10-17 22:17:12.644337 : sntpcall:Attempting to open pipe \\.\PIPE\ORANTP874.1878
2012-10-17 22:17:12.653334 : sntpcall:Successfully established pipe 808 to child with 0 retries.
2012-10-17 22:17:12.653373 : sntpcall:Attempting to open pipe \\.\PIPE\ORANTP874.1878.w
2012-10-17 22:17:12.653437 : sntpcall:Successfully established pipe 920 to child with 0 retries.
2012-10-17 22:17:12.653475 : sntpcall:exit
2012-10-17 22:17:12.653500 : ntpcon:NT layer IPC connection has been established.
2012-10-17 22:17:12.653519 : ntpcon:exit
2012-10-17 22:17:12.653538 : nsopen:transport is open
2012-10-17 22:17:12.653558 : nsoptions:entry
2012-10-17 22:17:12.653579 : nsoptions:lcl[0]=0x0, lcl[1]=0x2006, gbl[0]=0x0, gbl[1]=0x0, cha=0x0
2012-10-17 22:17:12.653601 : nsoptions:Vectored IO not supported.
2012-10-17 22:17:12.653623 : nsoptions:lcl[0]=0xf4ffe9ff, lcl[1]=0x6016, gbl[0]=0xe881, gbl[1]=0x0
2012-10-17 22:17:12.653642 : nsoptions:normal exit
2012-10-17 22:17:12.653659 : nsnainit:entry
2012-10-17 22:17:12.653678 : nsnainit:normal exit
2012-10-17 22:17:12.653698 : nsopen:global context check-in (to slot 6) complete
2012-10-17 22:17:12.653722 : nsopen:lcl[0]=0xf4ffe9ff, lcl[1]=0x6016, gbl[0]=0xe881, gbl[1]=0x0, tdu=4096, sdu=8192
2012-10-17 22:17:12.653742 : nsfull_opn:entry
2012-10-17 22:17:12.653762 : nsfull_opn:cid=6, opcode=65, *bl=0, *what=0, uflgs=0x0, cflgs=0x0
2012-10-17 22:17:12.653782 : nsfull_opn:nsctx: state=7, flg=0x4001, mvd=0
2012-10-17 22:17:12.653801 : nsfull_opn:normal exit
2012-10-17 22:17:12.653818 : nsopen:normal exit
2012-10-17 22:17:12.653914 : nttaddr2bnd:entry
2012-10-17 22:17:12.653942 : snlinGetNameInfo:entry
2012-10-17 22:17:12.653969 : snlinGetNameInfo:exit
2012-10-17 22:17:12.653988 : nttaddr2bnd:Resolved to 200.200.210.101
2012-10-17 22:17:12.654010 : nttaddr2bnd:exit
2012-10-17 22:17:12.654032 : nsbequeath_stg2:doing connect handshake...
2012-10-17 22:17:12.654053 : nsbequeath:doing connect handshake...
2012-10-17 22:17:12.654071 : ntpwr:entry
2012-10-17 22:17:12.654089 : sntpwrite:entry
2012-10-17 22:17:12.654109 : sntpwrite:Attempting to write 4 bytes to handle 808
2012-10-17 22:17:12.654138 : sntpwrite:WriteFile returned 4 bytes
2012-10-17 22:17:12.654157 : sntpwrite:exit
2012-10-17 22:17:12.654175 : ntpwr:exit
2012-10-17 22:17:12.654191 : ntpwr:entry
2012-10-17 22:17:12.654208 : sntpwrite:entry
2012-10-17 22:17:12.654226 : sntpwrite:Attempting to write 66 bytes to handle 808
2012-10-17 22:17:12.654253 : sntpwrite:WriteFile returned 66 bytes
2012-10-17 22:17:12.654271 : sntpwrite:exit
2012-10-17 22:17:12.654287 : ntpwr:exit
2012-10-17 22:17:12.654304 : ntpwr:entry
2012-10-17 22:17:12.654320 : sntpwrite:entry
2012-10-17 22:17:12.654338 : sntpwrite:Attempting to write 8 bytes to handle 808
2012-10-17 22:17:12.654362 : sntpwrite:WriteFile returned 8 bytes
2012-10-17 22:17:12.654381 : sntpwrite:exit
2012-10-17 22:17:12.654396 : ntpwr:exit
2012-10-17 22:17:12.654414 : ntprd:entry
2012-10-17 22:17:12.654432 : sntpread:entry
2012-10-17 22:17:12.654450 : sntpread:Attempting to read 4 bytes from handle 920
2012-10-17 22:17:12.655026 : sntpread:ReadFile returned 4 bytes
2012-10-17 22:17:12.655049 : sntpread:rc = 0, ntresnt[0] = 0
2012-10-17 22:17:12.655067 : sntpread:exit
2012-10-17 22:17:12.655084 : ntprd:exit
2012-10-17 22:17:12.655101 : ntprd:entry
2012-10-17 22:17:12.655117 : sntpread:entry
2012-10-17 22:17:12.655136 : sntpread:Attempting to read 4 bytes from handle 920
2012-10-17 22:17:12.655314 : sntpread:ReadFile returned 4 bytes
2012-10-17 22:17:12.655337 : sntpread:rc = 0, ntresnt[0] = 0
2012-10-17 22:17:12.655354 : sntpread:exit
2012-10-17 22:17:12.655370 : ntprd:exit
2012-10-17 22:17:12.655388 : nsbequeath:NSE=12586
2012-10-17 22:17:12.655407 : nsbequeath:error reading REDIR/NSE msg
2012-10-17 22:17:12.655427 : nserror:entry
2012-10-17 22:17:12.655451 : nserror:nsres: id=5, op=72, ns=12586, ns2=0; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0,
ora[2]=0
2012-10-17 22:17:12.655472 : nsdo:entry
2012-10-17 22:17:12.655491 : nsdo:cid=5, opcode=67, *bl=0, *what=13, uflgs=0x0, cflgs=0x3
2012-10-17 22:17:12.655511 : nsdo:rank=64, nsctxrnk=0
2012-10-17 22:17:12.655530 : nsdo:nsctx: state=2, flg=0x20004004, mvd=0
2012-10-17 22:17:12.655556 : nsdo:gtn=210, gtc=210, ptn=10, ptc=2047
2012-10-17 22:17:12.655578 : nscon:entry
2012-10-17 22:17:12.655597 : nscon:sending NSPTRS packet
2012-10-17 22:17:12.655618 : nspsend:entry
2012-10-17 22:17:12.655641 : nspsend:plen=8, type=11
{code}
Thanks,
Anand.AnandKumar wrote:
Hi all,
Database :Oracle 11g database Standard edition 11.2.0.1
Application : Oracle forms 6i client/sever (sqlplus version 6.0.8)
OS : Windows 2008 server with sp1Did you verify they are compatible ?
I was not able to verify them on MOS... but I'm not involved in any Oracle Forms application...
Have a look also at this link:
http://www.oracle.com/technetwork/developer-tools/forms/clientsod-forms6i-086801.html -
OWB 10g R1 - trying to connect to 11g database
Hi,
Is it possible for OWB 10g R1 (10.1.0.3.0) to connect to a database on Oracle 11g, incidentally it is Oracle 64bit. Currently I am having difficulty when deploying objects, the error message says it cannot find the remote object on the Oracle 11g database.
Thanks,
Marlise BurkeHi user589658 ,
Do you have the reference to the Metalink document that States that?
We have an old 10g rel 1 repository and we now have to generate mappings to extract from , and populate another 11g database.
The metalink reference would help us to justify to management the upgrade of our OWB repository and clients to 11g
Thanks -
10G R2 appserver connecting to 11G database
Hello!
We are upgrading our database to 11G but middle tier will remain at 10G R2 because of other constraints. A preliminary test showed that the JDBC data access was a bit slower. This may be for other reasons and we need to investigate more. But are you aware of any performance or compatibility issues between 10GR2 middle tier and 11G database? We earlier had a JDBC issue (OALL8 error) when we used 10GR2 against 9i database.
Any suggestion/tips/help will be much appreciated.
Regards,
Arnab.OK. We are now seeing some new behaviour.
I've installed ODAC 11g 32 bit onto the problem machine.
I also installed onto the system where things work.
The result is:
1) On the machine where everything worked with 10g ODAC, it's working fine with 11g
2) On the machine where it DID NOT work with 10g ODAC, it still DOES NOT WORK.
Using the 11g 32 bit ODAC, we now get the following exception:
ora-12514: TNS: listener does not currently know of service requested in connect descriptor
We are able to run SQLDeveloper and point to the same SID (ORCL) and we can connect to the DB instance fine.
Here is what the TNSNAMES.ORA file looks like:
# tnsnames.ora Network Configuration File: C:\app\DjM\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.168.1.100)
This is what the SQLNET.ORA file looks like:
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
This is what the connection string looks like:
"user id=xxx;password=\"xxx\";data source=localhost:1521/ORCL"
Again, any and all help/suggestions would be appreciated here.
Thanks,
JB -
EM Grid Control 10.2.0.2 and Connecting to 11g Database?
I am having a problem trying to the EM 10.2.0.2 connect to an 11.1.0.6 database. I can connect to the database without the EM, but with EM, I get teh following error:
Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: (description=(address=(host=JAX0104616-1.FNFIS.COM)(protocol=tcp)(port=1521))(connect_data=(sid=ORCL11G)(server=dedicated)))
I can connect to a 10g database (which holds the EM repository), but not the 11g database. Does anyone have any ideas? Is 11g not supported yet with EM 10g Grid Control?
Thanks,
Mike11106 is not supported for EM Grid Control 10.2.0.2
Please check the certfication metrix -
Unable to connect to 11g database.. wrong forum
please ignore
Message was edited by:
IntMavHi ,
How to check whether the connection pool is up or not.I have seen in the WLS 6.1
console that the connection pool "DemoPool" has been created.
Also i have targeted the Connection Pool to the Examples Server.
But still am getting "Unable to connect to database".
Could you pls give any other solution to solve this problem asap
Bala
"Sree Bodapati" <[email protected]> wrote:
Is your connection pool up? Do you have it targeted to the server?
sree
"Bala" <[email protected]> wrote in message
news:3d17069f$[email protected]..
Hi,
I missed to give the exception details in my previous post
"Unable to connect to Database" and followed by the
"Database Connection is closed: Confirm that you have started yourdatabase".
Any suggesstions / help will be greatly appreciated.
Bala
"Bala" <[email protected]> wrote:
Hi,
I am trying to deploy the Petstore application in the WLS 6.1 and tried
to access
the URL from the browser http://localhost:7001/estore/. I am not able
to
browse the
petstore application but am getting the error msg "Unable to Connectwith
the database
-- CloudScape " when i clicked the "Enter the Store" Link.
Is there any thing we need to enable in the WLS 6.1 Server.
Bala -
JDBC Drivers for Weblogic to connect to Oracle 11g database
WebLogic Server Version: 10.3.6.0
We had Oracle 10g database that we were connecting using JDBC data source (driver : Oracle's Driver (Thin XA) for instance connections; versions:9.0.1 and later). We migrated our database to 11g now. Is it still the best driver to connect to 11g database or should we change it to something else?why not using an 11 driver to connect to db 11g?
maybe the following posting helps although is focuses on db 12c:
https://blogs.oracle.com/WebLogicServer/entry/part_1_12c_database_and
best wishes.
Blog: Oracle Fusion Middleware and Cloud Computing -
Unable to connect to catalog database
Dear All,
I tried to take offline DB backup using recovery catalog.But it is failing with below error.
RMAN> backup database;
Starting backup at 28-FEB-12
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 02/28/2012 14:40:20
RMAN-03014: implicit resync of recovery catalog failed
RMAN-06004: ORACLE error from recovery catalog database: ORA-03114: not connected to ORACLE
I'm running RMAN on target db host.
This is the cmd I used to connect to RMAN. env.
rman target / catalog=username/password .
Kindly help me.
Best Regards,
Gopal.Hello mseberg
Thanks for your suggestion.I removed the entry in tnsnames.ora file ans restarted the listener.
This how exactly I'm wroking with RMAN now.
C:\Documents and Settings\TEST>rman target / catalog=xxxxl/xxxxxxx
Recovery Manager: Release 10.2.0.1.0 - Production on Tue Feb 28 15:50:43 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: GOP (DBID=11843514)
connected to recovery catalog database
RMAN> shutdown immediate;
database closed
database dismounted
Oracle instance shut down
RMAN> startup mount;
connected to target database (not started)
Oracle instance started
database mounted
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 02/28/2012 15:52:03
RMAN-06004: ORACLE error from recovery catalog database: ORA-03113: end-of-file
on communication channel
Thanks for your help.
With Regards,
Gopal.
Edited by: user8829891 on Feb 28, 2012 6:54 AM -
Tnsping doesnt work. cant connect to oracle on linux from windows client
Installed Oracle 11g on Linux VM. Tried connecting from Tora/SqlDeveloper from Windows machine, but fails. TNSPING fails. PING works fine. Any idea how to resolve below issue?
Below is the info and checks made :
[oracle@oraclelinux6 admin]$ more *.ora
listener.ora
# listener.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /apps/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = orcl)
LISTENERLX =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = /apps/app/oracle
sqlnet.ora
# sqlnet.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
ADR_BASE = /apps/app/oracle
SQLNET.EXPIRE_TIME=10
SQLNET.INBOUND_CONNECT_TIMEOUT=240
tnsnames.ora
# tnsnames.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
[oracle@oraclelinux6 admin]$
[oracle@oraclelinux6 admin]$ ifconfig
eth1 Link encap:Ethernet HWaddr 08:00:27:CA:B7:5D
inet addr:192.168.1.121 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:feca:b75d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:243465 errors:0 dropped:0 overruns:0 frame:0
TX packets:143708 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:347575845 (331.4 MiB) TX bytes:9778008 (9.3 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:36859 errors:0 dropped:0 overruns:0 frame:0
TX packets:36859 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2400424 (2.2 MiB) TX bytes:2400424 (2.2 MiB)
virbr0 Link encap:Ethernet HWaddr 52:54:00:8D:63:05
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[oracle@oraclelinux6 admin]$ hostname
oraclelinux6.localdomain
[oracle@oraclelinux6 admin]$ more /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.2.15 oraclelinux6.localdomain
[oracle@oraclelinux6 admin]$
[oracle@oraclelinux6 admin]$ sqlplus system@orcl
SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 2 08:19:59 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Enter user-name: system
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> set head off
SQL> select * from v$instance;
1 orcl
oraclelinux6.localdomain
11.2.0.1.0 01-DEC-13 OPEN NO 1 STOPPED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
SQL> select * from v$database;
1360274593 ORCL 26-NOV-13 945184 26-NOV-13
1 15-AUG-09 NOARCHIVELOG 1071075
1033565 CURRENT 26-NOV-13 1283 1094699
02-DEC-13 NOT ALLOWED 26-NOV-13 READ WRITE MAXIMUM PERFORMANCE
UNPROTECTED ENABLED 1360252065 1360252065 PRIMARY
945184 DISABLED NOT ALLOWED DISABLED NONE NO NO
NO NO 13
Linux x86 64-bit
2 2 1094771
NO NO NO orcl
0 DISABLED
0
NO NO
LSNRCTL> show inbound_connect_timeout
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12535: TNS:operation timed out
TNS-12560: TNS:protocol adapter error
TNS-00505: Operation timed out
LSNRCTL>
[oracle@oraclelinux6 admin]$ tnsping orcl
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:11:34
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))
OK (0 msec)
<msg time='2013-12-02T08:11:55.728-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
<msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:13:23 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60806)) * establish * orcl * 12514
</txt>
</msg>
<msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
<msg time='2013-12-02T08:19:54.141-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:19:54 * service_update * orcl * 0
</txt>
</msg>
<msg time='2013-12-02T08:20:00.146-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:20:00 * service_update * orcl * 0
</txt>
</msg>
<msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:20:03 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60970)) * establish * orcl * 12514
</txt>
</msg>
<msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
[oracle@oraclelinux6 admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:25:38
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12535: TNS:operation timed out
TNS-12560: TNS:protocol adapter error
TNS-00505: Operation timed out
[oracle@oraclelinux6 admin]$
[oracle@oraclelinux6 admin]$ lsnrctl status LISTENERLX
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:29:23
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENERLX
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 02-DEC-2013 07:55:29
Uptime 0 days 0 hr. 33 min. 54 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /apps/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/oraclelinux6/listenerlx/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "orcl.localdomain" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.localdomain" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@oraclelinux6 admin]$
CLIENT SIDE :
C:\Windows\system32>ping 192.168.1.121
Pinging 192.168.1.121 with 32 bytes of data:
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.1.121:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Windows\system32>tnsping ORACLELINUX6
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 03-DEC-2013 01:30:13
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
D:\app\Laasya\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521)) (C
ONNECT_DATA = (SERVICE_NAME = orcl)))
TNS-12535: TNS:operation timed out
# tnsnames.ora Network Configuration File: D:\app\Laasya\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
ORACLELINUX6 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)f0c7e0f7-dab5-4b63-a36c-04b7e8eb552d wrote:
Installed Oracle 11g on Linux VM. Tried connecting from Tora/SqlDeveloper from Windows machine, but fails. TNSPING fails. PING works fine. Any idea how to resolve below issue?
Below is the info and checks made :
[oracle@oraclelinux6 admin]$ more *.ora
listener.ora
# listener.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /apps/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = orcl)
LISTENERLX =
It is pointless, and just adds to the confusion, to name your listener anything other than the default name of LISTENER
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
Client requests to 'localhost' (or its ip address of 127.0.0.1) never leave the client machine. Hence, any listener configured for that address will never receive a request from any other machine.
ADR_BASE_LISTENER = /apps/app/oracle
sqlnet.ora
# sqlnet.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
ADR_BASE = /apps/app/oracle
SQLNET.EXPIRE_TIME=10
SQLNET.INBOUND_CONNECT_TIMEOUT=240
tnsnames.ora
# tnsnames.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
See comment above regarding 'localhost'.
(CONNECT_DATA =
(SERVICE_NAME = orcl)
[oracle@oraclelinux6 admin]$
[oracle@oraclelinux6 admin]$ ifconfig
eth1 Link encap:Ethernet HWaddr 08:00:27:CA:B7:5D
inet addr:192.168.1.121 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:feca:b75d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:243465 errors:0 dropped:0 overruns:0 frame:0
TX packets:143708 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:347575845 (331.4 MiB) TX bytes:9778008 (9.3 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:36859 errors:0 dropped:0 overruns:0 frame:0
TX packets:36859 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2400424 (2.2 MiB) TX bytes:2400424 (2.2 MiB)
virbr0 Link encap:Ethernet HWaddr 52:54:00:8D:63:05
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[oracle@oraclelinux6 admin]$ hostname
oraclelinux6.localdomain
[oracle@oraclelinux6 admin]$ more /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.2.15 oraclelinux6.localdomain
where did that 10.0.2.15 address come from? You don't have any network adapters configured for that address
[oracle@oraclelinux6 admin]$
[oracle@oraclelinux6 admin]$ sqlplus system@orcl
SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 2 08:19:59 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
A well-documented error.
see: http://edstevensdba.wordpress.com/2011/03/19/ora-12514/ (ora-12514 Listener does not know of requested service )
Enter user-name: system
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
Since you did not use a tns service name ('@orcl') this was a bequeth connection to a local database.
SQL> set head off
SQL> select * from v$instance;
1 orcl
oraclelinux6.localdomain
11.2.0.1.0 01-DEC-13 OPEN NO 1 STOPPED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
SQL> select * from v$database;
1360274593 ORCL 26-NOV-13 945184 26-NOV-13
1 15-AUG-09 NOARCHIVELOG 1071075
1033565 CURRENT 26-NOV-13 1283 1094699
02-DEC-13 NOT ALLOWED 26-NOV-13 READ WRITE MAXIMUM PERFORMANCE
UNPROTECTED ENABLED 1360252065 1360252065 PRIMARY
945184 DISABLED NOT ALLOWED DISABLED NONE NO NO
NO NO 13
Linux x86 64-bit
2 2 1094771
NO NO NO orcl
0 DISABLED
0
NO NO
LSNRCTL> show inbound_connect_timeout
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12535: TNS:operation timed out
TNS-12560: TNS:protocol adapter error
TNS-00505: Operation timed out
LSNRCTL>
[oracle@oraclelinux6 admin]$ tnsping orcl
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:11:34
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))
OK (0 msec)
<msg time='2013-12-02T08:11:55.728-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
<msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:13:23 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60806)) * establish * orcl * 12514
</txt>
</msg>
<msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
<msg time='2013-12-02T08:19:54.141-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:19:54 * service_update * orcl * 0
</txt>
</msg>
<msg time='2013-12-02T08:20:00.146-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:20:00 * service_update * orcl * 0
</txt>
</msg>
<msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>02-DEC-2013 08:20:03 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60970)) * establish * orcl * 12514
</txt>
</msg>
<msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
host_addr='10.0.2.15'>
<txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
</txt>
</msg>
[oracle@oraclelinux6 admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:25:38
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12535: TNS:operation timed out
TNS-12560: TNS:protocol adapter error
TNS-00505: Operation timed out
[oracle@oraclelinux6 admin]$
[oracle@oraclelinux6 admin]$ lsnrctl status LISTENERLX
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:29:23
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENERLX
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 02-DEC-2013 07:55:29
Uptime 0 days 0 hr. 33 min. 54 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /apps/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/oraclelinux6/listenerlx/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
See previous comments regarding localhost and 127.0.0.1
Services Summary...
Service "orcl.localdomain" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.localdomain" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@oraclelinux6 admin]$
CLIENT SIDE :
C:\Windows\system32>ping 192.168.1.121
Pinging 192.168.1.121 with 32 bytes of data:
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.1.121:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Windows\system32>tnsping ORACLELINUX6
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 03-DEC-2013 01:30:13
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
D:\app\Laasya\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521)) (C
ONNECT_DATA = (SERVICE_NAME = orcl)))
TNS-12535: TNS:operation timed out
# tnsnames.ora Network Configuration File: D:\app\Laasya\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
ORACLELINUX6 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
You've thrown out a huge amount of detailed data, but showing a variety of errors, and combinations. Overall, I get the impression you are confusing remote vs. local connections. Please read the following, then come back and let's focus on one error at a time.
see: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ (Help! I can’t connect to my database )
see: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ ( Help! I can’t connect to my database (part duex) ) -
Establish SSL connection to Oracle Instance w/JDBC Thin Client
Hello all,
I am writing a monitoring utility that will allow me to establish connections to both Oracle instances and LDAP repositories and query them to determine that they are up and running. My utility consists of a number of objects that handle connections to the LDAP and Oracle instances. I need to be able to do SSL and non-SSL connections to said instances.
My issue is this: I am able to do SSL and non-SSL to LDAP, and non-SSL to an Oracle instance. I am having problems, though, establishing an SSL connection to an Oracle instance (I am using the thin client). Whenever I try, a SQLException is thrown that states: "Encountered a problem with the secret store. Check the wallet location for the presense of an <b>open</b> wallet (cwallet.sso) and ensure that the wallet contains the correct credentials..."
Ok, a little background for those who may need it. Oracle uses a wallet to hold certs that allow SSL connections. I have a wallet on my box, and, from the command line, I am able to sqlplus into and tnsping the appropriate Oracle instances, so I know it is setup properly. The inability to connect only occurs in my code. My code looks like this:
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Security.addProvider(new oracle.security.pki.OraclePKIProvider());
/*Setup connection properties*/
String connectionString = "testbox01:1000:ssl_instances_name";
String userName = "userName";
String pwd = "password";
Properties props = new Properties();
props.put("oracle.net.ssl_version", 3.0");
props.put("oracle.net.wallet_location", "SOURCE=(METHOD=file)(METHOD_DATA=(DIRECTORY=c:\\wallet)))");
props.put("oracle.net.ssl_cipher_suites", "ssl cipher suites");
props.put("oracle.net.ssl_server_dn_match", "FALSE");
props.put("oracle.net.ssl_client_authentication", "true");
/*Do connection and return connection object
OracleDataSource ods = new OracleDataSource();
ods.setUser(userName);
ods.setPassword(pwd);
ods.setUrl("jdbc:oracle:thin:@" + connectionString);
ods.setConnectionProperties(props);
Connection conn = ods.getConnection(); <---This is where code errors out with SQLException described above.
return conn;
And that's pretty much it. Anyone have any ideas?Ok, that looked horrible. Let's try this again:<br>
<br>
I am writing a monitoring utility that will allow me to establish connections to both Oracle instances and LDAP repositories and query them to determine that they are up and running. My utility consists of a number of objects that handle connections to the LDAP and Oracle instances. I need to be able to do SSL and non-SSL connections to said instances.<br>
<br>
My issue is this: I am able to do SSL and non-SSL to LDAP, and non-SSL to an Oracle instance. I am having problems, though, establishing an SSL connection to an Oracle instance. Whenever I try, a SQLException is thrown that states: "Encountered a problem with the secret store. Check the wallet location for the presense of an <b>open</b> wallet (cwallet.sso) and ensure that the wallet contains the correct credentials..."<br>
<br>
Ok, a little background for those who may need it. Oracle uses a wallet to hold certs that allow SSL connections. I have a wallet on my box, and, from the command line, I am able to sqlplus into and tnsping the appropriate Oracle instances, so I know it is setup properly. The inability to connect only occurs in my code. My code looks like this:<br>
<br>
*****<br>
<br>
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());<br>
Security.addProvider(new oracle.security.pki.OraclePKIProvider());<br>
<br>
/*Setup connection properties*/<br>
<br>
String connectionString = "testbox01:1000:ssl_instances_name";<br>
String userName = "userName";<br>
String pwd = "password";<br>
<br>
Properties props = new Properties();<br>
props.put("oracle.net.ssl_version", 3.0");<br>
props.put("oracle.net.wallet_location", "SOURCE=(METHOD=file)(METHOD_DATA=(DIRECTORY=c:\\wallet)))");<br>
props.put("oracle.net.ssl_cipher_suites", "ssl cipher suites");<br>
props.put("oracle.net.ssl_server_dn_match", "FALSE");<br>
props.put("oracle.net.ssl_client_authentication", "true");<br>
<br>
/*Do connection and return connection object*/<br>
OracleDataSource ods = new OracleDataSource();<br>
ods.setUser(userName);<br>
ods.setPassword(pwd);<br>
ods.setUrl("jdbc:oracle:thin:@" + connectionString);<br>
ods.setConnectionProperties(props);<br>
<br>
Connection conn = ods.getConnection(); <---This is where code errors out with SQLException described above.<br>
<br>
return conn;<br>
<br>
*****<br>
<br>
And that's pretty much it. Anyone have any ideas?<br> -
Using Windows NT 4.0 client program connecting to oracle 8i linux server
Dear sir/madam,
Recently, I have successfully installed Oracle 8i in my red hat linux database server. I am disappointed because I can find client side Oracle Enterprise Manager in my linux server even I have installed client program in my linux database server.
Next, I install Oracle 8i client side program (windows NT/2000 version) in my Windows NT 4.0 server. I am still disappointed because I find Oracle Enterprise Manager console cannot work.
For Windows NT 4.0 Enterprise Manager, I have key in default administrator sysman, password oem_temp, and connect to mamagement server hangng (my linux database server). An error message display 'VTK-1000 Unable to connect to the management server hangng. Please verify that you have entered the correct host name and the status of the Oracle Management Server.'.
What's wrong with both Oracle 8i Management Server in linux database server and windows nt 4.0 server. Is there any problem for Oracle Management server console to connect to red hat linux database server?[email protected] wrote:
I need to confirm that I will be able to connect an Oracle 11g R2 client (administrator install) to an Oracle 8i DB before i bother trying to setup such a scenario?Don't waste your time. It won't work. It simply results in an error.
I saw another thread that mentioned a patch level required for 8i to let the 10g client connect. Is there such a patch level needed for 11g clients as well?There is no such patch for 8i which allows 11g client to connect. -
Oracle command line to connect to a database directly from a client machine
Hi,
I need to connect from a Client machine to a database present on the Database server.
Client: Windows 7 32 bit/ 64 bit
Server where DB is installed: Windows 2008, Oracle 11.xg
I need a command line option that will connect to a database say 'Test' from the command line. I want to put that command in a batch file / exe and call it from there.
I have tools like SQL Developer and dbForge but was unable to do it. Could I have some help on this.
I am a fresher with Oracle and I would appreciate detailed steps. Thanks very much in advance.
VincentVincent,
There is a few steps you want to perform, first of all tell me where is your client database server and where you want command line to use Oracle SQL command line.
Regards,
Hunain Khanani -
Unable to connect to a database on one server using oracle client on anothe
Hi,
I am trying to connect to a database on zodiac server (10.180.173.201), from client installed on pluto server (10.180.173.203). But its giving the below error:
bash-2.05$ sqlplus CTEMEA_MWEL3/payplus@ctftdb1
SQL*Plus: Release 11.2.0.2.0 Production on Wed Mar 28 15:57:22 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-21561: OID generation failed
I went through online help but they were not clear.
kindly suggest
-AzadHi,
entry is there. But when i changes the oracle home path to that of the previous client i am able to login.
But when i set the oracle home path of 11g client its giving error.
Tks,
-Azad -
Need to test db connectivity from Oracle 8.1.6 NT client
Our applications run on Windows NT servers and connect to the Oracle db server through an Oracle 8.1.6 NT Client. The Oracle db server is running Oracle 8.1.6.2 on HPUX 11.0. I am using commands in a batch file to restart the application services on the NT server when the database is brought down. Before starting the services back up I need to be able to make sure that the database is up. I was using the tnsping command to do this, but I found out that tnsping gives an 'OK' response when the listener is running and the database is down. I need something that works like tnsping, but tests for connectivity to the database, not just the listener.
I appreciate any help anyone can give me.
The following is the code from the batch file:
REM ******************************************************
REM Stop the TM Proc Mon Service
net stop TMProcMonSrvc
REM ******************************************************
:CHECKDB
REM Check the connectivity to the database
tnsping tm52ut
REM Check to see if the tnsping was successful (=0)
IF %ERRORLEVEL%==0 GOTO STARTTM
GOTO CHECKDB
REM ******************************************************
:STARTTM
REM Start the TM Proc Mon Service
net start TMProcMonSrvc
REM ******************************************************
:EXIT
exitUse sqlplus. Use a bogus username/password (if and watch out for the Invalid username error. If you get an invalid username/password error then the db is up else it is down. Suggestion: It would be much easier to write a wsh script that uses ADO to connect to the db. Batch files do not give you much control over the shell.
-
Oracle client 8i connecting to one node only
Hello all,
I had 2 node RAC database setup, in which when a person in development team tries to connect to the RAC database via oracle client,He can able to connect to one node only,when i tried tnsping80 utility it showing one VIP address
He using oracle 8i client on windows7
Database is 10G RAC and load balance is on in both database and client
please provide the solutionHi,
Also I am not sure whether 8i client is certified with 10g database or not.
Do you have a metalink account. Read this Doc ID 207303.1
Regards
Maybe you are looking for
-
How can i restore info from my hard drive to my new mac
I have an "old" black macbook, that I have backed up on an external hard drive using time machine. I recently got a new (aluminum) macbook and i want to transfer my data from my hard drive to my new computer (itunes library, photos, etc...). I do N
-
Linking to file in site folder using recordset in dynamic table
I have a dynamic, repeating table that lists recordsets from a database. I would like to add a column to the table that contains a link to a file in a folder contained on the site. The name of the file used will be the same as one of the recordset
-
It's the 21.5 iMac enough powerfull?
Hello guys! I've got some questions. I decide to buy an 21.5 imac 2.9ghz i5 (2013 october model), i will play a lot of games, editing videous, 3D animations and more. I like the Mac os very much and the fact that it's simple am powerfull no more cabe
-
Do not install BB Desktop on Windows XP.
The BlackBerry Desktop software (current version 501) is of no use and have cost me and many colleagues so much time and nerves that I have asked the shop where I have bought the BlackBerry 9700 (which is of good use) to warn other customers to insta
-
Is it possible to import disc at once with markers to the tracks?
I now have to import my cd's twice. Once, so I have access to all the tracks and once for the disc at once. All I want is to be able to play the album like a CD. Listen to the thing as a whole and have access to each track if I wish. Why can't apple