且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Oracle错误"ORA-28759:打开文件失败"请求utl_http包时

更新时间:2022-03-18 21:49:57

UTL_HTTP.SET_WALLET()的文档关于路径有两点要说:

The documentation for UTL_HTTP.SET_WALLET() has two things to say about the path:

  1. 在Windows file:c:\WINNT\Profiles\username\WALLETS
  2. 上格式是这样的
  3. 必须可以从数据库服务器访问钱包路径.
  1. The format is like this on Windows file:c:\WINNT\Profiles\username\WALLETS
  2. The wallet path must be accessible from the database server.

很显然,您的代码在第一点上失败了,因为在file关键字和驱动器号之间有一个空格.

Clearly your code fails the first point, as you have a space between the file keyword and the drive letter.

也许第二点也适用:数据库服务器上是否有驱动器?

Perhaps the second point applies too: is that a drive on your database server?