无法从Biztalk连接到oracle [英] Cannot connect to oracle from Biztalk

查看:79
本文介绍了无法从Biztalk连接到oracle的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好


我在WinServer2003R2x64上使用biztalk server 2006。我的oracle版本是11.2.0.2安装在同一环境中的不同服务器上。我在biztalk服务器上安装了oracle客户端11g(11.2.0.1.0)。然后我创建了一个odbc系统dsn,提供了oracle
数据库凭据并测试了成功的连接。 biztalk服务器中的oracle客户端现在正在从oracle数据库成功检索数据。


然后我在biztalk服务器中安装了oracle适配器,创建并配置了oracle适配器。我已将完整权限分配给安装了客户端的oracle文件夹上的biztalk主机实例帐户。然后我创建了一个类型为OracleDB的接收
位置,提供了Adapter Required Properties(密码,PATH =< oracle文件夹,其中存在BIN文件夹>,服务名称=< DSN名称>,用户名)和民意调查sql select语句。我终于重新启动了hostinstance并启动了
的接收位置。最后  我在事件查看器中收到以下错误并禁用接收位置:


事件类型: 信息

事件来源:适用于企业应用程序的Microsoft BizTalk适配器

事件类别: 无

事件ID:  0

日期:  < date>

时间:  < time>

用户:   N / A

计算机: <服务器名称>

说明:

代理OracleDb启动


有关详细信息,请参阅"帮助和支持中心" http://go.microsoft.com/fwlink/events.asp


----- ----

事件类型: 错误

事件来源:适用于企业应用程序的Microsoft Biztalk适配器

事件类别: 无

事件ID:  0

日期:  < date>

时间:   ;<时间>

用户:   N / A

计算机: <服务器名称>

说明:

无法发送通知:System.Runtime.Remoting.RemotingException:基础连接已关闭:服务器上出现致命错误或客户端身份验证失败


服务器堆栈跟踪:

&NBSP;&NBSP; at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte [] buffer,Int32 offset,Int32 count)

  在System.Runtime.Remoting.Channels.SocketHandler.BufferMoreData()

   at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte [] buffer,Int32 offset,Int32 count)

  在System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte []缓冲区)

  在System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)

  在System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()

  在System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(即时聊天味精,ITransportHeaders requestHeaders,流requestStream,ITransportHeaders&安培; responseHeaders响应,流&安培; responseStream)

&NBSP;&NBSP ;在System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(即时聊天MSG)


<强>异常重新抛出,在[0]:

  在System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(即时聊天reqMsg,即时聊天retMsg)

&NBSP;&NBSP;在System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData,Int32 type)

  在Microsoft.BizTalk.Adapters.RuntimeAgentRemote.Poll(Int32 timeOut,String& data,String& transactionId)

  在Microsoft.BizTalk.Adapters.CBRuntimeAgent.Poll(Int32 timeOut,PollStatus& status)

  在Microsoft.BizTalk.Adapters.ReceiverEndpoint.ProcessWorkItem()


有关详细信息,请参阅 <强> http://go.microsoft.com/fwlink/events.asp 即可。



我打开了管理活动 在接收位置属性。在"OracleDB适配器向导"框中的"浏览"部分中,我展开了OracleDb - > < DSN名称>它没有显示任何内容并显示以下错误消息:


找不到Oracle(tm)客户端和网络组件。这些组件由Oracle Corporation提供,是Oracle 7.3(或更高版本)客户端软件安装的一部分。


您将无法使用此驱动程序直到这些组件已经安装。


请帮助我,并从biztalk服务器连接到oracle。非常感谢。



manibest

解决方案

< blockquote>

请在下面找到一个链接,其中包含有关发布oracle适配器和连接到数据库的详细信息



http://www.codeproject.com/Articles/20418/BizTalk-Oracle-Adapter-Installation


Hi there

I am using biztalk server 2006 on WinServer2003R2x64. My oracle version is 11.2.0.2 installed on a different server in the same environment. I installed oracle client 11g (11.2.0.1.0) on biztalk server. then i created a odbc system dsn, provided the oracle database credentials and tested the connection which was successful. the oracle client in biztalk server is now retrieving data successfully from oracle database.

Then I installed the oracle adapter in biztalk server, created and configured a oracle adapter. I assigned full permissions to the biztalk host instance account on the oracle folder where the client was installed. Then I created a receive location of type OracleDB, provided Adapter Required Properties (Password, PATH=<oracle folder under which the BIN folder exists>, Service name=<DSN name>, User name) and the poll sql select statement. I finally restarted the hostinstance and started the receive location. In the end  I receive the following error in the event viewer and get the receive location disabled:

Event Type: Information
Event Source: Microsoft BizTalk Adapters for Enterprise Applications
Event Category: None
Event ID: 0
Date:  <date>
Time:  <time>
User:  N/A
Computer: <server name>
Description:
Agent OracleDb started

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

---------
Event Type: Error
Event Source: Microsoft Biztalk Adapters for Enterprise Applications
Event Category: None
Event ID: 0
Date:  <date>
Time:  <time>
User:  N/A
Computer: <server name>
Description:
Failed to send notification : System.Runtime.Remoting.RemotingException: Underlying connection was closed: Either there was a fatal error on the server or client authentication failed

Server stack trace:
   at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Runtime.Remoting.Channels.SocketHandler.BufferMoreData()
   at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
   at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
   at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
   at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
   at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
   at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.BizTalk.Adapters.RuntimeAgentRemote.Poll(Int32 timeOut, String& data, String& transactionId)
   at Microsoft.BizTalk.Adapters.CBRuntimeAgent.Poll(Int32 timeOut, PollStatus& status)
   at Microsoft.BizTalk.Adapters.ReceiverEndpoint.ProcessWorkItem()

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

I opened the Managing Events  in receive location properties. In the OracleDB Adapter Wizard box, in the Browse section, I expanded OracleDb -> <DSN name> which showed me nothing and desplayed the following error message:

The Oracle(tm) client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3 (or greater) client software installation.

You will be unable to use this driver until these components have been installed.

Please help me in this and to connect to oracle from biztalk server. thanks a lot.


manibest

解决方案

Please find below a link which has details on seeting up the oracle adapter and connecting to DB

http://www.codeproject.com/Articles/20418/BizTalk-Oracle-Adapter-Installation


这篇关于无法从Biztalk连接到oracle的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