Solving “javax.naming.NameNotFoundException: Unable to resolve ‘jdbc.SOAAppUserDataSource’ “ with Oracle SOA Suite 11g Adapter S
来源:互联网 发布:程序员买什么显示器 编辑:程序博客网 时间:2024/06/10 06:38
本文转载自:http://guidoschmutz.wordpress.com/2010/01/01/solving-javax-naming-namenotfoundexception-unable-to-resolve-jdbc-soaappuserdatasource-with-oracle-soa-suite-11g-adapter-services/
I ran into this rather “stupid user error” a couple of times already. It’s very easy to solve, however it’s also very easy to do it wrong when configuring Oracle SOA Suite 11g Adapter services through the WebLogic Console.
I hope this blog entry will help new users when running into this problem:
You get the following error in the SOA Server Log when testing your Adapter service:
Exception occured when binding was invoked.Exception occured during invocation of JCA binding: “JCA Binding execute of Reference operation ‘insert’ failed due to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
Caused by Exception [TOPLINK-7060] (Oracle TopLink – 11g Release 1 (11.1.1.2.0) (Build 091016)): oracle.toplink.exceptions.ValidationException
Exception Description: Cannot acquire data source [jdbc/SOAAppUserDataSource].
Internal Exception: javax.naming.NameNotFoundException: Unable to resolve ‘jdbc.SOAAppUserDataSource’. Resolved ‘jdbc’; remaining name ‘SOAAppUserDataSource’.
The invoked JCA adapter raised a resource exception.
The setup of the Adapter Connection Factory configuration
as well as the corresponding DataSource (i.e. jdbc/SoaAppUserDataSource) seems to be correct at first sight.
But you might have forgotten to select the server, on which the JDBC data source should be deployed when adding the DataSource in the first place. This is possible when clicking the Finish button too early, before the last step which would ask to select a target server!
The missing target information for the SoaAppUserDataSource is clearly shown in the summary page of the JDBC Data Sources.
To fix that, just edit the Data Source, click on the Targets tab and select the servers or cluster it should be deployed on (i.e. soa_server1 in my case):
After that the error should disappear!
I think it would be good to get an error/warning on the console when trying to add a DataSource without selecting a target server!
- Solving “javax.naming.NameNotFoundException: Unable to resolve ‘jdbc.SOAAppUserDataSource’ “ with Oracle SOA Suite 11g Adapter S
- javax.naming.NameNotFoundException: Unable to resolve 'jdbc.mydb'. Resolved 'jdbc'; remaining name '
- javax.naming.NameNotFoundException: Unable to resolve 'jdbc.mydb'. Resolved 'jdbc'; remaining name
- javax.naming.NameNotFoundException: Name [jdbc/lappJDBC] is not bound in this Context. Unable to fi
- javax.naming.NameNotFoundException: Name [comp/env] is not bound in this Context. Unable to find [co
- Weblogic报错:javax.naming.NameNotFoundException: While trying to look up jdbc in /app.;
- javax.naming.NameNotFoundException
- Javax.naming.NameNotFoundException
- javax.naming.NameNotFoundException
- javax.naming.NameNotFoundException
- javax.naming.NameNotFoundException
- javax.naming.NameNotFoundException (JNDI)
- javax.naming.NameNotFoundException: java:/comp/env/jdbc/aa_db
- Spring配置JNDI(WebLogic92)NameNotFoundException: Unable to resolve解决
- javax.naming.NameNotFoundException: Name jdbc is not bound in this Context错误待解决中
- javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
- javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
- 解决javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
- java高级编程第一章——集合 笔记
- eclipse 重新关联源代码
- oracle 递归 level
- 高考
- flash动画、游戏交流
- Solving “javax.naming.NameNotFoundException: Unable to resolve ‘jdbc.SOAAppUserDataSource’ “ with Oracle SOA Suite 11g Adapter S
- Visual Studio 2008 每日小窍门 【持续发布ing~】 Tips:024
- 在3G中实现LBS的定位技术和GIS系统
- 在CEPC下USB的HCD模块选用OHCI及UHCI
- perl hash 常见用法
- 【转】代理模式、动态代理和面向方面
- 用Visual Studio 2010开发Android应用
- 全面的framebuffer详解
- 采用Jquery无刷新分页插件jquery.pagination.js 实现无刷新分页效果