Guest User

Untitled

a guest
Jan 26th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. org.springframework.beans.factory.BeanCreationException:
  2. Error creating bean with name 'dataSourceGCA' defined in class path resource [META-INF/xxxxx-security-app.xml]:
  3. Invocation of init method failed; nested exception is javax.naming.NamingException:
  4. The local resource link [dataSourceGCA2] that refers to global resource [jdbc/dataSourceGCA2Global] was expected to return an instance of [com.mchange.v2.c3p0.ComboPooledDataSource] but returned an instance of [com.mchange.v2.c3p0.ComboPooledDataSource]
  5.  
  6. <ResourceLink name="jdbc/dataSourceGCA2"
  7. global="jdbc/dataSourceGCA2Global"
  8. auth="Container"
  9. type="com.mchange.v2.c3p0.ComboPooledDataSource" />
  10.  
  11. <Resource description="whatever"
  12. name="jdbc/dataSourceGCA2Global"
  13. auth="Container"
  14. factory="org.apache.naming.factory.BeanFactory"
  15. type="com.mchange.v2.c3p0.ComboPooledDataSource"
  16. user="xxxxxxxx"
  17. password="xxxxxxxx"
  18. initialPoolSize="1"
  19. minPoolSize="1"
  20. maxPoolSize="5"
  21. acquireIncrement="1"
  22. driverClass="oracle.jdbc.driver.OracleDriver"
  23. jdbcUrl="jdbc:oracle:thin:@tprodva2:1522/BD2"
  24. testConnectionOnCheckin="true"
  25. idleConnectionTestPeriod="300"
  26. maxIdleTimeExcessConnections="0"
  27. maxIdleTime="0" />
Add Comment
Please, Sign In to add comment