Did you define the p-namespace?
http://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html#beans-p-namespace

Cheers,
Scott

On Mon, Mar 2, 2015 at 5:33 PM, Juan Quintanilla <jquin...@fiu.edu> wrote:

>  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
> jquin...@fiu.edu
>  ------------------------------
>
>
> You are currently subscribed to cas-user@lists.jasig.org as: jquin...@fiu.edu
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>   --
> You are currently subscribed to cas-user@lists.jasig.org as: 
> scott.battag...@gmail.com
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to