I have a problem getting CAS to log me in. I don't know if this mailing list accepts attachments but I've attached my configuration files. I can start Liferay/CAS (3.0.5) successfully with an LDAP Configuration, I open the LIferay portal, click sign-in and redirect to the CAS-WEB login page, after I enter a username and password, it bounces me to a page telling me.
CAS is Unavailable A general exception occurred while trying to access CAS. Please notify your system administrator. Any clue what is going on? I tried with just ldap:// and ldaps:// but both return the same results. This is still running in developer mode with HSQL. I don't have "Import from LDAP" selected for CAS Authentication? Do I need to import the AD SSL? If so, how? Do I need to import the CAS Cert into AD CA? If so, how? Searched AD Security event logs for failed ldap and there are none. Any suggestions would be greatly appreciated. ________________________________ Legal Disclaimer: This message is meant for the intended recipient, if you believe that you are not the intended recipient, please delete this message immediately! Thanks, Davis College Network Administrator -- 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
cas.log
Description: cas.log
2009-05-18 19:03:38,665 INFO [org.quartz.core.QuartzScheduler] - <Scheduler
DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete.>
May 18, 2009 7:03:38 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
May 18, 2009 7:03:38 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8443
May 18, 2009 7:03:43 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the java.library.path:
/usr/lib/java/jre/lib/i386/client:/usr/lib/java/jre/lib/i386:/usr/lib/java/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
May 18, 2009 7:03:43 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 18, 2009 7:03:44 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
May 18, 2009 7:03:44 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2206 ms
May 18, 2009 7:03:44 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 18, 2009 7:03:44 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Loading
jar:file:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading
jar:file:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
19:04:06,185 INFO [DialectDetector:64] Determining dialect for HSQL Database
Engine 1
19:04:06,194 WARN [DialectDetector:79] Liferay is configured to use Hypersonic
as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded
database useful for development and demo'ing purposes. The database settings
can be changed in portal.properties.
19:04:06,393 INFO [DialectDetector:97] Using dialect
org.hibernate.dialect.HSQLDialect
Loading
jar:file:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/captcha.properties
19:04:13,929 INFO [PortalImpl:243] Portal lib directory
/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/
19:04:36,237 INFO [ServerDetector:104] Detected server tomcat
Starting Liferay Portal Standard Edition 5.2.2 (Augustine / Build 5202 /
February 20, 2009)
19:04:47,490 INFO [HotDeployUtil:64] Initializing hot deploy manager 23660623
19:04:47,781 INFO [AutoDeployDir:108] Auto deploy scanner started for
/root/liferay/liferay-portal-5.2.2/deploy
19:04:49,240 INFO [PortletHotDeployListener:219] Registering portlets for
web-form-portlet
Loading
file:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/temp/0-web-form-portlet/WEB-INF/classes/portlet.properties
19:04:51,575 INFO [PortletHotDeployListener:298] 1 portlet for
web-form-portlet is available for use
19:04:52,148 INFO [PortletHotDeployListener:219] Registering portlets for
mail-portlet
Loading
file:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/temp/1-mail-portlet/WEB-INF/classes/portlet.properties
19:04:52,701 INFO [PortletHotDeployListener:298] 1 portlet for mail-portlet is
available for use
Loading
file:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/webapps/wol-portlet/WEB-INF/classes/service.properties
19:04:53,701 INFO [DialectDetector:64] Determining dialect for HSQL Database
Engine 1
19:04:53,703 WARN [DialectDetector:79] Liferay is configured to use Hypersonic
as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded
database useful for development and demo'ing purposes. The database settings
can be changed in portal.properties.
19:04:53,705 INFO [DialectDetector:97] Using dialect
org.hibernate.dialect.HSQLDialect
19:04:54,992 INFO [DialectDetector:64] Determining dialect for HSQL Database
Engine 1
19:04:55,031 WARN [DialectDetector:79] Liferay is configured to use Hypersonic
as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded
database useful for development and demo'ing purposes. The database settings
can be changed in portal.properties.
19:04:55,037 INFO [DialectDetector:97] Using dialect
org.hibernate.dialect.HSQLDialect
Loading
file:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/webapps/wol-portlet/WEB-INF/classes/service.properties
19:04:57,215 INFO [HookHotDeployListener:182] Registering hook for wol-portlet
Loading
file:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/webapps/wol-portlet/WEB-INF/classes/portal.properties
19:04:57,391 INFO [HookHotDeployListener:375] Hook for wol-portlet is
available for use
19:04:57,396 INFO [PortletHotDeployListener:219] Registering portlets for
wol-portlet
Loading
file:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/webapps/wol-portlet/WEB-INF/classes/portlet.properties
Loading
file:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/webapps/wol-portlet/WEB-INF/classes/portlet.properties
19:04:57,810 INFO [PortletHotDeployListener:303] 10 portlets for wol-portlet
are available for use
19:04:58,170 INFO [PortletHotDeployListener:219] Registering portlets for
google-maps-portlet
19:04:58,405 INFO [PortletHotDeployListener:298] 1 portlet for
google-maps-portlet is available for use
2009-05-18 19:05:00,456 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.useragent = Jakarta Commons-HttpClient/3.0.1>
2009-05-18 19:05:00,460 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.protocol.version = HTTP/1.1>
2009-05-18 19:05:00,462 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.connection-manager.class = class
org.apache.commons.httpclient.SimpleHttpConnectionManager>
2009-05-18 19:05:00,463 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.protocol.cookie-policy = rfc2109>
2009-05-18 19:05:00,463 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.protocol.element-charset = US-ASCII>
2009-05-18 19:05:00,463 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.protocol.content-charset = ISO-8859-1>
2009-05-18 19:05:00,465 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.method.retry-handler =
org.apache.commons.httpclient.defaulthttpmethodretryhand...@1540b40>
2009-05-18 19:05:00,466 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy
HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE,
dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z,
EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss
z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss
z, EEE, dd-MM-yyyy HH:mm:ss z]>
2009-05-18 19:05:00,476 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.socket.timeout = 5000>
2009-05-18 19:05:00,476 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.socket.timeout = 5000>
2009-05-18 19:05:00,476 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.connection-manager.timeout = 5000>
2009-05-18 19:05:00,477 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.connection.timeout = 5000>
2009-05-18 19:05:00,485 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.connection-manager.max-per-host = {HostConfiguration[]=50}>
2009-05-18 19:05:00,500 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.connection-manager.max-total = 50>
2009-05-18 19:05:00,505 DEBUG [org.apache.commons.httpclient.HttpClient] -
<Java version: 1.6.0_13>
2009-05-18 19:05:00,505 DEBUG [org.apache.commons.httpclient.HttpClient] -
<Java vendor: Sun Microsystems Inc.>
2009-05-18 19:05:00,505 DEBUG [org.apache.commons.httpclient.HttpClient] -
<Java class path:
:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/bin/bootstrap.jar>
2009-05-18 19:05:00,506 DEBUG [org.apache.commons.httpclient.HttpClient] -
<Operating system name: Linux>
2009-05-18 19:05:00,506 DEBUG [org.apache.commons.httpclient.HttpClient] -
<Operating system architecture: i386>
2009-05-18 19:05:00,506 DEBUG [org.apache.commons.httpclient.HttpClient] -
<Operating system version: 2.6.27.7-smp>
2009-05-18 19:05:00,506 DEBUG [org.apache.commons.httpclient.HttpClient] - <SUN
1.6: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests;
SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX
CertPathBuilder; LDAP, Collection CertStores, JavaPolicy Policy;
JavaLoginConfig Configuration)>
2009-05-18 19:05:00,507 DEBUG [org.apache.commons.httpclient.HttpClient] -
<SunRsaSign 1.5: Sun RSA signature provider>
2009-05-18 19:05:00,507 DEBUG [org.apache.commons.httpclient.HttpClient] -
<SunJSSE 1.6: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3,
TLSv1)>
2009-05-18 19:05:00,507 DEBUG [org.apache.commons.httpclient.HttpClient] -
<SunJCE 1.6: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish,
ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC)>
2009-05-18 19:05:00,507 DEBUG [org.apache.commons.httpclient.HttpClient] -
<SunJGSS 1.0: Sun (Kerberos v5, SPNEGO)>
2009-05-18 19:05:00,508 DEBUG [org.apache.commons.httpclient.HttpClient] -
<SunSASL 1.5: Sun SASL provider(implements client mechanisms for: DIGEST-MD5,
GSSAPI, EXTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSSAPI,
CRAM-MD5)>
2009-05-18 19:05:00,508 DEBUG [org.apache.commons.httpclient.HttpClient] -
<XMLDSig 1.0: XMLDSig (DOM XMLSignatureFactory; DOM KeyInfoFactory)>
2009-05-18 19:05:00,508 DEBUG [org.apache.commons.httpclient.HttpClient] -
<SunPCSC 1.6: Sun PC/SC provider>
2009-05-18 19:05:00,511 DEBUG
[org.apache.commons.httpclient.params.DefaultHttpParams] - <Set parameter
http.connection.stalecheck = true>
2009-05-18 19:05:00,618 DEBUG [net.sf.ldaptemplate.support.LdapContextSource] -
<AuthenticationSource not set - using default implementation>
2009-05-18 19:05:00,628 DEBUG [net.sf.ldaptemplate.support.LdapContextSource] -
<Using LDAP pooling.>
2009-05-18 19:05:00,629 DEBUG [net.sf.ldaptemplate.support.LdapContextSource] -
<Trying provider Urls: ldaps://10.0.0.29:636/ ldaps://10.0.0.30:636/>
2009-05-18 19:05:00,634 INFO
[org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler] - <No
PasswordEncoder set. Using default:
org.jasig.cas.authentication.handler.PlainTextPasswordEncoder>
2009-05-18 19:05:00,635 INFO
[org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler] - <No Class to
Support set. Using default:
org.jasig.cas.authentication.principal.UsernamePasswordCredentials>
2009-05-18 19:05:00,660 INFO
[org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler] - <No
UniqueTicketIdGenerator specified for
org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler. Using
org.jasig.cas.util.DefaultUniqueTicketIdGenerator>
2009-05-18 19:05:00,768 INFO [org.quartz.simpl.SimpleThreadPool] - <Job
execution threads will use class loader of thread: main>
2009-05-18 19:05:00,806 INFO [org.quartz.core.QuartzScheduler] - <Quartz
Scheduler v.1.5.1 created.>
2009-05-18 19:05:00,809 INFO [org.quartz.simpl.RAMJobStore] - <RAMJobStore
initialized.>
2009-05-18 19:05:00,809 INFO [org.quartz.impl.StdSchedulerFactory] - <Quartz
scheduler 'DefaultQuartzScheduler' initialized from default resource file in
Quartz package: 'quartz.properties'>
2009-05-18 19:05:00,810 INFO [org.quartz.impl.StdSchedulerFactory] - <Quartz
scheduler version: 1.5.1>
2009-05-18 19:05:00,812 INFO [org.quartz.core.QuartzScheduler] - <Scheduler
DefaultQuartzScheduler_$_NON_CLUSTERED started.>
2009-05-18 19:05:01,623 INFO [org.jasig.cas.web.ServiceValidateController] -
<No authentication specification class set. Defaulting to
org.jasig.cas.validation.Cas20ProtocolValidationSpecification>
2009-05-18 19:05:01,625 INFO [org.jasig.cas.web.ServiceValidateController] -
<No successView specified. Using default of casServiceSuccessView>
2009-05-18 19:05:01,625 INFO [org.jasig.cas.web.ServiceValidateController] -
<No failureView specified. Using default of casServiceFailureView>
2009-05-18 19:05:01,642 INFO [org.jasig.cas.web.ServiceValidateController] -
<No successView specified. Using default of casServiceSuccessView>
2009-05-18 19:05:01,642 INFO [org.jasig.cas.web.ServiceValidateController] -
<No failureView specified. Using default of casServiceFailureView>
2009-05-18 19:05:01,691 INFO
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <FormObjectClass not
set. Using default class of
org.jasig.cas.authentication.principal.UsernamePasswordCredentials with
formObjectName credentials and validator
org.jasig.cas.validation.UsernamePasswordCredentialsValidator.>
Loading
file:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/temp/3-chat-portlet/WEB-INF/classes/service.properties
19:05:05,752 INFO [DialectDetector:64] Determining dialect for HSQL Database
Engine 1
19:05:05,753 WARN [DialectDetector:79] Liferay is configured to use Hypersonic
as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded
database useful for development and demo'ing purposes. The database settings
can be changed in portal.properties.
19:05:05,759 INFO [DialectDetector:97] Using dialect
org.hibernate.dialect.HSQLDialect
Loading
file:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/temp/3-chat-portlet/WEB-INF/classes/service.properties
19:05:06,765 INFO [PortletHotDeployListener:219] Registering portlets for
chat-portlet
Loading
file:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/temp/3-chat-portlet/WEB-INF/classes/portlet.properties
19:05:07,306 INFO [PortletHotDeployListener:298] 1 portlet for chat-portlet is
available for use
May 18, 2009 7:05:07 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 18, 2009 7:05:07 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
May 18, 2009 7:05:07 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 18, 2009 7:05:07 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/263 config=null
May 18, 2009 7:05:07 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 83424 ms
Loading
file:/root/liferay/liferay-portal-5.2.2/tomcat-6.0.18/temp/3-chat-portlet/WEB-INF/classes/portlet.properties
2009-05-18 19:05:20,737 DEBUG [org.quartz.simpl.SimpleJobFactory] - <Producing
instance of Job 'DEFAULT.jobDetailTicketRegistryCleaner',
class=org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob>
2009-05-18 19:05:20,779 DEBUG [org.quartz.core.JobRunShell] - <Calling execute
on job DEFAULT.jobDetailTicketRegistryCleaner>
2009-05-18 19:05:20,836 INFO
[org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] -
<Starting cleaning of expired tickets from ticket registry at [Mon May 18
19:05:20 GMT 2009]>
2009-05-18 19:05:20,836 INFO
[org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <0 found
to be removed. Removing now.>
2009-05-18 19:05:20,837 INFO
[org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] -
<Finished cleaning of expired tickets from ticket registry at [Mon May 18
19:05:20 GMT 2009]>
19:05:47,450 INFO [PluginPackageUtil:1148] Reloading repositories
2009-05-18 19:07:10,614 INFO
[org.jasig.cas.web.flow.AutomaticCookiePathSetterAction] - <Setting ContextPath
for cookies to: /cas-web>
2009-05-18 19:07:15,749 DEBUG [net.sf.ldaptemplate.support.LdapContextSource] -
<Principal: '[email protected]'>
2009-05-18 19:11:50,766 DEBUG [net.sf.ldaptemplate.support.LdapContextSource] -
<Principal: '[email protected]'>
deployerConfigContext.xml
Description: deployerConfigContext.xml
