On Aug 9, 2013, at 10:28 AM, Clemens Klein-Robbenhaar <c.robbenhaar(a)espresto.com>
wrote:
On 08/08/2013 02:27 PM, Harald Ommang wrote:
I have a fresh 5.1 installation where the only
config change is to point to an empty xwiki MySQL DB.
Accessing it through
http://<server>:8081/xwiki<http://%3cserver%3e:8081/xwiki> works.
Accessing it through http://<virtualserver<http://%3cvirtualserver>>
configured with ProxyPass set to
http://localhost:8081/xwiki/ gives the error below.
The ProxyPass is set up with the standard mod, not apj. Should that matter for this?
I had a 5.0 RC 1 running at the same location, and this worked with the exact same
virtual server, except for resources (icons, etc.) not being shown.
[...]
I cannot fully reproduce this; instead I get a slightly different error:
Wrapped Exception:
java.lang.RuntimeException: URL [null] that doesn't point to an Entity!
at com.xpn.xwiki.XWiki.getDocumentReference(XWiki.java:4705)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4749)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:233)
[... etc pp ...]
(then I did not try to access it as virtual wiki, instead went straight to the main
wiki)
I guess the problem might be that the XWiki is running under the path /xwiki/ in tomcat,
but apache tries to load it in the document root.
Note that I may have fixed this issue in 5.2M1:
http://jira.xwiki.org/browse/XWIKI-9376
Would be great if you could confirm it's fixed.
Thanks
-Vincent
I guess this installation is not really supported. Are
the problems still there if xwiki is installed as "ROOT" application in tomcat?
hope this helps a little,
clemens