在oracle数据库的机器上操作: 1.根据kb 193893, 在oracle里面建立两个视图,请使用sys账号。 脚本的默认路径在:oracle/ora92/rdbms/admin/xaview 2.建立两个视图以后,需要给这两个新建立的视图添加public权限: sql>grant select on v$xatrans$ to public with grant option; sql>grant select on v$pending_xatrans$ to public with grant option; sql>grant select any table to public;