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.
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
--
Clemens Klein-Robbenhaar
Software Development
EsPresto AG
Breite Str. 30-31
10178 Berlin/Germany
Tel: +49.(0)30.90 226.763
Fax: +49.(0)30.90 226.760
robbenhaar(a)espresto.com
HRB 77554 B - Berlin-Charlottenburg
Vorstand: Maya Biersack, Peter Biersack
Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber
Zertifiziert nach ISO 9001:2008