Hi,
Trying to configure auditing for CAS 3.5.3 to an oracle database, I configured
the tables and modified the auditTrailContext.xml file to include the necessary
lines but when I startup tomcat I encounter the following error:
[/WEB-INF/spring-configuration/auditTrailContext.xml] is invalid; nested
exception is org.xml.sax.SAXParseException; lineNumber: 164; columnNumber: 110;
The prefix "p" for attribute "p:dataSource-ref" associated with an element type
"bean" is not bound.
I verified that I have the dataSource bean defined in my deployer
configuration, so I just wanted to see if someone has encountered a similar
error.
Below is a snippet of the auditTrailContext.xml file:
<bean id="inspektrTransactionManager"
class="org.springframework.jdbc.datasource.DataSourceTransactionManager"
p:dataSource-ref="dataSource" />
<bean id="inspektrTransactionTemplate"
class="org.springframework.transaction.support.TransactionTemplate"
p:transactionManager-ref="inspektrTransactionManager"
p:isolationLevelName="ISOLATION_READ_COMMITTED"
p:propagationBehaviorName="PROPAGATION_REQUIRED"
/>
<!-- For audit table cleaning -->
<bean id="auditTrailManager"
class="com.github.inspektr.audit.support.JdbcAuditTrailManager">
<constructor-arg index="0" ref="inspektrTransactionTemplate" />
<property name="dataSource" ref="dataSource" />
<property name="cleanupCriteria" ref="auditCleanupCriteria" />
</bean>
<bean id="auditCleanupCriteria"
class="com.github.inspektr.audit.support.MaxAgeWhereClauseMatchCriteria">
<constructor-arg index="0" value="90" />
</bean>
___________________
Juan Quintanilla
[email protected]<mailto:[email protected]>
________________________________
You are currently subscribed to [email protected] as: [email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user