Hi, Only recently I started getting the following error (I updated the
source from the repository) when I use xwiki locally (using resin). Any
help with how I can fix it ?
thanks,
Bikash
--------------- error log --------------------------------
12:51:03,411 WARN XWikiAction:154 - Uncaught exception: Error number 0
in 11: Uncaught exception
Wrapped Exception: Can't find bundle for base name ApplicationResources,
locale en
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: Can't find bundle for base name ApplicationResources,
locale en
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
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:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
at
com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163)
at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:363)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
at java.lang.Thread.run(Thread.java:595)
I am writing a Groovy script to run in an XWiki page. It needs to output
binary data (a PDF). I know how to
response.setContentType("application/pdf");
but how do I prevent the XWiki engine from outputting the normal page
header/footer? I want to take total control of the page output. Any tips
would be appreciated!
Stephen
I've implemented support for pluggable URL factories.
It should be a fairly low impact change, as the default is to use the
current behavior.
Should I post a patch here for review before committing?
In short, there is now an XWikiURLFactoryService (also pluggable)
which is responsible for creating the XWikiUrlFactory for the given
mode (XWikiContext.getMode()) . I made XWikiURLFactoryService
pluggable as well to allow one to allow one to create the url
factories however desired, but its default implementation copies the
way they are current constructed.
Matt