[xwiki-users] Annotations feature not working

2010-03-26 Thread Dilipkumar Jadhav
Hello folks,
I've installed the latest XWiki Enterprise2.3  ML1 and this is a fresh
install. However, ran into difficulties with the annotation feature.
When I save an annotation using the Add Annotation feature, the
annotations do not get saved. There is no symbol that is generated
next to the text that I was trying to annotate. Also, I get an error
at the bottom of the Page which states: No Host matches server name
localhost

I used the firebug plugin to find out what events were getting fired.
Following is the stack trace:

POST: 
http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/annotations?media=json
Code: 400
No Host matches server name localhost
localhost:8080

Server  Apache-Coyote/1.1
Transfer-Encoding   chunked
DateFri, 26 Mar 2010 06:09:39 GMT
Connection  close
Request Headersview source
Hostlocalhost:8080
User-Agent  Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.8)
Gecko/20100202 Firefox/3.5.8
Accept  text/javascript, text/html, application/xml, text/xml, */*
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive  300
Connection  keep-alive
X-Requested-WithXMLHttpRequest
X-Prototype-Version 1.6.1
Content-Typeapplication/x-www-form-urlencoded; charset=UTF-8
Referer http://localhost:8080/molecule/bin/view/Main/
Content-Length  275
Cookie  username=obD1aIklU0E_; password=FS1YvSKKiX8_; rememberme=false;
validation=12faf980e85d2f5a1216a4c7e320a4bd
Pragma  no-cache
Cache-Control   no-cache

Parameters  application/x-www-form-urlencoded
annotation  help
author  XWiki.Admin
dateFri Mar 26 01:32:31 EDT 2010
selection   WebHome
selectionContextWebHome
selectionOffset 0
Source
selectionOffset=0selectionContext=WebHomeselection=WebHomedate=Fri%20Mar%2026%2001%3A32%3A31%20EDT%202010author=XWiki.Adminannotation=help

XML Parsing Error: no element found Location:
moz-nullprincipal:{833f3ffa-8712-4980-aff7-a4aabf47426e} Line Number
1, Column 1:
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Annotations feature not working

2010-03-26 Thread Anca Luca
Hi Dilipkumar,

I'm pretty sure I know where the issue is coming from (because your wiki is 
running at localhost:8080/molecule/ and the annotations code is trying to 
connect to localhost:8080/xwiki/) and I'll fix it asap.

Can you please report this issue on 
http://jira.xwiki.org/jira/browse/XAANNOTATIONS ? Thanks a lot.

Happy xwiki-ing,
Anca



On 03/26/2010 06:59 PM, Dilipkumar Jadhav wrote:
 Hello folks,
 I've installed the latest XWiki Enterprise2.3  ML1 and this is a fresh
 install. However, ran into difficulties with the annotation feature.
 When I save an annotation using the Add Annotation feature, the
 annotations do not get saved. There is no symbol that is generated
 next to the text that I was trying to annotate. Also, I get an error
 at the bottom of the Page which states: No Host matches server name
 localhost

 I used the firebug plugin to find out what events were getting fired.
 Following is the stack trace:

 POST: 
 http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/annotations?media=json
 Code: 400
 No Host matches server name localhost
 localhost:8080

 ServerApache-Coyote/1.1
 Transfer-Encoding chunked
 Date  Fri, 26 Mar 2010 06:09:39 GMT
 Connectionclose
 Request Headersview source
 Host  localhost:8080
 User-AgentMozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.8)
 Gecko/20100202 Firefox/3.5.8
 Accepttext/javascript, text/html, application/xml, text/xml, */*
 Accept-Language   en-us,en;q=0.5
 Accept-Encoding   gzip,deflate
 Accept-CharsetISO-8859-1,utf-8;q=0.7,*;q=0.7
 Keep-Alive300
 Connectionkeep-alive
 X-Requested-With  XMLHttpRequest
 X-Prototype-Version   1.6.1
 Content-Type  application/x-www-form-urlencoded; charset=UTF-8
 Referer   http://localhost:8080/molecule/bin/view/Main/
 Content-Length275
 Cookieusername=obD1aIklU0E_; password=FS1YvSKKiX8_; rememberme=false;
 validation=12faf980e85d2f5a1216a4c7e320a4bd
 Pragmano-cache
 Cache-Control no-cache
   
 Parameters  application/x-www-form-urlencoded
 annotationhelp
 authorXWiki.Admin
 date  Fri Mar 26 01:32:31 EDT 2010
 selection WebHome
 selectionContext  WebHome
 selectionOffset   0
 Source
 selectionOffset=0selectionContext=WebHomeselection=WebHomedate=Fri%20Mar%2026%2001%3A32%3A31%20EDT%202010author=XWiki.Adminannotation=help

 XML Parsing Error: no element found Location:
 moz-nullprincipal:{833f3ffa-8712-4980-aff7-a4aabf47426e} Line Number
 1, Column 1:
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users