Sorry for the late reply,
On Wed, May 1, 2013 at 11:02 PM, Gardner, Mark <mark.gardner(a)kc.frb.org> wrote:
I'm using the latest xwiki.war deployed into
Tomcat6 with IBM Java
Whenever I try to use the insert macro into the WYSIWYG form I get the following error
500 <html><head><title>Apache Tomcat/6.0.18 - Error
report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-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.initializeXWikiContext(XWikiContextInitializationFilter.java:153)
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:83)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
</pre></p><p><b>root cause</b>
<pre>com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki [kcrnxwiki01] does
not exist com.xpn.xwiki.XWiki.getXWiki(XWiki.java:505)
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:134)
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextIni
tializationFilter.java:83)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(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.18 logs.</u></p><HR
size="1" noshade="noshade"><h3>Apache
Tomcat/6.0.18</h3></body></html>
The problem seems to be that "The wiki [kcrnxwiki01] does not exist".
Is kcrnxwiki01 a valid wiki? Is it the current wiki you are editing
on?
Do you have the same problem on other wikis? On the main wiki? Does it
reproduce even when inserting a macro on an empty page?
Hope this helps,
Marius
--
Mark Gardner
KC Research Automation
Mark.Gardner(a)kc.frb.org
(816) 881-2957
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users