Hi,

I am trying to implement JAhia Cluster active active. I am following
http://www.jahia.org/download/jahia5.0/stable/howto_cluster.html  guide.

Machine 1  : nihaya.chabaka.net (When I installed Jahia for the first time)
Machine 2  : zahir.chabaka.net

When I trying to use URL http://zahir.chabaka.net:8080/jahia/Jahia/

I got the following error "#INVALID_SERVICE" (See catalina. out). In
checking the catalina.out in "Machine 2  : zahir.chabaka.net" I found the
following message.

I understood the problem was thrown in the red line. The service URL is the
one of first machine.

My configuration in the "Machine 2  : zahir.chabaka.net" for CAS in jahia is
:

file cas.properties

cas.jahia.serviceUrl=http://nihaya.chabaka.net:8080/jahia

cas.server.validateUrl=https://nihaya.chabaka.net:8443/cas/serviceValidate
cas.server.loginUrl=https://nihaya.chabaka.net:8443/cas/login

file web.xml

<filter>
       <filter-name>JahiaCASFilter</filter-name>
       <filter-class>edu.yale.its.tp.cas.client.filter.CASFilter
</filter-class>
       <init-param>
               <param-name>edu.yale.its.tp.cas.client.filter.loginUrl
</param-name>
               <param-value>https://zahir.chabaka.net:8443/cas/login
</param-value>
       </init-param>
       <init-param>
               <param-name>edu.yale.its.tp.cas.client.filter.validateUrl
</param-name>
               <param-value>
https://zahir.chabaka.net:8443/cas/serviceValidate</param-value>
       </init-param>
       <init-param>
               <param-name>edu.yale.its.tp.cas.client.filter.serverName
</param-name>
               <param-value>zahir.chabaka.net:8080</param-value>
       </init-param>
</filter>


file  catalina. out


tionHandler successfully authenticated the user which provided the following
credentials: zbounouala>
2007-05-31 14:53:36,667 INFO [org.jasig.cas.CentralAuthenticationServiceImpl]
- <Granted service ticket [ST-2-UD6l1lkXdEzmFZOQCX92pqjOeTKbMm0ZwXn-20] for
service [http://zahir.chabaka.net:8080/jahia/Jahia/] for user [zbounouala]>
226082 [2007-05-31 14:53:37,901] [org.jahia.pipelines.valves.SsoValve] DEBUG
- starting org.jahia.params.valves.CasAuthValveImpl.invoke()...
226085 [2007-05-31 14:53:37,904] [org.jahia.pipelines.valves.SsoValve] DEBUG
- retrieving credentials...
226087 [2007-05-31 14:53:37,906] [org.jahia.pipelines.valves.SsoValve] DEBUG
- credentials = ST-2-UD6l1lkXdEzmFZOQCX92pqjOeTKbMm0ZwXn-20
226089 [2007-05-31 14:53:37,908] [org.jahia.pipelines.valves.SsoValve] DEBUG
- validating credentials...
226092 [2007-05-31 14:53:37,911] [org.jahia.services.sso.CasService] DEBUG -
cas.server.validateUrl = https://zahir.chabaka.net:8443/cas/serviceValidate
226094 [2007-05-31 14:53:37,913] [org.jahia.services.sso.CasService] DEBUG -
cas.jahia.serviceUrl = http://nihaya.chabaka.net:8080/jahia/Jahia
org.jahia.exceptions.JahiaException: User message=Cannot validate CAS
credentials, System message=Cannot validate CAS credentials, root
cause:error #INVALID_SERVICE while validating ticket
'ST-2-UD6l1lkXdEzmFZOQCX92pqjOeTKbMm0ZwXn-20': le ticket
'ST-2-UD6l1lkXdEzmFZOQCX92pqjOeTKbMm0ZwXn-20' ne correspond pas au service
demand� root cause=edu.yale.its.tp.cas.client.CASAuthenticationException:
error #INVALID_SERVICE while validating ticket
'ST-2-UD6l1lkXdEzmFZOQCX92pqjO


How to resolve the problem? In brief, How to tell to CAS that my
cas.jahia.serviceUrl is http://zahir.chabaka.net:8080/jahia/Jahia NOT
http://nihaya.chabaka.net:8080/jahia/Jahia


Thanks in advance.
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to