我是靠谱客的博主 可靠滑板,这篇文章主要介绍IBM InfoSphere Content Collector WebSphere Application Server can use only Oracle ojdbc6.jar driver,现在分享给大家,希望可以做个参考。

Problem(Abstract)The embedded WebSphere Application Server that is installed with IBM InfoSphere Content Collector can use only the Oracle ojdbc6.jar JDBC driver to connect to an Oracle data store.

Problem(Abstract)The embedded WebSphere Application Server that is installed with IBM InfoSphere Content Collector can use only the Oracle ojdbc6.jar JDBC driver to connect to an Oracle data store.


SymptomErrors like the following are logged:

J2CA0036E: An exception occurred while invoking method setDataSourceProperties on com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource jdbc/afuConfigurationDatabase : com.ibm.ws.exception.WsException: DSRA0023E: The DataSource implementation class "oracle.jdbc.xa.client.OracleXADataSource" could not be found.

 

CauseYou can specify the directory of the JDBC driver in the IBM InfoSphere Content Collector Configuration Manager. However, you cannot specify a specific JDBC driver file.


If you connect to an Oracle data store, Content Collector uses the value of the WebSphere environment variable ORACLE_JDBC_DRIVER_PATH to locate the Oracle JDBC driver and assumes that the driver file name is ojdbc6.jar. If ojdbc6.jar is not found, the Content Collector WebApplications service cannot connect to the Oracle data store. Various connectivity errors are logged.


Diagnosing the problemCheck the resources.xml file in the directory

<ContentCollector>AFUWebprofiles<profile name>configcells<CellName>nodes<nodename>

Resolve the problem as mentioned below if it contains the following class path element:
<classpath>${ORACLE_JDBC_DRIVER_PATH}/ojdbc6.jar</classpath>
Do not modify the resources.xml file.


Resolving the problemTo resolve the problem:

Create a copy of the Oracle JDBC driver that is installed on the IBM InfoSphere Content Collector system in the same location where the current driver resides (for example, copy ojdbc14.jar for Oracle 10g).
Rename the copy as ojdbc6.jar.
Restart the IBM InfoSphere Content Collector WebApplications service.

最后

以上就是可靠滑板最近收集整理的关于IBM InfoSphere Content Collector WebSphere Application Server can use only Oracle ojdbc6.jar driver的全部内容,更多相关IBM内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(102)

评论列表共有 0 条评论

立即
投稿
返回
顶部