Hi, <This is sent as an email - hope it works> Thanks for the messages - I DO have a hyphen . http://myserver/xwiki-enterprise-web-5.0.1/bin/edit/Technologies/WebHome Here's the full message I get in XWiki - not sure if it's very illuminating, looks more like and HTML page puked than a "proper" stacktrace . 500 <html><head><title>Apache Tomcat/6.0.24 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo nt-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo nt-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo nt-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size: 12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: Failed to initialize the XWiki context. org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeX WikiContext(XWikiContextInitializationFilter.java:153) org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XW ikiContextInitializationFilter.java:83) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFi lter(SavedRequestRestorerFilter.java:208) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFi lter(SetCharacterEncodingFilter.java:111) </pre></p><p><b>root cause</b> <pre>com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki [candhserver] does not exist com.xpn.xwiki.XWiki.getXWiki(XWiki.java:505) org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeX WikiContext(XWikiContextInitializationFilter.java:134) org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XW ikiContextInitializationFilter.java:83) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFi lter(SavedRequestRestorerFilter.java:208) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFi lter(SetCharacterEncodingFilter.java:111) </pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.24</h3></body></html> Full stack attached (do attachments work here? I've had problems learning the incantations to use this group!) Many thanks again, Chris -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Marius Dumitru Florea Sent: 16 May 2013 17:25 To: XWiki Users Subject: Re: [xwiki-users] Error in inserting image (and creating link) Hi Chris, On Thu, May 16, 2013 at 6:29 PM, chrisward < <mailto:[email protected]> [email protected]> wrote:
Hi all,
I've only been using XWiki for a day so please be gentle with me -
I've done a bunch of searches but can't seem to find my problem listed.
The details.
Running MySQL 5.5.31 on Ubuntu 12.04
XWiki latest version
I've been trying to upload images but get this
< <http://xwiki.475771.n2.nabble.com/file/n7585148/1.jpg> http://xwiki.475771.n2.nabble.com/file/n7585148/1.jpg>
< <http://xwiki.475771.n2.nabble.com/file/n7585148/2.jpg> http://xwiki.475771.n2.nabble.com/file/n7585148/2.jpg>
My example is using this image file from Google
<https://www.google.co.uk/images/srpr/logo4w.png> https://www.google.co.uk/images/srpr/logo4w.png
There's something in there about "Failed to initialise XWiki context".
Can you paste (somewhere) the full stack trace? The final "Caused by" is very important.
Can anyone suggest where I've done something wrong, maybe in the
installation process or a MySQL perms thing?
Do you have a hyphen in the application context name? (see <http://jira.xwiki.org/browse/XWIKI-9068> http://jira.xwiki.org/browse/XWIKI-9068 ) Hope this helps, Marius
The general functionality seems to work - I have the thing up and
running and can create pages and spaces etc.
Any help very welcome.
Thanks,
Chris
--
View this message in context:
<http://xwiki.475771.n2.nabble.com/Error-in-inserting-image-and-creatin> http://xwiki.475771.n2.nabble.com/Error-in-inserting-image-and-creatin
g-link-tp7585148.html Sent from the XWiki- Users mailing list archive
at Nabble.com.
_______________________________________________
users mailing list
<mailto:[email protected]> [email protected]
<http://lists.xwiki.org/mailman/listinfo/users> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list <mailto:[email protected]> [email protected] <http://lists.xwiki.org/mailman/listinfo/users> http://lists.xwiki.org/mailman/listinfo/users