XOffice : login problem

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

XOffice : login problem

Simon Glet
Hi,

In order to track my XOffice login problem I installed a HTTP
forwarder,logger TcpTrace V0.8.1.717. The tool forwards everything
from 8088 to 8090 and back.

With the following configuration in XOffice:
Server URL : http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin
User Name : glets
Password : glets

The POST is :
POST /xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin/xwiki/xmlrpc HTTP/1.1
Content-Type: text/xml
User-Agent: XML-RPC.NET
Host: localhost:8088
Content-Length: 301
Connection: Keep-Alive

<?xml version="1.0"?>
<methodCall>
  <methodName>confluence1.login</methodName>
  <params>
    <param>
      <value>
        <string>glets</string>
      </value>
    </param>
    <param>
      <value>
        <string>glets</string>
      </value>
    </param>
  </params>
</methodCall>

And the reply is :

HTTP/1.1 401 Unauthorized
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=ADA423739BC3AEC52BBDE47074073A15;
Path=/xwiki-enterprise-web-2.2
Pragma: no-cache
Cache-Control: no-cache
Expires: Wed, 31 Dec 1969 23:59:59 GMT
Content-Type: text/html;charset=UTF-8
Content-Language: fr
Content-Length: 9329
Date: Wed, 24 Feb 2010 14:57:18 GMT

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
  <head>
                    <meta http-equiv="Content-Type"
content="text/html; charset=UTF-8" />
                                    <title>XWikiLogin
(XWiki.XWikiLogin) - XWiki</title>
                <meta http-equiv="Content-Script-Type"
content="text/javascript" />
                        <meta http-equiv="imagetoolbar" content="no"/>
                                            <meta name="document"
content="XWiki.XWikiLogin"/>
    <meta name="space" content="XWiki"/>
    <meta name="page" content="XWikiLogin"/>
    <meta name="version" content="1.1"/>
                    <meta name="gwt:property" content="locale=fr" />
                <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" />
<meta name="revisit-after" content="7 days" />
<meta name="description" content="XWikiLogin" />
<meta name="keywords" content="wiki" />
<meta name="distribution" content="GLOBAL" />
<meta name="rating" content="General" />
<meta name="author" content="" />
<meta http-equiv="reply-to" content="" />
<meta name="language" content="fr" />

                <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin -->
    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/style.css"
rel="stylesheet" type="text/css" media="all" />
<link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/print.css"
rel="stylesheet" type="text/css" media="print" />
        <!--[if IE]>
  <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2Dall.css"
rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 6]>
  <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2D6.css"
rel="stylesheet" type="text/css" />
<![endif]-->

<link rel='stylesheet' type='text/css'
href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link
rel='stylesheet' type='text/css'
href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link
rel='stylesheet' type='text/css'
href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link
rel='stylesheet' type='text/css'
href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.css'/>


    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.css"
rel="stylesheet" type="text/css" />
<link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightbox.css"
rel="stylesheet" type="text/css" />
<!--[if IE]>
  <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css"
rel="stylesheet" type="text/css" />
<![endif]-->

<script type="text/javascript"
src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/prototype/prototype.js"></script>
<script type="text/javascript"
src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/xwiki.js"></script>
<script type="text/javascript"
src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.js"></script>
<script type="text/javascript">
// <![CDATA[
XWiki.webapppath = "xwiki-enterprise-web-2.2/";
XWiki.servletpath = "bin/";
XWiki.contextPath = "/xwiki-enterprise-web-2.2";
XWiki.mainWiki = "xwiki";
XWiki.currentWiki = "xwiki";
XWiki.currentSpace = "XWiki";
XWiki.editor = "";
XWiki.viewer = "";
XWiki.contextaction = "login";
XWiki.docisnew = true;
XWiki.docsyntax = "xwiki/2.0";
XWiki.blacklistedSpaces = [
"Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes"
];
XWiki.hasEdit = false;
window.docviewurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin";
window.docediturl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/edit/XWiki/XWikiLogin";
window.docsaveurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/save/XWiki/XWikiLogin";
// ]]>
</script>
<script type='text/javascript'
src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/scriptaculous/effects.js'></script><script
type='text/javascript'
src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script
type='text/javascript'
src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script
type='text/javascript'
src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script
type='text/javascript'
src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script
type='text/javascript'
src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.js'></script>
<script type='text/javascript'
src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/jsx/XWiki/WebDAV?language=fr'></script>
<script type="text/javascript"
src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/compatibility.js"></script>

  </head>
        <body id="body" class="xwiki loginbody hideleft">
  <div id="xwikimaincontainer">
<div id="xwikimaincontainerinner">

<div id="menuview">
  <div id="mainmenu" class="layoutsubsection actionmenu">
<strong id="xwikimenutitle" class="hidden">Actions générales :</strong>
<div class="rightmenu">
  <div id="tmRegister" class="tmRegister topmenuentry "><a class="tme"
href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/register/XWiki/Register"><strong>Inscription</strong></a></div>
</div>
<div class="leftmenu">
  <div id="tmWiki" class="tmWiki topmenuentry hasIcon"><a class="tme"
href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"><strong>xwiki</strong></a></div>
  <div id="tmSpace" class="tmSpace topmenuentry hasIcon"><a
class="tme" href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/"><strong>XWiki</strong></a></div>
</div>
</div>

</div>
 <div id="headerglobal" class="layoutsection">
<div class="minwidthd"></div>
  <div id="company">
  <div id="companylogo">
    <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"
title="Home" rel="home">
    <img src="/xwiki%2Denterprise%2Dweb%2D2.2/skins/colibri/logo.png"
alt="Wiki Logo"/>
    </a>
  </div>   </div>   <div id="globallinks">
    <form action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/WebSearch">
      <div class="globalsearch">
        <label class="hidden"
for="headerglobalsearchinput">Recherche</label><input
class="globalsearchinput withTip" id="headerglobalsearchinput"
type="text" name="text" value="Chercher..." size="15"/><input
class="button" type="image" value="Go" alt="Go"
src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/icons/xwiki/search.png"/>
      </div>
    </form>
  <span class="glink" id="headerlanguages">
            <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin?language=default"
class="language-default language-current">default</a>
    </span>
  </div>   <div class="clearfloats"></div>
</div>

<div class="contenthideleft" id="contentcontainer">
<div id="contentcontainerinner">
<div class="leftsidecolumns">
  <div id="contentcolumn">
<div class="main layoutsubsection">
<div id="mainContentArea">
<form id="loginForm"
action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/loginsubmit/XWiki/XWikiLogin"
method="post">
<div class="hidden"><input type="hidden" name="xredirect" value=""/>
</div>
    <div class="centered">
    <fieldset class="xwikimessage">
      <legend>Identification</legend>
      <p class="xwikimessage"></p>
<table class="xwikilogintable" summary="loginform">
<tr><th><label for="j_username">Nom d'Utilisateur:</label></th>
<td><input type="text" id="j_username" name="j_username" value=""/></td></tr>
<tr><th><label for="j_password">Mot de Passe:</label></th>
<td><input type="password" id="j_password" name="j_password"
value=""/></td></tr>
<tr><td colspan="2" style="text-align: left;"><input id="rememberme"
type="checkbox" name="j_rememberme" value="true"/><label
for="rememberme">Retenez mes identifiants</label></td></tr>
</table>
<div class="buttons"><span class="buttonwrapper"><input type="submit"
class="button" value="Identification"/></span></div>
  <div style="font-size: 70%; margin-top: 2em;">Forgot your <a
href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ForgotUsername">username</a>
or <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ResetPassword">password</a>?</div>
    </fieldset>
    </div>
</form>
</div></div><script type="text/javascript">
//<![CDATA[
  document.forms.loginForm.j_username.focus();
//]]>
</script>
    </div>
  </div><div id="rightPanels" class="panels right">
                                                </div>

<div class="clearfloats"></div>
  </div></div><div id="footerglobal" class="layoutsection">
<div class="minwidth"></div>
<hr/>
  <div id="xwikilicence">This wiki is licensed under a <a
href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
2.0</a> license</div>
          <div id="xwikiplatformversion">XWiki Enterprise 2.2.27100 -
<a onclick="openURL('http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
'_blank'); return false;"
href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation">Documentation</a></div>
<hr/>
</div>

</div></div></body>
</html>

The reply is the login window ...

What could be wrong with my setup ?

Thanks
Simon Glet

P.S. : Windows XP SP3, Tomcat 6.0, Office 2007, XOffice 1.1.0.107
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: XOffice : login problem

Florin Ciubotaru
Hi,

On 2/24/2010 5:16 PM, Simon Glet wrote:
> Hi,
>
> In order to track my XOffice login problem I installed a HTTP
> forwarder,logger TcpTrace V0.8.1.717. The tool forwards everything
> from 8088 to 8090 and back.
>
> With the following configuration in XOffice:
> Server URL : http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin
>    
This should be:

http://localhost:8088/xwiki-enterprise-web-2.2

You previously said that this failes too. Please post the response for
this url.

Thanks,
Florin Ciubotaru

> User Name : glets
> Password : glets
>
> The POST is :
> POST /xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin/xwiki/xmlrpc HTTP/1.1
> Content-Type: text/xml
> User-Agent: XML-RPC.NET
> Host: localhost:8088
> Content-Length: 301
> Connection: Keep-Alive
>
> <?xml version="1.0"?>
> <methodCall>
>    <methodName>confluence1.login</methodName>
>    <params>
>      <param>
>        <value>
>          <string>glets</string>
>        </value>
>      </param>
>      <param>
>        <value>
>          <string>glets</string>
>        </value>
>      </param>
>    </params>
> </methodCall>
>
> And the reply is :
>
> HTTP/1.1 401 Unauthorized
> Server: Apache-Coyote/1.1
> Set-Cookie: JSESSIONID=ADA423739BC3AEC52BBDE47074073A15;
> Path=/xwiki-enterprise-web-2.2
> Pragma: no-cache
> Cache-Control: no-cache
> Expires: Wed, 31 Dec 1969 23:59:59 GMT
> Content-Type: text/html;charset=UTF-8
> Content-Language: fr
> Content-Length: 9329
> Date: Wed, 24 Feb 2010 14:57:18 GMT
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
>    <head>
>                      <meta http-equiv="Content-Type"
> content="text/html; charset=UTF-8" />
>                                      <title>XWikiLogin
> (XWiki.XWikiLogin) - XWiki</title>
>                  <meta http-equiv="Content-Script-Type"
> content="text/javascript" />
>                          <meta http-equiv="imagetoolbar" content="no"/>
>                                              <meta name="document"
> content="XWiki.XWikiLogin"/>
>      <meta name="space" content="XWiki"/>
>      <meta name="page" content="XWikiLogin"/>
>      <meta name="version" content="1.1"/>
>                      <meta name="gwt:property" content="locale=fr" />
>                  <meta http-equiv="Content-Type" content="text/html;
> charset=UTF-8" />
> <meta name="revisit-after" content="7 days" />
> <meta name="description" content="XWikiLogin" />
> <meta name="keywords" content="wiki" />
> <meta name="distribution" content="GLOBAL" />
> <meta name="rating" content="General" />
> <meta name="author" content="" />
> <meta http-equiv="reply-to" content="" />
> <meta name="language" content="fr" />
>
>                  <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin -->
>      <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/style.css"
> rel="stylesheet" type="text/css" media="all" />
> <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/print.css"
> rel="stylesheet" type="text/css" media="print" />
>          <!--[if IE]>
>    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2Dall.css"
> rel="stylesheet" type="text/css" />
> <![endif]-->
> <!--[if IE 6]>
>    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2D6.css"
> rel="stylesheet" type="text/css" />
> <![endif]-->
>
> <link rel='stylesheet' type='text/css'
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link
> rel='stylesheet' type='text/css'
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link
> rel='stylesheet' type='text/css'
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link
> rel='stylesheet' type='text/css'
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.css'/>
>
>
>      <link href="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.css"
> rel="stylesheet" type="text/css" />
> <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightbox.css"
> rel="stylesheet" type="text/css" />
> <!--[if IE]>
>    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css"
> rel="stylesheet" type="text/css" />
> <![endif]-->
>
> <script type="text/javascript"
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/prototype/prototype.js"></script>
> <script type="text/javascript"
> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/xwiki.js"></script>
> <script type="text/javascript"
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.js"></script>
> <script type="text/javascript">
> //<![CDATA[
> XWiki.webapppath = "xwiki-enterprise-web-2.2/";
> XWiki.servletpath = "bin/";
> XWiki.contextPath = "/xwiki-enterprise-web-2.2";
> XWiki.mainWiki = "xwiki";
> XWiki.currentWiki = "xwiki";
> XWiki.currentSpace = "XWiki";
> XWiki.editor = "";
> XWiki.viewer = "";
> XWiki.contextaction = "login";
> XWiki.docisnew = true;
> XWiki.docsyntax = "xwiki/2.0";
> XWiki.blacklistedSpaces = [
> "Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes"
> ];
> XWiki.hasEdit = false;
> window.docviewurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin";
> window.docediturl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/edit/XWiki/XWikiLogin";
> window.docsaveurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/save/XWiki/XWikiLogin";
> // ]]>
> </script>
> <script type='text/javascript'
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/scriptaculous/effects.js'></script><script
> type='text/javascript'
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script
> type='text/javascript'
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script
> type='text/javascript'
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script
> type='text/javascript'
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script
> type='text/javascript'
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.js'></script>
> <script type='text/javascript'
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/jsx/XWiki/WebDAV?language=fr'></script>
> <script type="text/javascript"
> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/compatibility.js"></script>
>
>    </head>
>          <body id="body" class="xwiki loginbody hideleft">
>    <div id="xwikimaincontainer">
> <div id="xwikimaincontainerinner">
>
> <div id="menuview">
>    <div id="mainmenu" class="layoutsubsection actionmenu">
> <strong id="xwikimenutitle" class="hidden">Actions générales :</strong>
> <div class="rightmenu">
>    <div id="tmRegister" class="tmRegister topmenuentry "><a class="tme"
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/register/XWiki/Register"><strong>Inscription</strong></a></div>
> </div>
> <div class="leftmenu">
>    <div id="tmWiki" class="tmWiki topmenuentry hasIcon"><a class="tme"
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"><strong>xwiki</strong></a></div>
>    <div id="tmSpace" class="tmSpace topmenuentry hasIcon"><a
> class="tme" href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/"><strong>XWiki</strong></a></div>
> </div>
> </div>
>
> </div>
>   <div id="headerglobal" class="layoutsection">
> <div class="minwidthd"></div>
>    <div id="company">
>    <div id="companylogo">
>      <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"
> title="Home" rel="home">
>      <img src="/xwiki%2Denterprise%2Dweb%2D2.2/skins/colibri/logo.png"
> alt="Wiki Logo"/>
>      </a>
>    </div>    </div>    <div id="globallinks">
>      <form action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/WebSearch">
>        <div class="globalsearch">
>          <label class="hidden"
> for="headerglobalsearchinput">Recherche</label><input
> class="globalsearchinput withTip" id="headerglobalsearchinput"
> type="text" name="text" value="Chercher..." size="15"/><input
> class="button" type="image" value="Go" alt="Go"
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/icons/xwiki/search.png"/>
>        </div>
>      </form>
>    <span class="glink" id="headerlanguages">
>              <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin?language=default"
> class="language-default language-current">default</a>
>      </span>
>    </div>    <div class="clearfloats"></div>
> </div>
>
> <div class="contenthideleft" id="contentcontainer">
> <div id="contentcontainerinner">
> <div class="leftsidecolumns">
>    <div id="contentcolumn">
> <div class="main layoutsubsection">
> <div id="mainContentArea">
> <form id="loginForm"
> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/loginsubmit/XWiki/XWikiLogin"
> method="post">
> <div class="hidden"><input type="hidden" name="xredirect" value=""/>
> </div>
>      <div class="centered">
>      <fieldset class="xwikimessage">
>        <legend>Identification</legend>
>        <p class="xwikimessage"></p>
> <table class="xwikilogintable" summary="loginform">
> <tr><th><label for="j_username">Nom d'Utilisateur:</label></th>
> <td><input type="text" id="j_username" name="j_username" value=""/></td></tr>
> <tr><th><label for="j_password">Mot de Passe:</label></th>
> <td><input type="password" id="j_password" name="j_password"
> value=""/></td></tr>
> <tr><td colspan="2" style="text-align: left;"><input id="rememberme"
> type="checkbox" name="j_rememberme" value="true"/><label
> for="rememberme">Retenez mes identifiants</label></td></tr>
> </table>
> <div class="buttons"><span class="buttonwrapper"><input type="submit"
> class="button" value="Identification"/></span></div>
>    <div style="font-size: 70%; margin-top: 2em;">Forgot your<a
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ForgotUsername">username</a>
> or<a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ResetPassword">password</a>?</div>
>      </fieldset>
>      </div>
> </form>
> </div></div><script type="text/javascript">
> //<![CDATA[
>    document.forms.loginForm.j_username.focus();
> //]]>
> </script>
>      </div>
>    </div><div id="rightPanels" class="panels right">
>                                                  </div>
>
> <div class="clearfloats"></div>
>    </div></div><div id="footerglobal" class="layoutsection">
> <div class="minwidth"></div>
> <hr/>
>    <div id="xwikilicence">This wiki is licensed under a<a
> href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
> 2.0</a>  license</div>
>            <div id="xwikiplatformversion">XWiki Enterprise 2.2.27100 -
> <a onclick="openURL('http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
> '_blank'); return false;"
> href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation">Documentation</a></div>
> <hr/>
> </div>
>
> </div></div></body>
> </html>
>
> The reply is the login window ...
>
> What could be wrong with my setup ?
>
> Thanks
> Simon Glet
>
> P.S. : Windows XP SP3, Tomcat 6.0, Office 2007, XOffice 1.1.0.107
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
>    

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: XOffice : login problem

Simon Glet
Sure no problem.

The POST is :

POST /xwiki-enterprise-web-2.2/xwiki/xmlrpc HTTP/1.1
Content-Type: text/xml
User-Agent: XML-RPC.NET
Host: localhost:8088
Content-Length: 301
Connection: Keep-Alive

<?xml version="1.0"?>
<methodCall>
  <methodName>confluence1.login</methodName>
  <params>
    <param>
      <value>
        <string>glets</string>
      </value>
    </param>
    <param>
      <value>
        <string>glets</string>
      </value>
    </param>
  </params>
</methodCall>GET
/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin;jsessionid=1F2EB5326C1409EEFC1EE399CFF89426?srid=zBr9ZDFG
HTTP/1.1
Content-Type: text/xml
User-Agent: XML-RPC.NET
Host: localhost:8088
Cookie: JSESSIONID=1F2EB5326C1409EEFC1EE399CFF89426

and the response is :

HTTP/1.1 302 Moved Temporarily
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=1F2EB5326C1409EEFC1EE399CFF89426;
Path=/xwiki-enterprise-web-2.2
Location: http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin;jsessionid=1F2EB5326C1409EEFC1EE399CFF89426?srid=zBr9ZDFG
Content-Type: text/html;charset=ISO-8859-1
Content-Language: fr
Content-Length: 0
Date: Thu, 25 Feb 2010 13:37:56 GMT

HTTP/1.1 401 Unauthorized
Server: Apache-Coyote/1.1
Pragma: no-cache
Cache-Control: no-cache
Expires: Wed, 31 Dec 1969 23:59:59 GMT
Content-Type: text/html;charset=UTF-8
Content-Language: fr
Content-Length: 9381
Date: Thu, 25 Feb 2010 13:37:56 GMT

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
  <head>
                    <meta http-equiv="Content-Type"
content="text/html; charset=UTF-8" />
                                    <title>XWikiLogin
(XWiki.XWikiLogin) - XWiki</title>
                <meta http-equiv="Content-Script-Type"
content="text/javascript" />
                        <meta http-equiv="imagetoolbar" content="no"/>
                                            <meta name="document"
content="XWiki.XWikiLogin"/>
    <meta name="space" content="XWiki"/>
    <meta name="page" content="XWikiLogin"/>
    <meta name="version" content="1.1"/>
                    <meta name="gwt:property" content="locale=fr" />
                <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" />
<meta name="revisit-after" content="7 days" />
<meta name="description" content="XWikiLogin" />
<meta name="keywords" content="wiki" />
<meta name="distribution" content="GLOBAL" />
<meta name="rating" content="General" />
<meta name="author" content="" />
<meta http-equiv="reply-to" content="" />
<meta name="language" content="fr" />

                <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin -->
    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/style.css"
rel="stylesheet" type="text/css" media="all" />
<link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/print.css"
rel="stylesheet" type="text/css" media="print" />
        <!--[if IE]>
  <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2Dall.css"
rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 6]>
  <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2D6.css"
rel="stylesheet" type="text/css" />
<![endif]-->

<link rel='stylesheet' type='text/css'
href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link
rel='stylesheet' type='text/css'
href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link
rel='stylesheet' type='text/css'
href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link
rel='stylesheet' type='text/css'
href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.css'/>


    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.css"
rel="stylesheet" type="text/css" />
<link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightbox.css"
rel="stylesheet" type="text/css" />
<!--[if IE]>
  <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css"
rel="stylesheet" type="text/css" />
<![endif]-->










<script type="text/javascript"
src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/prototype/prototype.js"></script>
<script type="text/javascript"
src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/xwiki.js"></script>
<script type="text/javascript"
src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.js"></script>
<script type="text/javascript">
// <![CDATA[
XWiki.webapppath = "xwiki-enterprise-web-2.2/";
XWiki.servletpath = "bin/";
XWiki.contextPath = "/xwiki-enterprise-web-2.2";
XWiki.mainWiki = "xwiki";
XWiki.currentWiki = "xwiki";
XWiki.currentSpace = "XWiki";
XWiki.editor = "";
XWiki.viewer = "";
XWiki.contextaction = "login";
XWiki.docisnew = true;
XWiki.docsyntax = "xwiki/2.0";
XWiki.blacklistedSpaces = [
"Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes"
];
XWiki.hasEdit = false;
window.docviewurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin";
window.docediturl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/edit/XWiki/XWikiLogin";
window.docsaveurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/save/XWiki/XWikiLogin";
// ]]>
</script>
<script type='text/javascript'
src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/scriptaculous/effects.js'></script><script
type='text/javascript'
src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script
type='text/javascript'
src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script
type='text/javascript'
src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script
type='text/javascript'
src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script
type='text/javascript'
src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.js'></script>
<script type='text/javascript'
src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/jsx/XWiki/WebDAV?language=fr'></script>
<script type="text/javascript"
src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/compatibility.js"></script>

  </head>
        <body id="body" class="xwiki loginbody hideleft">
  <div id="xwikimaincontainer">
<div id="xwikimaincontainerinner">

<div id="menuview">
  <div id="mainmenu" class="layoutsubsection actionmenu">
<strong id="xwikimenutitle" class="hidden">Actions générales :</strong>
<div class="rightmenu">
  <div id="tmRegister" class="tmRegister topmenuentry "><a class="tme"
href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/register/XWiki/Register"><strong>Inscription</strong></a></div>
</div>
<div class="leftmenu">
  <div id="tmWiki" class="tmWiki topmenuentry hasIcon"><a class="tme"
href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"><strong>xwiki</strong></a></div>
  <div id="tmSpace" class="tmSpace topmenuentry hasIcon"><a
class="tme" href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/"><strong>XWiki</strong></a></div>
</div>
</div>

</div>
 <div id="headerglobal" class="layoutsection">
<div class="minwidthd"></div>
  <div id="company">
  <div id="companylogo">
    <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"
title="Home" rel="home">
    <img src="/xwiki%2Denterprise%2Dweb%2D2.2/skins/colibri/logo.png"
alt="Wiki Logo"/>
    </a>
  </div>   </div>   <div id="globallinks">
    <form action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/WebSearch">
      <div class="globalsearch">
        <label class="hidden"
for="headerglobalsearchinput">Recherche</label><input
class="globalsearchinput withTip" id="headerglobalsearchinput"
type="text" name="text" value="Chercher..." size="15"/><input
class="button" type="image" value="Go" alt="Go"
src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/icons/xwiki/search.png"/>
      </div>
    </form>
  <span class="glink" id="headerlanguages">
            <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin?language=default"
class="language-default language-current">default</a>
    </span>
  </div>   <div class="clearfloats"></div>
</div>

<div class="contenthideleft" id="contentcontainer">
<div id="contentcontainerinner">
<div class="leftsidecolumns">
  <div id="contentcolumn">
<div class="main layoutsubsection">
<div id="mainContentArea">
<form id="loginForm"
action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/loginsubmit/XWiki/XWikiLogin"
method="post">
<div class="hidden"><input type="hidden" name="xredirect" value=""/>
<input type="hidden" name="srid" value="zBr9ZDFG"/>
</div>
    <div class="centered">
    <fieldset class="xwikimessage">
      <legend>Identification</legend>
      <p class="xwikimessage"></p>
<table class="xwikilogintable" summary="loginform">
<tr><th><label for="j_username">Nom d'Utilisateur:</label></th>
<td><input type="text" id="j_username" name="j_username" value=""/></td></tr>
<tr><th><label for="j_password">Mot de Passe:</label></th>
<td><input type="password" id="j_password" name="j_password"
value=""/></td></tr>
<tr><td colspan="2" style="text-align: left;"><input id="rememberme"
type="checkbox" name="j_rememberme" value="true"/><label
for="rememberme">Retenez mes identifiants</label></td></tr>
</table>
<div class="buttons"><span class="buttonwrapper"><input type="submit"
class="button" value="Identification"/></span></div>
  <div style="font-size: 70%; margin-top: 2em;">Forgot your <a
href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ForgotUsername">username</a>
or <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ResetPassword">password</a>?</div>
    </fieldset>
    </div>
</form>
</div></div><script type="text/javascript">
//<![CDATA[
  document.forms.loginForm.j_username.focus();
//]]>
</script>
    </div>
  </div><div id="rightPanels" class="panels right">
                                                </div>

<div class="clearfloats"></div>
  </div></div><div id="footerglobal" class="layoutsection">
<div class="minwidth"></div>
<hr/>
  <div id="xwikilicence">This wiki is licensed under a <a
href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
2.0</a> license</div>
          <div id="xwikiplatformversion">XWiki Enterprise 2.2.27100 -
<a onclick="openURL('http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
'_blank'); return false;"
href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation">Documentation</a></div>
<hr/>
</div>

</div></div></body>
</html>

Thanks
Simon Glet

On Thu, Feb 25, 2010 at 5:43 AM, Florin Ciubotaru
<[hidden email]> wrote:

> Hi,
>
> On 2/24/2010 5:16 PM, Simon Glet wrote:
>> Hi,
>>
>> In order to track my XOffice login problem I installed a HTTP
>> forwarder,logger TcpTrace V0.8.1.717. The tool forwards everything
>> from 8088 to 8090 and back.
>>
>> With the following configuration in XOffice:
>> Server URL : http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin
>>
> This should be:
>
> http://localhost:8088/xwiki-enterprise-web-2.2
>
> You previously said that this failes too. Please post the response for
> this url.
>
> Thanks,
> Florin Ciubotaru
>> User Name : glets
>> Password : glets
>>
>> The POST is :
>> POST /xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin/xwiki/xmlrpc HTTP/1.1
>> Content-Type: text/xml
>> User-Agent: XML-RPC.NET
>> Host: localhost:8088
>> Content-Length: 301
>> Connection: Keep-Alive
>>
>> <?xml version="1.0"?>
>> <methodCall>
>>    <methodName>confluence1.login</methodName>
>>    <params>
>>      <param>
>>        <value>
>>          <string>glets</string>
>>        </value>
>>      </param>
>>      <param>
>>        <value>
>>          <string>glets</string>
>>        </value>
>>      </param>
>>    </params>
>> </methodCall>
>>
>> And the reply is :
>>
>> HTTP/1.1 401 Unauthorized
>> Server: Apache-Coyote/1.1
>> Set-Cookie: JSESSIONID=ADA423739BC3AEC52BBDE47074073A15;
>> Path=/xwiki-enterprise-web-2.2
>> Pragma: no-cache
>> Cache-Control: no-cache
>> Expires: Wed, 31 Dec 1969 23:59:59 GMT
>> Content-Type: text/html;charset=UTF-8
>> Content-Language: fr
>> Content-Length: 9329
>> Date: Wed, 24 Feb 2010 14:57:18 GMT
>>
>> <?xml version="1.0" encoding="UTF-8" ?>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>>      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
>>    <head>
>>                      <meta http-equiv="Content-Type"
>> content="text/html; charset=UTF-8" />
>>                                      <title>XWikiLogin
>> (XWiki.XWikiLogin) - XWiki</title>
>>                  <meta http-equiv="Content-Script-Type"
>> content="text/javascript" />
>>                          <meta http-equiv="imagetoolbar" content="no"/>
>>                                              <meta name="document"
>> content="XWiki.XWikiLogin"/>
>>      <meta name="space" content="XWiki"/>
>>      <meta name="page" content="XWikiLogin"/>
>>      <meta name="version" content="1.1"/>
>>                      <meta name="gwt:property" content="locale=fr" />
>>                  <meta http-equiv="Content-Type" content="text/html;
>> charset=UTF-8" />
>> <meta name="revisit-after" content="7 days" />
>> <meta name="description" content="XWikiLogin" />
>> <meta name="keywords" content="wiki" />
>> <meta name="distribution" content="GLOBAL" />
>> <meta name="rating" content="General" />
>> <meta name="author" content="" />
>> <meta http-equiv="reply-to" content="" />
>> <meta name="language" content="fr" />
>>
>>                  <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin -->
>>      <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/style.css"
>> rel="stylesheet" type="text/css" media="all" />
>> <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/print.css"
>> rel="stylesheet" type="text/css" media="print" />
>>          <!--[if IE]>
>>    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2Dall.css"
>> rel="stylesheet" type="text/css" />
>> <![endif]-->
>> <!--[if IE 6]>
>>    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2D6.css"
>> rel="stylesheet" type="text/css" />
>> <![endif]-->
>>
>> <link rel='stylesheet' type='text/css'
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link
>> rel='stylesheet' type='text/css'
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link
>> rel='stylesheet' type='text/css'
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link
>> rel='stylesheet' type='text/css'
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.css'/>
>>
>>
>>      <link href="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.css"
>> rel="stylesheet" type="text/css" />
>> <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightbox.css"
>> rel="stylesheet" type="text/css" />
>> <!--[if IE]>
>>    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css"
>> rel="stylesheet" type="text/css" />
>> <![endif]-->
>>
>> <script type="text/javascript"
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/prototype/prototype.js"></script>
>> <script type="text/javascript"
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/xwiki.js"></script>
>> <script type="text/javascript"
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.js"></script>
>> <script type="text/javascript">
>> //<![CDATA[
>> XWiki.webapppath = "xwiki-enterprise-web-2.2/";
>> XWiki.servletpath = "bin/";
>> XWiki.contextPath = "/xwiki-enterprise-web-2.2";
>> XWiki.mainWiki = "xwiki";
>> XWiki.currentWiki = "xwiki";
>> XWiki.currentSpace = "XWiki";
>> XWiki.editor = "";
>> XWiki.viewer = "";
>> XWiki.contextaction = "login";
>> XWiki.docisnew = true;
>> XWiki.docsyntax = "xwiki/2.0";
>> XWiki.blacklistedSpaces = [
>> "Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes"
>> ];
>> XWiki.hasEdit = false;
>> window.docviewurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin";
>> window.docediturl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/edit/XWiki/XWikiLogin";
>> window.docsaveurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/save/XWiki/XWikiLogin";
>> // ]]>
>> </script>
>> <script type='text/javascript'
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/scriptaculous/effects.js'></script><script
>> type='text/javascript'
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script
>> type='text/javascript'
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script
>> type='text/javascript'
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script
>> type='text/javascript'
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script
>> type='text/javascript'
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.js'></script>
>> <script type='text/javascript'
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/jsx/XWiki/WebDAV?language=fr'></script>
>> <script type="text/javascript"
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/compatibility.js"></script>
>>
>>    </head>
>>          <body id="body" class="xwiki loginbody hideleft">
>>    <div id="xwikimaincontainer">
>> <div id="xwikimaincontainerinner">
>>
>> <div id="menuview">
>>    <div id="mainmenu" class="layoutsubsection actionmenu">
>> <strong id="xwikimenutitle" class="hidden">Actions générales :</strong>
>> <div class="rightmenu">
>>    <div id="tmRegister" class="tmRegister topmenuentry "><a class="tme"
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/register/XWiki/Register"><strong>Inscription</strong></a></div>
>> </div>
>> <div class="leftmenu">
>>    <div id="tmWiki" class="tmWiki topmenuentry hasIcon"><a class="tme"
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"><strong>xwiki</strong></a></div>
>>    <div id="tmSpace" class="tmSpace topmenuentry hasIcon"><a
>> class="tme" href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/"><strong>XWiki</strong></a></div>
>> </div>
>> </div>
>>
>> </div>
>>   <div id="headerglobal" class="layoutsection">
>> <div class="minwidthd"></div>
>>    <div id="company">
>>    <div id="companylogo">
>>      <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"
>> title="Home" rel="home">
>>      <img src="/xwiki%2Denterprise%2Dweb%2D2.2/skins/colibri/logo.png"
>> alt="Wiki Logo"/>
>>      </a>
>>    </div>    </div>    <div id="globallinks">
>>      <form action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/WebSearch">
>>        <div class="globalsearch">
>>          <label class="hidden"
>> for="headerglobalsearchinput">Recherche</label><input
>> class="globalsearchinput withTip" id="headerglobalsearchinput"
>> type="text" name="text" value="Chercher..." size="15"/><input
>> class="button" type="image" value="Go" alt="Go"
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/icons/xwiki/search.png"/>
>>        </div>
>>      </form>
>>    <span class="glink" id="headerlanguages">
>>              <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin?language=default"
>> class="language-default language-current">default</a>
>>      </span>
>>    </div>    <div class="clearfloats"></div>
>> </div>
>>
>> <div class="contenthideleft" id="contentcontainer">
>> <div id="contentcontainerinner">
>> <div class="leftsidecolumns">
>>    <div id="contentcolumn">
>> <div class="main layoutsubsection">
>> <div id="mainContentArea">
>> <form id="loginForm"
>> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/loginsubmit/XWiki/XWikiLogin"
>> method="post">
>> <div class="hidden"><input type="hidden" name="xredirect" value=""/>
>> </div>
>>      <div class="centered">
>>      <fieldset class="xwikimessage">
>>        <legend>Identification</legend>
>>        <p class="xwikimessage"></p>
>> <table class="xwikilogintable" summary="loginform">
>> <tr><th><label for="j_username">Nom d'Utilisateur:</label></th>
>> <td><input type="text" id="j_username" name="j_username" value=""/></td></tr>
>> <tr><th><label for="j_password">Mot de Passe:</label></th>
>> <td><input type="password" id="j_password" name="j_password"
>> value=""/></td></tr>
>> <tr><td colspan="2" style="text-align: left;"><input id="rememberme"
>> type="checkbox" name="j_rememberme" value="true"/><label
>> for="rememberme">Retenez mes identifiants</label></td></tr>
>> </table>
>> <div class="buttons"><span class="buttonwrapper"><input type="submit"
>> class="button" value="Identification"/></span></div>
>>    <div style="font-size: 70%; margin-top: 2em;">Forgot your<a
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ForgotUsername">username</a>
>> or<a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ResetPassword">password</a>?</div>
>>      </fieldset>
>>      </div>
>> </form>
>> </div></div><script type="text/javascript">
>> //<![CDATA[
>>    document.forms.loginForm.j_username.focus();
>> //]]>
>> </script>
>>      </div>
>>    </div><div id="rightPanels" class="panels right">
>>                                                  </div>
>>
>> <div class="clearfloats"></div>
>>    </div></div><div id="footerglobal" class="layoutsection">
>> <div class="minwidth"></div>
>> <hr/>
>>    <div id="xwikilicence">This wiki is licensed under a<a
>> href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
>> 2.0</a>  license</div>
>>            <div id="xwikiplatformversion">XWiki Enterprise 2.2.27100 -
>> <a onclick="openURL('http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
>> '_blank'); return false;"
>> href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation">Documentation</a></div>
>> <hr/>
>> </div>
>>
>> </div></div></body>
>> </html>
>>
>> The reply is the login window ...
>>
>> What could be wrong with my setup ?
>>
>> Thanks
>> Simon Glet
>>
>> P.S. : Windows XP SP3, Tomcat 6.0, Office 2007, XOffice 1.1.0.107
>> _______________________________________________
>> users mailing list
>> [hidden email]
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: XOffice : login problem

Florin Ciubotaru
Hi Simon,

Looks like your wiki is redirecting to the login page. This happens
because XOffice only uses "xwiki" as an application context, and
"detects" the xmlrpc servlet mapping in a wrong manner.
I now remember thinking at this potential issue since I developed the
connectivity module. I've been hesitating to allow more flexibility on
this because nobody requested it until now and because this will force
every user to fill in more strange settings in XOffice. I tend to think
it's more efficient having an admin configuring some settings then all
users doing the same thing ;)

There are two quick fixes for this:
1) Redeploy XWiki using an "xwiki" directory instead of
"xwiki-enterprise-web-2.2"
2) Reconfigure the xmlrpc servler mapping to fit the XOffice request. In
order to do this, go to /WEB-INF/web.xml and  look for:

