动态网站制作指南 [  QQ表情  ]
[ 投票调查 ]
[ 企业邮箱 ]
[ 网站空间 ]
网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
ASP源码 | .Net源码 | PHP源码 | JSP源码 | JAVA源码 | CGI源码 | VB源码 | C++源码 | Delphi源码 | PB源码 | VF源码 | 汇编 | 服务器
电脑书籍下载:程序设计书籍 | 数据库教程书籍 | 平面与多媒体书籍 | 网络通讯书籍 | 系统管理书籍 | 网络安全书籍 | 认证考试书籍
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > 数据库 > Oracle教程
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
数据库:数据库教程,数据库技巧,Oracle教程,MySQL教程,Sybase教程,Access教程,DB2教程,数据库安全,数据库文摘
文章搜索服务
邮件订阅
输入你的邮件地址,
你将不会错过任何关于:
[ Oracle教程 ]的信息



本月文章推荐
.怎样做8i完全(备份)与完全(恢.
.在Oracle 10g中创建Report Server.
.如何在两个oracle服务器之间交换.
.Oracle Events(个人参考资料).
.官方消息:Oracle 10g OCP DBA的.
.Oracle分析函数学习笔记1.
.快速删除ORACLE重复记录.
.浅谈备份策略.
.WIN2000下ORACLE计划任务自动备份.
.Linux多重引导器.
.ERP performance tuning 第六天.
.Oracle培训热点问题.
.浅谈Oracle 10G 闪回恢.
.在DB2中如何實現Oracle的相關功能.
.启动postfix的时候提示unsupport.
.在Oracle数据库里用存储过程定期.
.构建高性能Oracle运行系统的原则.
.ORACLE自带的JDBC源代码解析.
.Fravo Oracle 1Z0-007 v1.0.
.Oracle9i中如何建立不同字符集的.

TOP 20 ISSUES FOR ALL GATEWAYS

发表日期:2008-2-9 |



实际上只有13个!
Oracle TRANSPARENT GATEWAYS 
---------------------------  
TOP 20 ISSUES FOR ALL GATEWAYS 
------------------------------   
CONTENTS: 
=========  
1.  ORA-12203 when Accessing TG4DB2/400
2.  ORA-12500 when accessing TG4DB2/400
3.  ORA-03114 when accessing TG4DB2/400
4.  PGA-29010 when using PG4APPC 
5.  RC=-9101  when running TG4DRDA g4drutl BIND Utility 
6.  ORA-01002 when using ANY Gateway 
7.  Configuration of TG4Sybase 
8.  ORA-12500 when using TG4Sybase 
9.  Configuration of TG4Informix 
10. ORA-12500 when using TG4Informix 
11. Configuration of TG4MSQL 
12. SQL0969 and ORA-12699 when using Access Manager for AS/400 
13. Using the SQL*Plus COPY command with Transparent Gateways   
PROBLEMS & SOLUTIONS:
=====================  
1. ORA-12203 when accessing TG4DB2/400      
Problem:  
ORA-12203 Unable to connect to destination           
Solution:       
The actual error message depends on the exact version of    
SQL*Net.   In approximately 100% of cases, the cause is a    
TCP/IP configuration error on the AS/400.  The    
configuration error will not stop telnet, FTP, ping, or    
any other TCP/IP applications from working, but it will    
stop the Gateway from working.            
You MUST have a fully qualified host name for the AS/400 in    

it's host names table.     
References: 
===========  
Installation and User's Guide (IUG); pages 5 through 15   
2. ORA-12500 when accessing TG4DB2/400     
Problem:  
TNS:listener failed to start a dedicated server  process     
Solution:     
This usually results from an authorization or device     
configuration problem.  It is also more likely to occur    
where a Gateway has been running sUCcessfully for a while    
and something in OS/400 has been changed.     
Stop and restart the Gateway subsystem.  Look for error     
messages in the QSYSOPR message queue and the STARTUP job     
log about devices called ORACLEL and ORACLES, where ORACLE    
is the Gateway subsystem name.  If there are no error     
messages, then try a select through the Gateway and look     
in the LISTENER job log for error messages.  
The error    
messages should identify what is wrong and indicate what    
is required to fix the problem.     
In some circumstances, there can be problems with the IBM    
CPI-C code in the QSYS2 library.  This stops the LISTENER    
from talking to the server jobs and can be recognized by    
the LISTENER and/or server jobs sticking in CPCW state.    
3. ORA-03114 when accessing TG4DB2/400     
Problem:  ORA-03114 not connected to Oracle, received when              

you try to connect to the gateway.      
Solution:        
You cannot connect directly to TG4DB2/400, nor any other    
Oracle Transparent Gateway.  Instead, you must define a     
database link, and access data in the remote database     
through the database link.     
For example, if you have an alias called as400 in your    
tnsnames.ora file then you cannot perform:        
sqlplus user/passWord@as400     
Instead, you should create database link as400 connect to    
user identified by password using 'as400' as follows:        
select * from library.file@as400;   
References: 
===========  
IUG pages 6 through 13   
4.  PGA-29010 when using PG4APPC      
Problem:  PGA-20910 communication error: CPI-C <func>                
failed, rc=<rc>, errno=<errno>       
Solution:      
There is a configuration or operational problem at the     
Gateway or the remote host.  The <rc> and <errno>      
combinations are platform specific.   
References: 
===========  
The most common causes for each platform are listed in the  
platform specific Installation and Configuration Guides (ICG).   
5.  RC=-9101 when running TG4DRDA g4drutl BIND utility      
Problem:  GDBERR: Following error occurred during BIND               
processing.  RC=-9101:  TG4DRDA v3.1.0.1.0 grc=0,               

drc=-30081 (839C,0001), errp= GDJICRD               
errmc=Initialize_Conversation(CMINIT) 24 0               
or similar errors produced during BIND processing.      
Solution:      
These errors generally indicate a Gateway or network      
configuration problem, or a physical network problem.       
There are many possible causes of the RC=-9101 error, some     
things to check are:      
a)  That there are no leading or trailing spaces on any of         
the gateway configuration file entries.       
b)  That ORA_NLS is configured in the gateway .gtwboot         
file, and that the value is an eXPlicit full pathname.         
substitution variables are not allowed or interpreted.     
c)  That the package name is not longer than the package         
name limit imposed by the remote database.       
d)  That the decimal separator configured in the Gateway         
matches that used by the remote database.      
e)  That DRDA_DISABLE_CALL=TRUE if the remote database is         
an AS/400.  
References: 
===========  
BUG:452199,  BUG:474194, BUG:517156  
Some of the drc codes are documented in the gateway IUG.  
Some of the errmc codes are the same for the Procedural Gateway as for APPC.   
The PG4APPC ICG documents the more common codes for each platform.  

