[cas-user] Trouble with Auditing Configuration

2015-03-02 Thread Juan Quintanilla
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:



  



  


  



  

 
   
 

___
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: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Re: [cas-user] Trouble with Auditing Configuration

2015-03-02 Thread Scott Battaglia
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  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:
>
>
>
>   
> class="org.springframework.jdbc.datasource.DataSourceTransactionManager"
>
> p:dataSource-ref="dataSource" />
>
>
>
>class="org.springframework.transaction.support.TransactionTemplate"
> p:transactionManager-ref="inspektrTransactionManager"
> p:isolationLevelName="ISOLATION_READ_COMMITTED"
> p:propagationBehaviorName="PROPAGATION_REQUIRED"
>   />
>
> 
>class="com.github.inspektr.audit.support.JdbcAuditTrailManager">
> 
> 
> 
>   
>
>  
> class="com.github.inspektr.audit.support.MaxAgeWhereClauseMatchCriteria">
>
>  
>
>  ___
> 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

Re: [cas-user] Trouble with Auditing Configuration

2015-03-03 Thread Juan Quintanilla
Hi,



Thanks that did the trick I forgot to define the p-namespace.





___
Juan Quintanilla
jquin...@fiu.edu<mailto:jquin...@fiu.edu>

From: Scott Battaglia 
Sent: Monday, March 2, 2015 9:16 PM
To: cas-user@lists.jasig.org
Subject: Re: [cas-user] Trouble with Auditing Configuration

Did you define the p-namespace?
http://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html#beans-p-namespace<https://urldefense.proofpoint.com/v2/url?u=http-3A__docs.spring.io_spring_docs_current_spring-2Dframework-2Dreference_html_beans.html-23beans-2Dp-2Dnamespace&d=AwMFaQ&c=1QsCMERiq7JOmEnKpsSyjg&r=NauC5-J1X4CCd25sdSxQCA&m=NLXjHfY-o3jCcBE4JSE-p7ItiYog6EA-2MW74bpGRss&s=be1eoNDEGksY7uXf3SMcgkdpV0d88g71pCUDD7EpND4&e=>

Cheers,
Scott

On Mon, Mar 2, 2015 at 5:33 PM, Juan Quintanilla 
mailto: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:



  



  


  



  

 
   
 

___
Juan Quintanilla
jquin...@fiu.edu<mailto:jquin...@fiu.edu>



You are currently subscribed to 
cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> as: 
jquin...@fiu.edu<mailto:jquin...@fiu.edu>
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ja-2Dsig.org_wiki_display_JSG_cas-2Duser&d=AwMFaQ&c=1QsCMERiq7JOmEnKpsSyjg&r=NauC5-J1X4CCd25sdSxQCA&m=NLXjHfY-o3jCcBE4JSE-p7ItiYog6EA-2MW74bpGRss&s=tF6pEhXMtdkbIzaS-45j5xch-hZSjqgDenjJc5e2vZw&e=>

--
You are currently subscribed to 
cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> as: 
scott.battag...@gmail.com<mailto:scott.battag...@gmail.com>
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ja-2Dsig.org_wiki_display_JSG_cas-2Duser&d=AwMFaQ&c=1QsCMERiq7JOmEnKpsSyjg&r=NauC5-J1X4CCd25sdSxQCA&m=NLXjHfY-o3jCcBE4JSE-p7ItiYog6EA-2MW74bpGRss&s=tF6pEhXMtdkbIzaS-45j5xch-hZSjqgDenjJc5e2vZw&e=>


--
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: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user