Hello Sergiu,

thanks a lot for you hint, when I renamed 
xwiki-enterprise-web-3.1-SNAPSHOT to simple xwiki, then after clicking 
on <save and view> button I got to normal login screen and when I log in 
the page is really created.

Now, the only question is how to make authentication data kind of 
persistent between pages so no login page is shown in the wizard.

Thanks!
Karel

On 06/15/11 10:44 AM, Sergiu Dumitriu wrote:
> On 06/15/2011 09:58 AM, Karel Gardas wrote:
>>
>> Hi Eduard,
>>
>> thanks a lot for your prompt reply. The URL I pass directly into
>> browser's setUrl method is correct. The problem is this is somehow
>> corrupted xwiki server reply -- I'm talking about this attempt to load
>> login page. I really set just
>> http://localhost:8080/xwiki-enterprise-web-3.1-SNAPSHOT/....
>>
>> Thanks to your help with authentication in setUrl, I've used that and
>> now I see the browser correctly load the page. Now the problem appears
>> when I click on<save and view>   (or<preview>,<save and continue>), the
>> result of this is always redirection to the login page which fails with
>> the same result like before:
>>
>> HTTP Status 404 -
>> /xwiki-enterprise-web-3.1-SNAPSHOThttp://localhost:8080/xwiki-enterprise-web-3.1-SNAPSHOT/bin/login/XWiki/XWikiLogin;jsessionid=7001CAC3C899FC78CA5481E87AA82D06
>
> There are still some problems when the webapp name contains dashes. Try
> to rename the application to something without dashes, like simply "xwiki".
>
>> type Status report
>>
>> message
>> /xwiki-enterprise-web-3.1-SNAPSHOThttp://localhost:8080/xwiki-enterprise-web-3.1-SNAPSHOT/bin/login/XWiki/XWikiLogin;jsessionid=7001CAC3C899FC78CA5481E87AA82D06
>>
>> description The requested resource
>> (/xwiki-enterprise-web-3.1-SNAPSHOThttp://localhost:8080/xwiki-enterprise-web-3.1-SNAPSHOT/bin/login/XWiki/XWikiLogin;jsessionid=7001CAC3C899FC78CA5481E87AA82D06)
>> is not available.
>> Apache Tomcat/7.0.12
>>
>>
>> Now my question is how to get the session cookie back from the browser
>> after displaying the page? It seems I can use .getCookie method, but I
>> don't know cookie's name in this case.
>>
>> Also I've submitted http://jira.xwiki.org/jira/browse/XECLIPSE-153 -- as
>> per your advice.
>>
>> Thanks!
>> Karel
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to