BeanManagedConnection
REDDIMALLI, ANUSHA
REDDIMAA at mailbox.sc.edu
Tue Oct 6 04:11:55 UTC 2020
<bean id="MyDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"
p:driverClassName="oracle.jdbc.driver.OracleDriver"
p:url="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL = TCP)(HOST = shibboleth-qa-db1.auth.sc.edu)(PORT = 1521)) (CONNECT_DATA =(SERVICE_NAME = shibdbqa.auth.sc.edu) ))"
p:username="shibd_sso" p:password="JJZIjV4MqQ3CeXhe1wP9"
p:maxActive="10" p:maxIdle="5" p:maxWait="2000" p:testOnBorrow="true"
p:validationQuery="select 1" p:validationQueryTimeout="5" />
I am using BeanManagedConnection and I am getting below error.
ERROR [net.shibboleth.utilities.java.support.service.AbstractReloadableService:182] - Service 'shibboleth.AttributeResolverService': Initial load failed
net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1064 in XML document from file [/var/home/shibduser/shibboleth-idp/conf/attribute-resolver.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1064; columnNumber: 61; cvc-complex-type.2.4.a: Invalid content was found starting with element '{"urn:mace:shibboleth:2.0:resolver":bean}'. One of '{"urn:mace:shibboleth:2.0:resolver":AttributeDefinition, "urn:mace:shibboleth:2.0:resolver":DataConnector}' is expected.
at net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:377)
Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1064 in XML document from file [/var/home/shibduser/shibboleth-idp/conf/attribute-resolver.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1064; columnNumber: 61; cvc-complex-type.2.4.a: Invalid content was found starting with element '{"urn:mace:shibboleth:2.0:resolver":bean}'. One of '{"urn:mace:shibboleth:2.0:resolver":AttributeDefinition, "urn:mace:shibboleth:2.0:resolver":DataConnector}' is expected.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:400)
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element '{"urn:mace:shibboleth:2.0:resolver":bean}'. One of '{"urn:mace:shibboleth:2.0:resolver":AttributeDefinition, "urn:mace:shibboleth:2.0:resolver":DataConnector}' is expected.
at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204)
Thanks & Regards
Anusha Reddimalli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20201006/5850f1fd/attachment.htm>
More information about the users
mailing list