<servlet-mapping>
<servlet-name>xmlrpc</servlet-name>
<url-pattern>/xmlrpc/*</url-pattern>
</servlet-mapping>

Then change "/xmlrpc/*" with "*xmlrpc/".

I think going for option 1) is best.
If you feel more flexibility is still needed then please create a jira
issue and I'll try to implement in one of the following releases.

Florin Ciubotaru

On 2/25/2010 3:41 PM, Simon Glet wrote:

> Sure no problem.
>
> The POST is :
>
> POST /xwiki-enterprise-web-2.2/xwiki/xmlrpc HTTP/1.1
> Content-Type: text/xml
> User-Agent: XML-RPC.NET
> Host: localhost:8088
> Content-Length: 301
> Connection: Keep-Alive
>
> <?xml version="1.0"?>
> <methodCall>
>    <methodName>confluence1.login</methodName>
>    <params>
>      <param>
>        <value>
>          <string>glets</string>
>        </value>
>      </param>
>      <param>
>        <value>
>          <string>glets</string>
>        </value>
>      </param>
>    </params>
> </methodCall>GET
> /xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin;jsessionid=1F2EB5326C1409EEFC1EE399CFF89426?srid=zBr9ZDFG
> HTTP/1.1
> Content-Type: text/xml
> User-Agent: XML-RPC.NET
> Host: localhost:8088
> Cookie: JSESSIONID=1F2EB5326C1409EEFC1EE399CFF89426
>
> and the response is :
>
> HTTP/1.1 302 Moved Temporarily
> Server: Apache-Coyote/1.1
> Set-Cookie: JSESSIONID=1F2EB5326C1409EEFC1EE399CFF89426;
> Path=/xwiki-enterprise-web-2.2
> Location: http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin;jsessionid=1F2EB5326C1409EEFC1EE399CFF89426?srid=zBr9ZDFG
> Content-Type: text/html;charset=ISO-8859-1
> Content-Language: fr
> Content-Length: 0
> Date: Thu, 25 Feb 2010 13:37:56 GMT
>
> HTTP/1.1 401 Unauthorized
> Server: Apache-Coyote/1.1
> Pragma: no-cache
> Cache-Control: no-cache
> Expires: Wed, 31 Dec 1969 23:59:59 GMT
> Content-Type: text/html;charset=UTF-8
> Content-Language: fr
> Content-Length: 9381
> Date: Thu, 25 Feb 2010 13:37:56 GMT
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
>    <head>
>                      <meta http-equiv="Content-Type"
> content="text/html; charset=UTF-8" />
>                                      <title>XWikiLogin
> (XWiki.XWikiLogin) - XWiki</title>
>                  <meta http-equiv="Content-Script-Type"
> content="text/javascript" />
>                          <meta http-equiv="imagetoolbar" content="no"/>
>                                              <meta name="document"
> content="XWiki.XWikiLogin"/>
>      <meta name="space" content="XWiki"/>
>      <meta name="page" content="XWikiLogin"/>
>      <meta name="version" content="1.1"/>
>                      <meta name="gwt:property" content="locale=fr" />
>                  <meta http-equiv="Content-Type" content="text/html;
> charset=UTF-8" />
> <meta name="revisit-after" content="7 days" />
> <meta name="description" content="XWikiLogin" />
> <meta name="keywords" content="wiki" />
> <meta name="distribution" content="GLOBAL" />
> <meta name="rating" content="General" />
> <meta name="author" content="" />
> <meta http-equiv="reply-to" content="" />
> <meta name="language" content="fr" />
>
>                  <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin -->
>      <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/style.css"
> rel="stylesheet" type="text/css" media="all" />
> <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/print.css"
> rel="stylesheet" type="text/css" media="print" />
>          <!--[if IE]>
>    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2Dall.css"
> rel="stylesheet" type="text/css" />
> <![endif]-->
> <!--[if IE 6]>
>    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2D6.css"
> rel="stylesheet" type="text/css" />
> <![endif]-->
>
> <link rel='stylesheet' type='text/css'
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link
> rel='stylesheet' type='text/css'
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link
> rel='stylesheet' type='text/css'
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link
> rel='stylesheet' type='text/css'
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.css'/>
>
>
>      <link href="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.css"
> rel="stylesheet" type="text/css" />
> <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightbox.css"
> rel="stylesheet" type="text/css" />
> <!--[if IE]>
>    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css"
> rel="stylesheet" type="text/css" />
> <![endif]-->
>
>
>
>
>
>
>
>
>
>
> <script type="text/javascript"
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/prototype/prototype.js"></script>
> <script type="text/javascript"
> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/xwiki.js"></script>
> <script type="text/javascript"
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.js"></script>
> <script type="text/javascript">
> //<![CDATA[
> XWiki.webapppath = "xwiki-enterprise-web-2.2/";
> XWiki.servletpath = "bin/";
> XWiki.contextPath = "/xwiki-enterprise-web-2.2";
> XWiki.mainWiki = "xwiki";
> XWiki.currentWiki = "xwiki";
> XWiki.currentSpace = "XWiki";
> XWiki.editor = "";
> XWiki.viewer = "";
> XWiki.contextaction = "login";
> XWiki.docisnew = true;
> XWiki.docsyntax = "xwiki/2.0";
> XWiki.blacklistedSpaces = [
> "Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes"
> ];
> XWiki.hasEdit = false;
> window.docviewurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin";
> window.docediturl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/edit/XWiki/XWikiLogin";
> window.docsaveurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/save/XWiki/XWikiLogin";
> // ]]>
> </script>
> <script type='text/javascript'
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/scriptaculous/effects.js'></script><script
> type='text/javascript'
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script
> type='text/javascript'
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script
> type='text/javascript'
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script
> type='text/javascript'
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script
> type='text/javascript'
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.js'></script>
> <script type='text/javascript'
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/jsx/XWiki/WebDAV?language=fr'></script>
> <script type="text/javascript"
> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/compatibility.js"></script>
>
>    </head>
>          <body id="body" class="xwiki loginbody hideleft">
>    <div id="xwikimaincontainer">
> <div id="xwikimaincontainerinner">
>
> <div id="menuview">
>    <div id="mainmenu" class="layoutsubsection actionmenu">
> <strong id="xwikimenutitle" class="hidden">Actions générales :</strong>
> <div class="rightmenu">
>    <div id="tmRegister" class="tmRegister topmenuentry "><a class="tme"
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/register/XWiki/Register"><strong>Inscription</strong></a></div>
> </div>
> <div class="leftmenu">
>    <div id="tmWiki" class="tmWiki topmenuentry hasIcon"><a class="tme"
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"><strong>xwiki</strong></a></div>
>    <div id="tmSpace" class="tmSpace topmenuentry hasIcon"><a
> class="tme" href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/"><strong>XWiki</strong></a></div>
> </div>
> </div>
>
> </div>
>   <div id="headerglobal" class="layoutsection">
> <div class="minwidthd"></div>
>    <div id="company">
>    <div id="companylogo">
>      <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"
> title="Home" rel="home">
>      <img src="/xwiki%2Denterprise%2Dweb%2D2.2/skins/colibri/logo.png"
> alt="Wiki Logo"/>
>      </a>
>    </div>    </div>    <div id="globallinks">
>      <form action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/WebSearch">
>        <div class="globalsearch">
>          <label class="hidden"
> for="headerglobalsearchinput">Recherche</label><input
> class="globalsearchinput withTip" id="headerglobalsearchinput"
> type="text" name="text" value="Chercher..." size="15"/><input
> class="button" type="image" value="Go" alt="Go"
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/icons/xwiki/search.png"/>
>        </div>
>      </form>
>    <span class="glink" id="headerlanguages">
>              <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin?language=default"
> class="language-default language-current">default</a>
>      </span>
>    </div>    <div class="clearfloats"></div>
> </div>
>
> <div class="contenthideleft" id="contentcontainer">
> <div id="contentcontainerinner">
> <div class="leftsidecolumns">
>    <div id="contentcolumn">
> <div class="main layoutsubsection">
> <div id="mainContentArea">
> <form id="loginForm"
> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/loginsubmit/XWiki/XWikiLogin"
> method="post">
> <div class="hidden"><input type="hidden" name="xredirect" value=""/>
> <input type="hidden" name="srid" value="zBr9ZDFG"/>
> </div>
>      <div class="centered">
>      <fieldset class="xwikimessage">
>        <legend>Identification</legend>
>        <p class="xwikimessage"></p>
> <table class="xwikilogintable" summary="loginform">
> <tr><th><label for="j_username">Nom d'Utilisateur:</label></th>
> <td><input type="text" id="j_username" name="j_username" value=""/></td></tr>
> <tr><th><label for="j_password">Mot de Passe:</label></th>
> <td><input type="password" id="j_password" name="j_password"
> value=""/></td></tr>
> <tr><td colspan="2" style="text-align: left;"><input id="rememberme"
> type="checkbox" name="j_rememberme" value="true"/><label
> for="rememberme">Retenez mes identifiants</label></td></tr>
> </table>
> <div class="buttons"><span class="buttonwrapper"><input type="submit"
> class="button" value="Identification"/></span></div>
>    <div style="font-size: 70%; margin-top: 2em;">Forgot your<a
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ForgotUsername">username</a>
> or<a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ResetPassword">password</a>?</div>
>      </fieldset>
>      </div>
> </form>
> </div></div><script type="text/javascript">
> //<![CDATA[
>    document.forms.loginForm.j_username.focus();
> //]]>
> </script>
>      </div>
>    </div><div id="rightPanels" class="panels right">
>                                                  </div>
>
> <div class="clearfloats"></div>
>    </div></div><div id="footerglobal" class="layoutsection">
> <div class="minwidth"></div>
> <hr/>
>    <div id="xwikilicence">This wiki is licensed under a<a
> href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
> 2.0</a>  license</div>
>            <div id="xwikiplatformversion">XWiki Enterprise 2.2.27100 -
> <a onclick="openURL('http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
> '_blank'); return false;"
> href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation">Documentation</a></div>
> <hr/>
> </div>
>
> </div></div></body>
> </html>
>
> Thanks
> Simon Glet
>
> On Thu, Feb 25, 2010 at 5:43 AM, Florin Ciubotaru
> <[hidden email]>  wrote:
>    
>> Hi,
>>
>> On 2/24/2010 5:16 PM, Simon Glet wrote:
>>      
>>> Hi,
>>>
>>> In order to track my XOffice login problem I installed a HTTP
>>> forwarder,logger TcpTrace V0.8.1.717. The tool forwards everything
>>> from 8088 to 8090 and back.
>>>
>>> With the following configuration in XOffice:
>>> Server URL : http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin
>>>
>>>        
>> This should be:
>>
>> http://localhost:8088/xwiki-enterprise-web-2.2
>>
>> You previously said that this failes too. Please post the response for
>> this url.
>>
>> Thanks,
>> Florin Ciubotaru
>>      
>>> User Name : glets
>>> Password : glets
>>>
>>> The POST is :
>>> POST /xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin/xwiki/xmlrpc HTTP/1.1
>>> Content-Type: text/xml
>>> User-Agent: XML-RPC.NET
>>> Host: localhost:8088
>>> Content-Length: 301
>>> Connection: Keep-Alive
>>>
>>> <?xml version="1.0"?>
>>> <methodCall>
>>>     <methodName>confluence1.login</methodName>
>>>     <params>
>>>       <param>
>>>         <value>
>>>           <string>glets</string>
>>>         </value>
>>>       </param>
>>>       <param>
>>>         <value>
>>>           <string>glets</string>
>>>         </value>
>>>       </param>
>>>     </params>
>>> </methodCall>
>>>
>>> And the reply is :
>>>
>>> HTTP/1.1 401 Unauthorized
>>> Server: Apache-Coyote/1.1
>>> Set-Cookie: JSESSIONID=ADA423739BC3AEC52BBDE47074073A15;
>>> Path=/xwiki-enterprise-web-2.2
>>> Pragma: no-cache
>>> Cache-Control: no-cache
>>> Expires: Wed, 31 Dec 1969 23:59:59 GMT
>>> Content-Type: text/html;charset=UTF-8
>>> Content-Language: fr
>>> Content-Length: 9329
>>> Date: Wed, 24 Feb 2010 14:57:18 GMT
>>>
>>> <?xml version="1.0" encoding="UTF-8" ?>
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>>>       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>>> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
>>>     <head>
>>>                       <meta http-equiv="Content-Type"
>>> content="text/html; charset=UTF-8" />
>>>                                       <title>XWikiLogin
>>> (XWiki.XWikiLogin) - XWiki</title>
>>>                   <meta http-equiv="Content-Script-Type"
>>> content="text/javascript" />
>>>                           <meta http-equiv="imagetoolbar" content="no"/>
>>>                                               <meta name="document"
>>> content="XWiki.XWikiLogin"/>
>>>       <meta name="space" content="XWiki"/>
>>>       <meta name="page" content="XWikiLogin"/>
>>>       <meta name="version" content="1.1"/>
>>>                       <meta name="gwt:property" content="locale=fr" />
>>>                   <meta http-equiv="Content-Type" content="text/html;
>>> charset=UTF-8" />
>>> <meta name="revisit-after" content="7 days" />
>>> <meta name="description" content="XWikiLogin" />
>>> <meta name="keywords" content="wiki" />
>>> <meta name="distribution" content="GLOBAL" />
>>> <meta name="rating" content="General" />
>>> <meta name="author" content="" />
>>> <meta http-equiv="reply-to" content="" />
>>> <meta name="language" content="fr" />
>>>
>>>                   <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin -->
>>>       <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/style.css"
>>> rel="stylesheet" type="text/css" media="all" />
>>> <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/print.css"
>>> rel="stylesheet" type="text/css" media="print" />
>>>           <!--[if IE]>
>>>     <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2Dall.css"
>>> rel="stylesheet" type="text/css" />
>>> <![endif]-->
>>> <!--[if IE 6]>
>>>     <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2D6.css"
>>> rel="stylesheet" type="text/css" />
>>> <![endif]-->
>>>
>>> <link rel='stylesheet' type='text/css'
>>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link
>>> rel='stylesheet' type='text/css'
>>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link
>>> rel='stylesheet' type='text/css'
>>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link
>>> rel='stylesheet' type='text/css'
>>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.css'/>
>>>
>>>
>>>       <link href="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.css"
>>> rel="stylesheet" type="text/css" />
>>> <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightbox.css"
>>> rel="stylesheet" type="text/css" />
>>> <!--[if IE]>
>>>     <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css"
>>> rel="stylesheet" type="text/css" />
>>> <![endif]-->
>>>
>>> <script type="text/javascript"
>>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/prototype/prototype.js"></script>
>>> <script type="text/javascript"
>>> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/xwiki.js"></script>
>>> <script type="text/javascript"
>>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.js"></script>
>>> <script type="text/javascript">
>>> //<![CDATA[
>>> XWiki.webapppath = "xwiki-enterprise-web-2.2/";
>>> XWiki.servletpath = "bin/";
>>> XWiki.contextPath = "/xwiki-enterprise-web-2.2";
>>> XWiki.mainWiki = "xwiki";
>>> XWiki.currentWiki = "xwiki";
>>> XWiki.currentSpace = "XWiki";
>>> XWiki.editor = "";
>>> XWiki.viewer = "";
>>> XWiki.contextaction = "login";
>>> XWiki.docisnew = true;
>>> XWiki.docsyntax = "xwiki/2.0";
>>> XWiki.blacklistedSpaces = [
>>> "Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes"
>>> ];
>>> XWiki.hasEdit = false;
>>> window.docviewurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin";
>>> window.docediturl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/edit/XWiki/XWikiLogin";
>>> window.docsaveurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/save/XWiki/XWikiLogin";
>>> // ]]>
>>> </script>
>>> <script type='text/javascript'
>>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/scriptaculous/effects.js'></script><script
>>> type='text/javascript'
>>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script
>>> type='text/javascript'
>>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script
>>> type='text/javascript'
>>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script
>>> type='text/javascript'
>>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script
>>> type='text/javascript'
>>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.js'></script>
>>> <script type='text/javascript'
>>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/jsx/XWiki/WebDAV?language=fr'></script>
>>> <script type="text/javascript"
>>> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/compatibility.js"></script>
>>>
>>>     </head>
>>>           <body id="body" class="xwiki loginbody hideleft">
>>>     <div id="xwikimaincontainer">
>>> <div id="xwikimaincontainerinner">
>>>
>>> <div id="menuview">
>>>     <div id="mainmenu" class="layoutsubsection actionmenu">
>>> <strong id="xwikimenutitle" class="hidden">Actions générales :</strong>
>>> <div class="rightmenu">
>>>     <div id="tmRegister" class="tmRegister topmenuentry "><a class="tme"
>>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/register/XWiki/Register"><strong>Inscription</strong></a></div>
>>> </div>
>>> <div class="leftmenu">
>>>     <div id="tmWiki" class="tmWiki topmenuentry hasIcon"><a class="tme"
>>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"><strong>xwiki</strong></a></div>
>>>     <div id="tmSpace" class="tmSpace topmenuentry hasIcon"><a
>>> class="tme" href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/"><strong>XWiki</strong></a></div>
>>> </div>
>>> </div>
>>>
>>> </div>
>>>    <div id="headerglobal" class="layoutsection">
>>> <div class="minwidthd"></div>
>>>     <div id="company">
>>>     <div id="companylogo">
>>>       <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"
>>> title="Home" rel="home">
>>>       <img src="/xwiki%2Denterprise%2Dweb%2D2.2/skins/colibri/logo.png"
>>> alt="Wiki Logo"/>
>>>       </a>
>>>     </div>      </div>      <div id="globallinks">
>>>       <form action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/WebSearch">
>>>         <div class="globalsearch">
>>>           <label class="hidden"
>>> for="headerglobalsearchinput">Recherche</label><input
>>> class="globalsearchinput withTip" id="headerglobalsearchinput"
>>> type="text" name="text" value="Chercher..." size="15"/><input
>>> class="button" type="image" value="Go" alt="Go"
>>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/icons/xwiki/search.png"/>
>>>         </div>
>>>       </form>
>>>     <span class="glink" id="headerlanguages">
>>>               <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin?language=default"
>>> class="language-default language-current">default</a>
>>>       </span>
>>>     </div>      <div class="clearfloats"></div>
>>> </div>
>>>
>>> <div class="contenthideleft" id="contentcontainer">
>>> <div id="contentcontainerinner">
>>> <div class="leftsidecolumns">
>>>     <div id="contentcolumn">
>>> <div class="main layoutsubsection">
>>> <div id="mainContentArea">
>>> <form id="loginForm"
>>> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/loginsubmit/XWiki/XWikiLogin"
>>> method="post">
>>> <div class="hidden"><input type="hidden" name="xredirect" value=""/>
>>> </div>
>>>       <div class="centered">
>>>       <fieldset class="xwikimessage">
>>>         <legend>Identification</legend>
>>>         <p class="xwikimessage"></p>
>>> <table class="xwikilogintable" summary="loginform">
>>> <tr><th><label for="j_username">Nom d'Utilisateur:</label></th>
>>> <td><input type="text" id="j_username" name="j_username" value=""/></td></tr>
>>> <tr><th><label for="j_password">Mot de Passe:</label></th>
>>> <td><input type="password" id="j_password" name="j_password"
>>> value=""/></td></tr>
>>> <tr><td colspan="2" style="text-align: left;"><input id="rememberme"
>>> type="checkbox" name="j_rememberme" value="true"/><label
>>> for="rememberme">Retenez mes identifiants</label></td></tr>
>>> </table>
>>> <div class="buttons"><span class="buttonwrapper"><input type="submit"
>>> class="button" value="Identification"/></span></div>
>>>     <div style="font-size: 70%; margin-top: 2em;">Forgot your<a
>>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ForgotUsername">username</a>
>>> or<a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ResetPassword">password</a>?</div>
>>>       </fieldset>
>>>       </div>
>>> </form>
>>> </div></div><script type="text/javascript">
>>> //<![CDATA[
>>>     document.forms.loginForm.j_username.focus();
>>> //]]>
>>> </script>
>>>       </div>
>>>     </div><div id="rightPanels" class="panels right">
>>>                                                   </div>
>>>
>>> <div class="clearfloats"></div>
>>>     </div></div><div id="footerglobal" class="layoutsection">
>>> <div class="minwidth"></div>
>>> <hr/>
>>>     <div id="xwikilicence">This wiki is licensed under a<a
>>> href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
>>> 2.0</a>    license</div>
>>>             <div id="xwikiplatformversion">XWiki Enterprise 2.2.27100 -
>>> <a onclick="openURL('http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
>>> '_blank'); return false;"
>>> href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation">Documentation</a></div>
>>> <hr/>
>>> </div>
>>>
>>> </div></div></body>
>>> </html>
>>>
>>> The reply is the login window ...
>>>
>>> What could be wrong with my setup ?
>>>
>>> Thanks
>>> Simon Glet
>>>
>>> P.S. : Windows XP SP3, Tomcat 6.0, Office 2007, XOffice 1.1.0.107
>>> _______________________________________________
>>> users mailing list
>>> [hidden email]
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>>
>>>        
>> _______________________________________________
>> users mailing list
>> [hidden email]
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>      
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
>    

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: XOffice : login problem

Simon Glet
I see ... Well, I find that renaming the deployment directory to xwiki
doesn't allow having multiple versions or instances of XWiki at the
same time. I don't know if it's a realistic scenario but it came to
mind first.

Thanks for the workarounds, I will try them and keep you posted.

Best Regards
Simon Glet

On Thu, Feb 25, 2010 at 10:55 AM, Florin Ciubotaru
<[hidden email]> wrote:

> Hi Simon,
>
> Looks like your wiki is redirecting to the login page. This happens
> because XOffice only uses "xwiki" as an application context, and
> "detects" the xmlrpc servlet mapping in a wrong manner.
> I now remember thinking at this potential issue since I developed the
> connectivity module. I've been hesitating to allow more flexibility on
> this because nobody requested it until now and because this will force
> every user to fill in more strange settings in XOffice. I tend to think
> it's more efficient having an admin configuring some settings then all
> users doing the same thing ;)
>
> There are two quick fixes for this:
> 1) Redeploy XWiki using an "xwiki" directory instead of
> "xwiki-enterprise-web-2.2"
> 2) Reconfigure the xmlrpc servler mapping to fit the XOffice request. In
> order to do this, go to /WEB-INF/web.xml and  look for:
>
> <servlet-mapping>
> <servlet-name>xmlrpc</servlet-name>
> <url-pattern>/xmlrpc/*</url-pattern>
> </servlet-mapping>
>
> Then change "/xmlrpc/*" with "*xmlrpc/".
>
> I think going for option 1) is best.
> If you feel more flexibility is still needed then please create a jira
> issue and I'll try to implement in one of the following releases.
>
> Florin Ciubotaru
>
> On 2/25/2010 3:41 PM, Simon Glet wrote:
>> Sure no problem.
>>
>> The POST is :
>>
>> POST /xwiki-enterprise-web-2.2/xwiki/xmlrpc HTTP/1.1
>> Content-Type: text/xml
>> User-Agent: XML-RPC.NET
>> Host: localhost:8088
>> Content-Length: 301
>> Connection: Keep-Alive
>>
>> <?xml version="1.0"?>
>> <methodCall>
>>    <methodName>confluence1.login</methodName>
>>    <params>
>>      <param>
>>        <value>
>>          <string>glets</string>
>>        </value>
>>      </param>
>>      <param>
>>        <value>
>>          <string>glets</string>
>>        </value>
>>      </param>
>>    </params>
>> </methodCall>GET
>> /xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin;jsessionid=1F2EB5326C1409EEFC1EE399CFF89426?srid=zBr9ZDFG
>> HTTP/1.1
>> Content-Type: text/xml
>> User-Agent: XML-RPC.NET
>> Host: localhost:8088
>> Cookie: JSESSIONID=1F2EB5326C1409EEFC1EE399CFF89426
>>
>> and the response is :
>>
>> HTTP/1.1 302 Moved Temporarily
>> Server: Apache-Coyote/1.1
>> Set-Cookie: JSESSIONID=1F2EB5326C1409EEFC1EE399CFF89426;
>> Path=/xwiki-enterprise-web-2.2
>> Location: http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin;jsessionid=1F2EB5326C1409EEFC1EE399CFF89426?srid=zBr9ZDFG
>> Content-Type: text/html;charset=ISO-8859-1
>> Content-Language: fr
>> Content-Length: 0
>> Date: Thu, 25 Feb 2010 13:37:56 GMT
>>
>> HTTP/1.1 401 Unauthorized
>> Server: Apache-Coyote/1.1
>> Pragma: no-cache
>> Cache-Control: no-cache
>> Expires: Wed, 31 Dec 1969 23:59:59 GMT
>> Content-Type: text/html;charset=UTF-8
>> Content-Language: fr
>> Content-Length: 9381
>> Date: Thu, 25 Feb 2010 13:37:56 GMT
>>
>> <?xml version="1.0" encoding="UTF-8" ?>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>>      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
>>    <head>
>>                      <meta http-equiv="Content-Type"
>> content="text/html; charset=UTF-8" />
>>                                      <title>XWikiLogin
>> (XWiki.XWikiLogin) - XWiki</title>
>>                  <meta http-equiv="Content-Script-Type"
>> content="text/javascript" />
>>                          <meta http-equiv="imagetoolbar" content="no"/>
>>                                              <meta name="document"
>> content="XWiki.XWikiLogin"/>
>>      <meta name="space" content="XWiki"/>
>>      <meta name="page" content="XWikiLogin"/>
>>      <meta name="version" content="1.1"/>
>>                      <meta name="gwt:property" content="locale=fr" />
>>                  <meta http-equiv="Content-Type" content="text/html;
>> charset=UTF-8" />
>> <meta name="revisit-after" content="7 days" />
>> <meta name="description" content="XWikiLogin" />
>> <meta name="keywords" content="wiki" />
>> <meta name="distribution" content="GLOBAL" />
>> <meta name="rating" content="General" />
>> <meta name="author" content="" />
>> <meta http-equiv="reply-to" content="" />
>> <meta name="language" content="fr" />
>>
>>                  <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin -->
>>      <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/style.css"
>> rel="stylesheet" type="text/css" media="all" />
>> <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/print.css"
>> rel="stylesheet" type="text/css" media="print" />
>>          <!--[if IE]>
>>    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2Dall.css"
>> rel="stylesheet" type="text/css" />
>> <![endif]-->
>> <!--[if IE 6]>
>>    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2D6.css"
>> rel="stylesheet" type="text/css" />
>> <![endif]-->
>>
>> <link rel='stylesheet' type='text/css'
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link
>> rel='stylesheet' type='text/css'
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link
>> rel='stylesheet' type='text/css'
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link
>> rel='stylesheet' type='text/css'
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.css'/>
>>
>>
>>      <link href="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.css"
>> rel="stylesheet" type="text/css" />
>> <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightbox.css"
>> rel="stylesheet" type="text/css" />
>> <!--[if IE]>
>>    <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css"
>> rel="stylesheet" type="text/css" />
>> <![endif]-->
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> <script type="text/javascript"
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/prototype/prototype.js"></script>
>> <script type="text/javascript"
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/xwiki.js"></script>
>> <script type="text/javascript"
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.js"></script>
>> <script type="text/javascript">
>> //<![CDATA[
>> XWiki.webapppath = "xwiki-enterprise-web-2.2/";
>> XWiki.servletpath = "bin/";
>> XWiki.contextPath = "/xwiki-enterprise-web-2.2";
>> XWiki.mainWiki = "xwiki";
>> XWiki.currentWiki = "xwiki";
>> XWiki.currentSpace = "XWiki";
>> XWiki.editor = "";
>> XWiki.viewer = "";
>> XWiki.contextaction = "login";
>> XWiki.docisnew = true;
>> XWiki.docsyntax = "xwiki/2.0";
>> XWiki.blacklistedSpaces = [
>> "Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes"
>> ];
>> XWiki.hasEdit = false;
>> window.docviewurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin";
>> window.docediturl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/edit/XWiki/XWikiLogin";
>> window.docsaveurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/save/XWiki/XWikiLogin";
>> // ]]>
>> </script>
>> <script type='text/javascript'
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/scriptaculous/effects.js'></script><script
>> type='text/javascript'
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script
>> type='text/javascript'
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script
>> type='text/javascript'
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script
>> type='text/javascript'
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script
>> type='text/javascript'
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.js'></script>
>> <script type='text/javascript'
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/jsx/XWiki/WebDAV?language=fr'></script>
>> <script type="text/javascript"
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/compatibility.js"></script>
>>
>>    </head>
>>          <body id="body" class="xwiki loginbody hideleft">
>>    <div id="xwikimaincontainer">
>> <div id="xwikimaincontainerinner">
>>
>> <div id="menuview">
>>    <div id="mainmenu" class="layoutsubsection actionmenu">
>> <strong id="xwikimenutitle" class="hidden">Actions générales :</strong>
>> <div class="rightmenu">
>>    <div id="tmRegister" class="tmRegister topmenuentry "><a class="tme"
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/register/XWiki/Register"><strong>Inscription</strong></a></div>
>> </div>
>> <div class="leftmenu">
>>    <div id="tmWiki" class="tmWiki topmenuentry hasIcon"><a class="tme"
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"><strong>xwiki</strong></a></div>
>>    <div id="tmSpace" class="tmSpace topmenuentry hasIcon"><a
>> class="tme" href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/"><strong>XWiki</strong></a></div>
>> </div>
>> </div>
>>
>> </div>
>>   <div id="headerglobal" class="layoutsection">
>> <div class="minwidthd"></div>
>>    <div id="company">
>>    <div id="companylogo">
>>      <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"
>> title="Home" rel="home">
>>      <img src="/xwiki%2Denterprise%2Dweb%2D2.2/skins/colibri/logo.png"
>> alt="Wiki Logo"/>
>>      </a>
>>    </div>    </div>    <div id="globallinks">
>>      <form action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/WebSearch">
>>        <div class="globalsearch">
>>          <label class="hidden"
>> for="headerglobalsearchinput">Recherche</label><input
>> class="globalsearchinput withTip" id="headerglobalsearchinput"
>> type="text" name="text" value="Chercher..." size="15"/><input
>> class="button" type="image" value="Go" alt="Go"
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/icons/xwiki/search.png"/>
>>        </div>
>>      </form>
>>    <span class="glink" id="headerlanguages">
>>              <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin?language=default"
>> class="language-default language-current">default</a>
>>      </span>
>>    </div>    <div class="clearfloats"></div>
>> </div>
>>
>> <div class="contenthideleft" id="contentcontainer">
>> <div id="contentcontainerinner">
>> <div class="leftsidecolumns">
>>    <div id="contentcolumn">
>> <div class="main layoutsubsection">
>> <div id="mainContentArea">
>> <form id="loginForm"
>> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/loginsubmit/XWiki/XWikiLogin"
>> method="post">
>> <div class="hidden"><input type="hidden" name="xredirect" value=""/>
>> <input type="hidden" name="srid" value="zBr9ZDFG"/>
>> </div>
>>      <div class="centered">
>>      <fieldset class="xwikimessage">
>>        <legend>Identification</legend>
>>        <p class="xwikimessage"></p>
>> <table class="xwikilogintable" summary="loginform">
>> <tr><th><label for="j_username">Nom d'Utilisateur:</label></th>
>> <td><input type="text" id="j_username" name="j_username" value=""/></td></tr>
>> <tr><th><label for="j_password">Mot de Passe:</label></th>
>> <td><input type="password" id="j_password" name="j_password"
>> value=""/></td></tr>
>> <tr><td colspan="2" style="text-align: left;"><input id="rememberme"
>> type="checkbox" name="j_rememberme" value="true"/><label
>> for="rememberme">Retenez mes identifiants</label></td></tr>
>> </table>
>> <div class="buttons"><span class="buttonwrapper"><input type="submit"
>> class="button" value="Identification"/></span></div>
>>    <div style="font-size: 70%; margin-top: 2em;">Forgot your<a
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ForgotUsername">username</a>
>> or<a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ResetPassword">password</a>?</div>
>>      </fieldset>
>>      </div>
>> </form>
>> </div></div><script type="text/javascript">
>> //<![CDATA[
>>    document.forms.loginForm.j_username.focus();
>> //]]>
>> </script>
>>      </div>
>>    </div><div id="rightPanels" class="panels right">
>>                                                  </div>
>>
>> <div class="clearfloats"></div>
>>    </div></div><div id="footerglobal" class="layoutsection">
>> <div class="minwidth"></div>
>> <hr/>
>>    <div id="xwikilicence">This wiki is licensed under a<a
>> href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
>> 2.0</a>  license</div>
>>            <div id="xwikiplatformversion">XWiki Enterprise 2.2.27100 -
>> <a onclick="openURL('http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
>> '_blank'); return false;"
>> href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation">Documentation</a></div>
>> <hr/>
>> </div>
>>
>> </div></div></body>
>> </html>
>>
>> Thanks
>> Simon Glet
>>
>> On Thu, Feb 25, 2010 at 5:43 AM, Florin Ciubotaru
>> <[hidden email]>  wrote:
>>
>>> Hi,
>>>
>>> On 2/24/2010 5:16 PM, Simon Glet wrote:
>>>
>>>> Hi,
>>>>
>>>> In order to track my XOffice login problem I installed a HTTP
>>>> forwarder,logger TcpTrace V0.8.1.717. The tool forwards everything
>>>> from 8088 to 8090 and back.
>>>>
>>>> With the following configuration in XOffice:
>>>> Server URL : http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin
>>>>
>>>>
>>> This should be:
>>>
>>> http://localhost:8088/xwiki-enterprise-web-2.2
>>>
>>> You previously said that this failes too. Please post the response for
>>> this url.
>>>
>>> Thanks,
>>> Florin Ciubotaru
>>>
>>>> User Name : glets
>>>> Password : glets
>>>>
>>>> The POST is :
>>>> POST /xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin/xwiki/xmlrpc HTTP/1.1
>>>> Content-Type: text/xml
>>>> User-Agent: XML-RPC.NET
>>>> Host: localhost:8088
>>>> Content-Length: 301
>>>> Connection: Keep-Alive
>>>>
>>>> <?xml version="1.0"?>
>>>> <methodCall>
>>>>     <methodName>confluence1.login</methodName>
>>>>     <params>
>>>>       <param>
>>>>         <value>
>>>>           <string>glets</string>
>>>>         </value>
>>>>       </param>
>>>>       <param>
>>>>         <value>
>>>>           <string>glets</string>
>>>>         </value>
>>>>       </param>
>>>>     </params>
>>>> </methodCall>
>>>>
>>>> And the reply is :
>>>>
>>>> HTTP/1.1 401 Unauthorized
>>>> Server: Apache-Coyote/1.1
>>>> Set-Cookie: JSESSIONID=ADA423739BC3AEC52BBDE47074073A15;
>>>> Path=/xwiki-enterprise-web-2.2
>>>> Pragma: no-cache
>>>> Cache-Control: no-cache
>>>> Expires: Wed, 31 Dec 1969 23:59:59 GMT
>>>> Content-Type: text/html;charset=UTF-8
>>>> Content-Language: fr
>>>> Content-Length: 9329
>>>> Date: Wed, 24 Feb 2010 14:57:18 GMT
>>>>
>>>> <?xml version="1.0" encoding="UTF-8" ?>
>>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>>>>       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>>>> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
>>>>     <head>
>>>>                       <meta http-equiv="Content-Type"
>>>> content="text/html; charset=UTF-8" />
>>>>                                       <title>XWikiLogin
>>>> (XWiki.XWikiLogin) - XWiki</title>
>>>>                   <meta http-equiv="Content-Script-Type"
>>>> content="text/javascript" />
>>>>                           <meta http-equiv="imagetoolbar" content="no"/>
>>>>                                               <meta name="document"
>>>> content="XWiki.XWikiLogin"/>
>>>>       <meta name="space" content="XWiki"/>
>>>>       <meta name="page" content="XWikiLogin"/>
>>>>       <meta name="version" content="1.1"/>
>>>>                       <meta name="gwt:property" content="locale=fr" />
>>>>                   <meta http-equiv="Content-Type" content="text/html;
>>>> charset=UTF-8" />
>>>> <meta name="revisit-after" content="7 days" />
>>>> <meta name="description" content="XWikiLogin" />
>>>> <meta name="keywords" content="wiki" />
>>>> <meta name="distribution" content="GLOBAL" />
>>>> <meta name="rating" content="General" />
>>>> <meta name="author" content="" />
>>>> <meta http-equiv="reply-to" content="" />
>>>> <meta name="language" content="fr" />
>>>>
>>>>                   <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin -->
>>>>       <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/style.css"
>>>> rel="stylesheet" type="text/css" media="all" />
>>>> <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/print.css"
>>>> rel="stylesheet" type="text/css" media="print" />
>>>>           <!--[if IE]>
>>>>     <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2Dall.css"
>>>> rel="stylesheet" type="text/css" />
>>>> <![endif]-->
>>>> <!--[if IE 6]>
>>>>     <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2D6.css"
>>>> rel="stylesheet" type="text/css" />
>>>> <![endif]-->
>>>>
>>>> <link rel='stylesheet' type='text/css'
>>>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link
>>>> rel='stylesheet' type='text/css'
>>>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link
>>>> rel='stylesheet' type='text/css'
>>>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link
>>>> rel='stylesheet' type='text/css'
>>>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.css'/>
>>>>
>>>>
>>>>       <link href="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.css"
>>>> rel="stylesheet" type="text/css" />
>>>> <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightbox.css"
>>>> rel="stylesheet" type="text/css" />
>>>> <!--[if IE]>
>>>>     <link href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css"
>>>> rel="stylesheet" type="text/css" />
>>>> <![endif]-->
>>>>
>>>> <script type="text/javascript"
>>>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/prototype/prototype.js"></script>
>>>> <script type="text/javascript"
>>>> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/xwiki.js"></script>
>>>> <script type="text/javascript"
>>>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.js"></script>
>>>> <script type="text/javascript">
>>>> //<![CDATA[
>>>> XWiki.webapppath = "xwiki-enterprise-web-2.2/";
>>>> XWiki.servletpath = "bin/";
>>>> XWiki.contextPath = "/xwiki-enterprise-web-2.2";
>>>> XWiki.mainWiki = "xwiki";
>>>> XWiki.currentWiki = "xwiki";
>>>> XWiki.currentSpace = "XWiki";
>>>> XWiki.editor = "";
>>>> XWiki.viewer = "";
>>>> XWiki.contextaction = "login";
>>>> XWiki.docisnew = true;
>>>> XWiki.docsyntax = "xwiki/2.0";
>>>> XWiki.blacklistedSpaces = [
>>>> "Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes"
>>>> ];
>>>> XWiki.hasEdit = false;
>>>> window.docviewurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin";
>>>> window.docediturl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/edit/XWiki/XWikiLogin";
>>>> window.docsaveurl = "/xwiki%2Denterprise%2Dweb%2D2.2/bin/save/XWiki/XWikiLogin";
>>>> // ]]>
>>>> </script>
>>>> <script type='text/javascript'
>>>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/scriptaculous/effects.js'></script><script
>>>> type='text/javascript'
>>>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script
>>>> type='text/javascript'
>>>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script
>>>> type='text/javascript'
>>>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script
>>>> type='text/javascript'
>>>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script
>>>> type='text/javascript'
>>>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.js'></script>
>>>> <script type='text/javascript'
>>>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/jsx/XWiki/WebDAV?language=fr'></script>
>>>> <script type="text/javascript"
>>>> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/compatibility.js"></script>
>>>>
>>>>     </head>
>>>>           <body id="body" class="xwiki loginbody hideleft">
>>>>     <div id="xwikimaincontainer">
>>>> <div id="xwikimaincontainerinner">
>>>>
>>>> <div id="menuview">
>>>>     <div id="mainmenu" class="layoutsubsection actionmenu">
>>>> <strong id="xwikimenutitle" class="hidden">Actions générales :</strong>
>>>> <div class="rightmenu">
>>>>     <div id="tmRegister" class="tmRegister topmenuentry "><a class="tme"
>>>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/register/XWiki/Register"><strong>Inscription</strong></a></div>
>>>> </div>
>>>> <div class="leftmenu">
>>>>     <div id="tmWiki" class="tmWiki topmenuentry hasIcon"><a class="tme"
>>>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"><strong>xwiki</strong></a></div>
>>>>     <div id="tmSpace" class="tmSpace topmenuentry hasIcon"><a
>>>> class="tme" href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/"><strong>XWiki</strong></a></div>
>>>> </div>
>>>> </div>
>>>>
>>>> </div>
>>>>    <div id="headerglobal" class="layoutsection">
>>>> <div class="minwidthd"></div>
>>>>     <div id="company">
>>>>     <div id="companylogo">
>>>>       <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"
>>>> title="Home" rel="home">
>>>>       <img src="/xwiki%2Denterprise%2Dweb%2D2.2/skins/colibri/logo.png"
>>>> alt="Wiki Logo"/>
>>>>       </a>
>>>>     </div>      </div>      <div id="globallinks">
>>>>       <form action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/WebSearch">
>>>>         <div class="globalsearch">
>>>>           <label class="hidden"
>>>> for="headerglobalsearchinput">Recherche</label><input
>>>> class="globalsearchinput withTip" id="headerglobalsearchinput"
>>>> type="text" name="text" value="Chercher..." size="15"/><input
>>>> class="button" type="image" value="Go" alt="Go"
>>>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/icons/xwiki/search.png"/>
>>>>         </div>
>>>>       </form>
>>>>     <span class="glink" id="headerlanguages">
>>>>               <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin?language=default"
>>>> class="language-default language-current">default</a>
>>>>       </span>
>>>>     </div>      <div class="clearfloats"></div>
>>>> </div>
>>>>
>>>> <div class="contenthideleft" id="contentcontainer">
>>>> <div id="contentcontainerinner">
>>>> <div class="leftsidecolumns">
>>>>     <div id="contentcolumn">
>>>> <div class="main layoutsubsection">
>>>> <div id="mainContentArea">
>>>> <form id="loginForm"
>>>> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/loginsubmit/XWiki/XWikiLogin"
>>>> method="post">
>>>> <div class="hidden"><input type="hidden" name="xredirect" value=""/>
>>>> </div>
>>>>       <div class="centered">
>>>>       <fieldset class="xwikimessage">
>>>>         <legend>Identification</legend>
>>>>         <p class="xwikimessage"></p>
>>>> <table class="xwikilogintable" summary="loginform">
>>>> <tr><th><label for="j_username">Nom d'Utilisateur:</label></th>
>>>> <td><input type="text" id="j_username" name="j_username" value=""/></td></tr>
>>>> <tr><th><label for="j_password">Mot de Passe:</label></th>
>>>> <td><input type="password" id="j_password" name="j_password"
>>>> value=""/></td></tr>
>>>> <tr><td colspan="2" style="text-align: left;"><input id="rememberme"
>>>> type="checkbox" name="j_rememberme" value="true"/><label
>>>> for="rememberme">Retenez mes identifiants</label></td></tr>
>>>> </table>
>>>> <div class="buttons"><span class="buttonwrapper"><input type="submit"
>>>> class="button" value="Identification"/></span></div>
>>>>     <div style="font-size: 70%; margin-top: 2em;">Forgot your<a
>>>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ForgotUsername">username</a>
>>>> or<a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ResetPassword">password</a>?</div>
>>>>       </fieldset>
>>>>       </div>
>>>> </form>
>>>> </div></div><script type="text/javascript">
>>>> //<![CDATA[
>>>>     document.forms.loginForm.j_username.focus();
>>>> //]]>
>>>> </script>
>>>>       </div>
>>>>     </div><div id="rightPanels" class="panels right">
>>>>                                                   </div>
>>>>
>>>> <div class="clearfloats"></div>
>>>>     </div></div><div id="footerglobal" class="layoutsection">
>>>> <div class="minwidth"></div>
>>>> <hr/>
>>>>     <div id="xwikilicence">This wiki is licensed under a<a
>>>> href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
>>>> 2.0</a>    license</div>
>>>>             <div id="xwikiplatformversion">XWiki Enterprise 2.2.27100 -
>>>> <a onclick="openURL('http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
>>>> '_blank'); return false;"
>>>> href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation">Documentation</a></div>
>>>> <hr/>
>>>> </div>
>>>>
>>>> </div></div></body>
>>>> </html>
>>>>
>>>> The reply is the login window ...
>>>>
>>>> What could be wrong with my setup ?
>>>>
>>>> Thanks
>>>> Simon Glet
>>>>
>>>> P.S. : Windows XP SP3, Tomcat 6.0, Office 2007, XOffice 1.1.0.107
>>>> _______________________________________________
>>>> users mailing list
>>>> [hidden email]
>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> users mailing list
>>> [hidden email]
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>>
>> _______________________________________________
>> users mailing list
>> [hidden email]
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: XOffice : login problem

jerem
It's possible but you have to update xwiki.cfg to indicate the name of the
new wiki, and possibly create another catalog in database, and update
hibernate.hbm.xml accordingly.

(This is from memory as I don't have access to my instances right now)

Jeremie

2010/2/25 Simon Glet <[hidden email]>

> I see ... Well, I find that renaming the deployment directory to xwiki
> doesn't allow having multiple versions or instances of XWiki at the
> same time. I don't know if it's a realistic scenario but it came to
> mind first.
>
> Thanks for the workarounds, I will try them and keep you posted.
>
> Best Regards
> Simon Glet
>
> On Thu, Feb 25, 2010 at 10:55 AM, Florin Ciubotaru
> <[hidden email]> wrote:
> > Hi Simon,
> >
> > Looks like your wiki is redirecting to the login page. This happens
> > because XOffice only uses "xwiki" as an application context, and
> > "detects" the xmlrpc servlet mapping in a wrong manner.
> > I now remember thinking at this potential issue since I developed the
> > connectivity module. I've been hesitating to allow more flexibility on
> > this because nobody requested it until now and because this will force
> > every user to fill in more strange settings in XOffice. I tend to think
> > it's more efficient having an admin configuring some settings then all
> > users doing the same thing ;)
> >
> > There are two quick fixes for this:
> > 1) Redeploy XWiki using an "xwiki" directory instead of
> > "xwiki-enterprise-web-2.2"
> > 2) Reconfigure the xmlrpc servler mapping to fit the XOffice request. In
> > order to do this, go to /WEB-INF/web.xml and  look for:
> >
> > <servlet-mapping>
> > <servlet-name>xmlrpc</servlet-name>
> > <url-pattern>/xmlrpc/*</url-pattern>
> > </servlet-mapping>
> >
> > Then change "/xmlrpc/*" with "*xmlrpc/".
> >
> > I think going for option 1) is best.
> > If you feel more flexibility is still needed then please create a jira
> > issue and I'll try to implement in one of the following releases.
> >
> > Florin Ciubotaru
> >
> > On 2/25/2010 3:41 PM, Simon Glet wrote:
> >> Sure no problem.
> >>
> >> The POST is :
> >>
> >> POST /xwiki-enterprise-web-2.2/xwiki/xmlrpc HTTP/1.1
> >> Content-Type: text/xml
> >> User-Agent: XML-RPC.NET
> >> Host: localhost:8088
> >> Content-Length: 301
> >> Connection: Keep-Alive
> >>
> >> <?xml version="1.0"?>
> >> <methodCall>
> >>    <methodName>confluence1.login</methodName>
> >>    <params>
> >>      <param>
> >>        <value>
> >>          <string>glets</string>
> >>        </value>
> >>      </param>
> >>      <param>
> >>        <value>
> >>          <string>glets</string>
> >>        </value>
> >>      </param>
> >>    </params>
> >> </methodCall>GET
> >>
> /xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin;jsessionid=1F2EB5326C1409EEFC1EE399CFF89426?srid=zBr9ZDFG
> >> HTTP/1.1
> >> Content-Type: text/xml
> >> User-Agent: XML-RPC.NET
> >> Host: localhost:8088
> >> Cookie: JSESSIONID=1F2EB5326C1409EEFC1EE399CFF89426
> >>
> >> and the response is :
> >>
> >> HTTP/1.1 302 Moved Temporarily
> >> Server: Apache-Coyote/1.1
> >> Set-Cookie: JSESSIONID=1F2EB5326C1409EEFC1EE399CFF89426;
> >> Path=/xwiki-enterprise-web-2.2
> >> Location:
> http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin;jsessionid=1F2EB5326C1409EEFC1EE399CFF89426?srid=zBr9ZDFG
> >> Content-Type: text/html;charset=ISO-8859-1
> >> Content-Language: fr
> >> Content-Length: 0
> >> Date: Thu, 25 Feb 2010 13:37:56 GMT
> >>
> >> HTTP/1.1 401 Unauthorized
> >> Server: Apache-Coyote/1.1
> >> Pragma: no-cache
> >> Cache-Control: no-cache
> >> Expires: Wed, 31 Dec 1969 23:59:59 GMT
> >> Content-Type: text/html;charset=UTF-8
> >> Content-Language: fr
> >> Content-Length: 9381
> >> Date: Thu, 25 Feb 2010 13:37:56 GMT
> >>
> >> <?xml version="1.0" encoding="UTF-8" ?>
> >> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> >>      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> >> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
> >>    <head>
> >>                      <meta http-equiv="Content-Type"
> >> content="text/html; charset=UTF-8" />
> >>                                      <title>XWikiLogin
> >> (XWiki.XWikiLogin) - XWiki</title>
> >>                  <meta http-equiv="Content-Script-Type"
> >> content="text/javascript" />
> >>                          <meta http-equiv="imagetoolbar" content="no"/>
> >>                                              <meta name="document"
> >> content="XWiki.XWikiLogin"/>
> >>      <meta name="space" content="XWiki"/>
> >>      <meta name="page" content="XWikiLogin"/>
> >>      <meta name="version" content="1.1"/>
> >>                      <meta name="gwt:property" content="locale=fr" />
> >>                  <meta http-equiv="Content-Type" content="text/html;
> >> charset=UTF-8" />
> >> <meta name="revisit-after" content="7 days" />
> >> <meta name="description" content="XWikiLogin" />
> >> <meta name="keywords" content="wiki" />
> >> <meta name="distribution" content="GLOBAL" />
> >> <meta name="rating" content="General" />
> >> <meta name="author" content="" />
> >> <meta http-equiv="reply-to" content="" />
> >> <meta name="language" content="fr" />
> >>
> >>                  <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin -->
> >>      <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/style.css"
> >> rel="stylesheet" type="text/css" media="all" />
> >> <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/print.css"
> >> rel="stylesheet" type="text/css" media="print" />
> >>          <!--[if IE]>
> >>    <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2Dall.css"
> >> rel="stylesheet" type="text/css" />
> >> <![endif]-->
> >> <!--[if IE 6]>
> >>    <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2D6.css"
> >> rel="stylesheet" type="text/css" />
> >> <![endif]-->
> >>
> >> <link rel='stylesheet' type='text/css'
> >>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link
> >> rel='stylesheet' type='text/css'
> >>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link
> >> rel='stylesheet' type='text/css'
> >>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link
> >> rel='stylesheet' type='text/css'
> >>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.css'/>
> >>
> >>
> >>      <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.css"
> >> rel="stylesheet" type="text/css" />
> >> <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightbox.css"
> >> rel="stylesheet" type="text/css" />
> >> <!--[if IE]>
> >>    <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css"
> >> rel="stylesheet" type="text/css" />
> >> <![endif]-->
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> <script type="text/javascript"
> >>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/prototype/prototype.js"></script>
> >> <script type="text/javascript"
> >>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/xwiki.js"></script>
> >> <script type="text/javascript"
> >>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.js"></script>
> >> <script type="text/javascript">
> >> //<![CDATA[
> >> XWiki.webapppath = "xwiki-enterprise-web-2.2/";
> >> XWiki.servletpath = "bin/";
> >> XWiki.contextPath = "/xwiki-enterprise-web-2.2";
> >> XWiki.mainWiki = "xwiki";
> >> XWiki.currentWiki = "xwiki";
> >> XWiki.currentSpace = "XWiki";
> >> XWiki.editor = "";
> >> XWiki.viewer = "";
> >> XWiki.contextaction = "login";
> >> XWiki.docisnew = true;
> >> XWiki.docsyntax = "xwiki/2.0";
> >> XWiki.blacklistedSpaces = [
> >>
> "Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes"
> >> ];
> >> XWiki.hasEdit = false;
> >> window.docviewurl =
> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin";
> >> window.docediturl =
> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/edit/XWiki/XWikiLogin";
> >> window.docsaveurl =
> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/save/XWiki/XWikiLogin";
> >> // ]]>
> >> </script>
> >> <script type='text/javascript'
> >>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/scriptaculous/effects.js'></script><script
> >> type='text/javascript'
> >>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script
> >> type='text/javascript'
> >>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script
> >> type='text/javascript'
> >>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script
> >> type='text/javascript'
> >>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script
> >> type='text/javascript'
> >>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.js'></script>
> >> <script type='text/javascript'
> >>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/jsx/XWiki/WebDAV?language=fr'></script>
> >> <script type="text/javascript"
> >>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/compatibility.js"></script>
> >>
> >>    </head>
> >>          <body id="body" class="xwiki loginbody hideleft">
> >>    <div id="xwikimaincontainer">
> >> <div id="xwikimaincontainerinner">
> >>
> >> <div id="menuview">
> >>    <div id="mainmenu" class="layoutsubsection actionmenu">
> >> <strong id="xwikimenutitle" class="hidden">Actions générales
> :</strong>
> >> <div class="rightmenu">
> >>    <div id="tmRegister" class="tmRegister topmenuentry "><a class="tme"
> >>
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/register/XWiki/Register"><strong>Inscription</strong></a></div>
> >> </div>
> >> <div class="leftmenu">
> >>    <div id="tmWiki" class="tmWiki topmenuentry hasIcon"><a class="tme"
> >>
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"><strong>xwiki</strong></a></div>
> >>    <div id="tmSpace" class="tmSpace topmenuentry hasIcon"><a
> >> class="tme"
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/"><strong>XWiki</strong></a></div>
> >> </div>
> >> </div>
> >>
> >> </div>
> >>   <div id="headerglobal" class="layoutsection">
> >> <div class="minwidthd"></div>
> >>    <div id="company">
> >>    <div id="companylogo">
> >>      <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"
> >> title="Home" rel="home">
> >>      <img src="/xwiki%2Denterprise%2Dweb%2D2.2/skins/colibri/logo.png"
> >> alt="Wiki Logo"/>
> >>      </a>
> >>    </div>    </div>    <div id="globallinks">
> >>      <form
> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/WebSearch">
> >>        <div class="globalsearch">
> >>          <label class="hidden"
> >> for="headerglobalsearchinput">Recherche</label><input
> >> class="globalsearchinput withTip" id="headerglobalsearchinput"
> >> type="text" name="text" value="Chercher..." size="15"/><input
> >> class="button" type="image" value="Go" alt="Go"
> >> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/icons/xwiki/search.png"/>
> >>        </div>
> >>      </form>
> >>    <span class="glink" id="headerlanguages">
> >>              <a
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin?language=default"
> >> class="language-default language-current">default</a>
> >>      </span>
> >>    </div>    <div class="clearfloats"></div>
> >> </div>
> >>
> >> <div class="contenthideleft" id="contentcontainer">
> >> <div id="contentcontainerinner">
> >> <div class="leftsidecolumns">
> >>    <div id="contentcolumn">
> >> <div class="main layoutsubsection">
> >> <div id="mainContentArea">
> >> <form id="loginForm"
> >>
> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/loginsubmit/XWiki/XWikiLogin"
> >> method="post">
> >> <div class="hidden"><input type="hidden" name="xredirect" value=""/>
> >> <input type="hidden" name="srid" value="zBr9ZDFG"/>
> >> </div>
> >>      <div class="centered">
> >>      <fieldset class="xwikimessage">
> >>        <legend>Identification</legend>
> >>        <p class="xwikimessage"></p>
> >> <table class="xwikilogintable" summary="loginform">
> >> <tr><th><label for="j_username">Nom d'Utilisateur:</label></th>
> >> <td><input type="text" id="j_username" name="j_username"
> value=""/></td></tr>
> >> <tr><th><label for="j_password">Mot de Passe:</label></th>
> >> <td><input type="password" id="j_password" name="j_password"
> >> value=""/></td></tr>
> >> <tr><td colspan="2" style="text-align: left;"><input id="rememberme"
> >> type="checkbox" name="j_rememberme" value="true"/><label
> >> for="rememberme">Retenez mes identifiants</label></td></tr>
> >> </table>
> >> <div class="buttons"><span class="buttonwrapper"><input type="submit"
> >> class="button" value="Identification"/></span></div>
> >>    <div style="font-size: 70%; margin-top: 2em;">Forgot your<a
> >>
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ForgotUsername">username</a>
> >> or<a
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ResetPassword">password</a>?</div>
> >>      </fieldset>
> >>      </div>
> >> </form>
> >> </div></div><script type="text/javascript">
> >> //<![CDATA[
> >>    document.forms.loginForm.j_username.focus();
> >> //]]>
> >> </script>
> >>      </div>
> >>    </div><div id="rightPanels" class="panels right">
> >>                                                  </div>
> >>
> >> <div class="clearfloats"></div>
> >>    </div></div><div id="footerglobal" class="layoutsection">
> >> <div class="minwidth"></div>
> >> <hr/>
> >>    <div id="xwikilicence">This wiki is licensed under a<a
> >> href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
> >> 2.0</a>  license</div>
> >>            <div id="xwikiplatformversion">XWiki Enterprise 2.2.27100 -
> >> <a onclick="openURL('
> http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
> >> '_blank'); return false;"
> >> href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation
> ">Documentation</a></div>
> >> <hr/>
> >> </div>
> >>
> >> </div></div></body>
> >> </html>
> >>
> >> Thanks
> >> Simon Glet
> >>
> >> On Thu, Feb 25, 2010 at 5:43 AM, Florin Ciubotaru
> >> <[hidden email]>  wrote:
> >>
> >>> Hi,
> >>>
> >>> On 2/24/2010 5:16 PM, Simon Glet wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> In order to track my XOffice login problem I installed a HTTP
> >>>> forwarder,logger TcpTrace V0.8.1.717. The tool forwards everything
> >>>> from 8088 to 8090 and back.
> >>>>
> >>>> With the following configuration in XOffice:
> >>>> Server URL :
> http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin
> >>>>
> >>>>
> >>> This should be:
> >>>
> >>> http://localhost:8088/xwiki-enterprise-web-2.2
> >>>
> >>> You previously said that this failes too. Please post the response for
> >>> this url.
> >>>
> >>> Thanks,
> >>> Florin Ciubotaru
> >>>
> >>>> User Name : glets
> >>>> Password : glets
> >>>>
> >>>> The POST is :
> >>>> POST /xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin/xwiki/xmlrpc
> HTTP/1.1
> >>>> Content-Type: text/xml
> >>>> User-Agent: XML-RPC.NET
> >>>> Host: localhost:8088
> >>>> Content-Length: 301
> >>>> Connection: Keep-Alive
> >>>>
> >>>> <?xml version="1.0"?>
> >>>> <methodCall>
> >>>>     <methodName>confluence1.login</methodName>
> >>>>     <params>
> >>>>       <param>
> >>>>         <value>
> >>>>           <string>glets</string>
> >>>>         </value>
> >>>>       </param>
> >>>>       <param>
> >>>>         <value>
> >>>>           <string>glets</string>
> >>>>         </value>
> >>>>       </param>
> >>>>     </params>
> >>>> </methodCall>
> >>>>
> >>>> And the reply is :
> >>>>
> >>>> HTTP/1.1 401 Unauthorized
> >>>> Server: Apache-Coyote/1.1
> >>>> Set-Cookie: JSESSIONID=ADA423739BC3AEC52BBDE47074073A15;
> >>>> Path=/xwiki-enterprise-web-2.2
> >>>> Pragma: no-cache
> >>>> Cache-Control: no-cache
> >>>> Expires: Wed, 31 Dec 1969 23:59:59 GMT
> >>>> Content-Type: text/html;charset=UTF-8
> >>>> Content-Language: fr
> >>>> Content-Length: 9329
> >>>> Date: Wed, 24 Feb 2010 14:57:18 GMT
> >>>>
> >>>> <?xml version="1.0" encoding="UTF-8" ?>
> >>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> >>>>       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> >>>> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
> >>>>     <head>
> >>>>                       <meta http-equiv="Content-Type"
> >>>> content="text/html; charset=UTF-8" />
> >>>>                                       <title>XWikiLogin
> >>>> (XWiki.XWikiLogin) - XWiki</title>
> >>>>                   <meta http-equiv="Content-Script-Type"
> >>>> content="text/javascript" />
> >>>>                           <meta http-equiv="imagetoolbar"
> content="no"/>
> >>>>                                               <meta name="document"
> >>>> content="XWiki.XWikiLogin"/>
> >>>>       <meta name="space" content="XWiki"/>
> >>>>       <meta name="page" content="XWikiLogin"/>
> >>>>       <meta name="version" content="1.1"/>
> >>>>                       <meta name="gwt:property" content="locale=fr" />
> >>>>                   <meta http-equiv="Content-Type" content="text/html;
> >>>> charset=UTF-8" />
> >>>> <meta name="revisit-after" content="7 days" />
> >>>> <meta name="description" content="XWikiLogin" />
> >>>> <meta name="keywords" content="wiki" />
> >>>> <meta name="distribution" content="GLOBAL" />
> >>>> <meta name="rating" content="General" />
> >>>> <meta name="author" content="" />
> >>>> <meta http-equiv="reply-to" content="" />
> >>>> <meta name="language" content="fr" />
> >>>>
> >>>>                   <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin
> -->
> >>>>       <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/style.css"
> >>>> rel="stylesheet" type="text/css" media="all" />
> >>>> <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/print.css"
> >>>> rel="stylesheet" type="text/css" media="print" />
> >>>>           <!--[if IE]>
> >>>>     <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2Dall.css"
> >>>> rel="stylesheet" type="text/css" />
> >>>> <![endif]-->
> >>>> <!--[if IE 6]>
> >>>>     <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2D6.css"
> >>>> rel="stylesheet" type="text/css" />
> >>>> <![endif]-->
> >>>>
> >>>> <link rel='stylesheet' type='text/css'
> >>>>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link
> >>>> rel='stylesheet' type='text/css'
> >>>>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link
> >>>> rel='stylesheet' type='text/css'
> >>>>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link
> >>>> rel='stylesheet' type='text/css'
> >>>>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.css'/>
> >>>>
> >>>>
> >>>>       <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.css"
> >>>> rel="stylesheet" type="text/css" />
> >>>> <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightbox.css"
> >>>> rel="stylesheet" type="text/css" />
> >>>> <!--[if IE]>
> >>>>     <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css"
> >>>> rel="stylesheet" type="text/css" />
> >>>> <![endif]-->
> >>>>
> >>>> <script type="text/javascript"
> >>>>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/prototype/prototype.js"></script>
> >>>> <script type="text/javascript"
> >>>>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/xwiki.js"></script>
> >>>> <script type="text/javascript"
> >>>>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.js"></script>
> >>>> <script type="text/javascript">
> >>>> //<![CDATA[
> >>>> XWiki.webapppath = "xwiki-enterprise-web-2.2/";
> >>>> XWiki.servletpath = "bin/";
> >>>> XWiki.contextPath = "/xwiki-enterprise-web-2.2";
> >>>> XWiki.mainWiki = "xwiki";
> >>>> XWiki.currentWiki = "xwiki";
> >>>> XWiki.currentSpace = "XWiki";
> >>>> XWiki.editor = "";
> >>>> XWiki.viewer = "";
> >>>> XWiki.contextaction = "login";
> >>>> XWiki.docisnew = true;
> >>>> XWiki.docsyntax = "xwiki/2.0";
> >>>> XWiki.blacklistedSpaces = [
> >>>>
> "Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes"
> >>>> ];
> >>>> XWiki.hasEdit = false;
> >>>> window.docviewurl =
> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin";
> >>>> window.docediturl =
> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/edit/XWiki/XWikiLogin";
> >>>> window.docsaveurl =
> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/save/XWiki/XWikiLogin";
> >>>> // ]]>
> >>>> </script>
> >>>> <script type='text/javascript'
> >>>>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/scriptaculous/effects.js'></script><script
> >>>> type='text/javascript'
> >>>>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script
> >>>> type='text/javascript'
> >>>>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script
> >>>> type='text/javascript'
> >>>>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script
> >>>> type='text/javascript'
> >>>>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script
> >>>> type='text/javascript'
> >>>>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.js'></script>
> >>>> <script type='text/javascript'
> >>>>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/jsx/XWiki/WebDAV?language=fr'></script>
> >>>> <script type="text/javascript"
> >>>>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/compatibility.js"></script>
> >>>>
> >>>>     </head>
> >>>>           <body id="body" class="xwiki loginbody hideleft">
> >>>>     <div id="xwikimaincontainer">
> >>>> <div id="xwikimaincontainerinner">
> >>>>
> >>>> <div id="menuview">
> >>>>     <div id="mainmenu" class="layoutsubsection actionmenu">
> >>>> <strong id="xwikimenutitle" class="hidden">Actions générales
> :</strong>
> >>>> <div class="rightmenu">
> >>>>     <div id="tmRegister" class="tmRegister topmenuentry "><a
> class="tme"
> >>>>
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/register/XWiki/Register"><strong>Inscription</strong></a></div>
> >>>> </div>
> >>>> <div class="leftmenu">
> >>>>     <div id="tmWiki" class="tmWiki topmenuentry hasIcon"><a
> class="tme"
> >>>>
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"><strong>xwiki</strong></a></div>
> >>>>     <div id="tmSpace" class="tmSpace topmenuentry hasIcon"><a
> >>>> class="tme"
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/"><strong>XWiki</strong></a></div>
> >>>> </div>
> >>>> </div>
> >>>>
> >>>> </div>
> >>>>    <div id="headerglobal" class="layoutsection">
> >>>> <div class="minwidthd"></div>
> >>>>     <div id="company">
> >>>>     <div id="companylogo">
> >>>>       <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"
> >>>> title="Home" rel="home">
> >>>>       <img
> src="/xwiki%2Denterprise%2Dweb%2D2.2/skins/colibri/logo.png"
> >>>> alt="Wiki Logo"/>
> >>>>       </a>
> >>>>     </div>      </div>      <div id="globallinks">
> >>>>       <form
> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/WebSearch">
> >>>>         <div class="globalsearch">
> >>>>           <label class="hidden"
> >>>> for="headerglobalsearchinput">Recherche</label><input
> >>>> class="globalsearchinput withTip" id="headerglobalsearchinput"
> >>>> type="text" name="text" value="Chercher..." size="15"/><input
> >>>> class="button" type="image" value="Go" alt="Go"
> >>>>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/icons/xwiki/search.png"/>
> >>>>         </div>
> >>>>       </form>
> >>>>     <span class="glink" id="headerlanguages">
> >>>>               <a
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin?language=default"
> >>>> class="language-default language-current">default</a>
> >>>>       </span>
> >>>>     </div>      <div class="clearfloats"></div>
> >>>> </div>
> >>>>
> >>>> <div class="contenthideleft" id="contentcontainer">
> >>>> <div id="contentcontainerinner">
> >>>> <div class="leftsidecolumns">
> >>>>     <div id="contentcolumn">
> >>>> <div class="main layoutsubsection">
> >>>> <div id="mainContentArea">
> >>>> <form id="loginForm"
> >>>>
> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/loginsubmit/XWiki/XWikiLogin"
> >>>> method="post">
> >>>> <div class="hidden"><input type="hidden" name="xredirect" value=""/>
> >>>> </div>
> >>>>       <div class="centered">
> >>>>       <fieldset class="xwikimessage">
> >>>>         <legend>Identification</legend>
> >>>>         <p class="xwikimessage"></p>
> >>>> <table class="xwikilogintable" summary="loginform">
> >>>> <tr><th><label for="j_username">Nom d'Utilisateur:</label></th>
> >>>> <td><input type="text" id="j_username" name="j_username"
> value=""/></td></tr>
> >>>> <tr><th><label for="j_password">Mot de Passe:</label></th>
> >>>> <td><input type="password" id="j_password" name="j_password"
> >>>> value=""/></td></tr>
> >>>> <tr><td colspan="2" style="text-align: left;"><input id="rememberme"
> >>>> type="checkbox" name="j_rememberme" value="true"/><label
> >>>> for="rememberme">Retenez mes identifiants</label></td></tr>
> >>>> </table>
> >>>> <div class="buttons"><span class="buttonwrapper"><input type="submit"
> >>>> class="button" value="Identification"/></span></div>
> >>>>     <div style="font-size: 70%; margin-top: 2em;">Forgot your<a
> >>>>
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ForgotUsername">username</a>
> >>>> or<a
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ResetPassword">password</a>?</div>
> >>>>       </fieldset>
> >>>>       </div>
> >>>> </form>
> >>>> </div></div><script type="text/javascript">
> >>>> //<![CDATA[
> >>>>     document.forms.loginForm.j_username.focus();
> >>>> //]]>
> >>>> </script>
> >>>>       </div>
> >>>>     </div><div id="rightPanels" class="panels right">
> >>>>                                                   </div>
> >>>>
> >>>> <div class="clearfloats"></div>
> >>>>     </div></div><div id="footerglobal" class="layoutsection">
> >>>> <div class="minwidth"></div>
> >>>> <hr/>
> >>>>     <div id="xwikilicence">This wiki is licensed under a<a
> >>>> href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
> >>>> 2.0</a>    license</div>
> >>>>             <div id="xwikiplatformversion">XWiki Enterprise 2.2.27100
> -
> >>>> <a onclick="openURL('
> http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
> >>>> '_blank'); return false;"
> >>>> href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation
> ">Documentation</a></div>
> >>>> <hr/>
> >>>> </div>
> >>>>
> >>>> </div></div></body>
> >>>> </html>
> >>>>
> >>>> The reply is the login window ...
> >>>>
> >>>> What could be wrong with my setup ?
> >>>>
> >>>> Thanks
> >>>> Simon Glet
> >>>>
> >>>> P.S. : Windows XP SP3, Tomcat 6.0, Office 2007, XOffice 1.1.0.107
> >>>> _______________________________________________
> >>>> users mailing list
> >>>> [hidden email]
> >>>> http://lists.xwiki.org/mailman/listinfo/users
> >>>>
> >>>>
> >>>>
> >>> _______________________________________________
> >>> users mailing list
> >>> [hidden email]
> >>> http://lists.xwiki.org/mailman/listinfo/users
> >>>
> >>>
> >> _______________________________________________
> >> users mailing list
> >> [hidden email]
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >>
> >
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: XOffice : login problem

Guillaume Lerouge
In reply to this post by Simon Glet
Hi Simon,

On Thu, Feb 25, 2010 at 9:46 PM, Simon Glet <[hidden email]> wrote:

> I see ... Well, I find that renaming the deployment directory to xwiki
> doesn't allow having multiple versions or instances of XWiki at the
> same time. I don't know if it's a realistic scenario but it came to
> mind first.
>

You could use XWiki Enterprise Manager (http://manager.xwiki.org/) if you
need to have multiple XWiki instances though...

Guillaume

Thanks for the workarounds, I will try them and keep you posted.

>
> Best Regards
> Simon Glet
>
> On Thu, Feb 25, 2010 at 10:55 AM, Florin Ciubotaru
> <[hidden email]> wrote:
> > Hi Simon,
> >
> > Looks like your wiki is redirecting to the login page. This happens
> > because XOffice only uses "xwiki" as an application context, and
> > "detects" the xmlrpc servlet mapping in a wrong manner.
> > I now remember thinking at this potential issue since I developed the
> > connectivity module. I've been hesitating to allow more flexibility on
> > this because nobody requested it until now and because this will force
> > every user to fill in more strange settings in XOffice. I tend to think
> > it's more efficient having an admin configuring some settings then all
> > users doing the same thing ;)
> >
> > There are two quick fixes for this:
> > 1) Redeploy XWiki using an "xwiki" directory instead of
> > "xwiki-enterprise-web-2.2"
> > 2) Reconfigure the xmlrpc servler mapping to fit the XOffice request. In
> > order to do this, go to /WEB-INF/web.xml and  look for:
> >
> > <servlet-mapping>
> > <servlet-name>xmlrpc</servlet-name>
> > <url-pattern>/xmlrpc/*</url-pattern>
> > </servlet-mapping>
> >
> > Then change "/xmlrpc/*" with "*xmlrpc/".
> >
> > I think going for option 1) is best.
> > If you feel more flexibility is still needed then please create a jira
> > issue and I'll try to implement in one of the following releases.
> >
> > Florin Ciubotaru
> >
> > On 2/25/2010 3:41 PM, Simon Glet wrote:
> >> Sure no problem.
> >>
> >> The POST is :
> >>
> >> POST /xwiki-enterprise-web-2.2/xwiki/xmlrpc HTTP/1.1
> >> Content-Type: text/xml
> >> User-Agent: XML-RPC.NET
> >> Host: localhost:8088
> >> Content-Length: 301
> >> Connection: Keep-Alive
> >>
> >> <?xml version="1.0"?>
> >> <methodCall>
> >>    <methodName>confluence1.login</methodName>
> >>    <params>
> >>      <param>
> >>        <value>
> >>          <string>glets</string>
> >>        </value>
> >>      </param>
> >>      <param>
> >>        <value>
> >>          <string>glets</string>
> >>        </value>
> >>      </param>
> >>    </params>
> >> </methodCall>GET
> >>
> /xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin;jsessionid=1F2EB5326C1409EEFC1EE399CFF89426?srid=zBr9ZDFG
> >> HTTP/1.1
> >> Content-Type: text/xml
> >> User-Agent: XML-RPC.NET
> >> Host: localhost:8088
> >> Cookie: JSESSIONID=1F2EB5326C1409EEFC1EE399CFF89426
> >>
> >> and the response is :
> >>
> >> HTTP/1.1 302 Moved Temporarily
> >> Server: Apache-Coyote/1.1
> >> Set-Cookie: JSESSIONID=1F2EB5326C1409EEFC1EE399CFF89426;
> >> Path=/xwiki-enterprise-web-2.2
> >> Location:
> http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin;jsessionid=1F2EB5326C1409EEFC1EE399CFF89426?srid=zBr9ZDFG
> >> Content-Type: text/html;charset=ISO-8859-1
> >> Content-Language: fr
> >> Content-Length: 0
> >> Date: Thu, 25 Feb 2010 13:37:56 GMT
> >>
> >> HTTP/1.1 401 Unauthorized
> >> Server: Apache-Coyote/1.1
> >> Pragma: no-cache
> >> Cache-Control: no-cache
> >> Expires: Wed, 31 Dec 1969 23:59:59 GMT
> >> Content-Type: text/html;charset=UTF-8
> >> Content-Language: fr
> >> Content-Length: 9381
> >> Date: Thu, 25 Feb 2010 13:37:56 GMT
> >>
> >> <?xml version="1.0" encoding="UTF-8" ?>
> >> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> >>      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> >> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
> >>    <head>
> >>                      <meta http-equiv="Content-Type"
> >> content="text/html; charset=UTF-8" />
> >>                                      <title>XWikiLogin
> >> (XWiki.XWikiLogin) - XWiki</title>
> >>                  <meta http-equiv="Content-Script-Type"
> >> content="text/javascript" />
> >>                          <meta http-equiv="imagetoolbar" content="no"/>
> >>                                              <meta name="document"
> >> content="XWiki.XWikiLogin"/>
> >>      <meta name="space" content="XWiki"/>
> >>      <meta name="page" content="XWikiLogin"/>
> >>      <meta name="version" content="1.1"/>
> >>                      <meta name="gwt:property" content="locale=fr" />
> >>                  <meta http-equiv="Content-Type" content="text/html;
> >> charset=UTF-8" />
> >> <meta name="revisit-after" content="7 days" />
> >> <meta name="description" content="XWikiLogin" />
> >> <meta name="keywords" content="wiki" />
> >> <meta name="distribution" content="GLOBAL" />
> >> <meta name="rating" content="General" />
> >> <meta name="author" content="" />
> >> <meta http-equiv="reply-to" content="" />
> >> <meta name="language" content="fr" />
> >>
> >>                  <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin -->
> >>      <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/style.css"
> >> rel="stylesheet" type="text/css" media="all" />
> >> <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/print.css"
> >> rel="stylesheet" type="text/css" media="print" />
> >>          <!--[if IE]>
> >>    <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2Dall.css"
> >> rel="stylesheet" type="text/css" />
> >> <![endif]-->
> >> <!--[if IE 6]>
> >>    <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2D6.css"
> >> rel="stylesheet" type="text/css" />
> >> <![endif]-->
> >>
> >> <link rel='stylesheet' type='text/css'
> >>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link
> >> rel='stylesheet' type='text/css'
> >>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link
> >> rel='stylesheet' type='text/css'
> >>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link
> >> rel='stylesheet' type='text/css'
> >>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.css'/>
> >>
> >>
> >>      <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.css"
> >> rel="stylesheet" type="text/css" />
> >> <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightbox.css"
> >> rel="stylesheet" type="text/css" />
> >> <!--[if IE]>
> >>    <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css"
> >> rel="stylesheet" type="text/css" />
> >> <![endif]-->
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> <script type="text/javascript"
> >>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/prototype/prototype.js"></script>
> >> <script type="text/javascript"
> >>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/xwiki.js"></script>
> >> <script type="text/javascript"
> >>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.js"></script>
> >> <script type="text/javascript">
> >> //<![CDATA[
> >> XWiki.webapppath = "xwiki-enterprise-web-2.2/";
> >> XWiki.servletpath = "bin/";
> >> XWiki.contextPath = "/xwiki-enterprise-web-2.2";
> >> XWiki.mainWiki = "xwiki";
> >> XWiki.currentWiki = "xwiki";
> >> XWiki.currentSpace = "XWiki";
> >> XWiki.editor = "";
> >> XWiki.viewer = "";
> >> XWiki.contextaction = "login";
> >> XWiki.docisnew = true;
> >> XWiki.docsyntax = "xwiki/2.0";
> >> XWiki.blacklistedSpaces = [
> >>
> "Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes"
> >> ];
> >> XWiki.hasEdit = false;
> >> window.docviewurl =
> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin";
> >> window.docediturl =
> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/edit/XWiki/XWikiLogin";
> >> window.docsaveurl =
> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/save/XWiki/XWikiLogin";
> >> // ]]>
> >> </script>
> >> <script type='text/javascript'
> >>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/scriptaculous/effects.js'></script><script
> >> type='text/javascript'
> >>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script
> >> type='text/javascript'
> >>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script
> >> type='text/javascript'
> >>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script
> >> type='text/javascript'
> >>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script
> >> type='text/javascript'
> >>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.js'></script>
> >> <script type='text/javascript'
> >>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/jsx/XWiki/WebDAV?language=fr'></script>
> >> <script type="text/javascript"
> >>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/compatibility.js"></script>
> >>
> >>    </head>
> >>          <body id="body" class="xwiki loginbody hideleft">
> >>    <div id="xwikimaincontainer">
> >> <div id="xwikimaincontainerinner">
> >>
> >> <div id="menuview">
> >>    <div id="mainmenu" class="layoutsubsection actionmenu">
> >> <strong id="xwikimenutitle" class="hidden">Actions générales
> :</strong>
> >> <div class="rightmenu">
> >>    <div id="tmRegister" class="tmRegister topmenuentry "><a class="tme"
> >>
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/register/XWiki/Register"><strong>Inscription</strong></a></div>
> >> </div>
> >> <div class="leftmenu">
> >>    <div id="tmWiki" class="tmWiki topmenuentry hasIcon"><a class="tme"
> >>
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"><strong>xwiki</strong></a></div>
> >>    <div id="tmSpace" class="tmSpace topmenuentry hasIcon"><a
> >> class="tme"
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/"><strong>XWiki</strong></a></div>
> >> </div>
> >> </div>
> >>
> >> </div>
> >>   <div id="headerglobal" class="layoutsection">
> >> <div class="minwidthd"></div>
> >>    <div id="company">
> >>    <div id="companylogo">
> >>      <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"
> >> title="Home" rel="home">
> >>      <img src="/xwiki%2Denterprise%2Dweb%2D2.2/skins/colibri/logo.png"
> >> alt="Wiki Logo"/>
> >>      </a>
> >>    </div>    </div>    <div id="globallinks">
> >>      <form
> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/WebSearch">
> >>        <div class="globalsearch">
> >>          <label class="hidden"
> >> for="headerglobalsearchinput">Recherche</label><input
> >> class="globalsearchinput withTip" id="headerglobalsearchinput"
> >> type="text" name="text" value="Chercher..." size="15"/><input
> >> class="button" type="image" value="Go" alt="Go"
> >> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/icons/xwiki/search.png"/>
> >>        </div>
> >>      </form>
> >>    <span class="glink" id="headerlanguages">
> >>              <a
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin?language=default"
> >> class="language-default language-current">default</a>
> >>      </span>
> >>    </div>    <div class="clearfloats"></div>
> >> </div>
> >>
> >> <div class="contenthideleft" id="contentcontainer">
> >> <div id="contentcontainerinner">
> >> <div class="leftsidecolumns">
> >>    <div id="contentcolumn">
> >> <div class="main layoutsubsection">
> >> <div id="mainContentArea">
> >> <form id="loginForm"
> >>
> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/loginsubmit/XWiki/XWikiLogin"
> >> method="post">
> >> <div class="hidden"><input type="hidden" name="xredirect" value=""/>
> >> <input type="hidden" name="srid" value="zBr9ZDFG"/>
> >> </div>
> >>      <div class="centered">
> >>      <fieldset class="xwikimessage">
> >>        <legend>Identification</legend>
> >>        <p class="xwikimessage"></p>
> >> <table class="xwikilogintable" summary="loginform">
> >> <tr><th><label for="j_username">Nom d'Utilisateur:</label></th>
> >> <td><input type="text" id="j_username" name="j_username"
> value=""/></td></tr>
> >> <tr><th><label for="j_password">Mot de Passe:</label></th>
> >> <td><input type="password" id="j_password" name="j_password"
> >> value=""/></td></tr>
> >> <tr><td colspan="2" style="text-align: left;"><input id="rememberme"
> >> type="checkbox" name="j_rememberme" value="true"/><label
> >> for="rememberme">Retenez mes identifiants</label></td></tr>
> >> </table>
> >> <div class="buttons"><span class="buttonwrapper"><input type="submit"
> >> class="button" value="Identification"/></span></div>
> >>    <div style="font-size: 70%; margin-top: 2em;">Forgot your<a
> >>
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ForgotUsername">username</a>
> >> or<a
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ResetPassword">password</a>?</div>
> >>      </fieldset>
> >>      </div>
> >> </form>
> >> </div></div><script type="text/javascript">
> >> //<![CDATA[
> >>    document.forms.loginForm.j_username.focus();
> >> //]]>
> >> </script>
> >>      </div>
> >>    </div><div id="rightPanels" class="panels right">
> >>                                                  </div>
> >>
> >> <div class="clearfloats"></div>
> >>    </div></div><div id="footerglobal" class="layoutsection">
> >> <div class="minwidth"></div>
> >> <hr/>
> >>    <div id="xwikilicence">This wiki is licensed under a<a
> >> href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
> >> 2.0</a>  license</div>
> >>            <div id="xwikiplatformversion">XWiki Enterprise 2.2.27100 -
> >> <a onclick="openURL('
> http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
> >> '_blank'); return false;"
> >> href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation
> ">Documentation</a></div>
> >> <hr/>
> >> </div>
> >>
> >> </div></div></body>
> >> </html>
> >>
> >> Thanks
> >> Simon Glet
> >>
> >> On Thu, Feb 25, 2010 at 5:43 AM, Florin Ciubotaru
> >> <[hidden email]>  wrote:
> >>
> >>> Hi,
> >>>
> >>> On 2/24/2010 5:16 PM, Simon Glet wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> In order to track my XOffice login problem I installed a HTTP
> >>>> forwarder,logger TcpTrace V0.8.1.717. The tool forwards everything
> >>>> from 8088 to 8090 and back.
> >>>>
> >>>> With the following configuration in XOffice:
> >>>> Server URL :
> http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin
> >>>>
> >>>>
> >>> This should be:
> >>>
> >>> http://localhost:8088/xwiki-enterprise-web-2.2
> >>>
> >>> You previously said that this failes too. Please post the response for
> >>> this url.
> >>>
> >>> Thanks,
> >>> Florin Ciubotaru
> >>>
> >>>> User Name : glets
> >>>> Password : glets
> >>>>
> >>>> The POST is :
> >>>> POST /xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin/xwiki/xmlrpc
> HTTP/1.1
> >>>> Content-Type: text/xml
> >>>> User-Agent: XML-RPC.NET
> >>>> Host: localhost:8088
> >>>> Content-Length: 301
> >>>> Connection: Keep-Alive
> >>>>
> >>>> <?xml version="1.0"?>
> >>>> <methodCall>
> >>>>     <methodName>confluence1.login</methodName>
> >>>>     <params>
> >>>>       <param>
> >>>>         <value>
> >>>>           <string>glets</string>
> >>>>         </value>
> >>>>       </param>
> >>>>       <param>
> >>>>         <value>
> >>>>           <string>glets</string>
> >>>>         </value>
> >>>>       </param>
> >>>>     </params>
> >>>> </methodCall>
> >>>>
> >>>> And the reply is :
> >>>>
> >>>> HTTP/1.1 401 Unauthorized
> >>>> Server: Apache-Coyote/1.1
> >>>> Set-Cookie: JSESSIONID=ADA423739BC3AEC52BBDE47074073A15;
> >>>> Path=/xwiki-enterprise-web-2.2
> >>>> Pragma: no-cache
> >>>> Cache-Control: no-cache
> >>>> Expires: Wed, 31 Dec 1969 23:59:59 GMT
> >>>> Content-Type: text/html;charset=UTF-8
> >>>> Content-Language: fr
> >>>> Content-Length: 9329
> >>>> Date: Wed, 24 Feb 2010 14:57:18 GMT
> >>>>
> >>>> <?xml version="1.0" encoding="UTF-8" ?>
> >>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> >>>>       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> >>>> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
> >>>>     <head>
> >>>>                       <meta http-equiv="Content-Type"
> >>>> content="text/html; charset=UTF-8" />
> >>>>                                       <title>XWikiLogin
> >>>> (XWiki.XWikiLogin) - XWiki</title>
> >>>>                   <meta http-equiv="Content-Script-Type"
> >>>> content="text/javascript" />
> >>>>                           <meta http-equiv="imagetoolbar"
> content="no"/>
> >>>>                                               <meta name="document"
> >>>> content="XWiki.XWikiLogin"/>
> >>>>       <meta name="space" content="XWiki"/>
> >>>>       <meta name="page" content="XWikiLogin"/>
> >>>>       <meta name="version" content="1.1"/>
> >>>>                       <meta name="gwt:property" content="locale=fr" />
> >>>>                   <meta http-equiv="Content-Type" content="text/html;
> >>>> charset=UTF-8" />
> >>>> <meta name="revisit-after" content="7 days" />
> >>>> <meta name="description" content="XWikiLogin" />
> >>>> <meta name="keywords" content="wiki" />
> >>>> <meta name="distribution" content="GLOBAL" />
> >>>> <meta name="rating" content="General" />
> >>>> <meta name="author" content="" />
> >>>> <meta http-equiv="reply-to" content="" />
> >>>> <meta name="language" content="fr" />
> >>>>
> >>>>                   <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin
> -->
> >>>>       <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/style.css"
> >>>> rel="stylesheet" type="text/css" media="all" />
> >>>> <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/print.css"
> >>>> rel="stylesheet" type="text/css" media="print" />
> >>>>           <!--[if IE]>
> >>>>     <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2Dall.css"
> >>>> rel="stylesheet" type="text/css" />
> >>>> <![endif]-->
> >>>> <!--[if IE 6]>
> >>>>     <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2D6.css"
> >>>> rel="stylesheet" type="text/css" />
> >>>> <![endif]-->
> >>>>
> >>>> <link rel='stylesheet' type='text/css'
> >>>>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link
> >>>> rel='stylesheet' type='text/css'
> >>>>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link
> >>>> rel='stylesheet' type='text/css'
> >>>>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link
> >>>> rel='stylesheet' type='text/css'
> >>>>
> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.css'/>
> >>>>
> >>>>
> >>>>       <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.css"
> >>>> rel="stylesheet" type="text/css" />
> >>>> <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightbox.css"
> >>>> rel="stylesheet" type="text/css" />
> >>>> <!--[if IE]>
> >>>>     <link
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css"
> >>>> rel="stylesheet" type="text/css" />
> >>>> <![endif]-->
> >>>>
> >>>> <script type="text/javascript"
> >>>>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/prototype/prototype.js"></script>
> >>>> <script type="text/javascript"
> >>>>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/xwiki.js"></script>
> >>>> <script type="text/javascript"
> >>>>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.js"></script>
> >>>> <script type="text/javascript">
> >>>> //<![CDATA[
> >>>> XWiki.webapppath = "xwiki-enterprise-web-2.2/";
> >>>> XWiki.servletpath = "bin/";
> >>>> XWiki.contextPath = "/xwiki-enterprise-web-2.2";
> >>>> XWiki.mainWiki = "xwiki";
> >>>> XWiki.currentWiki = "xwiki";
> >>>> XWiki.currentSpace = "XWiki";
> >>>> XWiki.editor = "";
> >>>> XWiki.viewer = "";
> >>>> XWiki.contextaction = "login";
> >>>> XWiki.docisnew = true;
> >>>> XWiki.docsyntax = "xwiki/2.0";
> >>>> XWiki.blacklistedSpaces = [
> >>>>
> "Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes"
> >>>> ];
> >>>> XWiki.hasEdit = false;
> >>>> window.docviewurl =
> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin";
> >>>> window.docediturl =
> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/edit/XWiki/XWikiLogin";
> >>>> window.docsaveurl =
> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/save/XWiki/XWikiLogin";
> >>>> // ]]>
> >>>> </script>
> >>>> <script type='text/javascript'
> >>>>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/scriptaculous/effects.js'></script><script
> >>>> type='text/javascript'
> >>>>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script
> >>>> type='text/javascript'
> >>>>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script
> >>>> type='text/javascript'
> >>>>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script
> >>>> type='text/javascript'
> >>>>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script
> >>>> type='text/javascript'
> >>>>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.js'></script>
> >>>> <script type='text/javascript'
> >>>>
> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/jsx/XWiki/WebDAV?language=fr'></script>
> >>>> <script type="text/javascript"
> >>>>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/compatibility.js"></script>
> >>>>
> >>>>     </head>
> >>>>           <body id="body" class="xwiki loginbody hideleft">
> >>>>     <div id="xwikimaincontainer">
> >>>> <div id="xwikimaincontainerinner">
> >>>>
> >>>> <div id="menuview">
> >>>>     <div id="mainmenu" class="layoutsubsection actionmenu">
> >>>> <strong id="xwikimenutitle" class="hidden">Actions générales
> :</strong>
> >>>> <div class="rightmenu">
> >>>>     <div id="tmRegister" class="tmRegister topmenuentry "><a
> class="tme"
> >>>>
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/register/XWiki/Register"><strong>Inscription</strong></a></div>
> >>>> </div>
> >>>> <div class="leftmenu">
> >>>>     <div id="tmWiki" class="tmWiki topmenuentry hasIcon"><a
> class="tme"
> >>>>
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"><strong>xwiki</strong></a></div>
> >>>>     <div id="tmSpace" class="tmSpace topmenuentry hasIcon"><a
> >>>> class="tme"
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/"><strong>XWiki</strong></a></div>
> >>>> </div>
> >>>> </div>
> >>>>
> >>>> </div>
> >>>>    <div id="headerglobal" class="layoutsection">
> >>>> <div class="minwidthd"></div>
> >>>>     <div id="company">
> >>>>     <div id="companylogo">
> >>>>       <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"
> >>>> title="Home" rel="home">
> >>>>       <img
> src="/xwiki%2Denterprise%2Dweb%2D2.2/skins/colibri/logo.png"
> >>>> alt="Wiki Logo"/>
> >>>>       </a>
> >>>>     </div>      </div>      <div id="globallinks">
> >>>>       <form
> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/WebSearch">
> >>>>         <div class="globalsearch">
> >>>>           <label class="hidden"
> >>>> for="headerglobalsearchinput">Recherche</label><input
> >>>> class="globalsearchinput withTip" id="headerglobalsearchinput"
> >>>> type="text" name="text" value="Chercher..." size="15"/><input
> >>>> class="button" type="image" value="Go" alt="Go"
> >>>>
> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/icons/xwiki/search.png"/>
> >>>>         </div>
> >>>>       </form>
> >>>>     <span class="glink" id="headerlanguages">
> >>>>               <a
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin?language=default"
> >>>> class="language-default language-current">default</a>
> >>>>       </span>
> >>>>     </div>      <div class="clearfloats"></div>
> >>>> </div>
> >>>>
> >>>> <div class="contenthideleft" id="contentcontainer">
> >>>> <div id="contentcontainerinner">
> >>>> <div class="leftsidecolumns">
> >>>>     <div id="contentcolumn">
> >>>> <div class="main layoutsubsection">
> >>>> <div id="mainContentArea">
> >>>> <form id="loginForm"
> >>>>
> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/loginsubmit/XWiki/XWikiLogin"
> >>>> method="post">
> >>>> <div class="hidden"><input type="hidden" name="xredirect" value=""/>
> >>>> </div>
> >>>>       <div class="centered">
> >>>>       <fieldset class="xwikimessage">
> >>>>         <legend>Identification</legend>
> >>>>         <p class="xwikimessage"></p>
> >>>> <table class="xwikilogintable" summary="loginform">
> >>>> <tr><th><label for="j_username">Nom d'Utilisateur:</label></th>
> >>>> <td><input type="text" id="j_username" name="j_username"
> value=""/></td></tr>
> >>>> <tr><th><label for="j_password">Mot de Passe:</label></th>
> >>>> <td><input type="password" id="j_password" name="j_password"
> >>>> value=""/></td></tr>
> >>>> <tr><td colspan="2" style="text-align: left;"><input id="rememberme"
> >>>> type="checkbox" name="j_rememberme" value="true"/><label
> >>>> for="rememberme">Retenez mes identifiants</label></td></tr>
> >>>> </table>
> >>>> <div class="buttons"><span class="buttonwrapper"><input type="submit"
> >>>> class="button" value="Identification"/></span></div>
> >>>>     <div style="font-size: 70%; margin-top: 2em;">Forgot your<a
> >>>>
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ForgotUsername">username</a>
> >>>> or<a
> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ResetPassword">password</a>?</div>
> >>>>       </fieldset>
> >>>>       </div>
> >>>> </form>
> >>>> </div></div><script type="text/javascript">
> >>>> //<![CDATA[
> >>>>     document.forms.loginForm.j_username.focus();
> >>>> //]]>
> >>>> </script>
> >>>>       </div>
> >>>>     </div><div id="rightPanels" class="panels right">
> >>>>                                                   </div>
> >>>>
> >>>> <div class="clearfloats"></div>
> >>>>     </div></div><div id="footerglobal" class="layoutsection">
> >>>> <div class="minwidth"></div>
> >>>> <hr/>
> >>>>     <div id="xwikilicence">This wiki is licensed under a<a
> >>>> href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
> >>>> 2.0</a>    license</div>
> >>>>             <div id="xwikiplatformversion">XWiki Enterprise 2.2.27100
> -
> >>>> <a onclick="openURL('
> http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
> >>>> '_blank'); return false;"
> >>>> href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation
> ">Documentation</a></div>
> >>>> <hr/>
> >>>> </div>
> >>>>
> >>>> </div></div></body>
> >>>> </html>
> >>>>
> >>>> The reply is the login window ...
> >>>>
> >>>> What could be wrong with my setup ?
> >>>>
> >>>> Thanks
> >>>> Simon Glet
> >>>>
> >>>> P.S. : Windows XP SP3, Tomcat 6.0, Office 2007, XOffice 1.1.0.107
> >>>> _______________________________________________
> >>>> users mailing list
> >>>> [hidden email]
> >>>> http://lists.xwiki.org/mailman/listinfo/users
> >>>>
> >>>>
> >>>>
> >>> _______________________________________________
> >>> users mailing list
> >>> [hidden email]
> >>> http://lists.xwiki.org/mailman/listinfo/users
> >>>
> >>>
> >> _______________________________________________
> >> users mailing list
> >> [hidden email]
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >>
> >
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>



--
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: XOffice : login problem

hel-o
In reply to this post by Florin Ciubotaru
Hi,

is there a issue for that now?

We got the same problem and in the documentation theres a description how to get short URLs which includes that you change the 'xwiki' directory to 'ROOT'

http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs

So i think that you should be able to have that setting. Mayby a advanced settings option would prevent the normal user to see 'strange settings'.

Thanks
hel.
semantic-web.hel.at
hel@hel.at
Reply | Threaded
Open this post in threaded view
|

Re: XOffice : login problem

Florin Ciubotaru
Hi hel,

On 2/26/2010 10:11 AM, hel-o wrote:
> Hi,
>
> is there a issue for that now?
>    
No there's no jira issue for now. If you need this, please create it and
I'll implement it.

> We got the same problem and in the documentation theres a description how to
> get short URLs which includes that you change the 'xwiki' directory to
> 'ROOT'
>
> http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
>
> So i think that you should be able to have that setting. Mayby a advanced
> settings option would prevent the normal user to see 'strange settings'.
>
> Thanks
> hel.
>
> -----
> semantic-web.hel.at
> [hidden email]
>
>    

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: XOffice : login problem

Simon Glet
In reply to this post by Guillaume Lerouge
Hi Guillaume,

Off course ! Thanks for the perspective update : the Entreprise
Manager ... If the url path to one of the instances is not
http://server/xwiki then the XOffice login will not work. This is just
a wild guess.

We don't, yet, need multiple instances of xwiki so I won't be testing
XOffice login in such a configuration but I will add a ticket in jira.

Thanks
Simon Glet

On Thu, Feb 25, 2010 at 6:16 PM, Guillaume Lerouge <[hidden email]> wrote:

> Hi Simon,
>
> On Thu, Feb 25, 2010 at 9:46 PM, Simon Glet <[hidden email]> wrote:
>
>> I see ... Well, I find that renaming the deployment directory to xwiki
>> doesn't allow having multiple versions or instances of XWiki at the
>> same time. I don't know if it's a realistic scenario but it came to
>> mind first.
>>
>
> You could use XWiki Enterprise Manager (http://manager.xwiki.org/) if you
> need to have multiple XWiki instances though...
>
> Guillaume
>
> Thanks for the workarounds, I will try them and keep you posted.
>>
>> Best Regards
>> Simon Glet
>>
>> On Thu, Feb 25, 2010 at 10:55 AM, Florin Ciubotaru
>> <[hidden email]> wrote:
>> > Hi Simon,
>> >
>> > Looks like your wiki is redirecting to the login page. This happens
>> > because XOffice only uses "xwiki" as an application context, and
>> > "detects" the xmlrpc servlet mapping in a wrong manner.
>> > I now remember thinking at this potential issue since I developed the
>> > connectivity module. I've been hesitating to allow more flexibility on
>> > this because nobody requested it until now and because this will force
>> > every user to fill in more strange settings in XOffice. I tend to think
>> > it's more efficient having an admin configuring some settings then all
>> > users doing the same thing ;)
>> >
>> > There are two quick fixes for this:
>> > 1) Redeploy XWiki using an "xwiki" directory instead of
>> > "xwiki-enterprise-web-2.2"
>> > 2) Reconfigure the xmlrpc servler mapping to fit the XOffice request. In
>> > order to do this, go to /WEB-INF/web.xml and  look for:
>> >
>> > <servlet-mapping>
>> > <servlet-name>xmlrpc</servlet-name>
>> > <url-pattern>/xmlrpc/*</url-pattern>
>> > </servlet-mapping>
>> >
>> > Then change "/xmlrpc/*" with "*xmlrpc/".
>> >
>> > I think going for option 1) is best.
>> > If you feel more flexibility is still needed then please create a jira
>> > issue and I'll try to implement in one of the following releases.
>> >
>> > Florin Ciubotaru
>> >
>> > On 2/25/2010 3:41 PM, Simon Glet wrote:
>> >> Sure no problem.
>> >>
>> >> The POST is :
>> >>
>> >> POST /xwiki-enterprise-web-2.2/xwiki/xmlrpc HTTP/1.1
>> >> Content-Type: text/xml
>> >> User-Agent: XML-RPC.NET
>> >> Host: localhost:8088
>> >> Content-Length: 301
>> >> Connection: Keep-Alive
>> >>
>> >> <?xml version="1.0"?>
>> >> <methodCall>
>> >>    <methodName>confluence1.login</methodName>
>> >>    <params>
>> >>      <param>
>> >>        <value>
>> >>          <string>glets</string>
>> >>        </value>
>> >>      </param>
>> >>      <param>
>> >>        <value>
>> >>          <string>glets</string>
>> >>        </value>
>> >>      </param>
>> >>    </params>
>> >> </methodCall>GET
>> >>
>> /xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin;jsessionid=1F2EB5326C1409EEFC1EE399CFF89426?srid=zBr9ZDFG
>> >> HTTP/1.1
>> >> Content-Type: text/xml
>> >> User-Agent: XML-RPC.NET
>> >> Host: localhost:8088
>> >> Cookie: JSESSIONID=1F2EB5326C1409EEFC1EE399CFF89426
>> >>
>> >> and the response is :
>> >>
>> >> HTTP/1.1 302 Moved Temporarily
>> >> Server: Apache-Coyote/1.1
>> >> Set-Cookie: JSESSIONID=1F2EB5326C1409EEFC1EE399CFF89426;
>> >> Path=/xwiki-enterprise-web-2.2
>> >> Location:
>> http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin;jsessionid=1F2EB5326C1409EEFC1EE399CFF89426?srid=zBr9ZDFG
>> >> Content-Type: text/html;charset=ISO-8859-1
>> >> Content-Language: fr
>> >> Content-Length: 0
>> >> Date: Thu, 25 Feb 2010 13:37:56 GMT
>> >>
>> >> HTTP/1.1 401 Unauthorized
>> >> Server: Apache-Coyote/1.1
>> >> Pragma: no-cache
>> >> Cache-Control: no-cache
>> >> Expires: Wed, 31 Dec 1969 23:59:59 GMT
>> >> Content-Type: text/html;charset=UTF-8
>> >> Content-Language: fr
>> >> Content-Length: 9381
>> >> Date: Thu, 25 Feb 2010 13:37:56 GMT
>> >>
>> >> <?xml version="1.0" encoding="UTF-8" ?>
>> >> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>> >>      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> >> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
>> >>    <head>
>> >>                      <meta http-equiv="Content-Type"
>> >> content="text/html; charset=UTF-8" />
>> >>                                      <title>XWikiLogin
>> >> (XWiki.XWikiLogin) - XWiki</title>
>> >>                  <meta http-equiv="Content-Script-Type"
>> >> content="text/javascript" />
>> >>                          <meta http-equiv="imagetoolbar" content="no"/>
>> >>                                              <meta name="document"
>> >> content="XWiki.XWikiLogin"/>
>> >>      <meta name="space" content="XWiki"/>
>> >>      <meta name="page" content="XWikiLogin"/>
>> >>      <meta name="version" content="1.1"/>
>> >>                      <meta name="gwt:property" content="locale=fr" />
>> >>                  <meta http-equiv="Content-Type" content="text/html;
>> >> charset=UTF-8" />
>> >> <meta name="revisit-after" content="7 days" />
>> >> <meta name="description" content="XWikiLogin" />
>> >> <meta name="keywords" content="wiki" />
>> >> <meta name="distribution" content="GLOBAL" />
>> >> <meta name="rating" content="General" />
>> >> <meta name="author" content="" />
>> >> <meta http-equiv="reply-to" content="" />
>> >> <meta name="language" content="fr" />
>> >>
>> >>                  <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin -->
>> >>      <link
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/style.css"
>> >> rel="stylesheet" type="text/css" media="all" />
>> >> <link
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/print.css"
>> >> rel="stylesheet" type="text/css" media="print" />
>> >>          <!--[if IE]>
>> >>    <link
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2Dall.css"
>> >> rel="stylesheet" type="text/css" />
>> >> <![endif]-->
>> >> <!--[if IE 6]>
>> >>    <link
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2D6.css"
>> >> rel="stylesheet" type="text/css" />
>> >> <![endif]-->
>> >>
>> >> <link rel='stylesheet' type='text/css'
>> >>
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link
>> >> rel='stylesheet' type='text/css'
>> >>
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link
>> >> rel='stylesheet' type='text/css'
>> >>
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link
>> >> rel='stylesheet' type='text/css'
>> >>
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.css'/>
>> >>
>> >>
>> >>      <link
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.css"
>> >> rel="stylesheet" type="text/css" />
>> >> <link
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightbox.css"
>> >> rel="stylesheet" type="text/css" />
>> >> <!--[if IE]>
>> >>    <link
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css"
>> >> rel="stylesheet" type="text/css" />
>> >> <![endif]-->
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> <script type="text/javascript"
>> >>
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/prototype/prototype.js"></script>
>> >> <script type="text/javascript"
>> >>
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/xwiki.js"></script>
>> >> <script type="text/javascript"
>> >>
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.js"></script>
>> >> <script type="text/javascript">
>> >> //<![CDATA[
>> >> XWiki.webapppath = "xwiki-enterprise-web-2.2/";
>> >> XWiki.servletpath = "bin/";
>> >> XWiki.contextPath = "/xwiki-enterprise-web-2.2";
>> >> XWiki.mainWiki = "xwiki";
>> >> XWiki.currentWiki = "xwiki";
>> >> XWiki.currentSpace = "XWiki";
>> >> XWiki.editor = "";
>> >> XWiki.viewer = "";
>> >> XWiki.contextaction = "login";
>> >> XWiki.docisnew = true;
>> >> XWiki.docsyntax = "xwiki/2.0";
>> >> XWiki.blacklistedSpaces = [
>> >>
>> "Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes"
>> >> ];
>> >> XWiki.hasEdit = false;
>> >> window.docviewurl =
>> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin";
>> >> window.docediturl =
>> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/edit/XWiki/XWikiLogin";
>> >> window.docsaveurl =
>> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/save/XWiki/XWikiLogin";
>> >> // ]]>
>> >> </script>
>> >> <script type='text/javascript'
>> >>
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/scriptaculous/effects.js'></script><script
>> >> type='text/javascript'
>> >>
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script
>> >> type='text/javascript'
>> >>
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script
>> >> type='text/javascript'
>> >>
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script
>> >> type='text/javascript'
>> >>
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script
>> >> type='text/javascript'
>> >>
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.js'></script>
>> >> <script type='text/javascript'
>> >>
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/jsx/XWiki/WebDAV?language=fr'></script>
>> >> <script type="text/javascript"
>> >>
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/compatibility.js"></script>
>> >>
>> >>    </head>
>> >>          <body id="body" class="xwiki loginbody hideleft">
>> >>    <div id="xwikimaincontainer">
>> >> <div id="xwikimaincontainerinner">
>> >>
>> >> <div id="menuview">
>> >>    <div id="mainmenu" class="layoutsubsection actionmenu">
>> >> <strong id="xwikimenutitle" class="hidden">Actions générales
>> :</strong>
>> >> <div class="rightmenu">
>> >>    <div id="tmRegister" class="tmRegister topmenuentry "><a class="tme"
>> >>
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/register/XWiki/Register"><strong>Inscription</strong></a></div>
>> >> </div>
>> >> <div class="leftmenu">
>> >>    <div id="tmWiki" class="tmWiki topmenuentry hasIcon"><a class="tme"
>> >>
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"><strong>xwiki</strong></a></div>
>> >>    <div id="tmSpace" class="tmSpace topmenuentry hasIcon"><a
>> >> class="tme"
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/"><strong>XWiki</strong></a></div>
>> >> </div>
>> >> </div>
>> >>
>> >> </div>
>> >>   <div id="headerglobal" class="layoutsection">
>> >> <div class="minwidthd"></div>
>> >>    <div id="company">
>> >>    <div id="companylogo">
>> >>      <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"
>> >> title="Home" rel="home">
>> >>      <img src="/xwiki%2Denterprise%2Dweb%2D2.2/skins/colibri/logo.png"
>> >> alt="Wiki Logo"/>
>> >>      </a>
>> >>    </div>    </div>    <div id="globallinks">
>> >>      <form
>> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/WebSearch">
>> >>        <div class="globalsearch">
>> >>          <label class="hidden"
>> >> for="headerglobalsearchinput">Recherche</label><input
>> >> class="globalsearchinput withTip" id="headerglobalsearchinput"
>> >> type="text" name="text" value="Chercher..." size="15"/><input
>> >> class="button" type="image" value="Go" alt="Go"
>> >> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/icons/xwiki/search.png"/>
>> >>        </div>
>> >>      </form>
>> >>    <span class="glink" id="headerlanguages">
>> >>              <a
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin?language=default"
>> >> class="language-default language-current">default</a>
>> >>      </span>
>> >>    </div>    <div class="clearfloats"></div>
>> >> </div>
>> >>
>> >> <div class="contenthideleft" id="contentcontainer">
>> >> <div id="contentcontainerinner">
>> >> <div class="leftsidecolumns">
>> >>    <div id="contentcolumn">
>> >> <div class="main layoutsubsection">
>> >> <div id="mainContentArea">
>> >> <form id="loginForm"
>> >>
>> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/loginsubmit/XWiki/XWikiLogin"
>> >> method="post">
>> >> <div class="hidden"><input type="hidden" name="xredirect" value=""/>
>> >> <input type="hidden" name="srid" value="zBr9ZDFG"/>
>> >> </div>
>> >>      <div class="centered">
>> >>      <fieldset class="xwikimessage">
>> >>        <legend>Identification</legend>
>> >>        <p class="xwikimessage"></p>
>> >> <table class="xwikilogintable" summary="loginform">
>> >> <tr><th><label for="j_username">Nom d'Utilisateur:</label></th>
>> >> <td><input type="text" id="j_username" name="j_username"
>> value=""/></td></tr>
>> >> <tr><th><label for="j_password">Mot de Passe:</label></th>
>> >> <td><input type="password" id="j_password" name="j_password"
>> >> value=""/></td></tr>
>> >> <tr><td colspan="2" style="text-align: left;"><input id="rememberme"
>> >> type="checkbox" name="j_rememberme" value="true"/><label
>> >> for="rememberme">Retenez mes identifiants</label></td></tr>
>> >> </table>
>> >> <div class="buttons"><span class="buttonwrapper"><input type="submit"
>> >> class="button" value="Identification"/></span></div>
>> >>    <div style="font-size: 70%; margin-top: 2em;">Forgot your<a
>> >>
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ForgotUsername">username</a>
>> >> or<a
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ResetPassword">password</a>?</div>
>> >>      </fieldset>
>> >>      </div>
>> >> </form>
>> >> </div></div><script type="text/javascript">
>> >> //<![CDATA[
>> >>    document.forms.loginForm.j_username.focus();
>> >> //]]>
>> >> </script>
>> >>      </div>
>> >>    </div><div id="rightPanels" class="panels right">
>> >>                                                  </div>
>> >>
>> >> <div class="clearfloats"></div>
>> >>    </div></div><div id="footerglobal" class="layoutsection">
>> >> <div class="minwidth"></div>
>> >> <hr/>
>> >>    <div id="xwikilicence">This wiki is licensed under a<a
>> >> href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
>> >> 2.0</a>  license</div>
>> >>            <div id="xwikiplatformversion">XWiki Enterprise 2.2.27100 -
>> >> <a onclick="openURL('
>> http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
>> >> '_blank'); return false;"
>> >> href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation
>> ">Documentation</a></div>
>> >> <hr/>
>> >> </div>
>> >>
>> >> </div></div></body>
>> >> </html>
>> >>
>> >> Thanks
>> >> Simon Glet
>> >>
>> >> On Thu, Feb 25, 2010 at 5:43 AM, Florin Ciubotaru
>> >> <[hidden email]>  wrote:
>> >>
>> >>> Hi,
>> >>>
>> >>> On 2/24/2010 5:16 PM, Simon Glet wrote:
>> >>>
>> >>>> Hi,
>> >>>>
>> >>>> In order to track my XOffice login problem I installed a HTTP
>> >>>> forwarder,logger TcpTrace V0.8.1.717. The tool forwards everything
>> >>>> from 8088 to 8090 and back.
>> >>>>
>> >>>> With the following configuration in XOffice:
>> >>>> Server URL :
>> http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin
>> >>>>
>> >>>>
>> >>> This should be:
>> >>>
>> >>> http://localhost:8088/xwiki-enterprise-web-2.2
>> >>>
>> >>> You previously said that this failes too. Please post the response for
>> >>> this url.
>> >>>
>> >>> Thanks,
>> >>> Florin Ciubotaru
>> >>>
>> >>>> User Name : glets
>> >>>> Password : glets
>> >>>>
>> >>>> The POST is :
>> >>>> POST /xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin/xwiki/xmlrpc
>> HTTP/1.1
>> >>>> Content-Type: text/xml
>> >>>> User-Agent: XML-RPC.NET
>> >>>> Host: localhost:8088
>> >>>> Content-Length: 301
>> >>>> Connection: Keep-Alive
>> >>>>
>> >>>> <?xml version="1.0"?>
>> >>>> <methodCall>
>> >>>>     <methodName>confluence1.login</methodName>
>> >>>>     <params>
>> >>>>       <param>
>> >>>>         <value>
>> >>>>           <string>glets</string>
>> >>>>         </value>
>> >>>>       </param>
>> >>>>       <param>
>> >>>>         <value>
>> >>>>           <string>glets</string>
>> >>>>         </value>
>> >>>>       </param>
>> >>>>     </params>
>> >>>> </methodCall>
>> >>>>
>> >>>> And the reply is :
>> >>>>
>> >>>> HTTP/1.1 401 Unauthorized
>> >>>> Server: Apache-Coyote/1.1
>> >>>> Set-Cookie: JSESSIONID=ADA423739BC3AEC52BBDE47074073A15;
>> >>>> Path=/xwiki-enterprise-web-2.2
>> >>>> Pragma: no-cache
>> >>>> Cache-Control: no-cache
>> >>>> Expires: Wed, 31 Dec 1969 23:59:59 GMT
>> >>>> Content-Type: text/html;charset=UTF-8
>> >>>> Content-Language: fr
>> >>>> Content-Length: 9329
>> >>>> Date: Wed, 24 Feb 2010 14:57:18 GMT
>> >>>>
>> >>>> <?xml version="1.0" encoding="UTF-8" ?>
>> >>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>> >>>>       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> >>>> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
>> >>>>     <head>
>> >>>>                       <meta http-equiv="Content-Type"
>> >>>> content="text/html; charset=UTF-8" />
>> >>>>                                       <title>XWikiLogin
>> >>>> (XWiki.XWikiLogin) - XWiki</title>
>> >>>>                   <meta http-equiv="Content-Script-Type"
>> >>>> content="text/javascript" />
>> >>>>                           <meta http-equiv="imagetoolbar"
>> content="no"/>
>> >>>>                                               <meta name="document"
>> >>>> content="XWiki.XWikiLogin"/>
>> >>>>       <meta name="space" content="XWiki"/>
>> >>>>       <meta name="page" content="XWikiLogin"/>
>> >>>>       <meta name="version" content="1.1"/>
>> >>>>                       <meta name="gwt:property" content="locale=fr" />
>> >>>>                   <meta http-equiv="Content-Type" content="text/html;
>> >>>> charset=UTF-8" />
>> >>>> <meta name="revisit-after" content="7 days" />
>> >>>> <meta name="description" content="XWikiLogin" />
>> >>>> <meta name="keywords" content="wiki" />
>> >>>> <meta name="distribution" content="GLOBAL" />
>> >>>> <meta name="rating" content="General" />
>> >>>> <meta name="author" content="" />
>> >>>> <meta http-equiv="reply-to" content="" />
>> >>>> <meta name="language" content="fr" />
>> >>>>
>> >>>>                   <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin
>> -->
>> >>>>       <link
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/style.css"
>> >>>> rel="stylesheet" type="text/css" media="all" />
>> >>>> <link
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/print.css"
>> >>>> rel="stylesheet" type="text/css" media="print" />
>> >>>>           <!--[if IE]>
>> >>>>     <link
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2Dall.css"
>> >>>> rel="stylesheet" type="text/css" />
>> >>>> <![endif]-->
>> >>>> <!--[if IE 6]>
>> >>>>     <link
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/skins/colibri/ie%2D6.css"
>> >>>> rel="stylesheet" type="text/css" />
>> >>>> <![endif]-->
>> >>>>
>> >>>> <link rel='stylesheet' type='text/css'
>> >>>>
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link
>> >>>> rel='stylesheet' type='text/css'
>> >>>>
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link
>> >>>> rel='stylesheet' type='text/css'
>> >>>>
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link
>> >>>> rel='stylesheet' type='text/css'
>> >>>>
>> href='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.css'/>
>> >>>>
>> >>>>
>> >>>>       <link
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.css"
>> >>>> rel="stylesheet" type="text/css" />
>> >>>> <link
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightbox.css"
>> >>>> rel="stylesheet" type="text/css" />
>> >>>> <!--[if IE]>
>> >>>>     <link
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css"
>> >>>> rel="stylesheet" type="text/css" />
>> >>>> <![endif]-->
>> >>>>
>> >>>> <script type="text/javascript"
>> >>>>
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/prototype/prototype.js"></script>
>> >>>> <script type="text/javascript"
>> >>>>
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/xwiki.js"></script>
>> >>>> <script type="text/javascript"
>> >>>>
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/js/xwiki/suggest/ajaxSuggest.js"></script>
>> >>>> <script type="text/javascript">
>> >>>> //<![CDATA[
>> >>>> XWiki.webapppath = "xwiki-enterprise-web-2.2/";
>> >>>> XWiki.servletpath = "bin/";
>> >>>> XWiki.contextPath = "/xwiki-enterprise-web-2.2";
>> >>>> XWiki.mainWiki = "xwiki";
>> >>>> XWiki.currentWiki = "xwiki";
>> >>>> XWiki.currentSpace = "XWiki";
>> >>>> XWiki.editor = "";
>> >>>> XWiki.viewer = "";
>> >>>> XWiki.contextaction = "login";
>> >>>> XWiki.docisnew = true;
>> >>>> XWiki.docsyntax = "xwiki/2.0";
>> >>>> XWiki.blacklistedSpaces = [
>> >>>>
>> "Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes"
>> >>>> ];
>> >>>> XWiki.hasEdit = false;
>> >>>> window.docviewurl =
>> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin";
>> >>>> window.docediturl =
>> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/edit/XWiki/XWikiLogin";
>> >>>> window.docsaveurl =
>> "/xwiki%2Denterprise%2Dweb%2D2.2/bin/save/XWiki/XWikiLogin";
>> >>>> // ]]>
>> >>>> </script>
>> >>>> <script type='text/javascript'
>> >>>>
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/scriptaculous/effects.js'></script><script
>> >>>> type='text/javascript'
>> >>>>
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script
>> >>>> type='text/javascript'
>> >>>>
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script
>> >>>> type='text/javascript'
>> >>>>
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script
>> >>>> type='text/javascript'
>> >>>>
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script
>> >>>> type='text/javascript'
>> >>>>
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/uicomponents/widgets/notification.js'></script>
>> >>>> <script type='text/javascript'
>> >>>>
>> src='/xwiki%2Denterprise%2Dweb%2D2.2/bin/jsx/XWiki/WebDAV?language=fr'></script>
>> >>>> <script type="text/javascript"
>> >>>>
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/bin/skin/resources/js/xwiki/compatibility.js"></script>
>> >>>>
>> >>>>     </head>
>> >>>>           <body id="body" class="xwiki loginbody hideleft">
>> >>>>     <div id="xwikimaincontainer">
>> >>>> <div id="xwikimaincontainerinner">
>> >>>>
>> >>>> <div id="menuview">
>> >>>>     <div id="mainmenu" class="layoutsubsection actionmenu">
>> >>>> <strong id="xwikimenutitle" class="hidden">Actions générales
>> :</strong>
>> >>>> <div class="rightmenu">
>> >>>>     <div id="tmRegister" class="tmRegister topmenuentry "><a
>> class="tme"
>> >>>>
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/register/XWiki/Register"><strong>Inscription</strong></a></div>
>> >>>> </div>
>> >>>> <div class="leftmenu">
>> >>>>     <div id="tmWiki" class="tmWiki topmenuentry hasIcon"><a
>> class="tme"
>> >>>>
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"><strong>xwiki</strong></a></div>
>> >>>>     <div id="tmSpace" class="tmSpace topmenuentry hasIcon"><a
>> >>>> class="tme"
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/"><strong>XWiki</strong></a></div>
>> >>>> </div>
>> >>>> </div>
>> >>>>
>> >>>> </div>
>> >>>>    <div id="headerglobal" class="layoutsection">
>> >>>> <div class="minwidthd"></div>
>> >>>>     <div id="company">
>> >>>>     <div id="companylogo">
>> >>>>       <a href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/"
>> >>>> title="Home" rel="home">
>> >>>>       <img
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/skins/colibri/logo.png"
>> >>>> alt="Wiki Logo"/>
>> >>>>       </a>
>> >>>>     </div>      </div>      <div id="globallinks">
>> >>>>       <form
>> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/Main/WebSearch">
>> >>>>         <div class="globalsearch">
>> >>>>           <label class="hidden"
>> >>>> for="headerglobalsearchinput">Recherche</label><input
>> >>>> class="globalsearchinput withTip" id="headerglobalsearchinput"
>> >>>> type="text" name="text" value="Chercher..." size="15"/><input
>> >>>> class="button" type="image" value="Go" alt="Go"
>> >>>>
>> src="/xwiki%2Denterprise%2Dweb%2D2.2/resources/icons/xwiki/search.png"/>
>> >>>>         </div>
>> >>>>       </form>
>> >>>>     <span class="glink" id="headerlanguages">
>> >>>>               <a
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/XWikiLogin?language=default"
>> >>>> class="language-default language-current">default</a>
>> >>>>       </span>
>> >>>>     </div>      <div class="clearfloats"></div>
>> >>>> </div>
>> >>>>
>> >>>> <div class="contenthideleft" id="contentcontainer">
>> >>>> <div id="contentcontainerinner">
>> >>>> <div class="leftsidecolumns">
>> >>>>     <div id="contentcolumn">
>> >>>> <div class="main layoutsubsection">
>> >>>> <div id="mainContentArea">
>> >>>> <form id="loginForm"
>> >>>>
>> action="/xwiki%2Denterprise%2Dweb%2D2.2/bin/loginsubmit/XWiki/XWikiLogin"
>> >>>> method="post">
>> >>>> <div class="hidden"><input type="hidden" name="xredirect" value=""/>
>> >>>> </div>
>> >>>>       <div class="centered">
>> >>>>       <fieldset class="xwikimessage">
>> >>>>         <legend>Identification</legend>
>> >>>>         <p class="xwikimessage"></p>
>> >>>> <table class="xwikilogintable" summary="loginform">
>> >>>> <tr><th><label for="j_username">Nom d'Utilisateur:</label></th>
>> >>>> <td><input type="text" id="j_username" name="j_username"
>> value=""/></td></tr>
>> >>>> <tr><th><label for="j_password">Mot de Passe:</label></th>
>> >>>> <td><input type="password" id="j_password" name="j_password"
>> >>>> value=""/></td></tr>
>> >>>> <tr><td colspan="2" style="text-align: left;"><input id="rememberme"
>> >>>> type="checkbox" name="j_rememberme" value="true"/><label
>> >>>> for="rememberme">Retenez mes identifiants</label></td></tr>
>> >>>> </table>
>> >>>> <div class="buttons"><span class="buttonwrapper"><input type="submit"
>> >>>> class="button" value="Identification"/></span></div>
>> >>>>     <div style="font-size: 70%; margin-top: 2em;">Forgot your<a
>> >>>>
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ForgotUsername">username</a>
>> >>>> or<a
>> href="/xwiki%2Denterprise%2Dweb%2D2.2/bin/view/XWiki/ResetPassword">password</a>?</div>
>> >>>>       </fieldset>
>> >>>>       </div>
>> >>>> </form>
>> >>>> </div></div><script type="text/javascript">
>> >>>> //<![CDATA[
>> >>>>     document.forms.loginForm.j_username.focus();
>> >>>> //]]>
>> >>>> </script>
>> >>>>       </div>
>> >>>>     </div><div id="rightPanels" class="panels right">
>> >>>>                                                   </div>
>> >>>>
>> >>>> <div class="clearfloats"></div>
>> >>>>     </div></div><div id="footerglobal" class="layoutsection">
>> >>>> <div class="minwidth"></div>
>> >>>> <hr/>
>> >>>>     <div id="xwikilicence">This wiki is licensed under a<a
>> >>>> href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
>> >>>> 2.0</a>    license</div>
>> >>>>             <div id="xwikiplatformversion">XWiki Enterprise 2.2.27100
>> -
>> >>>> <a onclick="openURL('
>> http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
>> >>>> '_blank'); return false;"
>> >>>> href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation
>> ">Documentation</a></div>
>> >>>> <hr/>
>> >>>> </div>
>> >>>>
>> >>>> </div></div></body>
>> >>>> </html>
>> >>>>
>> >>>> The reply is the login window ...
>> >>>>
>> >>>> What could be wrong with my setup ?
>> >>>>
>> >>>> Thanks
>> >>>> Simon Glet
>> >>>>
>> >>>> P.S. : Windows XP SP3, Tomcat 6.0, Office 2007, XOffice 1.1.0.107
>> >>>> _______________________________________________
>> >>>> users mailing list
>> >>>> [hidden email]
>> >>>> http://lists.xwiki.org/mailman/listinfo/users
>> >>>>
>> >>>>
>> >>>>
>> >>> _______________________________________________
>> >>> users mailing list
>> >>> [hidden email]
>> >>> http://lists.xwiki.org/mailman/listinfo/users
>> >>>
>> >>>
>> >> _______________________________________________
>> >> users mailing list
>> >> [hidden email]
>> >> http://lists.xwiki.org/mailman/listinfo/users
>> >>
>> >>
>> >
>> > _______________________________________________
>> > users mailing list
>> > [hidden email]
>> > http://lists.xwiki.org/mailman/listinfo/users
>> >
>> _______________________________________________
>> users mailing list
>> [hidden email]
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Guillaume Lerouge
> Product Manager - XWiki SAS
> Skype: wikibc
> Twitter: glerouge
> http://guillaumelerouge.com/
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users