Hi All,
I'm wondering whether it is possible to define default template for _every_ new
document created?
What I need it to have an object of my class to be added by default to every
page as it is done with TagClass now. I've looked everywhere but didn't find
a way to do this.
I've recently installed XWiki 1.1 milestone 1. I and a couple of others
are in the admin group, but everyone else is in the "all" group. For some
reason, only admins can see the search results. Others can see the search
page and can submit a search, but they never see in results.
I'm running this under Jetty on Win32 using wrapper.exe to run it as a
service. In the wrapper.log, I see the following types of exceptions, but
I don't know if these correlate to just those who can't see results, or
everybody:
INFO | jvm 1 | 2007/06/18 10:37:29 | 10:37:29,344 WARN P1-17
http://wikiserver/xwiki/bin/skin/skins/albatross/icons/black-edit-ab2.png
XWikiAction:execute:185 - Uncaught exception: Error number 0 in 11:
Uncaught exception
INFO | jvm 1 | 2007/06/18 10:37:29 | Wrapped Exception: null
INFO | jvm 1 | 2007/06/18 10:37:29 | com.xpn.xwiki.XWikiException:
Error number 0 in 11: Uncaught exception
INFO | jvm 1 | 2007/06/18 10:37:29 | Wrapped Exception: null
INFO | jvm 1 | 2007/06/18 10:37:29 | at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:165)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
INFO | jvm 1 | 2007/06/18 10:37:29 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpServer.service(HttpServer.java:954)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
INFO | jvm 1 | 2007/06/18 10:37:30 |
INFO | jvm 1 | 2007/06/18 10:37:30 |
INFO | jvm 1 | 2007/06/18 10:37:30 | Wrapped Exception:
INFO | jvm 1 | 2007/06/18 10:37:30 |
INFO | jvm 1 | 2007/06/18 10:37:30 |
INFO | jvm 1 | 2007/06/18 10:37:30 | java.lang.IllegalStateException
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.jetty.servlet.ServletHttpResponse.getWriter(ServletHttpResponse.java:564)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
com.xpn.xwiki.web.XWikiServletResponse.getWriter(XWikiServletResponse.java:93)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:117)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:159)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpServer.service(HttpServer.java:954)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
INFO | jvm 1 | 2007/06/18 10:37:30 | com.xpn.xwiki.XWikiException:
Error number 0 in 11: Uncaught exception
INFO | jvm 1 | 2007/06/18 10:37:30 | Wrapped Exception: null
INFO | jvm 1 | 2007/06/18 10:37:30 | at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:165)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpServer.service(HttpServer.java:954)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
INFO | jvm 1 | 2007/06/18 10:37:30 | at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
INFO | jvm 1 | 2007/06/18 10:37:30 |
INFO | jvm 1 | 2007/06/18 10:37:30 |
INFO | jvm 1 | 2007/06/18 10:37:30 | Wrapped Exception:
INFO | jvm 1 | 2007/06/18 10:37:30 |
INFO | jvm 1 | 2007/06/18 10:37:31 | java.lang.IllegalStateException
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.jetty.servlet.ServletHttpResponse.getWriter(ServletHttpResponse.java:564)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
com.xpn.xwiki.web.XWikiServletResponse.getWriter(XWikiServletResponse.java:93)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:117)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:159)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.http.HttpServer.service(HttpServer.java:954)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
INFO | jvm 1 | 2007/06/18 10:37:31 | java.lang.IllegalStateException
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.jetty.servlet.ServletHttpResponse.getWriter(ServletHttpResponse.java:564)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
com.xpn.xwiki.web.XWikiServletResponse.getWriter(XWikiServletResponse.java:93)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:117)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:52)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:187)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.http.HttpServer.service(HttpServer.java:954)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
INFO | jvm 1 | 2007/06/18 10:37:31 | at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Any ideas?
Regards,
Brian.
-----------------------------------------
CONFIDENTIALITY STATEMENT:
This e-mail transmission contains information that is intended to
be confidential. It is intended only for the addressee named
above. If you receive this e-mail in error, please do not read,
copy, or disseminate it. If you are not the intended recipient,
any disclosure, copying, distribution or use of the contents of
this information is prohibited. Please reply to the message
immediately by informing the sender that the message was
misdirected. After replying, please erase it from your computer
system. Your assistance in correcting this error is appreciated.
Hi all,
can anyone give me an example how to call an external web service from
Velocity code and evaluate the result?
The question may be stupid, but I'm new to XWiki, Velocity, and WEb
programming...
Many thanks in advance,
Ute
--
View this message in context: http://www.nabble.com/Calling-a-web-service-from-Velocity-tf3915895.html#a1…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
We'd like to have particular groups being admins for particular xwiki
spaces. It appears that if these admins don't have also Admin Rights in
XWiki and Admin they are unable to change Page Rights or change settings
for the particular spaces.
Did I screw up the rights configuration or is this a bug? Do I need to
copy pages from XWiki und Admin to their spaces? Which pages?
Regards,
Gunter
-------------------------------------------------------------------------------
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
-------------------------------------------------------------------------------
Hi,
We are running Xwiki 1.0 using the German local.
Today, I noticed that if a page contains special German characters like öäß, the PDF is not able to handle diese Characters correctly.
This was already an issue with 0.940 and I thought, it had already been resolved. Could it have something to do with runing with the German de local (set in XWikiPreferences)? How do I fix this issue?
Also, the fonts used in the PDF are totally different from the page in XWiki. How do I configure the PDF Engine to generate pages more similar to the XWiki pages (Albatross-skin)?
Regards,
Gunter
-------------------------------------------------------------------------------
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
-------------------------------------------------------------------------------
Hi Ian,
Thanks for the clarification.
On 6/12/07, Ian Bamsey <ian.bamsey(a)certus-tech.com> wrote:
> The XML-RPC is a useful way to integrate Wiki content into other
> applications. Currently the update-page RPC is broken. You can
> successfully change the page, but you don't see the results via the
> browser HTML view. The page update will show only once you restart
> Tomcat. So my point is that a unit test which picks up this bug would be
> useful, once the bug has been resolved to prevent regression.
>
You are right that this is an annoying bug (see also
http://tinyurl.com/2e69xj) and before fixing such bugs it would make a
lot of sense to build a test that prevents regression in the future.
XWiki developers have a lot to learn once it comes to testing, but we
hope that things will only get better in the future. For now all I can
advise you to do is to make sure that the bug is reported properly on
the JIRA (http://jira.xwiki.org) (couldn't check since the JIRA is
temporarily unavailable).
If you want to discuss more about this bug then please use the thread
I gave you: http://tinyurl.com/2e69xj
> My point about code structure is that the code which updates a page from
> a RPC should be the same code which updates the page from anywhere else.
> One problem I see in XWiki is that functions are repeatedly coded in all
> different places, giving rise to these types of problems.
>
As Sergiu suggests this is most likely related to caching. Don't think
that XWiki functionality is coded twice, but if have a concrete
example in the code then we would like to know about it.
Regards,
Catalin
> Catalin Hritcu wrote:
> > Hi Ian,
> >
> > And thank you for the feedback.
> >
> > On 6/11/07, Ian Bamsey <ian.bamsey(a)certus-tech.com> wrote:
> >> A useful set of unit tests would exercise the XML-RPC interfaces and
> >> verify the effect in the HTML view.
> >>
> >> For example:
> >>
> >> 1. Use XML-RPC to create/modify a page
> >> 2. Assert the page changes via the HTML view.
> >>
> > Sorry, but I don't understand why such a use case would be relevant
> > when functional testing. I think hardly any end-user uses XML-RPC
> > directly. And if I was to test the XML-RPC API, I don't understand why
> > would I need to check the results in a web browser (assuming this is
> > what you mean by "the HTML view?"). Maybe you can explain better why
> > this would be useful.
> >
> >> In milestone 1, this does not work and I don't think it has been
> >> corrected.
> >>
> > Can you give more details of this issue? Is it related to this JIRA
> > issue http://jira.xwiki.org/jira/browse/XWSUP-1688 ? Do the others
> > know more about this?
> >
> >> The important point here is that well structured code would have the RPC
> >> call use the same function call as the HTML call.
> >>
> > What exactly do you mean by HTML call? I'm confused.
> >
> >> The UT would then
> >> verify the underlying call, then supplementary UTs would check the HTML,
> >> XML-RPC alone, then further tests check there interaction.
> >>
> > Sorry, but I don't understand what you mean. Can you please explain
> > better?
> >
> > Regards,
> > Catalin
> >
> >
>
>
> --
> Certus Technology Associates Limited.
> http://www.certus-tech.com
> Tel: +44 (0)1392 270930
>
>
XWiki farm is in trouble again?
-------------- Original message ----------------------
From: wangwh(a)att.net
>
>
> -------------- Original message ----------------------
> From: Vincent Massol <vincent(a)massol.net>
> >
> >
> > On Jun 14, 2007, at 9:42 AM, Vincent Massol wrote:
> >
> > > Hi,
> > >
> > > On Jun 14, 2007, at 4:35 AM, wangwh(a)att.net wrote:
> > >
> > >> several sites, include www.xwiki.com are down? not accessible?
> > >> Any status report?
> > >
> > > Yes we're having some issues. Sorry about that. We're on it. I'll
> > > let you know when it's fixed.
> >
> > Seems it's been working fine for several hours now. Let us know if
> > you still have some problems.
> >
> > Thanks
> > -Vincent
> >
> >
>
>
>
Hi All,
I am a user who is developing an xwiki for my research team. I am faced with two tasks that I am baffled by and I did research on the site and still can not find it. I need to put rights on the topmenuheader (meaning only administrator can see it) and I need to embed the calendar on the Main.Home (or dashboard) page. Please help with this problem.
Thanks in advance,
Tim
Hi
I am creating "structured documents" in a particular space say, XSpace, which follows a "document template". But if I try to edit or view a non existing document, say ADoc, in XSpace :
http://localhost:8080/xwiki/bin/view/XSpace/ADoc or
http://localhost:8080/xwiki/bin/edit/XSpace/ADoc
Xwiki allows me to create a new document, but the newly created document does not follow the "document template".
I want to prevent this from happening. Can anyone please tell me how I can do this.
Thanks and Regards
Roopesh
hello all,
besides:
i did a sort of remote control for group and user management using a
rest approach: far from perfect, but working stable. why? you can
syncronize the xwiki users and groups if you integrate xwiki with
another app. haven't had the time yet to add it to the source, but as it
is actually something that is not situated inside the xwiki at runtime
but the other app, i cannot figure out where to put it.
the issues
i try to deploy xwiki on a debian 3.1 web server.
it works almost fine, except two exceptions that keep me worrying:
first, the logger cannot start its work, the xwiki.log is in the xwiki
directory under webapps.
second, the cache can not be configured, even though there *is* a
directory under xwiki temnp/imageCache, that is writeable for
tomcat5:nogroup. stack trace below.
ERROR 22:42:01,888
com.opensymphony.oscache.base.AbstractCacheAdministrator.(AbstractCacheAdministrator.java:301)
- Error instantiating class
'com.opensymphony.oscache.plugins.diskpersistence.DiskPersistenceListener'
java.lang.NullPointerException
at
com.opensymphony.oscache.plugins.diskpersistence.AbstractDiskPersistenceListener.configure(AbstractDiskPersistenceListener.java:162)
.
.
.
ERROR 22:42:01,891
com.opensymphony.oscache.plugins.diskpersistence.AbstractDiskPersistenceListener.(AbstractDiskPersistenceListener.java:284)
- cache.path 'temp/imageCache' is not a directory
ERROR 22:42:01,892
com.opensymphony.oscache.base.AbstractCacheAdministrator.(AbstractCacheAdministrator.java:301)
- Error instantiating class
'com.opensymphony.oscache.plugins.diskpersistence.DiskPersistenceListener'
java.lang.NullPointerException
at
--
ontopica
Thomas Krämer
Krämer&Okpue GbR
Kurfürstenstr. 66
53115 Bonn
Fon +49 228 - 180 99 737
Fax +49 228 - 242 78 60
Email tk(a)ontopica.de
Confirmed. It works.
Wei-hsing
-------------- Original message ----------------------
From: Vincent Massol <vincent(a)massol.net>
>
>
> On Jun 14, 2007, at 9:42 AM, Vincent Massol wrote:
>
> > Hi,
> >
> > On Jun 14, 2007, at 4:35 AM, wangwh(a)att.net wrote:
> >
> >> several sites, include www.xwiki.com are down? not accessible?
> >> Any status report?
> >
> > Yes we're having some issues. Sorry about that. We're on it. I'll
> > let you know when it's fixed.
>
> Seems it's been working fine for several hours now. Let us know if
> you still have some problems.
>
> Thanks
> -Vincent
>
>
Hi,
I don't know if you're aware of it so I'll tell you either way: when you download the .war and .xar files from the French mirror site i Paris you get .zip files instead of .war or .xar.
Caused me a bunch of problems before I realised it...
//Karin
Hello,
Please forgive me if the answer to this question is posted somewhere (didn't
see anything in the archives). I'd like to use xWiki for publishing
articles. I'll be using it inside eXo portal (I think xWiki's lightweight
approach is more suitable than eXo's CMS for my needs). The only piece I'm
missing is how to go about creating a very simple workflow. Basically, I'd
like something like this:
1. Author or Editor creates an article
2. Author writes the article
3. Editor edits the article
4. Author reviews the article
5. Steps 3 and 4 can repeat
6. Editor publishes the article
Where Author and Editor are roles that can be fulfilled by one or more
users, but Authors can only view their articles. And of course, this has to
work within eXo.
Any suggestions?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kito D. Mann - Author, JavaServer Faces in Action
<http://www.virtua.com/> http://www.virtua.com - JSF/Java EE consulting,
training, and mentoring
<http://www.jsfcentral.com/> http://www.JSFCentral.com - JavaServer Faces
FAQ, news, and info
* Sign up for the JSF Central newsletter!
<http://oi.vresp.com/?fid=ac048d0e17> http://oi.vresp.com/?fid=ac048d0e17 *
Hi Tim,
One of the main problems there is that you're using localhost in your
configuration - which as it stands is not accessable outside your
physical pc by design (this applies pretty much to all operating
systems). This is because localhost is treated as a special entity.
For XWiki to understand what you're wanting to do, you're going to have
to use the actual name of the pc where XWiki is installed (and not
localhost or even the ip address for that matter). If you're on a
TCP/IP network, each pc on the network requires a name - so you should
already have a domain name to work with. In my case, I'm using a deep
domain name ([virtualname].servername.d1.d2.domain.com, with altered
[virtualname]'s for each virtual xwiki instance) which XWiki uses
without any problems.
-> Instead of a virtual XWiki, you could try to run seperate full xwiki
installations - I'm not sure if the linking is fixed yet (it was a bug
when v1.0Beta1 was released); if it is fixed this is as simple as
copying the xwiki folder to a new name once the war is expanded by
tomcat.
Accessing the different xwiki sites would be a matter of changing the
\xwiki\ string in the URL (if that makes sense - it's late wednesday and
I had an really early morning).
-> On the other hand, if you're really keen on a virtual XWiki setup and
you've got access to a knowledgable network administrator you'll
probably find the configuration will take a few minutes; whether using
LMHOSTS (a very bad idea for more than a handful of workstations on a
network), or setting up DNS forward addresses.
PS: Please keep all replies/queries in the group, this ensures that this
problem can be researched in future. Also, as my domain stems from
________________________________
From: Campbell, Timothy D [mailto:tcampbell106@wssu.edu]
Sent: 13 June 2007 16:33
To: Esbach, Brandon
Subject: Virtual XWiki problems
Brandon,
While following the documentation, I followed all the steps and created
all necessary documents(except for network pointers) and classes but the
problem comes when I try to fill in the server spot for the page. I put
localhost one time and it gave me the fresh database but replaced my old
database. Basically, I need to know how I can do this using Tomcat since
the directions are mostly focused on domain names and I am not using a
web host for this project. Any information you need or steps that I took
let me know.
Thanks,
Tim
PS
http://localhost/xwiki/bin/view/Main/ (this is the address of my main
wiki)
Hi
I'm trying to upgrade XWiki 0.9.840 to 1.0 on my FreeBSD 6.2 server
running Tomcat 5.5.23 and Postgres 8.1.4. I've replaced the xwiki
app, copied (AFAIK) all the settings across, but when I try to access
it I get a 500 error from Tomcat.
exception
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.TagClass
Wrapped Exception: Could not execute JDBC batch update
org.apache.struts.action.RequestProcessor.processException
(RequestProcessor.java:535)
...
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.TagClass
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:291)
...
I deleted my XWiki and Tomcat logs and restarted the server. The
attached logs are a fresh server restart and an attempt to view Main/
WebHome. (Not sure if the list allows attachments because this is my
first post. Will find out soon!)
Anyone have any ideas what is going on? It seems to be failing to
enter a row into xwikidoc, but I've looked at the insert statement
and I can 't see anything wrong with it.
Thanks in advance
Ashley
Hello,
I have got two minor issues, that some of you probably have encountered
as well.
1:
I would like to have some more information on the user page
xwiki/bin/view/XWiki/XWikiUsers :
1 Current Users
#set ($sql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='XWiki.XWikiUsers'")
#foreach ($item in $xwiki.searchDocuments($sql)) * [$item]
#end
how can if find out which object each $item has?
why is the object tab abesent?
has any of you extended that page already?
2:
If you want to change a users email in hindsight, there is a faq, that
explains how to do this:
http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIChangeTheEmailOfAnExistingUs…
namely, to select the objects tab in the edit mode and change the
respective email object.
i use xwiki 1.0.3342 (stable 1.0), and there is no such tab.
Best regards
Thomas
Hi,
We are looking for the following security features for xwiki.
1. HTTPS (for secure login and password entry)
2. Mechanism to prevent bot registration
3. Banning access from an IP.
Any ideas on these will be very helpful?
Thanks and Regards
Roopesh
Hello,
I am a complete xwiki newbie and I was wondering if there's a 'quick and easy' way to create a document template or a form that people can use to enter specific information into a new page/topic. I know that there's a document HowToCreateADocumentTemplate, but I get an error upon trying to access it.
Thanks for your help,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jamie A. D. Szafran
Intern, Ground Operations, KSC
National Aeronautics and Space Administration
The opinions expressed herein are my own and are not
necessarily those of NASA or Kennedy Space Center.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi all,
I'm curious about the correct usage of the property type "DatabaseList". Can
anyone explain it to me, or -even better- point me to an example?
I know that there was already a previous post
http://www.nabble.com/Xwiki.com-API-stability-and-Class-Object-model-tf3524…
by Sergiu, but unfortunately this still leaves me pretty much in the dark...
I understand that the "Hibernate Query" is an HQL statement. Can this be the
identical statement that I would use in a call to $xwiki.search() or
searchDocuments(), or is there anything special to consider? Can the HQL
query refer to any objects/documents in the DB, or are there any
limitations?
What is the meaning of "XWiki Class Name", "Id Field Name", and "Value Field
Name" in the property editor?
My understanding is that the HQL query is evaluated dynamically when
accessing the value of this property. Is this true? How does this fit to the
"Display type" that obviously determines how the user can edit this
property? Or is the HQL query only used to determine the possible values of
this property, but the user still selects the actualvalue?
Thanks in advance,
Ute
--
View this message in context: http://www.nabble.com/Usage-of-DatabaseList-property-type-tf3902538.html#a1…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
For the user registration, I want to specify an smtp server in a non standard port(not the default port 25). Is it possible in xwiki.
When I tried, the following error occurred. Can any one tell me what is wrong with the way I did.
---
Error* :*
Error number 10003 in 10: Exception while sending email from cpmishra(a)digitalglue.in to
[Ljava.lang.String;@1ab3ff9
Wrapped Exception: 202.141.152.72:2525
com.xpn.xwiki.XWikiException: Error number 10003 in 10: Exception while sending email from
cpmishra(a)digitalglue.in to [Ljava.lang.String;@1ab3ff9
Wrapped Exception: 202.141.152.72:2525
at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:2697)
at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:2717)
at com.xpn.xwiki.XWiki.sendValidationEmail(XWiki.java:2636)
at com.xpn.xwiki.XWiki.sendValidationEmail(XWiki.java:2595)
at com.xpn.xwiki.XWiki.createUser(XWiki.java:2568)
at com.xpn.xwiki.web.RegisterAction.action(RegisterAction.java:42)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:149 etc.
Wrapped Exception:
java.net.UnknownHostException: 202.141.152.72:2525
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.(Unknown Source)
at java.net.Socket.(Unknown Source)
at org.apache.commons.net.DefaultSocketFactory.createSocket(DefaultSocketFactory.java:53)
at org.apache.commons.net.SocketClient.connect(SocketClient.java:162)
at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:2664)
----
Regards
Roopesh