All of the errmc primary return codes can be found in the  IBM CPI-C Reference.  
The errmc secondary codes are platform specific and not documented.   
6.  ORA-01002 when using any Gateway        
Problem:  ORA-01002 Fetch out of sequence received when you               
try to execute code similar to:                   
DECLARE cursor for select from table@gateway                  
OPEN cursor                  
loop                     
FETCH cursor                     
do anything                     
COMMIT                  
endloop        
Solution:      
While this code will execute against an Oracle database,     
it will not work with any Oracle Transparent Gateway.  
The     Gateways implement the ANSI behavior for cursors which      
means the COMMIT closes the cursor.  To make the code work     
you must move the COMMIT outside the loop.    
7.  Configuration of TG4Sybase      
Problem:  How do you configure the Oracle Transparent Gateway               
for Sybase?        
Solution:        
The Installation and Configuration Guide explains this      

in detail.  It also includes useful troubleshooting     
information for the most common configuration errors such as:     
ORA-12203 and ORA-12500.   References:
===========  
NOTE:47666.1  Describes installation and configuration of               
version 4.0 on Sun Solaris.   8.  ORA-12500 with TG4Sybase      
Problem:  ORA-12500 TNS:listener failed to start a dedicated               
server process        
Solution:      
This can be caused by Gateway or SQL*Net configuration errors.    
References: 
===========  
IUG pages 10 through 6 and pages 10 through 9    
9.  Configuration of TG4Informix      
Problem:  
How do you configure the Oracle Transparent Gateway               
for Informix?        
Solution:      
The Installation and Configuration Guide explains this      
very well and includes useful troubleshooting information     
for the most common configuration errors, such as ORA-12203     
and ORA-12500.   
References: 
===========  
NOTE:47414.1  
Describes installation and configuration of               
version 4.0.  It also describes some of the common               
problems and the documentation required by the Support               
Center to diagnose problems.   10. ORA-12500 with TG4Informix      
Problem:  ORA-12500 TNS:listener failed to start a dedicated               

