Hi,
Ok I finally managed to get rid of those annoying HTTP500 errors BUT
there's still a problem : XWiki 5.0.1 Enterprise is by default virtual
xwiki enabled.... but you can access properly the MAIN xwiki only by
accessing by localhost : there's still a problem with gwrc servlet that
always tries to get the virtual wiki while there's no one configure (Wiki
Manager not installed yet).
So this is a workaround and I can access to my xwiki properly by creating a
virtual wiki (no wiki instance in this application for the main wiki ???)
being aware that the name of the sub-wiki must have a corresponding
database configured (I created another "mainxwiki" database) and set my
main (and only) internet hostname an alias to this virtual wiki. Thus then,
I do not have any access to my main wiki : I must set a reverse tunnel by
SSH to tomcat port and access my wiki using localhost. This is not a normal
situation and you should consider preparing things (at least the Wiki
Manager pre-installed) before enabling the virtual wikis by default.
Thanks for your help !
Hoani CROSS
Globotraders Tahiti Founder [
On Wed, May 8, 2013 at 10:07 PM, Hoani Cross
<hoani.cross(a)globotraders.com> wrote:
Yes it seems that but I did not intend to install
any subwiki.
OK.. so you want to have an XWiki (Enterprise) instance (single wiki)
accessible on a subdomain (eu). The issue is that XWiki thinks the
subdomain is the name of a subwiki. Instead, you want the subdomain to
point to the main (single) wiki. The solution may be to add an alias
for the main wiki, as indicated on
http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Manager+Applicati…
. But again, I'm not a multiwiki expert (unfortunately).
Hope this helps,
Marius
Anyway, I
tried to setup "eu" subwiki just to check but I even get an error related
to SQL rights...
I'll correct it anyway and retry but I should not have to do this on a
FRESH install, don't you think ?
Thank you for your help.
Hoani CROSS
Globotraders Tahiti Founder [
http://globotraders-tahiti.com]
2013/5/8 Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
> I'm not a wiki farm expert but it seems the descriptor of the "eu"
> subwiki is not correctly set up. Maybe you can find useful information
> in here
>
http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Manager+Applicati…
> .
>
> Hope this helps,
> Marius
>
> On Tue, May 7, 2013 at 12:20 PM, Hoani Cross
> <hoani.cross(a)globotraders.com> wrote:
> > Hi,
> >
> > I already post my message about my problem (with 5.0-RC1) but I still
> > encounter a trouble with XWiki 5.0. I properly upgraded my install to
5.0
> > to 5.1 through the wizard.
> >
> > This always occurs when trying to configure a gadget, the wiki tries
to
> > access
> >
>
https://eu.globotraders-tahiti.com/xw5/resources/js/xwiki/wysiwyg/xwe/Macro…
> > gives a HTTP 500 error. The stacktrace
is the same :
> >
> > 2013-05-06 23:19:05,456 [
> >
>
https://eu.globotraders-tahiti.com/xw5/resources/js/xwiki/wysiwyg/xwe/Macro…
> ]
> > ERROR o.a.c.c.C.[.[.[.[gwtrpc] - "Servlet.service()" pour la
> servlet
> > gwtrpc a généré une exception
> > com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki [eu] does
not
> > exist
> > at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:505)
> > ~[xwiki-platform-legacy-oldcore-5.0.jar:na]
> > at
> >
>
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:134)
> >
~[xwiki-platform-wysiwyg-server-5.0.jar:na]
> > at
> >
>
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:83)
> >
~[xwiki-platform-wysiwyg-server-5.0.jar:na]
> > at
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> > ~[catalina-5.5.23.jar:na]
> > at
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> > ~[catalina-5.5.23.jar:na]
> > at
> >
>
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
> >
~[xwiki-platform-webdav-server-5.0.jar:na]
> > at
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> > ~[catalina-5.5.23.jar:na]
> > at
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> > ~[catalina-5.5.23.jar:na]
> > at
> >
>
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
> >
~[xwiki-platform-container-servlet-5.0.jar:na]
> > at
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> > ~[catalina-5.5.23.jar:na]
> > at
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> > ~[catalina-5.5.23.jar:na]
> > at
> >
>
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
> >
~[xwiki-platform-container-servlet-5.0.jar:na]
> > at
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> > ~[catalina-5.5.23.jar:na]
> > at
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> > ~[catalina-5.5.23.jar:na]
> > at
> >
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
> > ~[catalina-5.5.23.jar:na]
> > at
> >
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
> > [catalina-5.5.23.jar:na]
> > at
> >
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> > [catalina-5.5.23.jar:na]
> > at
> >
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> > [catalina-5.5.23.jar:na]
> > at
> >
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
> > [catalina-5.5.23.jar:na]
> > at
> >
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
> > [catalina-5.5.23.jar:na]
> > at
> > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
> > [tomcat-ajp-5.5.23.jar:na]
> > at
> > org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
> > [tomcat-ajp-5.5.23.jar:na]
> > at
> > org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
> > [tomcat-ajp-5.5.23.jar:na]
> > at
> >
>
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
> > [tomcat-ajp-5.5.23.jar:na]
> > at
> >
>
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
> > [tomcat-ajp-5.5.23.jar:na]
> > at
> >
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
> > [tomcat-util-5.5.23.jar:5.1]
> > at java.lang.Thread.run(Thread.java:662) [na:1.6.0_27]
> >
> > When I ssh tunnel localhost:8080 (tomcat) to a local port and try to
> access
> > the wiki through this port on localhost, everything is working fine,
no
> > more error. Seems that somethings try to
determine the last subdomain
as
a
sub-wiki which is not the case. Any workaround
about this problem ?
Thanks in advance !
Hoani CROSS
Globotraders Tahiti Founder [
http://globotraders-tahiti.com]
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users