Nested exception is ... Dependency injection failure: No Unique Bean Of Type [javax.sql.DataSource] Is Defined: No Beans Of Type Javax.sql.DataSource (Doc ID 2001146.1)

Last updated on JULY 05, 2016

Applies to:

Oracle Healthcare Master Person Index - Version 2.0.7 and later
Information in this document applies to any platform.

Symptoms

Using HL7Browser (freeware utility) and getting exception error while receiving the HL7v2 message. The NAK contains the error message, as does the WLS Managed Server's log as  follows:
 

1291828 [AnonymousIoService-5] WARN oracle.hsgbu.ohmpi.ihe.hl7v2.service.HL7EventDispatcher - [/<host>:<port>] EXCEPTION:
javax.ejb.EJBException: EJB Exception: ; nested exception is:
  com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Dependency injection failure: can't find the bean definition about class interface javax.sql.DataSource; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [javax.sql.DataSource] is defined: No beans of type javax.sql.DataSource; owner=com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@1a15deb6: display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@1a15deb6]; startup date [Mon Apr 06 14:52:54 EDT 2015]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@7b0064e3; nested exception is: com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Dependency injection failure: can't find the bean definition about class interface javax.sql.DataSource; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [javax.sql.DataSource] is defined: No beans of type javax.sql.DataSource; owner=com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@1a15deb6: display name [com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@1a15deb6];
startup date [Mon Apr 06 14:52:54 EDT 2015]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@7b0064e3
com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Dependency injection failure: can't find the bean definition about class interface javax.sql.DataSource; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [javax.sql.DataSource] is defined: No beans of type javax.sql.DataSource; owner=com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@1a15deb6: display name [com.bea.core.repackaged....


Due to this issue, users cannot receive the HL7v2 message

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms