Database link during the updating of the validation
Hello everyone,I am trying to create a materialized view using a link of database as a connection between two oracle databases.
The data source must be oracle 10.2.0.3 and destination must be a 10.2.0.4 database.
There is in principle no problem to create materialized views that serves the database connection link.
So especially on request refreshes the excellent work.
The only thing that doesn't work is one on materialized view fast commit refresh.
Oracle is the following:
Error report:
SQL error: ORA-12054: cannot set the attribute ON COMMIT refresh for the materialized view
12054 00000 - "cannot set the refresh attribute COMMIT for the materialized view.
* Cause: The materialized view did not meet the requirements for update to
moment of validation.
* Action: Specify only valid options.
In addition, I have to say, that there is a log table.
The remote user has all rights on the table itself and the table of the newspaper (for testing purposes).
I read on the difficulties concerning the links to the database and validation in metalink materialized.
So, can someone tell me, if the problem is still present, or if I do something bad terrribly?
Any serious comment on this topic would be great.
Cann't you use commit to MV based on a remote table. Instead of you commit set refresh interval (NEXT section).
Tags: Database
Similar Questions
-
Windows genuine error 0x8DDD100A during the validation of Windows XP
Windows give error 0x8DDD100A during the validation of windows Xp Professional SP3
Check your region settings and Date/time in Control Panel - you are showing an error of clock synchronization.
-
Windows give error 0x8DDD100A during the validation of windows Xp Professional SP3
Windows give error 0x8DDD100A during the validation of windows Xp Professional SP3
Diagnostic report (1.9.0027.0):
-----------------------------------------
Validation of Windows data-->
Validation status: sync clock error
Validation code: 10
Code of Validation caching: n/a
Windows product key: *-* - XC4Q9 - W7RTD-7Q8G6
Windows Product Key hash: Py7sqDcPBx6etfYqog5bPl/YZ9E =
Windows product ID: 76487-OEM-2211906-00826
Windows product ID type: 2
Windows license Type: OEM SLP
The Windows OS version: 5.1.2600.2.00010100.3.0.med
ID: {5DBB45BE-2BA5-44AD-92B3-2FE66CB59B95} (3)
Admin: Yes
TestCab: 0x0
LegitcheckControl ActiveX: Registered, 1.9.42.0
Signed by: Microsoft
Product name: n/a
Architecture: n/a
Build lab: N/A
TTS error: n/a
Validation of diagnosis: 025D1FF3-230-1_E2AD56EA-765-d003_E2AD56EA-766-0_E2AD56EA-134-80004005
Resolution state: n/aGiven Vista WgaER-->
ThreatID (s): n/a
Version: n/aWindows XP Notifications data-->
Cached result: n/a, hr = 0 x 80070002
File: Yes
Version: 1.9.9.1
WgaTray.exe signed by: n/a, hr = 0x80004005
WgaLogon.dll signed by: n/a, hr = 0x80004005OGA Notifications data-->
Cached result: n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002
OGAExec.exe signed by: n/a, hr = 0 x 80070002
OGAAddin.dll signed by: n/a, hr = 0 x 80070002OGA data-->
Office status: 109 n/a
OGA Version: Registered, 2.0.48.0
Signed by: Microsoft
Office Diagnostics: B4D0AA8B-604-645_025D1FF3-230-1Data browser-->
Proxy settings: N/A
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
Default browser: C:\Program Files\Mozilla Firefox\firefox.exe
Download signed ActiveX controls: fast
Download unsigned ActiveX controls: disabled
Run ActiveX controls and plug-ins: allowed
Initialize and script ActiveX controls not marked as safe: disabled
Allow the Internet Explorer Webbrowser control scripts: disabled
Active scripting: allowed
Recognized ActiveX controls safe for scripting: allowedAnalysis of file data-->
Other data-->
Office details:{5DBB45BE-2BA5-44AD-92B3-2FE66CB59B95} 1.9.0027.0 5.1.2600.2.00010100.3.0.med x 32 *-*-*-*-7Q8G6 76487-OEM-2211906-00826 2 S-1-5-21-1232634059-1876962941-2206964983 Sony Corporation ,VGN-AR11M Phoenix Technologies LTD. R0130J6 20060626000000.000000 + 000 Sony Corporation, Sony Corporation, Sony Corporation 2BD13F07018400FE 0809 0409 New Zealand Standard Time(GMT+12:00) 0 2 Corporation Sony VAIO VGN - AR series 109 License data-->
N/AWindows Activation Technologies-->
N/A--> HWID data
N/AActivation 1.0 data OEM-->
BIOS string matches: Yes
Marker of the BIOS string: 1FF90:Sony Corporation | 1FF90:Sony company ITCNC
Marker of OEMBIOS string. DAT: Sony Corporation, Sony Corporation, Sony CorporationActivation 2.0 data OEM-->
N/ACheck your region settings, Date and time in Control Panel - you are a clock synchronization error.
-
I mounted the ISO 6.0 VCSA, installed the Plugin for integration of customer and am trying to run the VCSA Upgrade Wizard. However, after completing step 4, the wizard hangs during the process of 'Validation '. In the web console, a JavaScript error about 20 seconds in the validation process, and the continuous Wizard never appears.
It seems that we will hit a bug, but I don't know what is the root cause. We have CA-signed SSL certificates deployed on our VCSA 5.5 by using the procedure described in the KB.
The JavaScript error in full is as follows:
"Error: ele.resolution is null.
requirementMismatchCheck / < @file:///E:/vcsa-setup.html:47:26506
.each@file:///E:/VCSA-Setup.html:20:22403
requirementMismatchCheck@file:///E:/vcsa-setup.html:47:26376
preUpgradeErrorCheck@file:///E:/vcsa-setup.html:47:19450
qFactory/defer/deferred.promise.then/wrappedCallback@file:///E:/vcsa-setup.html:27:13630
qFactory/ref /.. .then / < @file:///E:/vcsa-setup.html:27:15013
$RootScopeProvider/this. $get < /Scope.prototype.$eval@file:///E:/vcsa-setup.html:27:23775
$RootScopeProvider/this. $get < /Scope.prototype.$digest@file:///E:/vcsa-setup.html:27:21624
$RootScopeProvider/this. $get < /Scope.prototype.$evalAsync/ < @file:///E:/vcsa-setup.html:27:23938
completeOutstandingRequest@file:///E:/vcsa-setup.html:25:12127
Browser/self.defer/timeoutId < @file:///E:/vcsa-setup.html:25:15371
"
A screenshot is attached.
Replace the certificate turned out to be a little more work than expected. I created a new certificate (signed by our internal CA) with subjectAltName DNS =(vcenter fqdn) and = (vcenter ip) IP. According to the documentation for VMware, we only need a few commands to obtain these certificates installed, but nevermind:
/ usr/sbin/vpxd_servicecfg change chain.pem rui.key certificate
has failed with error VC_CFG_RESULT = 650 code ("vCenter Server is unable to re-encrypt its various configuration settings", see http://kb.vmware.com/kb/2057248). I also replaced the certificate of service inventory according to the documentation, but the vmware-vpxd service would not start again. The /var/log/vmware/vpx/vpxd.log file has an explanation:
[- info "utilvpxdVdb"] [VpxdVdb::SetDBType] DSN connection: VMware VirtualCenter with vc username
[- error "commonvpxCrypt"] [VpxKey::Decrypt] broken crypto: error: 0407109F:rsa routines: RSA_padding_check_PKCS1_type_2:pkcs decoding error
[- error "commonvpxCertificate"] [VpxdCert] Unable to decrypt the password: key to encrypted data application failed (probably the wrong key)
[- error "utilvpxdVdb"] [VpxdVdb::SetDBType]: database error: ODBC error: (00000).
[- error "Default"] Error obtaining configuration information from the database
[- error "vpxdvpxdMain"] [Init] Init failed: VpxdVdb::Init (VpxdVdb::GetVcVdbInstId (), false, false, NULL)
In other words, the database password cannot be read. Since the VCSA, the password is available in clear of /etc/vmware-vpx/vcdb.properties we can just run vpxd Pei to encrypt the password again in the vpxd configuration file. This does not solve the problem with vpxd immediately although:
[- info "utilvpxdVdb"] [VpxdVdb::SetDBType] DSN connection: VMware VirtualCenter with vc username
[- info "Default"] [VdbSchemaLoader::LookupSchemaFromDB] Schema information and responsible for DB index
[- info "utilvpxdDbSchemaHash"] [VpxdDbSchemaHash::GetSchemaFilename]: sqlDir: / usr/lib/vmware-vpx/sql /.
[- info "utilvpxdDbSchemaHash"] [VpxdDbSchemaHash::CheckSchema]: schema file: /usr/lib/vmware-vpx/sql/VCDB_PostgreSQL.sql
[- error "commonvpxCrypt"] [VpxKey::Decrypt] broken crypto: error: 0407109F:rsa routines: RSA_padding_check_PKCS1_type_2:pkcs decoding error
[- error "commonvpxCertificate"] [VpxdCert] Unable to decrypt the password: key to encrypted data application failed (probably the wrong key)
[- info "linuxvpxLdap_linux"] [LdapBackup] By making sure LDAP instance VMwareVCMSDS is running
[- info "linuxvpxLdap_linux"] [LdapBackup] Checking service ldap for the race
[- error "linuxvpxLdap_linux"] [LDAP client] Could not bind to LDAP with UtilisateurDN = cn = Administrator, dc = virtualcenter, dc = vmware, dc = int: 0 x 53 (server does not run)
[- error "linuxvpxLdap_linux"] [LdapBackup] A new attempt to link (1/10 attempts) in 10 seconds
Now the problem is with the LDAP (SSO) password. We will re-encrypt that hand as well. Start by getting the SSO return of decryption password using the old key:
grep "^ mot_passe =' /etc/vmware-vpx/instance.cfg.certChange |" Cup-c 9 - | TR-d '-' | Base64 d | Python-c "import sys".
data = sys.stdin.read)
data_len = len (data)
I'm in range (data_len):
sys.stdout.Write(Data[data_len-i-1])
" | OpenSSL rsautl-/ssl/old.key inkey - pkcs - decrypt
Then re - encrypt the password with the new key:
echo - n decrypted word of past | OpenSSL rsautl-/etc/vmware-vpx/ssl/rui.key inkey - pkcs - encrypt | Python-c "import sys".
data = sys.stdin.read)
data_len = len (data)
I'm in range (data_len):
sys.stdout.Write(Data[data_len-i-1])
" | Base64-w0 | SED / = / \ / g ='
We put this value encrypted as mot_passe = in the configuration etc/vmware-vpx/instance.cfg file.
Today, vmware-vpxd will start correctly (I rebooted just to be sure) and the VCSA Upgrade Wizard migrated from the instance, including the complete inventory, without problems. Now all that remains is to find How to install customized VCSA 6.0 SSL certificates.
-
Using the database link in the applications
Hello
I just configured and created a PUBLIC database link on my oracle 10g. Can I use it with success of sqlplus do some like select simple:
"SQL > select * from table"@dblink ".
The query returns the result as expected.
Now, I would like to use this public link in my applications, but the problem is that the link seems to be only available in the SYS schema.
Ho can I access to a schema?
In other words, to do some select (and insert) of my applications APEX by using the link to the db. If I try to select said, all I get is
ORA-02019: description of the connection to the remote database not foundOK, thanks all for the help, I found the problem.
It seems that I created the link of database public and not public.I gave both of them and re - create public database link and now it works.
Thanks for the help.
-
How to create the database link between the production and the test server
You will need to create a link between Test and prod DB access. We need only select access from user@prod to user1@test.
Could someone please answer for example?
Thank you
sRIIYou will need to create a link between Test and prod DB access. We need only select access from user@prod to user1@test.
Could someone please answer for example?
If test for prod
create public database link to_prod connect to the user identified by password using 'to_prod ';
Check that to_prod is directed to your production database.
-
Failed to create database link when the password has a special character
I am trying to execute the following statement in sqlplus
create alpha link database to connect to scott identified by tiger! using "db_alpha".
Note that the password of the account has an exclamation mark inside. the command fails. I tried to put the password in quotation marks (') and double quotes (""). Working the double quotes, but then the link does not work properly.
We are required to have a special character in our passwords... so, how can I get this special character in the password for the database link?
Thanks in advance,
DarrenDarren2 wrote:
#2 attempt:
SQL > create database link BLAH connect to user2 identified by 'tiger!' using 'BLAH ';
Created database link
SQL > salt {color: black} {color} ect {color: black} {color} * en {color: black} {color} om my{color:black}{color}_{color:black}{color}table{color:black}{color}@BLAH;
Salt {color: black} {color} ect * en {color: black} {color} om my{color:black}{color}_ta{color:black}{color}ble{color:black}{color}@BLAH
*
ERROR on line 1:
ORA-02085: link on the database of BLAH. AAA. BB. CCC. DDD connects to
DEVDB. AAA. BB. CCC DDD.For me, that makes no sense. If the link does not work... How did get the "invalid username/password" in the #1 attempt?
Learn about the GLOBAL_NAMES initialization parameter. Default GLOBAL_NAMES = TRUE, which means the database link is required to have the same name as the database in which it connects. Database name DEVDB link or define GLOBAL_NAMES = FALSE:
SQL> create user Darren2 2 identified by "tiger!" 3 default tablespace users 4 quota unlimited on users 5 / User created. SQL> grant create session to Darren2 2 / Grant succeeded. SQL> create table Darren2.tbl as select 'Darren2' name from dual 2 / Table created. SQL> create database link sol10@Darren2 2 connect to Darren2 3 identified by "tiger!" 4 using 'sol10' 5 / Database link created. SQL> create database link sol11@Darren2 2 connect to Darren2 3 identified by "tiger!" 4 using 'sol10' 5 / Database link created. SQL> select * 2 from tbl@sol10@Darren2 3 / NAME ------- Darren2 SQL> select * 2 from tbl@sol11@Darren2 3 / from tbl@sol11@Darren2 * ERROR at line 2: ORA-02085: database link SOL11.REGRESS.RDBMS.DEV.US.ORACLE.COM@DARREN2 connects to SOL10.REGRESS.RDBMS.DEV.US.ORACLE.COM SQL> select value from v$parameter where name = 'global_names' 2 / VALUE -------------------------------------------------------------------------------- TRUE SQL> select * from global_name 2 / GLOBAL_NAME -------------------------------------------------------------------------------- SOL10.REGRESS.RDBMS.DEV.US.ORACLE.COM SQL> alter session set global_names=false 2 / Session altered. SQL> select * 2 from tbl@sol10@Darren2 3 / NAME ------- Darren2 SQL> select * 2 from tbl@sol11@Darren2 3 / NAME ------- Darren2 SQL>
I don't have two databases, so in my sol10 database I create two database links sol10@Darren2 and sol11@Darren2 both pointing to itself (back to sol10 database). That's why I use qualifiers link db. The two links you connect as a Darren2 user with password Tiger!. The global database name is sol10 and initialization of setting global_names = true. As you can see what global_name (sol10) corresponds to the name of the link in sol10@Darren2 db (again, the link name is sol10 and Darren2 is qualifying link) select vai db link works OK. But the sol11@Darren2 link fails because the name sol11 link does not match the name db global sol10. However, as soon as I change global_names false, sol11@Darren2 works fine. It will be useful.
SY.
Published by: Solomon Yakobson on January 1st, 2009 08:41
-
Hiya,
I'm test ss4 Designer to create a simple form that is submitted by e-mail.
Everything works except for my text boxes... They are implemented in the form of required fields, but because I've included the text by default with the instructions, if you press on submit without changing the fields, they will not validate as empty and does not throw an error message.
I searched the forums all day for a fix, but I'm too new to understand where to put the code, etc. I tried to add
' text {! = placeholder}' in the validation box but model that does not work...
All I have is LiveCycle Designer and I'm on windows 7. Thanks for your help!
Hello
There is a script editor. If you select the field, then you will be able to select the event in the 'Show' taking place (above the 'Design' tab), and then the code window will be active and you can enter your code. You can extend the default value of a single line.
Good luck
Bruce
-
Diversion of Web site during the validation of my window Vista
I tried to validate my windows vista Home premium through the URL http://www.microsoft.com/genuine/validate/validatenow.aspx?displaylang=en
several times, but was redirected to the site http://search.microsoft.com/?mkt=en-sg
I contacted the service center and support the customer to 8008523543 for that matter but very disappointed
to receive the answer as why should I validate my software? They don't know what are the benefits of using genuine software?
I have also posted this question on the looks of communities but gave a link telling me to download a tool to validate
the software. I am holder than genuine software for you and why can't validate the site given by your technical support service
staff. Also, when I type www.ap.dell.com, the Web page was redirecting to www1.ap.dell.com using IE 7 and 8 respectively.
I'm so disappointed to know that this Web page was created on server belong to Singapore and the data provider
comes from my ISP Starhub. I just hope that microsoft could provide a good explanation on the Singapore networking works. I'm rather confused how to www1 www Web site. This is the website of true, or some raw cyber trying to block my access on getting my valid windows?
Please advice. Thank you.
Hello
This article explains all the possible ways to activate Windows Vista: http://support.microsoft.com/kb/940315
I suggest you call to the number indicated in the article to activate the copy of Vista.
Hope this information is helpful
-
Part of lot during the validation input error
Directions for this error please? Check notes 461269.1 but without success
HR_6881_HRPROC_ORA_ERR
SQLERRMC ORA-20001: lot lines Validation failed.
Please see the batch for more information.
ORA-06512: at "APPS.HR_UTILITY", line 939
ORA-06512: at the 'APPS '. PAYPLNK', line 4805
ORA-06512: at line 2
SQL_NO 4805
Table-name payplnk.validate_lines
APP-PAY-06881: error ORA-20001: lot lines Validation failed.
Please see the batch for more information.
ORA-06512: at "APPS.HR_UTILITY", line 939
ORA-06512: at the 'APPS '. PAYPLNK', line 4805
ORA-06512: at line 2
occurred in the payplnk.validate_lines table at the location 4805
Cause: an oracle error occurred. The failure has been reported on table payplnk.validate_lines the half-timbered 4805, with error ORA-20001 text: lot lines Validation failed.
Please see the batch for more information.
ORA-06512: at "APPS.HR_UTILITY", line 939
ORA-06512: at the 'APPS '. PAYPLNK', line 4805
ORA-06512: at line 2
.
Action: Contact your technical support representative.
Thank you
sheebs
You can check on your screen formula or backend
Select * from ff_formulas_f
where formula_name like 'PQP_VALIDATE_DATE ';
-
I enter a loop during the validation of monthly software license
I have photoshop cc for photographers. Today, asked me to connect with my Adobe id. The system then tells me its ok and I can use photoshop for another month. Then I start immediately to get a window in the middle of my screen that says: "validation software license. This window remains for about 2 seconds and disappears for about 2 seconds, then reappears and so on and so forth... There is no way out. I have to restart to get rid of this window. Need a fix for this young... I can't use photoshop until trhis is resolved.
Terry Gibson
It was the only solution that worked for me: Martin Cohen
-
Why get ORA-00942 during the validation of PL/SQL cursor
The database is 10 gr 2.
ST_PKG_UTILITIES contains a procedure called "p_insert_update_person_info".
The procedure includes a cursor that selects a view 'CDS_CIS_ETHNICITY '.
I am logged in as the owner of the schema of the package. The view lies in another schema, but I have the right to SELECT on the view.
When I try to compile the package, I get "ORA-00942: table or view does not exist", pointing to the CDS_CIS_ETHNICITY view.
However, if I SELECT directly from the view using a SQL window, it returns information without problem.
Code view is a SELECT statement on a table across a db_link. However, given that I can select directly from the view, I am not clear why I would get the error because the view is selected, within PL/SQL.
Note that the table was originally, on the same server that the schema that I am now, so no db_link was necessary. When the schema of the table has been moved to a new server, we added the db_link. However, the package was never changed, we were careful to reproduce the names of objects that are used by the package, when building the db_link.
Ideas on this issue would be appreciated.
Thank you
VP
Published by: user618800 on December 9, 2008 14:53Hello
Grant privileges directly to the owner of the whole.
Looks like the privileges that you have about this point of view have been granted to a role, and the owner of the package has this role.
Roles do not count inside stored procedures. You must have privileges granted directly to the owner (or to the PUBLIC, which probably does not apply in this case). -
During the validation of the rules in the Calc Manager, facing the common error below
Hi gurus,
2011-12-20 20:14:14, 808 [ACTIVE] ExecuteThread FATAL: '0' for the queue: com.hyperion.plan 'weblogic.kernel.Default (self-adjusting).
ning.calcmgr.HspCalcMgr - cannot run validateRule(). Failed to retrieve defined custom functions or macros from of the
Essbase server. Ensure that Hyperion Essbase is running and the application.Yes calc Manager will be more than likely on the application server.
See you soon
John
http://John-Goodwin.blogspot.com/ -
Hello.
I read a lot of discussion and documentation on this subject, but the things I'm trying to work.
I want to connect from Oracle to SQL Server. I did the following steps:
(Taking into account, that I want to connect to a database SQL SERVER called GS2PIASQL03\INSTANCE3)
Create the odbc connection in the oracle called running GS2PIASQL03 Server
Name: GS2PIASQL03
Description: GS2PIASQL03
Server: GS2PIASQL03\INSTANCE3
With authentication sql server using a login ID and passwotrd entered by the user
Connect to sql server to obtain default settings for the configuration option extra
User: rema_read
Password: xxxxxxx
Master default database
Use ANSI quoted identifiers
Use nulls, padding and ANSI warnings
Perform the conversion of character data
Finishing and test the source data before TESTS COMPLETED successfully.
Content of LISTENER.ora
listener.ora # Network Configuration file: S:\app\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = S:\app\oracle\product\11.2.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:S:\app\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
(SID_DESC =
(SID_NAME = CRM)
(ORACLE_HOME = S:\app\oracle\product\11.2.0\tg_1)
(PROGRAM = S:\app\oracle\product\11.2.0\tg_1\bin\dg4odbc.exe)
)
(SID_DESC =
(SID_NAME = CRMSVC)
(ORACLE_HOME = S:\app\oracle\product\11.2.0\tg_1)
(PROGRAM = dg4odbc)
)
(SID_DESC =
(GLOBAL_DBNAME = REMA)
(ORACLE_HOME=S:\app\oracle\product\11.2.0\dbhome_1)
(SID_NAME = REMA)
))
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = SLPIAM29)(PORT = 1521))
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
)ADR_BASE_LISTENER = S:\app\oracle
Content of the TNSNAMES file. ORA
tnsnames.ora # Network Configuration file: s:\app\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
GS2PIASQL03 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)
(HOST = 172.16.61.18)
(PORT = 1521)
)
(CONNECT_DATA = (SID = GS2PIASQL03))
(HS = OK)
)Content of initGS2PIASQL03.ora
HS_FDS_CONNECT_INFO = GS2PIASQL03
#HS_FDS_SHAREABLE_NAME = C:\Windows\System32\odbc32.dll
HS_FDS_TRACE_LEVEL = Debug
Stop and start receiving and then create a database link running the following command in Toad:
CREATE THE DATABASE LINK TEST_SQLS PUBLIC
To CONNECT to "read_rema".
IDENTIFIED BY 'password '.
WITH THE HELP OF 'GS2PIASQL03 '.
/
When I test the link of database (with the option of Toad) or run a query such as:
Select * of sys.sysobjects@TEST_SQLS;
I get the same error
*********************************************************************
Link: "TEST_SQLS".
Error: ORA-28545: error diagnosed by Net8 when connecting to an agent
Cannot retrieve the text of the message NETWORK/NCR 65535
ORA-02063: preceding 2 lines of TEST_SQLS
*********************************************************************
Please I really need your help I really really need this to work and I'm completely lost know.
I look forward to hearing from you soon.
Vinny.
Hey Vinny,
No, the host tnsnames.ora must not refer to the place where the SQL * Server database is active. The tnsnames.ora entries is intended to guide the user who calls the database link by using this entry to a listener running on the computer and the port in the entry. The listener then directs the user to everything that is referenced by the SID in the listener. If it is an Oracle database, then you are linked to the database. If this is an entry of gateway referenced by having the (HS = OK) then you are linked to the gateway which then liaises with what non-Oracle database is accessible through the gateway of the option. You cannot directly connect to the non-Oracle database by using the IP address of machine non-Oracle in tnsnames.ora. You need to go through the door entry referenced by the listener to establish the connection.
For the listener, you can set the path to the ORACLE_HOME of the gateway or RDBMS. However, the best option is to give the listener a different name from the default, so for the gateway, you might have-
SID_LIST_LISTENER_GTW =
(SID_LIST =
(SID_DESC =
(SID_NAME = GS2PIASQL03)
(ORACLE_HOME=S:\app\oracle\product\11.2.0\tg_1)
(PROGRAM = dg4odbc)
)
)
LISTENER_GTW =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = SLPIAM29)(PORT = 1525))
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1525))
)
)
You can then use-
stop LISTENER_GTW
Start LISTENER_GTW
Kind regards
Mike
-
Use the 9i on a database 8i database links?
Just a really quick question... I can't easily find an answer...
If I connect to a database to 8i a link of a 9i database database, can I then use syntax on the 8i database 9i, or am I still hold to the 8i syntax?NO.
The database link passes the SQL to the remote database, which will deal with SQL.
The remote 8i database will not be able to interpret the syntax 9i.
Also, you can not use regular expressions in your 9i database by sending them through a database link. The SQL sent to the remote database will not scan in the remote database.But, by all means, try it. If in doubt, try it.
Maybe you are looking for
-
When I download a video or a file, the alert when you have finished its is very strong and unpleasant. How can I change this alert?
-
I'm trying to download the Mac of Skype on my Macbook, but whenever I try downloading, the Windows file is downloaded to my Mac and not the Mac version. I tried this several times now, and I double checked to make sure that I'm clicking on the Mac ve
-
HP Clubhouse 15-p002 - problem with HARD drive replacement
Hello, I want to replace the hard drive of a laptop computeron the old hard drive, I got Widnows 8.1 (the hard drive is destroyed)on the new is windows 7 (my hard drive of girlfriend)When I put the hard drive with windows 7 I see a message that it co
-
I have a printer HP Deskject 2400. When I try to print using Windows Internet Explorer 9 I get a script error and cannot print.
-
Help with installation of the digital camera
There is an error when I try to download pictures from my camera to the computer. How can I fix this or how to install the device?