Hello everyone,

Thank you for taking the time to read my question.

I'm attempting to deploy a CAS 3.4.11 instance under WebLogic (I know, I know) 
using code from the cas-server-support-trusted 'package' to trust whatever is 
passed in as the 'remote user'.   There is also a bit of custom code to extract 
other header variables and treat them as attributes.   Anyway, to keep the 
story short – everything works fine under Tomcat, however, when I deploy under 
WebLogic, no dice.    CAS gets to the point where it's about to generate a TGT 
and appears to blow up while creating a new instance of 
TicketGrantingTicketImpl.   Here're the lines leading up to and the first few 
lines of the stacktrace.   Please let me know if you'd like the whole thing:


2012-07-25 15:02:16,328 INFO [org.jasig.cas.web.flow.InitialFlowSetupAction] - 
<Setting path for cookies to: /cas/>

2012-07-25 15:02:16,333 DEBUG [org.jasig.cas.web.support.CasArgumentExtractor] 
- <Extractor did not generate service.>

2012-07-25 15:02:16,333 DEBUG [org.jasig.cas.web.support.SamlArgumentExtractor] 
- <Extractor did not generate service.>

2012-07-25 15:02:16,345 DEBUG 
[org.jasig.cas.web.flow.GenerateLoginTicketAction] - <Generated login ticket 
LT-1-o4RBAZ6KvDbdsLAcf6NTFmKIJOfuiK>

2012-07-25 15:02:16,362 DEBUG 
[org.jasig.cas.adaptors.trusted.authentication.handler.support.PrincipalBearingCredentialsAuthenticationHandler]
 - <Trusting credentials for: [name: ABC]>

start[1343242936362] time[0] 
tag[PrincipalBearingCredentialsAuthenticationHandler]

2012-07-25 15:02:16,362 INFO 
[org.jasig.cas.authentication.AuthenticationManagerImpl] - 
<AuthenticationHandler: 
org.jasig.cas.adaptors.trusted.authentication.handler.support.PrincipalBearingCredentialsAuthenticationHandler
 successfully authenticated the user which provided the following credentials: 
[name: ABC]>

2012-07-25 15:02:16,364 INFO 
[org.jasig.cas.authentication.AuthenticationManagerImpl] - <Resolved principal 
ABC>

2012-07-25 15:02:16,364 INFO 
[org.jasig.cas.authentication.AuthenticationManagerImpl] - <Principal found: 
ABC>

2012-07-25 15:02:16,364 DEBUG 
[org.jasig.cas.authentication.AuthenticationManagerImpl] - <Attribute map for 
ABC: {uid=X, name=X, alumniid=X, did=X, netid=X, authType=X, affil=X}>

<Jul 25, 2012 3:02:16 PM EDT> <Error> <HTTP> <BEA-101017> 
<[ServletContext@462591559[app:cas module:cas.war path:/cas spec-version:2.5]] 
Root cause of ServletException.

java.lang.NoSuchMethodError: 
org.jasig.cas.ticket.AbstractTicket.pcGetManagedFieldCount()I

at 
org.jasig.cas.ticket.TicketGrantingTicketImpl.<clinit>(TicketGrantingTicketImpl.java:38)

at 
org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket_aroundBody10(CentralAuthenticationServiceImpl.java:415)

at 
org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket_aroundBody11$advice(CentralAuthenticationServiceImpl.java:44)

at 
org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket(CentralAuthenticationServiceImpl.java:1)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Truncated. see log file for complete stacktrace

>


It's rather bizarre to me --  I don't see any calls to a 
pcGetManagedFieldCount() in any of the classes above, and the stacktrace is 
100% correct that it doesn't exist in AbstactClass (or any of its implementing 
classes, as far as I can tell).   Has any one ever run in to something similar 
to this?   Has anyone else successfully gotten WebLogic to play nicely with 
CAS?  The fact that the same exact war works fine with Tomcat makes me think it 
must be WebLogic related… but, maybe not..?    Please let me know if you have 
any questions or would like any clarification!


I'd appreciate any help or advice I could get from the group!


Thank you very much for your time!


..Sean.

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