server process        
Solution:      
This can be caused by gateway or SQL*Net configuration errors.   
References:  
===========  
IUG pages 9 through 13  NOTE:47414.1  
Describes installation and configuration of               
version 4.0.  It also describes some of the common               
problems and the documentation required by the Support              
Center to diagnose problems.     
11. Configuration of TG4MSQL      
Problem:  How do you configure the Oracle Transparent Gateway               
for Microsoft SQL Server?        
Solution:      See NOTE:44021.1 for detailed instructions.    
12. SQL0969 and ORA-12699 using Access Manager for AS/400      
Problem:  First use of STRSQL in a single AS/400 signon               
session with Access Manager works fine.                                     
Second use of STRSQL appears to work fine but               
there are errors in the joblog.                    
Third use of STRSQL fails with SQL0969 Error              
occurred while passing request to ard program.        
Solution:     
This is a problem with commitment control in Access Manager    

versions 1.2 and 1.3.  The problem only occurs when using    
Access Manager with STRSQL, it does not happen with compiled    
applications.     
There is a fix available, known as version 1.3.0.3.0, and it    
is included in version 1.3.1   
References: 
===========  
BUG:515996   
13. Using the SQL*PLus COPY command with Transparent Gateways      
Problem:  To copy data from Oracle to a remote database              
through a Transparent Gateway you cannot insert               
into remote@gateway select * from local;                
If you try this you'll receive an ORA-02025 error.                
Instead, you have to use the SQL*Plus COPY command,               
but the syntax required by the Gateway is not the               
standard syntax for the COPY command.         
Solution:      The syntax to use is:         
COPY FROM username/password@alias -        
INSERT remote@dblink -        USING SELECT * FROM local            
Where               . alias is an entry in your TNSNAMES.ORA for the                
local Oracle database              
. remote is the table in the foreign database              

. dblink is a database link to the foreign database                
through the gateway              . local contains the data to be copied          
Note that the '-' (minus sign) is needed at the end of each line as      
a continuation character.
上一篇:ORACLE使用LogMiner分析重做日志文件全部步骤 人气:556
下一篇:理解oracle的网络结构 解决你的连接问题 人气:479
浏览全部Oracle教程的内容 Dreamweaver插件下载 常用网页广告代码全集
  最新网站源码 最新软件下载
2008-7-24 Sablog-X v2.0 预览版
2008-7-24 帝国备份王EmpireBak 2008 正式版
2008-7-24 网趣网上购物系统时尚版 v8.2
2008-7-24 纵横B2B电子商务系统XYECS!B2B v
2008-7-24 e路小说小偷 v1.2.0723
2008-7-24 凌风美女图片站程序 v2.2
2008-7-24 TOM15电影收索程序
2008-7-24 清风信息自动采集生成系统 v1.0
2008-7-24 QQ邮箱编辑器 v1.0 (小小菜刀ASP
2008-7-19 UltraEdit 简体中文增强版 14.10
2008-7-19 CentOS 5.2 i386 LiveCD
2008-7-19 Snapture多功能相机 v1.4
2008-7-19 iAcces中文输入法 v1.0Build016
2008-7-19 Cookbook烹饪秘籍 v2.5
2008-7-19 苹果专用DVD转换工具 v1.1.59汉化
2008-7-19 Modem修复软件ZiPhone修改版04.0
2008-7-19 AgileMessenger即时通讯工具美化
2008-7-19 Sketches画图软件 v0.7b6破解版


  发表评论
姓 名: 验证码:
内 容:
[ 汉字翻译拼音 ] [ 广告代码 ] [ 符号对照表 ] [ 进制转换 ] [ 经典小工具 ] [ 个税计算 ] [ 汉字简繁转换 ] [ 普通单位换算 ] [ 公制单位换算 ]
[ 生辰老黄历 ] [ 国内电话区号 ] [ 国家代码与域名缩写 ] [ 文字加密解密 ] [ 健康查询 ] [ 万年历 ] [ 手机号码查询 ] [ ip搜索 ] [ Google PR查询 ]
业务联系 | 广告刊登 | 频道合作 | 投稿荐稿 | 联系方式 | 加入收藏 | RSS订阅
Copyright © 2000-2008 www.knowsky.com All rights reserved | 网络实名:动态网站制作指南 | 沪ICP备05001343号