Hi all,
I'm sure this is a lack of understanding on my part, but I can't seem to
enable any of the additional tools in velocity. I've added the mathtool
to the toolbox.xml under WEB-INF (and restarted), but $math is still not
available in pages. I added the following to toolbox.xml:
<tool>
<key>math</key>
<scope>application</scope>
<class>org.apache.velocity.tools.generic.MathTool</class>
</tool>
And my web.xml points to that toolbox.xml (though I think that's only for
the velocityview servlet configuration, not used in xwiki?). Is there
anything else I need to do to enable $math in a page?
I did find that if I explicitly load it, it works:
#set ($math =
$context.getClass().forName("org.apache.velocity.tools.generic.MathTool").newInstance())
I know this is highly unrecommended, and I'd like to get it working the
normal way. Any suggestions?
-Tom
--
Tom Kliethermes
eSupport Initiatives
IBM Information Management
(913) 599-7240 Fax: (913) 599-8590
http://www.ibm.com/software/data
Hi,
I haven't been able to install xwiki due to issues with hibernate. I'm
running CentOS 4.4, Jboss 4.0.5.GA, Postgres 8.1.5, xWiki.0.9.840, j2sdk
1.4.2_13 and postgresql-8.1-407.jdbc3.jar.
I configured my hibernate.cfg.xml for postgres, put the necessary postgres
jdbc jar file in the server/default/lib directory. The hibernate
configuration is working because it successfully starts reading from the
postgres database, until this call - see stack trace is made and I get a
objectnotfoundexception: no row with the given identifier exists. I enabled
sql statement logging, so the sql statement is shown above the stack trace.
I applied the:
xwiki.pg.dml.sql
xwiki.pg.ddl.sql
xwiki-db-0.9.2-pgsql.sql
files with the psql -f filename xwiki
This is my postgres schema:
xwiki=# \d
List of relations
Schema | Name | Type | Owner
--------+-------------------------+-------+----------
public | xwikiattachment | table | postgres
public | xwikiattachment_archive | table | postgres
public | xwikiattachment_content | table | postgres
public | xwikibooleanclasses | table | postgres
public | xwikiclasses | table | postgres
public | xwikiclassesprop | table | postgres
public | xwikidateclasses | table | postgres
public | xwikidates | table | postgres
public | xwikidblistclasses | table | postgres
public | xwikidoc | table | postgres
public | xwikidouble | table | postgres
public | xwikidoubles | table | postgres
public | xwikifloats | table | postgres
public | xwikiintegers | table | postgres
public | xwikilargestrings | table | postgres
public | xwikilistitems | table | postgres
public | xwikilists | table | postgres
public | xwikilock | table | postgres
public | xwikilongs | table | postgres
public | xwikinumberclasses | table | postgres
public | xwikiobjects | table | postgres
public | xwikiproperties | table | postgres
public | xwikislistclasses | table | postgres
public | xwikistatsdoc | table | postgres
public | xwikistatsreferer | table | postgres
public | xwikistatsvisit | table | postgres
public | xwikistringclasses | table | postgres
public | xwikistrings | table | postgres
(28 rows)
Anybody know what is wrong here?
Thanks in advance!
-matt
20:32:48,335 INFO [STDOUT] Hibernate: select xwikidocum0_.XWD_ID as
XWD1_0_, xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME as
XWD3_0_0_, xwikidocum0_.XWD_LANGUAGE as XWD4_0_0_,
xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD5_0_0_, xwikidocum0_.XWD_TRANSLATION
as XWD6_0_0_, xwikidocum0_.XWD_DATE as XWD7_0_0_,
xwikidocum0_.XWD_CREATION_DATE as XWD8_0_0_, xwikidocum0_.XWD_AUTHOR as
XWD9_0_0_, xwikidocum0_.XWD_CREATOR as XWD10_0_0_, xwikidocum0_.XWD_WEB as
XWD11_0_0_, xwikidocum0_.XWD_CONTENT as XWD12_0_0_, xwikidocum0_.XWD_ARCHIVE
as XWD13_0_0_,xwikidocum0_.XWD_VERSION as XWD14_0_0_,
xwikidocum0_.XWD_PARENT as XWD15_0_0_ from xwikidoc xwikidocum0_ where
xwikidocum0_.XWD_ID=?
20:32:48,339 INFO [DefaultLoadEventListener] Error performing load command
org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [com.xpn.xwiki.doc.XWikiDocument#-1363070189]
at org.hibernate.ObjectNotFoundException.throwIfNull(
ObjectNotFoundException.java:27)
at org.hibernate.event.def.DefaultLoadEventListener.load(
DefaultLoadEventListener.java:118)
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(
DefaultLoadEventListener.java:167)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(
DefaultLoadEventListener.java:79)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:588)
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(
XWikiHibernateStore.java:575)
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(
XWikiCacheStore.java:123)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:617)
at com.xpn.xwiki.plugin.TablePlugin.init(TablePlugin.java:82)
at com.xpn.xwiki.plugin.TablePlugin.<init>(TablePlugin.java:53)
at jrockit.reflect.NativeConstructorInvoker.newInstance([
Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;J)Ljava.lang.Object;(Unknown
Source)
at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(
XWikiPluginManager.java:58)
at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(
XWikiPluginManager.java:77)
at com.xpn.xwiki.plugin.XWikiPluginManager.<init>(
XWikiPluginManager.java:41)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:422)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:397)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
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:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
20:32:48,346 INFO [DBCPConnectionProvider] active: 0 (max: 50) idle:
1(max: 5)
20:32:48,415 INFO [DBCPConnectionProvider] active: 1 (max: 50) idle:
0(max: 5)
--
--
Matthew Ma
http://www.lightspoke.com
Lightspoke Web Based Database
Hi,
I haven't been able to install xwiki due to issues with hibernate. I'm running CentOS 4.4, Jboss 4.0.5.GA, Postgres 8.1.5, xWiki.0.9.840, j2sdk 1.4.2_13 and postgresql-8.1-407.jdbc3.jar.
I configured my hibernate.cfg.xml for postgres, put the necessary postgres jdbc jar file in the server/default/lib directory. The hibernate configuration is working because it successfully starts reading from the postgres database, until this call - see stack trace is made and I get a objectnotfoundexception: no row with the given identifier exists. I enabled sql statement logging, so the sql statement is shown above the stack trace.
I applied the:
xwiki.pg.dml.sql
xwiki.pg.ddl.sql
xwiki-db-0.9.2-pgsql.sql
files with the psql -f filename xwiki
This is my postgres schema:
xwiki=# \d
List of relations
Schema | Name | Type | Owner
--------+-------------------------+-------+----------
public | xwikiattachment | table | postgres
public | xwikiattachment_archive | table | postgres
public | xwikiattachment_content | table | postgres
public | xwikibooleanclasses | table | postgres
public | xwikiclasses | table | postgres
public | xwikiclassesprop | table | postgres
public | xwikidateclasses | table | postgres
public | xwikidates | table | postgres
public | xwikidblistclasses | table | postgres
public | xwikidoc | table | postgres
public | xwikidouble | table | postgres
public | xwikidoubles | table | postgres
public | xwikifloats | table | postgres
public | xwikiintegers | table | postgres
public | xwikilargestrings | table | postgres
public | xwikilistitems | table | postgres
public | xwikilists | table | postgres
public | xwikilock | table | postgres
public | xwikilongs | table | postgres
public | xwikinumberclasses | table | postgres
public | xwikiobjects | table | postgres
public | xwikiproperties | table | postgres
public | xwikislistclasses | table | postgres
public | xwikistatsdoc | table | postgres
public | xwikistatsreferer | table | postgres
public | xwikistatsvisit | table | postgres
public | xwikistringclasses | table | postgres
public | xwikistrings | table | postgres
(28 rows)
Anybody know what is wrong here?
Thanks in advance!
-matt
20:32:48,335 INFO [STDOUT] Hibernate: select xwikidocum0_.XWD_ID as XWD1_0_, xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME as XWD3_0_0_, xwikidocum0_.XWD_LANGUAGE as XWD4_0_0_, xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD5_0_0_, xwikidocum0_.XWD_TRANSLATION as XWD6_0_0_, xwikidocum0_.XWD_DATE as XWD7_0_0_, xwikidocum0_.XWD_CREATION_DATE as XWD8_0_0_, xwikidocum0_.XWD_AUTHOR as XWD9_0_0_, xwikidocum0_.XWD_CREATOR as XWD10_0_0_, xwikidocum0_.XWD_WEB as XWD11_0_0_, xwikidocum0_.XWD_CONTENT as XWD12_0_0_, xwikidocum0_.XWD_ARCHIVE as XWD13_0_0_,xwikidocum0_.XWD_VERSION as XWD14_0_0_, xwikidocum0_.XWD_PARENT as XWD15_0_0_ from xwikidoc xwikidocum0_ where xwikidocum0_.XWD_ID=?
20:32:48,339 INFO [DefaultLoadEventListener] Error performing load command
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiDocument#-1363070189]
at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:118)
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:167)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:79)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:588)
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:575)
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:617)
at com.xpn.xwiki.plugin.TablePlugin.init(TablePlugin.java:82)
at com.xpn.xwiki.plugin.TablePlugin.<init>(TablePlugin.java:53)
at jrockit.reflect.NativeConstructorInvoker.newInstance([Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;J)Ljava.lang.Object;(Unknown Source)
at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:58)
at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:77)
at com.xpn.xwiki.plugin.XWikiPluginManager.<init>(XWikiPluginManager.java:41)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:422)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:397)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
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:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
20:32:48,346 INFO [DBCPConnectionProvider] active: 0 (max: 50) idle: 1(max: 5)
20:32:48,415 INFO [DBCPConnectionProvider] active: 1 (max: 50) idle: 0(max: 5)
Hi,
Problem solved. The reason of the problem was the use of copy/paste from MicrosoftWord with the use of special space character (French unbreakable space)
Regards,
Frederic Aymard
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: mercredi 15 novembre 2006 13:12
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] xwiki error 3021
Hi,
I think this has to do with MySQL5. We had not validated MySQL5.
I think I have recently changed the xwiki.hbm.xml for MySQL5 to use
different hibernate field types.
Now that might require some SQL field changes to fix your database.
Ludovic
Frederic Aymard a écrit :
>
> Hi,
>
> I've been using xwiki for a month now without problems. I use it as an
> internal tool with less than 5 users.
>
> Yesterday I have started to have some problems when saving pages. When
> I write a add text to an existing page or I write a new page I often
> (not always) have the following error:
>
> Error number 3201 in 3: Exception while saving document Projects.xwikiPb
> Wrapped Exception: Could not execute JDBC batch update
> com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document Projects.xwikiPb
> Wrapped Exception: Could not execute JDBC batch update
> at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:540)
> at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:557)
> at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:560)
> at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:445)
> at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
> 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.doPost(ActionServlet.java:415)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> at java.lang.Thread.run(Unknown Source)
>
>
> Wrapped Exception:
>
> java.sql.BatchUpdateException: Data truncation: Data too long for column 'XWD_CONTENT' at row 1
> at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1103)
> at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:853)
> at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
> at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
> at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:57)
> at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:172)
> at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)
> at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:136)
> at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
> at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
> at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
> at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:320)
> at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:86)
> at com.xpn.xwiki.store.XWikiHibernateStore.endTransaction(XWikiHibernateStore.java:350)
> at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:535)
> at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:557)
> at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:560)
> at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:445)
> at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
> 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.doPost(ActionServlet.java:415)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> at java.lang.Thread.run(Unknown Source)
>
> Nonetheless the exception I can edit and view the page. When I edit
> it, I have a similar exception but for the XWD_ARCHIVE column
>
> When I delete the page I have another exception saying that the page
> does not exist even thought it is still displayed
>
> When I restart Tomcat, the page is really deleted.
>
> I am using:
>
> - Tomcat 5.0 (same problems with Tomcat 5.5)
>
> - MySql 5.0 (I check tables for corruption with mysql administrator
> and everything seems fine)
>
> I tried the following to solve my problem without success:
>
> - I already configured xwiki to support large attachments.
>
> - I modified the hibernate.cgf file with the useServerPrepStmts=false
> option
>
> - I tried with mysql 5.0 driver
>
> - I checked for resource usage
>
> Thanks for any help.
>
> Frederic Aymard
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Is there a way to continue the numbered list? For example the result I want
to achieve is something is:
1. Step A
some text goes here
2. Step B
3. Step C
with the wiki syntax below:
1. Step A
some text goes here
1. Step B
1. Step C
would produce
1. Step A
some text goes here
1. Step B
2. Step C
Any ideas?
Thanks
Duke
Hi,
I just got the latest snapshot from the public SVN site and try to build
it via maven. However I keep getting messages like the following:
I am not sure if you guys have run into the same issue. Manually
downloading the jars from these sites seems to be a daunting task.
I also tried to build via ant but I started to get class version mismatch
error. Does xwiki require java 5 now? I am still using java 1.4.2
My 3rd question is whether there are some feature descriptions of the
latest public xwki? There is a feature list in xwiki.org but I am not sure
if they are all available in a specific version. We need to show the
available features in a stable version of xwiki to our clients before they
choose xwiki.
btw, I don't have any problem in building xwiki 0.9.841
Thanks!
-Jimmy
--------------------------------------------
20) com.google:googleapi:jar:xwiki:UNKNOWN
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.google -DartifactId=googleapi \
-Dversion=UNKNOWN -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) com.xpn.xwiki:xwiki-core:jar:0.9-SNAPSHOT
2) com.google:googleapi:jar:xwiki:UNKNOWN
Bonjour,
Je cherche à modifier la taille par défaut des pièces jointes.
Est-ce que quelqu'un peut m'eclaircir à ce sujet.
J'ai edité les fichiers templates "attachement" et "attach" mais à priori ce n'est pas à cet endroit que l'on peut modifier cette valeur.
Merci de votre aide.
Hi All,
Has anyone tried integrating Acegi's SSO and CAS Filter to XWiki?
If so, can i ask for some reference on how this could be done on the XWiki side?
Thank you,
Rodi
In a sane world, this would serve as just one more reason not to click
on the blue 'e'. In my world, however, it threatens to scuttle a
project to re-host an enterprise-wide reference web site, so I'm hoping
someone else has seen this. Considering how little I have to go on, I'm
embarassed to share it with the list, but I'm approaching desparation.
The evidence I have is sketchy, so the characterization is a bit thin,
but here goes:
On XWiki 0.9.840, IE occasionally crashes while reloading a document
after saving it. The save succeeds, and reloading the doc again causes
no problems. I don't yet have a handle on the browser's memory use or
anything characterizing the other docs the users have visited, but it
appears to be unrelated to the specific document. At the moment I'm not
aware of crashes at any other times, so I'm grateful for that much,
being the firmest bit of evidence I've got.
Anyone had any similar experiences that might shed light on the subject?
brain[sic]
Well, here's an interesting bit of news in response to my plea for help
locally from a coworker who is a web developer.
Any clues on where to go to remove this offending bit of code as a test,
or reasons it should be there? Brandon: does this ring any bells?
brain[sic]
-----Original Message-----
...
I know of no clever IE debugging techniques.
In my experience, however, IE's crashes normally occur when loading
embedded objects like applets, Flash, SVG, fonts, etc, or when people do
some unorthodox trickery in CSS or scripting. So when troubleshooting
problems like this, my instinct is to dig through the source to see if
there's anything odd going on.
(Having validating markup and CSS helps this process.)
My first observation is that the page is written in XHTML, and IE
doesn't support XHTML[1]. This isn't normally a problem, necessarily,
if the page is delivered as text/html (as these pages are), because IE
will look at it and treat it as HTML "tag soup", and ignore the non-HTML
XHTML stuff as bad markup to work around.
However, the site is also emitting an <?xml ... ?> prolog at the start
of the page. This has traditionally caused problems with IE in my
experience, because IE isn't sure if it should look at it as a raw XML
document or HTML. This issue is compounded by the fact that the page
isn't well-formed XML at all. (There are HTML-style <BR> tags in there,
for example.)
Hi All,
Is there an existing implementation on creating a new space through xmlrpc?
If not, can i ask for some reference that can guide me in trying to do one?
Thank you,
Rodi
Hi everyone.
I'm looking to use XWiki for our corporate intranet. I would like to authenticate users from our existing database, like it says on this page: http://www.xwiki.org/xwiki/bin/view/AdminGuide/Pluggable+Authentication
It says "Users can be authenticated against custom tables."
Can somebody tell me how to do this? Or do I need to write some custom code?
Thanks.
Sorry if the answer is documented somewhere; I haven't been able to find it.
--
Tim K
I know this has already been covered in earlier discussion but I can't
seem to get round the "An error occured during the registration process
(-1)." for new users.
I have read through the postings and the documentation but have had no joy.
Is it because we are on the wiki farm? We are at http://ukeig.xwiki.com/
Karen
--
Karen Blakeman, UKeiG Management Committee
88 Star Road, Caversham, Berks RG4 5BE, UK
Tel: 0118 947 2256 Int. +44 118 947 2256
Mobile: 07764 936733 Int. +44 7764 936733
Fax: 020 8020 0253 Int. +44 20 8020 0253
Mailto:Karen.Blakeman@rba.co.uk
http://www.rba.co.uk/
If you install xwiki with the supplied postgresql data the user list that
is installed is different from that assumed by the install instructions. It
would be really useful if this could be fixed.
In particular the list of users is:-
XWiki.FabriceMorisseau
XWiki.LudovicDubost
XWiki.MyTestUser
XWiki.MyTestUser3
XWiki.MyTestUser4
XWiki.MyTestUser5
XWiki.MyTestUser6
XWiki.TestUser
The install instructions assume that there is a user called Admin with a
password of admin, but this logon does not work.
Would it be possible to post a new version of the postgresql data on the
website so that users of this DB can follow the supplied instructions?
David
Am I correct to believe that when an XWiki document is deleted, its
history and all memory of its existence goes with it?
That would represent a hole in the auditability/recoverability features;
while it can be limited to appropriate people via the rights system, it
still leaves mysteries requiring access to server logs, at minimum, to
resolve.
brain[sic]
hello!
i think i located the problem of my software. but this leads me into - i think - fundamental questions on handling xwiki from outside.
so far i can initialise a wiki with
this.context = new XWikiContext();
this.context.setDatabase(dbase);
this.xwiki = new XWiki(config, this.context);
from inside the educational platform and am able to create users, groups, documents etc. even logging in of users works - at last no error occurs.
but i'm not able to open a generated document - which would be the goal.
is the way i'm trying to control xwiki from outside right or is there a better way to do that? if its right any help on opening documents would be great!
tia,
florian
-------- Original-Nachricht --------
Datum: Wed, 25 Oct 2006 21:58:50 +0200
Von: divil(a)gmx.at
An: xwiki-users(a)objectweb.org
Betreff: Re: [xwiki-users] XWiki Athentication Integration
hello!
thanks, the information was very useful and helped me a lot!
the authentification via the authenticate method is working - i get back a principal with the name and an exception when i test it with a wrong password.
the problem is that the user still isn't logged in. it seems to me that no cookie is created where username and password is stored - thats why when i klick on the link to open the xwikidocument i'm logged in as xwikiguest.
florian
-------- Original-Nachricht --------
Datum: Wed, 25 Oct 2006 10:36:20 +0200
Von: David Delbecq <delbd(a)oma.be>
An: xwiki-users(a)objectweb.org
Betreff: Re: [xwiki-users] XWiki Athentication Integration
> Hello,
>
> Just as information,
>
> here we needed to authenticate users on the basis of a system account.
> There were specific way to retrieve account informations and specific
> way to check password (it's encrypted).
>
> All we did is cut and paste the existing XWikiAuthService
> implementation, and rewrite the
> public Principal authenticate(String username, String pwd, XWikiContext
> context)
> It was as easy as pickup encrypted passwrod from system, crypt the
> provided user password, compare and return a new SimplePrincipal with
> the username.
>
> divil(a)gmx.at a écrit :
> > hi,
> >
> > I'm still working on the user login from the educational plattform.
> > to be precise I'm stuck with reimplementing checkAuth().
> > when I fill in the username into the context with setUser() and then
> call checkAuth() with the modified context the wiki-page is not accessible.
> but when I set the username directly in the checkAuth() - method e.g. return
> new XWikiUser("test") - the wiki-page is accessible.
> >
> > Could you possibly provide me with a sample implementation of this
> method?
> >
> > Florian
> >
> >
> > Ludovic Dubost wrote:
> >
> >> Hi,
> >>
> >> I would still need more information about how you get the username and
> >> in which context.
> >> request.getParameter() is in the context of the request. Does this mean
> >> that in the environment you are in, everything request contains a
> >> parameter with the username ?
> >> If so then you need to modify checkAuth() and fill in the context with
> >> the username from your request. You don't even need to implement
> >> authenticate since it will be never called if you reimplement checkAuth
> >>
> >> Ludovic
> >>
> >> divil(a)gmx.at a écrit :
> >>
> >>> hi,
> >>> The username is being provided by the education - portal we are
> >>> integrating xwiki into (request.getParam(..). The password is a fixed
> >>> string. The users are set up with these credentials automatically,
> >>> when they are being added to an xwiki group. Thats all working - we
> >>> just haven't been able to figure out ow to log users in then, with
> >>> these same username/password combinations.
> >>>
> >>> florian
> >>>
> >>>
> >>>
> >>>
> >>>> Hi,
> >>>>
> >>>> I'm not sure I understand how you get the username and password from
> >>>> your users..
> >>>>
> >>>> Ludovic
> >>>>
> >>>> divil(a)gmx.at a écrit :
> >>>>
> >>>>
> >>>>> hi,
> >>>>>
> >>>>>
> >>>>> thank you for the answer, but how *could* those two lines look like
> if
> >>>>>
> >>>>>
> >>>> we get the username from the request and combine it with a given
> >>>> password?
> >>>>
> >>>>> the authenticate method which takes username, password and context
> as
> >>>>>
> >>>>>
> >>>> parameter doesn't seem to do what i expect.
> >>>>
> >>>>
> >>>>> florian
> >>>>>
> >>>>>
> >>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>> You'll find some info here
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>
> http://www.xwiki.org/xwiki/bin/view/AdminGuide/Authentication+and+Rights+Ma…
> >>>>
> >>>>
> >>>>
> >>>>>> The authentication service probably needs to be written to handle
> >>>>>> the specificities of your system.
> >>>>>> If you already have information in your request or somewhere you
> >>>>>> might just need to write one or two lines in your authentication
> >>>>>> service.
> >>>>>>
> >>>>>> Ludovic
> >>>>>>
> >>>>>> divil(a)gmx.at a écrit :
> >>>>>>
> >>>>>>
> >>>>>>> Hello,
> >>>>>>> We're currently working on integrating xwiki in an educational
> >>>>>>>
> >>>>>>>
> >>>>>> plattform. That means, we need to provide an xwiki-page for each
> >>>>>>
> >>>>>>
> >>>> course. We have
> >>>>
> >>>>
> >>>>>> retty much all methods laid out and most of it working, the only
> thing
> >>>>>>
> >>>>>>
> >>>> we are
> >>>>
> >>>>
> >>>>>> still not sure about handling is the automatic login, before a user
> >>>>>>
> >>>>>>
> >>>> gets to
> >>>>
> >>>>
> >>>>>> see a specific xwiki-page. Adding users, groups and setting the
> >>>>>> permissions (in the xwiki) is all dealt with already - the only
> thing
> >>>>>>
> >>>>>>
> >>>> that is missing
> >>>>
> >>>>
> >>>>>> is the automatic login.
> >>>>>>
> >>>>>>
> >>>>>>> Is this possible with the existing methods or do we have to write
> >>>>>>> our
> >>>>>>>
> >>>>>> own authentication-service? If so, is there sample code or anything
> >>>>>> you
> >>>>>> could point us to how to proceed?
> >>>>>>
> >>>>>>
> >>>>>>> An option we were contemplating was, posting the login data to the
> >>>>>>>
> >>>>>>>
> >>>>>> actual xwiki login form in the background (similar to what the
> >>>>>>
> >>>>>>
> >>>> curl-library
> >>>>
> >>>>
> >>>>>> provides in php), but this might just be unnecessary, if there is a
> >>>>>>
> >>>>>>
> >>>> certain
> >>>>
> >>>>
> >>>>>> existing method we can utilize for that.
> >>>>>>
> >>>>>>
> >>>>>>> Thanks a lot for your help in advance!
> >>>>>>> Florian
> >>>>>>>
> >>>>>>>
> >>>>
> ------------------------------------------------------------------------
> >>>>
> >>>>
> >>>>>>> --
> >>>>>>> You receive this message as a subscriber of the
> >>>>>>>
> >>>>>>>
> >>>>>> xwiki-users(a)objectweb.org mailing list.
> >>>>>>
> >>>>>>
> >>>>>>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> >>>>>>> For general help: mailto:sympa@objectweb.org?subject=help
> >>>>>>> ObjectWeb mailing lists service home page:
> >>>>>>>
> >>>>>>>
> >>>> http://www.objectweb.org/wws
> >>>>
> >>>>
> >>>>>>>
> >>>>>>>
> >>>>>> --
> >>>>>> Ludovic Dubost
> >>>>>> XPertNet: http://www.xpertnet.fr/
> >>>>>> Blog: http://www.ludovic.org/blog/
> >>>>>> XWiki: http://www.xwiki.com
> >>>>>> Skype: ldubost AIM: nvludo Yahoo: ludovic
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> ------------------------------------------------------------------------
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> You receive this message as a subscriber of the
> >>>>>
> >>>>>
> >>>> xwiki-users(a)objectweb.org mailing list.
> >>>>
> >>>>
> >>>>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> >>>>> For general help: mailto:sympa@objectweb.org?subject=help
> >>>>> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
> >>>>>
> >>>>>
> >>>> --
> >>>> Ludovic Dubost
> >>>> XPertNet: http://www.xpertnet.fr/
> >>>> Blog: http://www.ludovic.org/blog/
> >>>> XWiki: http://www.xwiki.com
> >>>> Skype: ldubost AIM: nvludo Yahoo: ludovic
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> ------------------------------------------------------------------------
> >>>
> >>>
> >>> --
> >>> You receive this message as a subscriber of the
> >>> xwiki-users(a)objectweb.org mailing list.
> >>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> >>> For general help: mailto:sympa@objectweb.org?subject=help
> >>> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
> >>>
> >>>
> >>
> >>
> ------------------------------------------------------------------------
> >>
> >>
> >> --
> >> You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org mailing list.
> >> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> >> For general help: mailto:sympa@objectweb.org?subject=help
> >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >>
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > --
> > You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
>
>
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
--
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Anyone got pointers to help with installing either tinyMCE or the new XWiki implementation on a 0.9.840 XWiki instance? I don't seem to have got the trick of doing it right.
brain[sic]
Hi folks,
Currently trying to setup email sending for our xwiki server, and
following the outline provided at
(http://www.xwiki.org/xwiki/bin/view/Demo/SendMail3); but does not seem
to be functioning correctly for me. On my end, the xwiki server just
goes into an endless loop (like as though it's trying to access a large
chunk of data).
Has anyone set this up on their own local wiki server, and if so are
there any guideline configurations?
As XWiki becomes more popular, hopefully a wide variety of scripts
will become available and easy to install thanks to the new packaging
system. I'm wondering if we need to do anything to ensure scripts
coexist peacefully.
For example, I'm considering installing the Tagging script, but I'm
concerned that its use of window.onload and maybe functions it defines
will clash with other javascript code on the site.
Also, should there be a specific Javascript library that we expect
XWiki scripts to use, so that a page doesn't have to load up several
toolkits just so that different scripts can call their Ajax functions?
Furthermore, AFAIK it's not possible to define namespaces in Velocity.
I assume it's possible several scripts will try to use the same
variable names within the same page, resulting in confusion. Not sure
what workarounds there are for this.
Any thoughts? Am I just being paranoid? How do systems like Google ig
allow many custom widgets on the same page without clashes?
Regards,
Robin.
hi,
I'm still working on the user login from the educational plattform.
to be precise I'm stuck with reimplementing checkAuth().
when I fill in the username into the context with setUser() and then call checkAuth() with the modified context the wiki-page is not accessible. but when I set the username directly in the checkAuth() - method e.g. return new XWikiUser("test") - the wiki-page is accessible.
Could you possibly provide me with a sample implementation of this method?
Florian
Ludovic Dubost wrote:
>
> Hi,
>
> I would still need more information about how you get the username and
> in which context.
> request.getParameter() is in the context of the request. Does this mean
> that in the environment you are in, everything request contains a
> parameter with the username ?
> If so then you need to modify checkAuth() and fill in the context with
> the username from your request. You don't even need to implement
> authenticate since it will be never called if you reimplement checkAuth
>
> Ludovic
>
> divil(a)gmx.at a écrit :
>> hi,
>> The username is being provided by the education - portal we are
>> integrating xwiki into (request.getParam(..). The password is a fixed
>> string. The users are set up with these credentials automatically,
>> when they are being added to an xwiki group. Thats all working - we
>> just haven't been able to figure out ow to log users in then, with
>> these same username/password combinations.
>>
>> florian
>>
>>
>>
>>> Hi,
>>>
>>> I'm not sure I understand how you get the username and password from
>>> your users..
>>>
>>> Ludovic
>>>
>>> divil(a)gmx.at a écrit :
>>>
>>>> hi,
>>>>
>>>>
>>>> thank you for the answer, but how *could* those two lines look like if
>>>>
>>> we get the username from the request and combine it with a given
>>> password?
>>>> the authenticate method which takes username, password and context as
>>>>
>>> parameter doesn't seem to do what i expect.
>>>
>>>> florian
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> You'll find some info here
>>>>>
>>>>>
>>> http://www.xwiki.org/xwiki/bin/view/AdminGuide/Authentication+and+Rights+Ma…
>>>
>>>
>>>>> The authentication service probably needs to be written to handle
>>>>> the specificities of your system.
>>>>> If you already have information in your request or somewhere you
>>>>> might just need to write one or two lines in your authentication
>>>>> service.
>>>>>
>>>>> Ludovic
>>>>>
>>>>> divil(a)gmx.at a écrit :
>>>>>
>>>>>> Hello,
>>>>>> We're currently working on integrating xwiki in an educational
>>>>>>
>>>>> plattform. That means, we need to provide an xwiki-page for each
>>>>>
>>> course. We have
>>>
>>>>> retty much all methods laid out and most of it working, the only thing
>>>>>
>>> we are
>>>
>>>>> still not sure about handling is the automatic login, before a user
>>>>>
>>> gets to
>>>
>>>>> see a specific xwiki-page. Adding users, groups and setting the
>>>>> permissions (in the xwiki) is all dealt with already - the only thing
>>>>>
>>> that is missing
>>>
>>>>> is the automatic login.
>>>>>
>>>>>> Is this possible with the existing methods or do we have to write
>>>>>> our
>>>>> own authentication-service? If so, is there sample code or anything
>>>>> you
>>>>> could point us to how to proceed?
>>>>>
>>>>>> An option we were contemplating was, posting the login data to the
>>>>>>
>>>>> actual xwiki login form in the background (similar to what the
>>>>>
>>> curl-library
>>>
>>>>> provides in php), but this might just be unnecessary, if there is a
>>>>>
>>> certain
>>>
>>>>> existing method we can utilize for that.
>>>>>
>>>>>> Thanks a lot for your help in advance!
>>>>>> Florian
>>>>>>
>>> ------------------------------------------------------------------------
>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the
>>>>>>
>>>>> xwiki-users(a)objectweb.org mailing list.
>>>>>
>>>>>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
>>>>>> For general help: mailto:sympa@objectweb.org?subject=help
>>>>>> ObjectWeb mailing lists service home page:
>>>>>>
>>> http://www.objectweb.org/wws
>>>
>>>>>>
>>>>> --
>>>>> Ludovic Dubost
>>>>> XPertNet: http://www.xpertnet.fr/
>>>>> Blog: http://www.ludovic.org/blog/
>>>>> XWiki: http://www.xwiki.com
>>>>> Skype: ldubost AIM: nvludo Yahoo: ludovic
>>>>>
>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the
>>>>
>>> xwiki-users(a)objectweb.org mailing list.
>>>
>>>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
>>>> For general help: mailto:sympa@objectweb.org?subject=help
>>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>>>
>>> --
>>> Ludovic Dubost
>>> XPertNet: http://www.xpertnet.fr/
>>> Blog: http://www.ludovic.org/blog/
>>> XWiki: http://www.xwiki.com
>>> Skype: ldubost AIM: nvludo Yahoo: ludovic
>>>
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> You receive this message as a subscriber of the
>> xwiki-users(a)objectweb.org mailing list.
>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
>> For general help: mailto:sympa@objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
Another feature for editing which is sorely missed even by users of
non-WYSIWYG editors is the ability to search the text of a textarea.
When an XWiki document gets long, it's really painful when testing out
subtle changes or scripting which requires me to keep previewing while
editing, and going back to the edit screen which has now reset the field
to the top.
At the least, the ability to put line numbering in would be useful. I'm
planning to put up a bookmarklet to do that, except that it may
interfere with any onchange-triggerred scripting.
brain[sic]