Re: [xwiki-users] Problem when editing WebHome page
Hi, Max Bonbhel wrote: Hi All, A problem occured while I trying to edite my Home page. I'm using XWIKI Enterprise 1.4.1 That's old :) Thanks, Error number 0 in 11: Uncaught exception Wrapped Exception: Index: 2, Size: 2 com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Index: 2, Size: 2 [snip] Wrapped Exception: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.xpn.xwiki.doc.XWikiDocument.getContentOfSection(XWikiDocument.java:4210) Are you trying to edit a section of your home page? It looks like you are trying to edit a section that doesn't exist. Perhaps the section number is wrongly computed. Does the edit URL contain section=2? Anyway, this may be a bug that was fixed in the mean time. Hope this helps, Marius ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problem when editing WebHome page
Hi Max, (next time please start a new thread and don't hijack an existing one you hijacked the one requesting a new wiki on myxwiki.org :)). Apparently from the stack trace you are doing section editing. XE 1.4.1 is really old now and the xwiki developers don't support it anymore as part of the community (we support the last 2 versions). To be honest I don't remember at all if section editing was working or not in 1.4.1. I can suggest one of 3 solutions for you: - upgrade to a more recent version - wait for some community member who has the knowledge of 1.4.1 and who can patch up the sources of 1.4.1 and fix the problem and deliver a new core JAR to you - contact XWiki SAS (http://xwiki.com) to pay for supporting your version (ie they would find the source for 1.4.1 and patch it to make section editing work). They can also upgrade you if you need help doing so. Thanks -Vincent On Jan 22, 2010, at 8:57 AM, Max Bonbhel wrote: Hi All, A problem occured while I trying to edite my Home page. I'm using XWIKI Enterprise 1.4.1 Thanks, Error number 0 in 11: Uncaught exception Wrapped Exception: Index: 2, Size: 2 com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Index: 2, Size: 2 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Unknown Source) Wrapped Exception: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.xpn.xwiki.doc.XWikiDocument.getContentOfSection(XWikiDocument.java:4210) at com.xpn.xwiki.web.EditAction.render(EditAction.java:74) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at
Re: [xwiki-users] Problem when editing WebHome page
I'm trying to edite the first section of my home page. Edit URL contain this : xwiki/bin/edit/Main/WebHome?editor=wysiwygsection=3 Thanks, -- From: Marius Dumitru Florea mariusdumitru.flo...@xwiki.com Sent: Friday, January 22, 2010 3:06 AM To: XWiki Users users@xwiki.org Subject: Re: [xwiki-users] Problem when editing WebHome page Hi, Max Bonbhel wrote: Hi All, A problem occured while I trying to edite my Home page. I'm using XWIKI Enterprise 1.4.1 That's old :) Thanks, Error number 0 in 11: Uncaught exception Wrapped Exception: Index: 2, Size: 2 com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Index: 2, Size: 2 [snip] Wrapped Exception: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.xpn.xwiki.doc.XWikiDocument.getContentOfSection(XWikiDocument.java:4210) Are you trying to edit a section of your home page? It looks like you are trying to edit a section that doesn't exist. Perhaps the section number is wrongly computed. Does the edit URL contain section=2? Anyway, this may be a bug that was fixed in the mean time. Hope this helps, Marius ___ 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
Re: [xwiki-users] Problem when editing WebHome page
Max Bonbhel wrote: I'm trying to edite the first section of my home page. Edit URL contain this : xwiki/bin/edit/Main/WebHome?editor=wysiwygsection=3 So indeed, the section number is badly computed. I'd follow Vincent's suggestions. Hope this helps, Marius Thanks, -- From: Marius Dumitru Florea mariusdumitru.flo...@xwiki.com Sent: Friday, January 22, 2010 3:06 AM To: XWiki Users users@xwiki.org Subject: Re: [xwiki-users] Problem when editing WebHome page Hi, Max Bonbhel wrote: Hi All, A problem occured while I trying to edite my Home page. I'm using XWIKI Enterprise 1.4.1 That's old :) Thanks, Error number 0 in 11: Uncaught exception Wrapped Exception: Index: 2, Size: 2 com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Index: 2, Size: 2 [snip] Wrapped Exception: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.xpn.xwiki.doc.XWikiDocument.getContentOfSection(XWikiDocument.java:4210) Are you trying to edit a section of your home page? It looks like you are trying to edit a section that doesn't exist. Perhaps the section number is wrongly computed. Does the edit URL contain section=2? Anyway, this may be a bug that was fixed in the mean time. Hope this helps, Marius ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problem when editing WebHome page
Sorry for hijacking :)) I can't upgrate to more recent version because currently the JUG Farm is using some oldish version of XE. Thanks, -- From: Vincent Massol vinc...@massol.net Sent: Friday, January 22, 2010 3:07 AM To: XWiki Users users@xwiki.org Subject: Re: [xwiki-users] Problem when editing WebHome page Hi Max, (next time please start a new thread and don't hijack an existing one you hijacked the one requesting a new wiki on myxwiki.org :)). Apparently from the stack trace you are doing section editing. XE 1.4.1 is really old now and the xwiki developers don't support it anymore as part of the community (we support the last 2 versions). To be honest I don't remember at all if section editing was working or not in 1.4.1. I can suggest one of 3 solutions for you: - upgrade to a more recent version - wait for some community member who has the knowledge of 1.4.1 and who can patch up the sources of 1.4.1 and fix the problem and deliver a new core JAR to you - contact XWiki SAS (http://xwiki.com) to pay for supporting your version (ie they would find the source for 1.4.1 and patch it to make section editing work). They can also upgrade you if you need help doing so. Thanks -Vincent On Jan 22, 2010, at 8:57 AM, Max Bonbhel wrote: Hi All, A problem occured while I trying to edite my Home page. I'm using XWIKI Enterprise 1.4.1 Thanks, Error number 0 in 11: Uncaught exception Wrapped Exception: Index: 2, Size: 2 com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Index: 2, Size: 2 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Unknown Source) Wrapped Exception: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.xpn.xwiki.doc.XWikiDocument.getContentOfSection(XWikiDocument.java:4210) at com.xpn.xwiki.web.EditAction.render(EditAction.java:74) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at
Re: [xwiki-users] Problem when editing WebHome page
I found a temporary solution. Just replace section=3 by section=2 in Edit URL. Thanks, -- From: Marius Dumitru Florea mariusdumitru.flo...@xwiki.com Sent: Friday, January 22, 2010 3:16 AM To: XWiki Users users@xwiki.org Subject: Re: [xwiki-users] Problem when editing WebHome page Max Bonbhel wrote: I'm trying to edite the first section of my home page. Edit URL contain this : xwiki/bin/edit/Main/WebHome?editor=wysiwygsection=3 So indeed, the section number is badly computed. I'd follow Vincent's suggestions. Hope this helps, Marius Thanks, -- From: Marius Dumitru Florea mariusdumitru.flo...@xwiki.com Sent: Friday, January 22, 2010 3:06 AM To: XWiki Users users@xwiki.org Subject: Re: [xwiki-users] Problem when editing WebHome page Hi, Max Bonbhel wrote: Hi All, A problem occured while I trying to edite my Home page. I'm using XWIKI Enterprise 1.4.1 That's old :) Thanks, Error number 0 in 11: Uncaught exception Wrapped Exception: Index: 2, Size: 2 com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Index: 2, Size: 2 [snip] Wrapped Exception: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.xpn.xwiki.doc.XWikiDocument.getContentOfSection(XWikiDocument.java:4210) Are you trying to edit a section of your home page? It looks like you are trying to edit a section that doesn't exist. Perhaps the section number is wrongly computed. Does the edit URL contain section=2? Anyway, this may be a bug that was fixed in the mean time. Hope this helps, Marius ___ 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 ___ 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
Re: [xwiki-users] Accessing XEM Through Internet
I had the same problem few weeks ago, and I didn't find any reason, neither any solution ! I was using the same mode: URL path based access. Everything was fine with 1.8 but with same configuration, accessing by domain name was not possible with XEM 2.1.1. I don't have any idea of what is it or where does it comes from, sorry. Gaëtan Jared Pearson a écrit : Thanks Thomas for such a quick response. I've read over the link you've sent many times over and am still not seeing what my configuration is missing. I haven't said this yet but I'm trying to use URL path based access I don't have access to the DNS, so I cannot use the domain name approach. I've attached a screen capture of the list of wiki instances from the WikiManager interface. Below is the important information from the table (in case you can't view the image). | Name | Domain Names | | templatexe (templatexe) | templatexe | | devWiki (?devWiki) | devWiki | | xwiki | -wikimanager -xwiki | My assumptions are that the wiki names are accessible using URL path based access as: templatexe http://domain:8081/xwiki/wiki/templatexe devWiki http://domain:8081/xwiki/wiki/devWiki xwiki http://domain:8081/xwiki/ OR http://domain:8081/xwiki/wiki/xwiki OR http://domain:8081/xwiki/wiki/wikimanager However the pages aren't accessible. Here are the relevant settings from the xwiki.cfg. Let me know if you need any more. #--- # Virtual wikis (farm) xwiki.virtual=1 xwiki.virtual.redirect=/ThisWikiDoesNotExist # xwiki.virtual.reserved_wikis= xwiki.virtual.usepath=1 # xwiki.virtual.usepath.servletpath=wiki On 1/21/10, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 20:14, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 19:19, Jared Pearson jaredapear...@gmail.com wrote: Thanks Thomas. I went to the WikiManager (http://localhost:8081/xwiki/bin/view/WikiManager/) and added a new alias xwiki to the Main entry. xwiki is the identifier of the wiki, what you are supposed to put in alias field is the domain. As it is said in the documentation XWiki search in the wikis descriptors for the domain in the URL to find the corresponding wiki. Also you should make it the main alias (and add locahost as secondary alias if you really need it, for example 127.0.0.1 does not need to be added to the descriptor like any IP) instead of adding it since the default alias is the one used to generate external URL pointing to this wiki and i doubt you want them to be http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ I'm able to access it from localhost but not from the domain. http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ http://domain:8081/xwiki/wiki/xwiki/WikiManager/ I've also noticed that the /bin servlet is not serving files through the domain address. For example, requesting /xwiki/bin/skin/resources/js/xwiki/xwiki.js sends a 302 HTTP header to the ThisWikiDoesNotExist page. Could this be related? On 1/21/10, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 15:39, Jared Pearson jaredapear...@gmail.com wrote: I've installed XWiki Enterprise Manager 2.1.1 and have created a new XWiki Enterprise instance. I can access the WikiManager through localhost but not through the domain; it always redirects to the ThisIsNotAWiki page. I would like to manage the creation/deletion of Wiki installations through the domain and not have to VPN into the server to use localhost. Did you looked at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki ? You are supposed to set the domain/alias in the wiki descriptor and the main wiki is a wiki like another. Works http://localhost:8081/xwiki/ Doesn't Work http://domain:8081/xwiki/ BTW, I'm able to access the wiki created through the WikiManager through the domain. Works http://localhost:8081/xwiki/wiki/mywiki http://domain:8081/xwiki/wiki/mywiki Any help would be great. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ 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 -- Thomas Mortagne -- Thomas Mortagne ___ 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 -- __ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand
Re: [xwiki-users] Accessing XEM Through Internet
On Thu, Jan 21, 2010 at 22:18, Jared Pearson jaredapear...@gmail.com wrote: Thanks Thomas for such a quick response. I've read over the link you've sent many times over and am still not seeing what my configuration is missing. I haven't said this yet but I'm trying to use URL path based access I don't have access to the DNS, so I cannot use the domain name approach. I've attached a screen capture of the list of wiki instances from the WikiManager interface. Below is the important information from the table (in case you can't view the image). | Name | Domain Names | | templatexe (templatexe) | templatexe | | devWiki (?devWiki) | devWiki | | xwiki | -wikimanager -xwiki | My assumptions are that the wiki names are accessible using URL path based access as: templatexe http://domain:8081/xwiki/wiki/templatexe devWiki http://domain:8081/xwiki/wiki/devWiki xwiki http://domain:8081/xwiki/ OR http://domain:8081/xwiki/wiki/xwiki OR http://domain:8081/xwiki/wiki/wikimanager However the pages aren't accessible. Here are the relevant settings from the xwiki.cfg. Let me know if you need any more. #--- # Virtual wikis (farm) xwiki.virtual=1 xwiki.virtual.redirect=/ThisWikiDoesNotExist # xwiki.virtual.reserved_wikis= xwiki.virtual.usepath=1 # xwiki.virtual.usepath.servletpath=wiki On 1/21/10, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 20:14, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 19:19, Jared Pearson jaredapear...@gmail.com wrote: Thanks Thomas. I went to the WikiManager (http://localhost:8081/xwiki/bin/view/WikiManager/) and added a new alias xwiki to the Main entry. xwiki is the identifier of the wiki, what you are supposed to put in alias field is the domain. As it is said in the documentation XWiki search in the wikis descriptors for the domain in the URL to find the corresponding wiki. Also you should make it the main alias (and add locahost as secondary alias if you really need it, for example 127.0.0.1 does not need to be added to the descriptor like any IP) instead of adding it since the default alias is the one used to generate external URL pointing to this wiki and i doubt you want them to be http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ I'm able to access it from localhost but not from the domain. http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ http://domain:8081/xwiki/wiki/xwiki/WikiManager/ Sorry I did not read that carefully, indeed this looks wrong. When you use /wiki/xwiki/ instead or /bin/ the domain should not be taken into account at all so it seems there is a bug here. I may have an idea of what's wrong: it's possible the domain is resolved and generate some error before anything else is parsed, could you try to put domain as one of the main wiki secondary aliases ? In other word make http://domain:8081/xwiki/bin/WikiManager/ works and see if it makes http://domain:8081/xwiki/wiki/xwiki/WikiManager/ works. I've also noticed that the /bin servlet is not serving files through the domain address. For example, requesting /xwiki/bin/skin/resources/js/xwiki/xwiki.js sends a 302 HTTP header to the ThisWikiDoesNotExist page. Could this be related? On 1/21/10, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 15:39, Jared Pearson jaredapear...@gmail.com wrote: I've installed XWiki Enterprise Manager 2.1.1 and have created a new XWiki Enterprise instance. I can access the WikiManager through localhost but not through the domain; it always redirects to the ThisIsNotAWiki page. I would like to manage the creation/deletion of Wiki installations through the domain and not have to VPN into the server to use localhost. Did you looked at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki ? You are supposed to set the domain/alias in the wiki descriptor and the main wiki is a wiki like another. Works http://localhost:8081/xwiki/ Doesn't Work http://domain:8081/xwiki/ BTW, I'm able to access the wiki created through the WikiManager through the domain. Works http://localhost:8081/xwiki/wiki/mywiki http://domain:8081/xwiki/wiki/mywiki Any help would be great. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ 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 -- Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org
Re: [xwiki-users] Accessing XEM Through Internet
On Fri, Jan 22, 2010 at 10:13, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 22:18, Jared Pearson jaredapear...@gmail.com wrote: Thanks Thomas for such a quick response. I've read over the link you've sent many times over and am still not seeing what my configuration is missing. I haven't said this yet but I'm trying to use URL path based access I don't have access to the DNS, so I cannot use the domain name approach. I've attached a screen capture of the list of wiki instances from the WikiManager interface. Below is the important information from the table (in case you can't view the image). | Name | Domain Names | | templatexe (templatexe) | templatexe | | devWiki (?devWiki) | devWiki | | xwiki | -wikimanager -xwiki | My assumptions are that the wiki names are accessible using URL path based access as: templatexe http://domain:8081/xwiki/wiki/templatexe devWiki http://domain:8081/xwiki/wiki/devWiki xwiki http://domain:8081/xwiki/ OR http://domain:8081/xwiki/wiki/xwiki OR http://domain:8081/xwiki/wiki/wikimanager However the pages aren't accessible. Here are the relevant settings from the xwiki.cfg. Let me know if you need any more. #--- # Virtual wikis (farm) xwiki.virtual=1 xwiki.virtual.redirect=/ThisWikiDoesNotExist # xwiki.virtual.reserved_wikis= xwiki.virtual.usepath=1 # xwiki.virtual.usepath.servletpath=wiki On 1/21/10, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 20:14, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 19:19, Jared Pearson jaredapear...@gmail.com wrote: Thanks Thomas. I went to the WikiManager (http://localhost:8081/xwiki/bin/view/WikiManager/) and added a new alias xwiki to the Main entry. xwiki is the identifier of the wiki, what you are supposed to put in alias field is the domain. As it is said in the documentation XWiki search in the wikis descriptors for the domain in the URL to find the corresponding wiki. Also you should make it the main alias (and add locahost as secondary alias if you really need it, for example 127.0.0.1 does not need to be added to the descriptor like any IP) instead of adding it since the default alias is the one used to generate external URL pointing to this wiki and i doubt you want them to be http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ I'm able to access it from localhost but not from the domain. http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ http://domain:8081/xwiki/wiki/xwiki/WikiManager/ Sorry I did not read that carefully, indeed this looks wrong. When you use /wiki/xwiki/ instead or /bin/ the domain should not be taken into account at all so it seems there is a bug here. I may have an idea of what's wrong: it's possible the domain is resolved and generate some error before anything else is parsed, could you try to put domain as one of the main wiki secondary aliases ? In other word make http://domain:8081/xwiki/bin/WikiManager/ works and see if it makes http://domain:8081/xwiki/wiki/xwiki/WikiManager/ works. In the meantime I'm trying to reproduce it and will fix it for 2.1.2 or 2.1.3 if i don't have time. I've also noticed that the /bin servlet is not serving files through the domain address. For example, requesting /xwiki/bin/skin/resources/js/xwiki/xwiki.js sends a 302 HTTP header to the ThisWikiDoesNotExist page. Could this be related? On 1/21/10, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 15:39, Jared Pearson jaredapear...@gmail.com wrote: I've installed XWiki Enterprise Manager 2.1.1 and have created a new XWiki Enterprise instance. I can access the WikiManager through localhost but not through the domain; it always redirects to the ThisIsNotAWiki page. I would like to manage the creation/deletion of Wiki installations through the domain and not have to VPN into the server to use localhost. Did you looked at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki ? You are supposed to set the domain/alias in the wiki descriptor and the main wiki is a wiki like another. Works http://localhost:8081/xwiki/ Doesn't Work http://domain:8081/xwiki/ BTW, I'm able to access the wiki created through the WikiManager through the domain. Works http://localhost:8081/xwiki/wiki/mywiki http://domain:8081/xwiki/wiki/mywiki Any help would be great. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ 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 -- Thomas Mortagne -- Thomas Mortagne ___
Re: [xwiki-users] Problems with links
-Version of XWiki Enterprise: xwiki-enterprise-web-2.1.1.war -What are the steps to reproduce the problem? ... That’s the problem: There’s no way to reproduce it on one way. The sites includes only text (formatted with WYSIWYG-standards), links, and graphics. Furthermore the text isn’t very long – only 20 Lines. The Problem occurs also after pressing Edit–WYSIWYG, and saving the site without changes. -Post tab: The last hour the described Error didn't happened. But each time I changed something in the WYSIWYG-Editor and toggle to the Source-Editor, the following Error occur: com.google.gwt.core.client.JavaScriptException: (NS_ERROR_NOT_AVAILABLE): Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMCSS2Properties.fontWeight] QueryInterface: function QueryInterface() { [native code] } result: 2147746065 filename: http://10.33.25.32/xwiki/resources/js/xwiki/wysiwyg/xwe/08A00BCBE5F4BD7546F8C0EA33A9A042.cache.html lineNumber: 5855 columnNumber: 0 inner: null data: null initialize: function initialize() { [native code] } { b=[Exception... Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMCSS2Properties.fontWeight] nsresult: 0x80040111 (NS_ERROR_NOT_AVAILABLE) location: JS frame :: http://10.33.25.32/xwiki/resources/js/xwiki/wysiwyg/xwe/08A00BCBE5F4BD7546F8C0EA33A9A042.cache.html :: n0g :: line 5855 data: no], more...} org.xwiki.gwt.user.client.DeferredUpdater com.xpn.xwiki.wysiwyg.client.plugin.text.TextPlugin -- View this message in context: http://n2.nabble.com/Problems-with-links-tp4435123p4439181.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Accessing XEM Through Internet
On Fri, Jan 22, 2010 at 10:13, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 22:18, Jared Pearson jaredapear...@gmail.com wrote: Thanks Thomas for such a quick response. I've read over the link you've sent many times over and am still not seeing what my configuration is missing. I haven't said this yet but I'm trying to use URL path based access I don't have access to the DNS, so I cannot use the domain name approach. I've attached a screen capture of the list of wiki instances from the WikiManager interface. Below is the important information from the table (in case you can't view the image). | Name | Domain Names | | templatexe (templatexe) | templatexe | | devWiki (?devWiki) | devWiki | | xwiki | -wikimanager -xwiki | My assumptions are that the wiki names are accessible using URL path based access as: templatexe http://domain:8081/xwiki/wiki/templatexe devWiki http://domain:8081/xwiki/wiki/devWiki xwiki http://domain:8081/xwiki/ OR http://domain:8081/xwiki/wiki/xwiki OR http://domain:8081/xwiki/wiki/wikimanager However the pages aren't accessible. Here are the relevant settings from the xwiki.cfg. Let me know if you need any more. #--- # Virtual wikis (farm) xwiki.virtual=1 xwiki.virtual.redirect=/ThisWikiDoesNotExist # xwiki.virtual.reserved_wikis= xwiki.virtual.usepath=1 # xwiki.virtual.usepath.servletpath=wiki On 1/21/10, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 20:14, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 19:19, Jared Pearson jaredapear...@gmail.com wrote: Thanks Thomas. I went to the WikiManager (http://localhost:8081/xwiki/bin/view/WikiManager/) and added a new alias xwiki to the Main entry. xwiki is the identifier of the wiki, what you are supposed to put in alias field is the domain. As it is said in the documentation XWiki search in the wikis descriptors for the domain in the URL to find the corresponding wiki. Also you should make it the main alias (and add locahost as secondary alias if you really need it, for example 127.0.0.1 does not need to be added to the descriptor like any IP) instead of adding it since the default alias is the one used to generate external URL pointing to this wiki and i doubt you want them to be http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ I'm able to access it from localhost but not from the domain. http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ http://domain:8081/xwiki/wiki/xwiki/WikiManager/ Sorry I did not read that carefully, indeed this looks wrong. When you use /wiki/xwiki/ instead or /bin/ the domain should not be taken into account at all so it seems there is a bug here. I may have an idea of what's wrong: it's possible the domain is resolved and generate some error before anything else is parsed, could you try to put domain as one of the main wiki secondary aliases ? In other word make http://domain:8081/xwiki/bin/WikiManager/ works and see if it makes http://domain:8081/xwiki/wiki/xwiki/WikiManager/ works. No, does not seems to be that, at least i can't reproduce it myself. I have http://domain:8080/xwiki/wiki/test/view/Main/ able to find the wiki working without having http://domain:8080/xwiki/bin/view/Main/ working I've also noticed that the /bin servlet is not serving files through the domain address. For example, requesting /xwiki/bin/skin/resources/js/xwiki/xwiki.js sends a 302 HTTP header to the ThisWikiDoesNotExist page. Could this be related? On 1/21/10, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 15:39, Jared Pearson jaredapear...@gmail.com wrote: I've installed XWiki Enterprise Manager 2.1.1 and have created a new XWiki Enterprise instance. I can access the WikiManager through localhost but not through the domain; it always redirects to the ThisIsNotAWiki page. I would like to manage the creation/deletion of Wiki installations through the domain and not have to VPN into the server to use localhost. Did you looked at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki ? You are supposed to set the domain/alias in the wiki descriptor and the main wiki is a wiki like another. Works http://localhost:8081/xwiki/ Doesn't Work http://domain:8081/xwiki/ BTW, I'm able to access the wiki created through the WikiManager through the domain. Works http://localhost:8081/xwiki/wiki/mywiki http://domain:8081/xwiki/wiki/mywiki Any help would be great. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org
Re: [xwiki-users] Problems with links
ndreher wrote: -Version of XWiki Enterprise: xwiki-enterprise-web-2.1.1.war -What are the steps to reproduce the problem? ... That’s the problem: There’s no way to reproduce it on one way. The sites includes only text (formatted with WYSIWYG-standards), links, and graphics. Furthermore the text isn’t very long – only 20 Lines. The Problem occurs also after pressing Edit–WYSIWYG, and saving the site without changes. Good to know. -Post tab: The last hour the described Error didn't happened. But each time I changed something in the WYSIWYG-Editor and toggle to the Source-Editor, the following Error occur: com.google.gwt.core.client.JavaScriptException: (NS_ERROR_NOT_AVAILABLE): Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMCSS2Properties.fontWeight] QueryInterface: function QueryInterface() { [native code] } result: 2147746065 filename: http://10.33.25.32/xwiki/resources/js/xwiki/wysiwyg/xwe/08A00BCBE5F4BD7546F8C0EA33A9A042.cache.html lineNumber: 5855 columnNumber: 0 inner: null data: null initialize: function initialize() { [native code] } { b=[Exception... Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMCSS2Properties.fontWeight] nsresult: 0x80040111 (NS_ERROR_NOT_AVAILABLE) location: JS frame :: http://10.33.25.32/xwiki/resources/js/xwiki/wysiwyg/xwe/08A00BCBE5F4BD7546F8C0EA33A9A042.cache.html :: n0g :: line 5855 data: no], more...} org.xwiki.gwt.user.client.DeferredUpdater com.xpn.xwiki.wysiwyg.client.plugin.text.TextPlugin This JavaScript exception is harmless and I think I've fixed it on the trunk. I'll try to reproduce the problem myself. The HTML sent to the server when you save and the links are messed up would help a lot. Thanks, Marius ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problems with links
ndreher wrote: Hello, sometimes after inserting Links in the WYSIWYG-Editor and saving the Document, mistakes occur on the site. Example before: Nach einer korrekten [[Benutzeranmeldung am WebClientBenutzeranmeldungAmWebClient]] einschließlich einer Autorisierungsprozedur hat der ... To be sure, you don't have a new line in the link label right? It's just the mail client that word wraps the text. Marius Example with mistake: Nach einer korrekten org.xwiki.gwt.dom.client.Element#placeholder[[BenutzeranmeldungAmWebClient]][[#x3e;Benutzeranmeldung am WebClient/xwiki/bin/view/CSC_AfTD_Hilfe/BenutzeranmeldungAmWebClient]] einschließlich einer Autorisierungsprozedur hat der ... I hope that you can help me soon. Looking forward to your reply. Best wishes Norbert [Germany] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] WYSIWYG editor language in user interface
Hello I've translated WYSIWYG editor's Strings.properties file into my language. Then I've putted it into place ( .../wysiwyg/client/editor) with name Strings_sk.properties but editor is still in English. What I am doing wrong? -- View this message in context: http://n2.nabble.com/WYSIWYG-editor-language-in-user-interface-tp4440246p4440246.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] WYSIWYG editor language in user interface
Frantisek Kall wrote: Hello I've translated WYSIWYG editor's Strings.properties file into my language. You also updated http://l10n.xwiki.org/xwiki/bin/view/Wysiwyg/ Great! Then I've putted it into place ( .../wysiwyg/client/editor) with name Strings_sk.properties but editor is still in English. What I am doing wrong? Enabling a new translation file is unfortunately not that straightforward because GWT includes the translations in the generated JavaScript code so we have to rebuild the editor each time a new language is added. You have three options: (1) Wait for the next release (2.2M2 should be soon) when we take translations files from l10n.xwiki.org and update the SVN. (2) Use a 2.2 snapshot (I can commit your translation from l10n.xwiki.org and it will be available on the next build) (3) Build the editor yourself. For this you have to follow this steps: i) Edit http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/wysiwyg/src/main/resources/com/xpn/xwiki/wysiwyg/Wysiwyg.gwt.xml and change: extend-property name=locale values=fr,de/ to extend-property name=locale values=fr,de,sk/ If you don't need the French and the German translations then keep just yours, but note that the build time increases with the number of languages. ii) build the editor (mvn clean install) iii) update the editor in your XWiki Enterprise instance. Delete the resources/js/xwiki/wysiwyg/xwe directory from your XE instance and copy the same directory from the war generated by the build. Hope this helps, Marius ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Accessing XEM Through Internet
Thomas, You nailed it on the head. I need to set up the domain as an alias on the Main wiki. It appears to be working as expected on both machines. Thanks a bunch! On Fri, Jan 22, 2010 at 5:09 AM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Fri, Jan 22, 2010 at 10:13, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 22:18, Jared Pearson jaredapear...@gmail.com wrote: Thanks Thomas for such a quick response. I've read over the link you've sent many times over and am still not seeing what my configuration is missing. I haven't said this yet but I'm trying to use URL path based access I don't have access to the DNS, so I cannot use the domain name approach. I've attached a screen capture of the list of wiki instances from the WikiManager interface. Below is the important information from the table (in case you can't view the image). | Name | Domain Names | | templatexe (templatexe) | templatexe | | devWiki (?devWiki) | devWiki | | xwiki | -wikimanager -xwiki | My assumptions are that the wiki names are accessible using URL path based access as: templatexe http://domain:8081/xwiki/wiki/templatexe devWiki http://domain:8081/xwiki/wiki/devWiki xwiki http://domain:8081/xwiki/ OR http://domain:8081/xwiki/wiki/xwiki OR http://domain:8081/xwiki/wiki/wikimanager However the pages aren't accessible. Here are the relevant settings from the xwiki.cfg. Let me know if you need any more. #--- # Virtual wikis (farm) xwiki.virtual=1 xwiki.virtual.redirect=/ThisWikiDoesNotExist # xwiki.virtual.reserved_wikis= xwiki.virtual.usepath=1 # xwiki.virtual.usepath.servletpath=wiki On 1/21/10, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 20:14, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 19:19, Jared Pearson jaredapear...@gmail.com wrote: Thanks Thomas. I went to the WikiManager (http://localhost:8081/xwiki/bin/view/WikiManager/) and added a new alias xwiki to the Main entry. xwiki is the identifier of the wiki, what you are supposed to put in alias field is the domain. As it is said in the documentation XWiki search in the wikis descriptors for the domain in the URL to find the corresponding wiki. Also you should make it the main alias (and add locahost as secondary alias if you really need it, for example 127.0.0.1 does not need to be added to the descriptor like any IP) instead of adding it since the default alias is the one used to generate external URL pointing to this wiki and i doubt you want them to be http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ I'm able to access it from localhost but not from the domain. http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ http://domain:8081/xwiki/wiki/xwiki/WikiManager/ Sorry I did not read that carefully, indeed this looks wrong. When you use /wiki/xwiki/ instead or /bin/ the domain should not be taken into account at all so it seems there is a bug here. I may have an idea of what's wrong: it's possible the domain is resolved and generate some error before anything else is parsed, could you try to put domain as one of the main wiki secondary aliases ? In other word make http://domain:8081/xwiki/bin/WikiManager/ works and see if it makes http://domain:8081/xwiki/wiki/xwiki/WikiManager/ works. No, does not seems to be that, at least i can't reproduce it myself. I have http://domain:8080/xwiki/wiki/test/view/Main/ able to find the wiki working without having http://domain:8080/xwiki/bin/view/Main/ working I've also noticed that the /bin servlet is not serving files through the domain address. For example, requesting /xwiki/bin/skin/resources/js/xwiki/xwiki.js sends a 302 HTTP header to the ThisWikiDoesNotExist page. Could this be related? On 1/21/10, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 15:39, Jared Pearson jaredapear...@gmail.com wrote: I've installed XWiki Enterprise Manager 2.1.1 and have created a new XWiki Enterprise instance. I can access the WikiManager through localhost but not through the domain; it always redirects to the ThisIsNotAWiki page. I would like to manage the creation/deletion of Wiki installations through the domain and not have to VPN into the server to use localhost. Did you looked at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki ? You are supposed to set the domain/alias in the wiki descriptor and the main wiki is a wiki like another. Works http://localhost:8081/xwiki/ Doesn't Work http://domain:8081/xwiki/ BTW, I'm able to access the wiki created through the WikiManager through the domain. Works http://localhost:8081/xwiki/wiki/mywiki http://domain:8081/xwiki/wiki/mywiki Any help would be great.
Re: [xwiki-users] Accessing XEM Through Internet
On Fri, Jan 22, 2010 at 16:21, Jared Pearson jaredapear...@gmail.com wrote: Thomas, You nailed it on the head. I need to set up the domain as an alias on the Main wiki. It appears to be working as expected on both machines. Thanks a bunch! Ok, great it's working for you but still weird it's needed in your case since i don't have this issue with a fresh 2.1.1. On Fri, Jan 22, 2010 at 5:09 AM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Fri, Jan 22, 2010 at 10:13, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 22:18, Jared Pearson jaredapear...@gmail.com wrote: Thanks Thomas for such a quick response. I've read over the link you've sent many times over and am still not seeing what my configuration is missing. I haven't said this yet but I'm trying to use URL path based access I don't have access to the DNS, so I cannot use the domain name approach. I've attached a screen capture of the list of wiki instances from the WikiManager interface. Below is the important information from the table (in case you can't view the image). | Name | Domain Names | | templatexe (templatexe) | templatexe | | devWiki (?devWiki) | devWiki | | xwiki | -wikimanager -xwiki | My assumptions are that the wiki names are accessible using URL path based access as: templatexe http://domain:8081/xwiki/wiki/templatexe devWiki http://domain:8081/xwiki/wiki/devWiki xwiki http://domain:8081/xwiki/ OR http://domain:8081/xwiki/wiki/xwiki OR http://domain:8081/xwiki/wiki/wikimanager However the pages aren't accessible. Here are the relevant settings from the xwiki.cfg. Let me know if you need any more. #--- # Virtual wikis (farm) xwiki.virtual=1 xwiki.virtual.redirect=/ThisWikiDoesNotExist # xwiki.virtual.reserved_wikis= xwiki.virtual.usepath=1 # xwiki.virtual.usepath.servletpath=wiki On 1/21/10, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 20:14, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 19:19, Jared Pearson jaredapear...@gmail.com wrote: Thanks Thomas. I went to the WikiManager (http://localhost:8081/xwiki/bin/view/WikiManager/) and added a new alias xwiki to the Main entry. xwiki is the identifier of the wiki, what you are supposed to put in alias field is the domain. As it is said in the documentation XWiki search in the wikis descriptors for the domain in the URL to find the corresponding wiki. Also you should make it the main alias (and add locahost as secondary alias if you really need it, for example 127.0.0.1 does not need to be added to the descriptor like any IP) instead of adding it since the default alias is the one used to generate external URL pointing to this wiki and i doubt you want them to be http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ I'm able to access it from localhost but not from the domain. http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ http://domain:8081/xwiki/wiki/xwiki/WikiManager/ Sorry I did not read that carefully, indeed this looks wrong. When you use /wiki/xwiki/ instead or /bin/ the domain should not be taken into account at all so it seems there is a bug here. I may have an idea of what's wrong: it's possible the domain is resolved and generate some error before anything else is parsed, could you try to put domain as one of the main wiki secondary aliases ? In other word make http://domain:8081/xwiki/bin/WikiManager/ works and see if it makes http://domain:8081/xwiki/wiki/xwiki/WikiManager/ works. No, does not seems to be that, at least i can't reproduce it myself. I have http://domain:8080/xwiki/wiki/test/view/Main/ able to find the wiki working without having http://domain:8080/xwiki/bin/view/Main/ working I've also noticed that the /bin servlet is not serving files through the domain address. For example, requesting /xwiki/bin/skin/resources/js/xwiki/xwiki.js sends a 302 HTTP header to the ThisWikiDoesNotExist page. Could this be related? On 1/21/10, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 15:39, Jared Pearson jaredapear...@gmail.com wrote: I've installed XWiki Enterprise Manager 2.1.1 and have created a new XWiki Enterprise instance. I can access the WikiManager through localhost but not through the domain; it always redirects to the ThisIsNotAWiki page. I would like to manage the creation/deletion of Wiki installations through the domain and not have to VPN into the server to use localhost. Did you looked at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki ? You are supposed to set the domain/alias in the wiki descriptor and the main wiki is a wiki like another. Works http://localhost:8081/xwiki/ Doesn't Work http://domain:8081/xwiki/ BTW, I'm able to
Re: [xwiki-users] Accessing XEM Through Internet
If you need any information (settings/logs) to help diagnose the issue, just let me know. On Fri, Jan 22, 2010 at 10:31 AM, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Fri, Jan 22, 2010 at 16:21, Jared Pearson jaredapear...@gmail.com wrote: Thomas, You nailed it on the head. I need to set up the domain as an alias on the Main wiki. It appears to be working as expected on both machines. Thanks a bunch! Ok, great it's working for you but still weird it's needed in your case since i don't have this issue with a fresh 2.1.1. On Fri, Jan 22, 2010 at 5:09 AM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Fri, Jan 22, 2010 at 10:13, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 22:18, Jared Pearson jaredapear...@gmail.com wrote: Thanks Thomas for such a quick response. I've read over the link you've sent many times over and am still not seeing what my configuration is missing. I haven't said this yet but I'm trying to use URL path based access I don't have access to the DNS, so I cannot use the domain name approach. I've attached a screen capture of the list of wiki instances from the WikiManager interface. Below is the important information from the table (in case you can't view the image). | Name | Domain Names | | templatexe (templatexe) | templatexe | | devWiki (?devWiki) | devWiki | | xwiki | -wikimanager -xwiki | My assumptions are that the wiki names are accessible using URL path based access as: templatexe http://domain:8081/xwiki/wiki/templatexe devWiki http://domain:8081/xwiki/wiki/devWiki xwiki http://domain:8081/xwiki/ OR http://domain:8081/xwiki/wiki/xwiki OR http://domain:8081/xwiki/wiki/wikimanager However the pages aren't accessible. Here are the relevant settings from the xwiki.cfg. Let me know if you need any more. #--- # Virtual wikis (farm) xwiki.virtual=1 xwiki.virtual.redirect=/ThisWikiDoesNotExist # xwiki.virtual.reserved_wikis= xwiki.virtual.usepath=1 # xwiki.virtual.usepath.servletpath=wiki On 1/21/10, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 20:14, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 19:19, Jared Pearson jaredapear...@gmail.com wrote: Thanks Thomas. I went to the WikiManager (http://localhost:8081/xwiki/bin/view/WikiManager/) and added a new alias xwiki to the Main entry. xwiki is the identifier of the wiki, what you are supposed to put in alias field is the domain. As it is said in the documentation XWiki search in the wikis descriptors for the domain in the URL to find the corresponding wiki. Also you should make it the main alias (and add locahost as secondary alias if you really need it, for example 127.0.0.1 does not need to be added to the descriptor like any IP) instead of adding it since the default alias is the one used to generate external URL pointing to this wiki and i doubt you want them to be http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ I'm able to access it from localhost but not from the domain. http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ http://domain:8081/xwiki/wiki/xwiki/WikiManager/ Sorry I did not read that carefully, indeed this looks wrong. When you use /wiki/xwiki/ instead or /bin/ the domain should not be taken into account at all so it seems there is a bug here. I may have an idea of what's wrong: it's possible the domain is resolved and generate some error before anything else is parsed, could you try to put domain as one of the main wiki secondary aliases ? In other word make http://domain:8081/xwiki/bin/WikiManager/ works and see if it makes http://domain:8081/xwiki/wiki/xwiki/WikiManager/ works. No, does not seems to be that, at least i can't reproduce it myself. I have http://domain:8080/xwiki/wiki/test/view/Main/ able to find the wiki working without having http://domain:8080/xwiki/bin/view/Main/ working I've also noticed that the /bin servlet is not serving files through the domain address. For example, requesting /xwiki/bin/skin/resources/js/xwiki/xwiki.js sends a 302 HTTP header to the ThisWikiDoesNotExist page. Could this be related? On 1/21/10, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jan 21, 2010 at 15:39, Jared Pearson jaredapear...@gmail.com wrote: I've installed XWiki Enterprise Manager 2.1.1 and have created a new XWiki Enterprise instance. I can access the WikiManager through localhost but not through the domain; it always redirects to the ThisIsNotAWiki page. I would like to manage the creation/deletion of Wiki installations through the domain and not have to VPN into the server to use