Hi
I was mistaken, I use the URL xwiki/bin/view/XWiki.XWikiServerClass instead of
xwiki/bin/view/XWiki/XWikiServerClass.
Ok sorry for the last mail.
Moreover I don't understand how can I do this :
"In the main wiki database create a document called
XWiki.XWikiServerIntranetdb."
Should I execute an sql insert query or should I create a classical XWiki
page ?
Xavier
Le Mercredi 20 Juillet 2005 23:47, Ludovic Dubost a écrit :
Hi Xavier,
I don't think you URL was right when going to the page
XWiki.XWikiServerClass..
What was the exact URL ?
Ludovic
Xavier MOGHRABI a écrit :
>Hi,
>
>I try to set up virtual wikis by following the documentation :
>http://www.xwiki.com/xwiki/bin/view/Doc/HowToSetupVirtualWikis
>
>However when I went to the page XWiki.XWikiServerClass, I got the
> following error. I was using xWiki 0.9.840 with UTF-8 configuration :
>Error number 0 in 11: Uncaught exception
>Wrapped Exception: String index out of range: -7
>com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
>Wrapped Exception: String index out of range: -7
> at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:224)
> at
>org.apache.struts.action.RequestProcessor.processActionPerform(RequestProc
>essor.java:421) at
>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:22
>6) at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>onFilterChain.java:252) at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>Chain.java:173) at
>com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncoding
>Filter.java:127) at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>onFilterChain.java:202) at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>Chain.java:173) at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
>java:213) at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
>java:178) at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
>26) at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>05) at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja
>va:107) at
>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148
>) at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856
>) at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCon
>nection(Http11Protocol.java:744) at
>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.j
>ava:527) at
>org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollower
>WorkerThread.java:80) at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.j
>ava:684) at java.lang.Thread.run()V(Unknown Source)
>
>
>Wrapped Exception:
>
>java.lang.StringIndexOutOfBoundsException: String index out of range: -7
> at java.lang.String.substring(II)Ljava.lang.String;(Unknown Source)
> at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:627)
> at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
> at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:133)
> at
>org.apache.struts.action.RequestProcessor.processActionPerform(RequestProc
>essor.java:421) at
>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:22
>6) at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>onFilterChain.java:252) at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>Chain.java:173) at
>com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncoding
>Filter.java:127) at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>onFilterChain.java:202) at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>Chain.java:173) at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
>java:213) at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
>java:178) at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
>26) at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>05) at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja
>va:107) at
>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148
>) at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856
>) at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCon
>nection(Http11Protocol.java:744) at
>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.j
>ava:527) at
>org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollower
>WorkerThread.java:80) at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.j
>ava:684) at java.lang.Thread.run()V(Unknown Source)
>
>Any clue ?
>
>
>
>------------------------------------------------------------------------
>
>
>--
>You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list. To unsubscribe:
> mailto:xwiki-users-unsubscribe@objectweb.org
>For general help: mailto:sympa@objectweb.org?subject=help
>ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws