We've been running CAS 3.3.1 on jBoss 4.3.  We setup a new jBoss 5 server and 
updated library set, and deployed the CAS server (as is, no rebuilds).  During 
jBoss startup we got the error below.

I initially thought that the issue was caused by an incompatibility between the 
server and libraries in the CAS 3.3.1 server app, or with the CAS code itself.  
Besides the server, Spring and Spring Security were upgraded (on the server, 
not the CAS application) to their 3.0.2 versions.

The puzzling thing is... I do see a persistence.xml file in 
cas-server-core-3.3.1.jar and it *does* contain a CasPersistence unit with the 
RESOURCE_LOCAL transaction-type.  Also, the 'cleaning' log entries at the end 
seem to indicate that CAS is up and running in spite of the error.

Can someone help me decipher what is going on?

Thanks,

bruno

Error:

2010-04-26 15:25:54,472 ERROR 
[org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed 
to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR 
DETAILS):

DEPLOYMENTS IN ERROR:
  Deployment "persistence.unit:unitName=#CasPersistence" is in error due to the 
following reason(s): java.lang.RuntimeException: Specification violation [EJB3 
JPA 6.2.1.2] - You have not defined a non-jta-data-source for a RESOURCE_LOCAL 
enabled persistence context named: CasPersistence

2010-04-26 15:25:54,503 INFO  [org.apache.coyote.http11.Http11AprProtocol] 
(main) Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
2010-04-26 15:25:54,519 INFO  [org.apache.coyote.ajp.AjpAprProtocol] (main) 
Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
2010-04-26 15:25:54,534 INFO  [org.apache.coyote.http11.Http11Protocol] (main) 
Starting Coyote HTTP/1.1 on http-8443
2010-04-26 15:25:54,550 INFO  [org.jboss.bootstrap.microcontainer.ServerImpl] 
(main) JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBPAPP_5_0_0_GA 
date=200910202128)] Started in 1m:31s:549ms
2010-04-26 15:26:10,441 INFO  
[org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] 
(scheduler_Worker-0) Starting cleaning of expired tickets from ticket registry 
at [Mon Apr 26 15:26:10 CDT 2010]
2010-04-26 15:26:10,441 INFO  
[org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] 
(scheduler_Worker-0) 0 found to be removed.  Removing now.
2010-04-26 15:26:10,441 INFO  
[org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] 
(scheduler_Worker-0) Finished cleaning of expired tickets from ticket registry 
at [Mon Apr 26 15:26:10 CDT 2010]

-- 
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

Reply via email to