Hello,
I have XWiki turning on a Tomcat server and I was surprised about de 500ko stdout log file. I have seen that there is an error that keeps repeating in this log file:
[ERROR] Method checkAccess threw exception for reference $xwiki in template /templates/menuview.vm at [128,61]
org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [/templates/menuview.vm]
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1612)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
...
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'checkAccess' in class com.xpn.xwiki.api.XWiki threw exception java.lang.IllegalStateException @ /templates/menuview.vm[128,68]
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:396)
at org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:111)
at org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:109)
at org.apache.velocity.runtime.parser.node.ASTAndNode.value(ASTAndNode.java:74)
...
Caused by: java.lang.IllegalStateException
at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:432)
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:81)
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:62)
at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.showLogin(XWikiAuthServiceImpl.java:333)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:179)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3596)
at com.xpn.xwiki.api.XWiki.checkAccess(XWiki.java:189)
at sun.reflect.GeneratedMethodAccessor228.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
... 85 more
Any idea what's causing this error?
Best regards,
Cristi.
--
View this message in context: http://n2.nabble.com/Recurrent-exception-in-Tomcat%27s-log-file-tp2525840p2…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I have a space where I want to make navigation easier. So inside this space I want to create a navigation panel, containing only the "Table of contents", is it possible?
The best situation would be to create tree view, like a file explorer. Does anyone know how can it be done?
Thanks
- Roney
Hello,
I have a document created in the blog that has disappears (it happened when
we were still in 1.6, after the upgrade to 1.7.2 the problem is still there).
I can't understand why... what rule is following the blog macro to choose
which document has to appear ?
The record is still there in database and I can access the document with the
search function.
By the way, how is the XWD_ID created and why does it has sometimes a
negative value ?
Here is my entry in the xwikidoc table (sorry for the format...)
XWD_ID XWD_FULLNAME XWD_NAME XWD_TITLE
XWD_LANGUAGE XWD_DEFAULT_LANGUAGE
XWD_TRANSLATION XWD_DATE XWD_CONTENT_UPDATE_DATE
XWD_CREATION_DATE XWD_AUTHOR XWD_CONTENT_AUTHOR
XWD_CREATOR XWD_WEB XWD_CONTENT
XWD_VERSION XWD_CUSTOM_CLASS XWD_PARENT
XWD_CLASS_XML XWD_ELEMENTS
XWD_DEFAULT_TEMPLATE XWD_VALIDATION_SCRIPT
XWD_COMMENT XWD_MINOREDIT XWD_SYNTAX_ID
XWD_HIDDEN
-1031415417 Blog.SlidesSeminaireIntegration
SlidesSeminaireIntegration
fr 0 2009-03-05 16:48:56.0 2009-03-05
16:48:56.0 2009-03-05 16:44:50.0 XWiki.nfrank XWiki.nfrank
XWiki.nfrank Blog
#includeForm("XWiki.ArticleClassSheet") 4.1
Main.WebHome <null> 3
false xwiki/1.0 false
Thank's a lot.
Nicolas Frank
Hy,
I want to instal manually Xwiki and I use Apache Tomcat 5.5 am MySQL Server
5.1.
I created the database that Xwiki needs using the following commands:
1. create database xwikiDB
2. grant all privileges on xwikiDB.* to xwikiUser@localhost identified by
'xwikiPwd'
3. show databases
and I have changed the hibernate.cfg.xml file:
<property
name="connection.url">jdbc:mysqlDB://localhost/xwiki?useServerPrepStmts=false&sessionVariables=sql_mode=''</property>
<property name="connection.username">xwikiUser</property>
<property name="connection.password">xwikiPwd</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
I restarted the server and when I want to view to XWiki HomePage it tells me
that I have a server error, that I have an error in my hibernate.cfg.xml
file. But I have modified this file as the tutorials say...
So, I installed the fully-featured wiki and it works and I looked at the
configuration file and it is like I wrote. I don't want to instal the
fully-featured wiki... so, what can I do?
--
View this message in context: http://n2.nabble.com/Problems-configuring-XWiki-tp2513789p2513789.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello all,
I have a little problem since i switched to 1.8 (still rc2) when i start
the server. The lucene plugin tries to update its index and i have this
error :
Exception in thread "Lucene Index Updater" java.lang.NoSuchMethodError:
com.xpn.
xwiki.objects.BaseObject.getPropertyNames()[Ljava/lang/Object;
at
com.xpn.xwiki.plugin.lucene.ObjectData.extractContent(ObjectData.java
:111)
at
com.xpn.xwiki.plugin.lucene.ObjectData.getContentAsText(ObjectData.ja
va:97)
at
com.xpn.xwiki.plugin.lucene.ObjectData.getFullText(ObjectData.java:80
)
at
com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexDa
ta.java:163)
at
com.xpn.xwiki.plugin.lucene.ObjectData.addDataToLuceneDocument(Object
Data.java:133)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java
:383)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.jav
a:224)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:117)
at java.lang.Thread.run(Unknown Source)
On the search page i have a message that Lucene is updating its index
but the number of pages never decreases (i guess the thread is dead) I
can't find where the problem comes from.
Thank you
Christophe
--------------------------------------------------------------------------------
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
Folks,
I have encountered another problem when trying to finish the installation of
xwiki.
>From xwiki.log, the top most error is:
22:39:01,281 [http://servername.com/xwiki/bin/view/Main/]
[http-8080-Processor25] FATAL tion.ConnectionProviderFactory - Could not
instantiate connection provider
java.lang.ClassNotFoundException:
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100)
Is this error about the placement of the JDBC driver? I've placed it in
/common/lib already.
Please help.
--
View this message in context: http://n2.nabble.com/Another-problem...this-time-is-about-connection-provid…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
After fixing the xwiki.log permission error, I have another error upon
loading xwiki in Tomcat.
The error is:
java.lang.InternalError: Can't connect to window server - not enough
permissions.
I am running on Leopard Server 10.5.6, PostgreSQL and Tomcat 5.5.
I believe the tables in PostgreSQL have not been created....
Thanks for the help!
Charles
--
View this message in context: http://n2.nabble.com/InternalError%3A-Can%27t-connect-to-window-server---no…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Asiri
Thank you for your help. I will try to test your correction that replaces not allowed characters by '-'
Christophe
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Asiri Rathnayake
Envoyé : vendredi 20 mars 2009 19:43
À : XWiki Users
Objet : Re: [xwiki-users] Office importer application error
Hi,
On Fri, Mar 20, 2009 at 10:55 PM, Asiri Rathnayake <
asiri.rathnayake(a)gmail.com> wrote:
> Hi Christophe
>
> On Fri, Mar 20, 2009 at 3:01 PM, PERINAUD Christophe <
> Christophe.PERINAUD(a)kbl-bank.com> wrote:
>
>> Hello all,
>>
>> I try to use the office importer application after migrating my 1.7.1 to
>> 1.8-rc2.
>> For all documents i try to import i have this message : Internal error
>> while finalizing the target document
>>
>> Looking in console messages on the server i found that :
>> [ERROR] Internal error while creating temporary files.
>> java.io.FileNotFoundException:
>> C:\DOCUME~1\BB03545\LOCALS~1\Temp\1\xwiki-office-importer-xwiki:XWiki.bb03545\input.tmp
>> (The filename, directory name, or volume label syntax is incorrect)
>>
>> It seems that the application tries to create a temporary folder with ':'
>> in the name wich is prohibited under Windows.
>> Is there a way to change that from the interface ?
>
>
> This is a very unfortunate. And I'm afraid there is no way to change this
> setting from the UI either. I have created an issue for this @
> http://jira.xwiki.org/jira/browse/XWIKI-3406 it will be fixed for 1.8.1 &
> 1.9M1 releases.
>
> Note:- I did not try to reproduce this bug yet (kind of busy) but from your
> description and looking at the code it seems quite possible.
>
I tried this on my XP installation but I could not reproduce it. It is
possible that this occurs when there are multiple wikis configured or ldap
authentication used where the getUser() method returns something like
<wiki>:XWiki.UserName. So it's still a bug, will be fixed.
- Asiri
>
> Thanks.
>
> - Asiri
>
>
_______________________________________________
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