I don't really see what's the reason of this. It worked at first try for me.
Anything in Apache debug's log? You may need to add "LogLevel debug" in
your apache config to enable it.
2013/7/8 Krejci Rudolf Ing. <krejci.r(a)chemosvit.sk>
I am using default tomcat
In server xml I changed:
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
URIEncoding="UTF-8"
tomcatAuthentication="false" />
AND
<Connector port="8009" protocol="AJP/1.3"
redirectPort="8443"
tomcatAuthentication="false"/>
No, others connectors are active.
We have 2 servers . One for apache - proxy and cas service. Second is
running tomcat and xwiki.
Apache config:
<VirtualHost 10.0.1.33:80>
ServerName iwtest.chemosvit.sk
ServerAdmin webmaster@localhost
ErrorLog ${APACHE_LOG_DIR}/chdmstest_error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/chdmstest_access.log combined
ProxyRequests Off
ProxyPreserveHost On
<Location /xwiki/>
AuthType CAS
AuthName "CAS Server Auth"
CasScope /xwiki
Order allow,deny
require valid-user
Satisfy Any
</Location>
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /cas ajp://cas.chemosvit.sk:8009/casconnectiontimeout=10 timeout=60
ProxyPassReverse /cas ajp://cas.chemosvit.sk:8009/cas
ProxyPass /jira ajp://pwtest.chemosvit.sk:8009/jiraconnectiontimeout=10
timeout=60
ProxyPassReverse /jira ajp://pwtest.chemosvit.sk:8009/jira
ProxyPass /alfresco
http://dmstest.chemosvit.sk:7080/alfrescoconnectiontimeout=10
timeout=60
ProxyPassReverse /alfresco
http://dmstest.chemosvit.sk:7080/alfresco
ProxyPass /xwiki
http://ubuntults6.chemosvit.sk:8080/xwikiconnectiontimeout=10
timeout=60
ProxyPassReverse /xwiki
http://ubuntults6.chemosvit.sk:8080/xwiki
ProxyPass /
http://elftest.chemosvit.sk:10080/ connectiontimeout=10
timeout=60
ProxyPassReverse /
http://elftest.chemosvit.sk:10080/
CASCookiePath /tmp/cas/
CASLoginURL
https://iwtest.chemosvit.sk/cas/login
CASValidateURL
https://iwtest.chemosvit.sk/cas/serviceValidate
CASValidateServer Off
CASDebug On
</VirtualHost>
Rudolf
----- Pôvodná správa -----
Odosielateľ: "Guillaume Fenollar"
<guillaume.fenollar(a)xwiki.com>
Príjemca: "XWiki Users" <users(a)xwiki.org>
Dátum: 08/07/2013 15:13
Predmet: [Spam] Re: [xwiki-users] XWiki and Jasig CAS integration
Hi,
Have you set tomcatAuthentication="false" in your server.xml file
(tomcat/conf) ?
Do you have any other intermediate between your Apache and XWiki?
Guillaume
2013/7/8 Krejci Rudolf Ing. <krejci.r(a)chemosvit.sk>
>
> Hi,
>
> I built new test infrastructure for CAS and XWiki, but after loging to
> CAS I got next error in XWiki
>
> 2013-07-08 14:31:24,345 [
http://iwtest.chemosvit.sk/xwiki/bin/view/Main/]
> WARN a.t.TrustedLDAPAuthServiceImpl -
Failed to resolve remote user.
It
> usually mean that no SSO information has
been provided to XWiki.
> 2013-07-08 14:31:25,077 [
http://iwtest.chemosvit.sk/xwiki/bin/view/Main/]
> WARN a.t.TrustedLDAPAuthServiceImpl -
Failed to resolve remote user.
It
> usually mean that no SSO information has
been provided to XWiki.
> 2013-07-08 14:31:25,088 [
http://iwtest.chemosvit.sk/xwiki/bin/view/Main/]
> WARN a.t.TrustedLDAPAuthServiceImpl -
Failed to resolve remote user.
It
> usually mean that no SSO information has
been provided to XWiki.
> 2013-07-08 14:31:28,907 [
>
http://iwtest.chemosvit.sk/xwiki/bin/get/Main/WebHome?xpage=xpart&vm=co…
]
> WARN a.t.TrustedLDAPAuthServiceImpl -
Failed to resolve remote user.
It
> usually mean that no SSO information has
been provided to XWiki.
>
> Any idea what I am doing wrong?
>
> Thx
>
> Rudolf
>
>
>
>
>
--------------------------------------------------------------------------
> Táto správa a všetky pripojené súbory sú
dôverné a určené
> výhradne osobám alebo organizáciám, ktorým boli adresované. Ak nie ste
> zamýšlaný príjemca alebo ste dostali tento e-mail omylom, prosím
upozornite
> okamžite odosielateľa a vymažte tento
e-mail. Neoprávnené kopírovanie,
> zverejnenie alebo distribúcia tohto e-mailu, je prísne zakázané.
>
> This email and any attached file are confidential and intended solely
for
> the
> use of the individual or entity to which they are addressed. If you are
> not the
> intended recipient or have received this e-mail by mistake, please
notify
> the
> sender immediately and delete this e-mail. Any unauthorized copying,
> disclosure
> or distribution of this e-mail's content is strictly prohibited.
>
---------------------------------------------------------------------------
Pred vytlačením tohto e-mailu myslite na životné prostredie.
Please consider your environmental responsibility before printing this
e-mail
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------
Táto správa a všetky pripojené súbory sú dôverné a určené
výhradne osobám alebo organizáciám, ktorým boli adresované. Ak nie ste
zamýšlaný príjemca alebo ste dostali tento e-mail omylom, prosím upozornite
okamžite odosielateľa a vymažte tento e-mail. Neoprávnené kopírovanie,
zverejnenie alebo distribúcia tohto e-mailu, je prísne zakázané.
This email and any attached file are confidential and intended solely for
the
use of the individual or entity to which they are addressed. If you are
not the
intended recipient or have received this e-mail by mistake, please notify
the
sender immediately and delete this e-mail. Any unauthorized copying,
disclosure
or distribution of this e-mail's content is strictly prohibited.
---------------------------------------------------------------------------
Pred vytlačením tohto e-mailu myslite na životné prostredie.
Please consider your environmental responsibility before printing this
e-mail
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users