Hi is it only my part of the myxwiki that is hungup?
If I push the edit button the page loads and loads but doesn't get
anywhere.
One of the panels is also failing:
Error number 4001 in 4: Error while parsing velocity page
pulven:Main.WebHome Wrapped Exception: Failed to evaluate content with
id Web Home
-Rune
Hello,
I upgraded my wiki (webapp and xar) from 2.0.RC1 to 2.0.3.
While statistics are supposed to work (they were in RC1) as a bug was
solved, it seems in fact in 2.0.3 my statistics tables are not updated
anymore.
I did not change the xwiki.cfg so they should be activated as they used to.
I checked the list of plugins which seems ok.
There is no exception related to statistics in my logs.
Am I missing something ?
Thanks,
Jeremie
Hi Marius,
Thank you for the advice.
I will ask the team in charge of servers to update the system and hope to have back this functionnality (and statistics also).
We will wait for the 2.0.4 to be released as it takes time to update and will not do that with a non final release.
Christophe
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Marius Dumitru Florea
> Envoyé : mardi 24 novembre 2009 13:50
> À : XWiki Users
> Objet : Re: [xwiki-users] WYSIWYG Editor : error when
> inserting a macro ina page
>
> Hi,
>
> PERINAUD Christophe wrote:
> > Hello,
> >
> > When we try to insert a macro when editing a page, we have
> the message below displayed in the popup window (the HTML
> tags are also displayed).
> > We work with virtual wikis, the problem exists in the main
> wiki and all virtual wikis.
> >
> > *****************************************
> > <html>
> > <head>
> > <meta http-equiv="Content-Type" content="text/html;
> charset=ISO-8859-1"/>
> > <title>Error 500 INTERNAL_SERVER_ERROR</title>
> > </head>
> > <body><h2>HTTP ERROR 500</h2>
>
> > <p>Problem accessing
> /xwiki/resources/js/xwiki/wysiwyg/xwe/MacroService.gwtrpc. Reason:
> > <pre> INTERNAL_SERVER_ERROR</pre></p><h3>Caused
> by:</h3><pre>java.lang.NullPointerException
> > at
> com.xpn.xwiki.doc.DefaultDocumentNameFactory.getContext(Defaul
> tDocumentNameFactory.java:188)
> > at
> com.xpn.xwiki.doc.DefaultDocumentNameFactory.getDefaultWikiNam
> e(DefaultDocumentNameFactory.java:156)
> > at
> com.xpn.xwiki.doc.DefaultDocumentNameFactory.createDocumentNam
> e(DefaultDocumentNameFactory.java:112)
> > at
> com.xpn.xwiki.doc.XWikiDocument.setFullName(XWikiDocument.java:3741)
> > at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1407)
> > at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:464)
> > at
> com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitialization
> Filter.initializeXWikiContext(XWikiContextInitializationFilter
> .java:115)
>
> I think the problem is that XWiki#getXWiki(XWikiContext) is called
> before initializing the container component. It seems that in a
> multiwiki environment this call requires the XWiki context to
> be present
> on the execution context. I've fixed this in revision 25082 (
> http://lists.xwiki.org/pipermail/notifications/2009-November/0
> 65903.html
> ) which was released in 2.1M1 and will be released soon in 2.0.4.
>
> Macro insertion/editing seems to be busted in 2.0.3 on a multiwiki
> environment. I'm really sorry about this.. Can you try 2.1M1
> to confirm
> this issue is not present anymore? Thanks.
>
> Marius
>
> > at
> com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitialization
> Filter.doFilter(XWikiContextInitializationFilter.java:80)
> > at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> ServletHandler.java:1157)
> > at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> > at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> ServletHandler.java:1157)
> > at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> lter.java:68)
> > at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> ServletHandler.java:1157)
> > at
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> uestRestorerFilter.java:295)
> > at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> ServletHandler.java:1157)
> > at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> cterEncodingFilter.java:112)
> > at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> ServletHandler.java:1157)
> > at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler
> .java:388)
> > at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHand
> ler.java:216)
> > at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler
> .java:182)
> > at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler
> .java:765)
> > at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
> > at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(Cont
> extHandlerCollection.java:230)
> > at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerColl
> ection.java:114)
> > at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper
> .java:152)
> > at org.mortbay.jetty.Server.handle(Server.java:326)
> > at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.
> java:536)
> > at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpCo
> nnection.java:930)
> > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
> > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
> > at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndP
> oint.java:409)
> > at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThrea
> dPool.java:582)
> > </pre>
> > <hr /><i><small>Powered by Jetty://</small></i><br/>
>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> > <br/>
> >
> > </body>
> > </html>
> > *****************************************
> >
> > Thank you
> >
> > Christophe Périnaud
> > Windows Server 2003 SP2 in a VMWare instance
> > Oracle 10g
> > Java 1.6.0_12
> > Xwiki 2.0.3 from the pack Jetty/HSQL
> >
> >
> >
> --------------------------------------------------------------
> ------------------
> >
> > This e-mail is intended only for the addressee named above.
> It does not bind the sender, except in the case of an
> existing written convention with the addressee. This e-mail
> may contain material that is confidential and privileged for
> the sole use of the intended recipient. Any review, reliance
> or distribution by others or forwarding without express
> permission is strictly prohibited and may be unlawful. If you
> are not the intended recipient, please contact the sender and
> delete all copies.
> >
> > While reasonable precautions have been taken to ensure that
> this e-mail and any attachments are free from any computer
> virus or similar defect, no liability will be accepted in
> that respect. Anyone accessing this e-mail must take their
> own precautions as to security and virus protection.
> >
> > KBL European Private Bankers S.A., 43 boulevard Royal
> L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hello,
When we try to insert a macro when editing a page, we have the message below displayed in the popup window (the HTML tags are also displayed).
We work with virtual wikis, the problem exists in the main wiki and all virtual wikis.
*****************************************
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 500 INTERNAL_SERVER_ERROR</title>
</head>
<body><h2>HTTP ERROR 500</h2>
<p>Problem accessing /xwiki/resources/js/xwiki/wysiwyg/xwe/MacroService.gwtrpc. Reason:
<pre> INTERNAL_SERVER_ERROR</pre></p><h3>Caused by:</h3><pre>java.lang.NullPointerException
at com.xpn.xwiki.doc.DefaultDocumentNameFactory.getContext(DefaultDocumentNameFactory.java:188)
at com.xpn.xwiki.doc.DefaultDocumentNameFactory.getDefaultWikiName(DefaultDocumentNameFactory.java:156)
at com.xpn.xwiki.doc.DefaultDocumentNameFactory.createDocumentName(DefaultDocumentNameFactory.java:112)
at com.xpn.xwiki.doc.XWikiDocument.setFullName(XWikiDocument.java:3741)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1407)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:464)
at com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:115)
at com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:80)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
</pre>
<hr /><i><small>Powered by Jetty://</small></i><br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</body>
</html>
*****************************************
Thank you
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 2.0.3 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi everybody
We have an Xwiki production platform which includes the documentation of 2 of our applications. Infortunately, they don't nécessarely speak to each other.
The xwiki configuration file indicates that the encoding is ISO-8859-1 which works fine till now.
But one of the two applications wishes to give a XAR with xml files in ISO-8859-15...
Here is my question : can I put two encodings in the configuration file like "xwiki.encoding=ISO-8859-1,ISO-8859-15" to allow multiple encodings for different spaces ?
Thanks in advance
Hi,
I have a groovy script in a page, that loads some data and create pages and
objects with it.
Basically for each it gets a new Document, create a new Object in it, use it
to set all fields (no one is null), then create a new Object
"XWiki.TagClass", sets the tags, and then saves the document. This process
is repeated, as each input data will generate 2 documents/objects for 2
different custom classes.
For most documents there is no problem, while for some I get the following
kind of exceptions (always for one of the classes, never for the other) :
Error number 3201 in 3: Exception while saving document
MailArchive.MMKSonLinuxpatch22-01
Wrapped Exception: Row was updated or deleted by another transaction (or
unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.DateProperty#2009-09-14 15:57:26.0]
The exact same date string is used to save another document/object without
any problem (the Date fields have exactly same format).
It's not always a DateProperty that cause issues, it can also be Strings or
LargeStrings.
I tried to delete my custom class and recreate it, purge all created
documents (with doc.delete()), and also to purge all entries that were left
even after delete(), directly in database (in tables xwikidoc, xwikiobjects,
xwikistrings, xwikilargestrings, xwikidates and xwikirecyclebin), but it
seems the same input data will always have document.save() fail this way.
It seems it's always the second save() that can fail. This second save()
targets a different document, object and class, and it's not the same groovy
variables either. Could it happen that the first save() is not completely
finished and there is some problem with tables updates ? Would I have
something else to do to make sure previous transaction is finished ?
I believe it must be something in the data, but it's only strings,
largestrings and a date, so I don't know how to investigate more...
Thanks for any help,
Jeremie
PS : I'm on XWiki 2.0.3, MySQL 5.1.38, Linux RH Rel 4
I have installed the enterprise xwiki.war completed all intructions for
Tomcat Servlet and MySQL Database configuration. When I try to connect from
my browser the error occurs below. The Wiki is running on a hosted tomcat
webserver.
I've found the general error alot but not with the following line code:
Wrapped Exception: Could not parse mapping document from resource
xwiki.hbm.xml
I thought the error might be related to some mistakes in the
hibernate.cfg.xml
Name of database: 24_xwiki
Password: xwiki123
<property
name="connection.url">jdbc:mysql://localhost/xwiki?useServerPrepStmts=false</property>
<property name="connection.username">24_xwiki</property>
<property name="connection.password">xwiki123</property>
<property
name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="connection.provider_class">
I'm a newbie concerning web hosting so thanks for any help as I' ve got
stuck since Saturday :(
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3
in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not parse mapping document from resource
xwiki.hbm.xml
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not parse mapping document from resource
xwiki.hbm.xml
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
--
View this message in context: http://n2.nabble.com/Could-not-initialize-main-XWiki-context-tp4051328p4051…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everyone,
If you like XWiki, please nominate it for one (or more) of the
following Crunchie award categories:
1) Best Enterprise StartUp: http://crunchies.techcrunch.com/vote/?NzpYV2lraQ
2) Best Overall StartUp Of 2009: http://crunchies.techcrunch.com/vote/?MTg6WFdpa2k
3) Best International StartUp: http://crunchies.techcrunch.com/vote/?ODpYV2lraQ
You can submit one nomination per category per day until December 4th
2009 at Midnight PST.
General vote link: http://crunchies2009.techcrunch.com/vote/
Thanks a lot for your participation and support!
-Vincent
PS: About the Crunchies:
The 2009 Crunchies is our third annual competition and award ceremony
to recognize and celebrate the most compelling startups, internet and
technology innovations of the year.
- Where: the award ceremony will take place in San Francisco
- When: on Friday, January 8, 2010, at 7:30 pm
Hi people, i m very newbee with xwiki, my client is very interested on using
this tool but i need to know which is an optimal configuration site,
jdk?,
which aplication server (tomcat 5.5?), Oracle, postgresql,mysql?,
how many GBs do i need for database hdd, Ram?
Its optimal to use the VmWare appliance supplied here?
http://www.vmware.com/appliances/directory/97683
Someone has used this in production mode?
Sorry for my poor english.
--
Alonso Isidoro Roman.
"La maquinaria de la corrupción se engrasa a diario con el sudor del
trabajador conformista"
Aristóteles.