Dear all,
I tried to used Jabber macro on my server like this :
#jabber("moghrabi(a)jabber.objectweb.org")
It seems not working on the ObjectWeb server.
We use Wildfire 2.6.
do you know why ?
Regards
--
Xavier MOGHRABI - Consortium ObjectWeb
Jabber: moghrabi(a)jabber.objectweb.org
Phone: +33 4 76 61 52 35
Hi, I've been asking too much questions today, but I ran into the wysiwyg
bug and everything is nuts in my wiki.
1. I can't edit the categories in my blog. I click on edit categories, but
all I get is a blank box. I also can't delete the blank boxes I have added.
2. I want to change the color blue, for color green on the title 1 of the
wiki, can this be done. I have clicked on the new skins link, but it seems
the page doesn't exist.
Thanks,
O.
Hi, i was trying to edit my menu and I have made a mistake somewhere cause I
got this in the sidebar...
Error number 4001 in 4: Error while parsing velocity page
Main.WebHomeWrapped Exception: Encountered "0" at line 5, column 53.
Was expecting one
of: "," … ")" … <WHITESPACE> ...
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page Main.WebHome Wrapped Exception: Encountered "0" at line 5,
column 53. Was expecting one of: "," … ")" … <WHITESPACE> ...
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
XWikiVelocityRenderer.java:152) at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(
XWikiRenderingEngine.java:204) at com.xpn.xwiki.XWiki.include(XWiki.java:2181)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:541) at
sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(
Method.java:585) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(
UberspectImpl.java:267) at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(
ASTReference.java:175) at
org.apache.velocity.runtime.parser.node.ASTReference.render(
ASTReference.java:220) at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(
ASTIfStatement.java:70) at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(
ASTIfStatement.java:89) at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
XWikiVelocityRenderer.java:244) at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
XWikiVelocityRenderer.java:146) at com.xpn.xwiki.XWiki.parseTemplate(
XWiki.java:985) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:98) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148) 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:689) 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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:876) at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.apache.velocity.exception.ParseErrorException: Encountered "0" at line
5, column 53. Was expecting one of: "," … ")" … <WHITESPACE> ...
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
XWikiVelocityRenderer.java:214) at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
XWikiVelocityRenderer.java:146) at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(
XWikiRenderingEngine.java:204) at com.xpn.xwiki.XWiki.include(XWiki.java:2181)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:541) at
sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(
Method.java:585) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(
UberspectImpl.java:267) at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(
ASTReference.java:175) at
org.apache.velocity.runtime.parser.node.ASTReference.render(
ASTReference.java:220) at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(
ASTIfStatement.java:70) at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(
ASTIfStatement.java:89) at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
XWikiVelocityRenderer.java:244) at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
XWikiVelocityRenderer.java:146) at com.xpn.xwiki.XWiki.parseTemplate(
XWiki.java:985) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:98) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148) 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:689) 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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:876) at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684) at java.lang.Thread.run(
WHAT IS THIS, CAN YOU GUYS PLEASE HELP ME FIX IT?
THANKS.
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(RequestPr
ocessor.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(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.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:1
48)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.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(DelegatingState
ment.java:294)
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingState
ment.java:294)
at
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:5
7)
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(DefaultFlushEv
entListener.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(XWikiHibernateSto
re.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(RequestPr
ocessor.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(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.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:1
48)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.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
Hi All,
I am currently looking to use an object of this type to designate users
in my class. Getting the users is not much of a problem; however what
is a bit of a problem is how I want to use the user list in my select
element: I'd like to show user's firstname and lastname BUT store only
the users login (iow use the .value and .text assignment seperately in
the generated select list). This new class would normally appear
multiple times in another class (similar to a Comment object but with
selectable users).
Has anyone done something similar, or got any idea's on an alternative?
[current query used in the object:
select firstname.value || ' ' || lastname.value from BaseObject obj,
StringProperty firstname, StringProperty lastname where
obj.className='XWiki.XWikiUsers' and firstname.id.id=obj.id and
lastname.id.id=obj.id and firstname.name='first_name' and
lastname.name='last_name' and firstname.value <> 'XWiki' order by
firstname.value
]
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
Hi
Is there a way to add all groovy function definition to a specific page,
as we do for velocity macros?
I can't find an example for that. Thank you.
Marc Lijour
Hi
I am sure somebody encountered the same problem before. I am working on
long documents, this is why I split them in 3 or 4 parts. Later on, I
assemble them to print them of to view them (includeTopic() is good for
that).
But now I would like to get a diff between a complete version of an old
document and a new one. What would be the simplest way to achieve this
result in your opinion?
I don't know the history api well enough to think of something
definitive. But what if I could list all revision dates of all the parts
documents twice in 2 columns, and then pick the old in the left and the
new date in the right (eg. as radio buttons)? I would see the combined
history computed this way:
- compute rev date for each part document
. If the date matches keep it, otherwise use the next existing
date in the timeline
- generate the "old" document by merging part documents for the
respective dates computed above
- in moreless the same way, generate the new document
- use xwiki $doc.getContentDiff(old, new) to generate the big diff
Alternatively,
- combine the history pages for each one of the part document as an
interface
- modify (reuse) the xwiki code that creates the page above to have the
user choose a revision date for each one of the parts. Then the user
clicks a big button which calls the existing diff mechanism for each
parts and then assemble the diff for the user to see.
Is that doable?
Marc Lijour
Hi
Is there a way to embed groovy code into a velocity macro?
I am trying to do some string manipulation with groovy pattern
matching/replacement. If there is a better way let me know!
Thank you.
Marc Lijour
P
Avez-vous vraiment besoin d'imprimer ce courriel?
Do you really have to print this email?
Hi
I have been using a wiki running on jetty and hsqldb. Now, I would like to move the data (the whole wiki) to a stable repository. I have been thinking of MySQL.
What would be the easiest route to migrate the wiki?
Marc Lijour
Agent d'éducation
Direction des politiques et programmes
d'éducation en langue française
Ministère de l'Éducation
8e étage, édifice Mowat
900, rue Bay
Toronto (Ontario) M7A 1L2
Téléphone : 416 314-3501
Télécopieur : 416 325-2156
P
Avez-vous vraiment besoin d'imprimer ce courriel?
Do you really have to print this email?
<<Lijour, Marc (EDU).vcf>>
hi,
has anyone successfully used the renameDocument method ?
i experience odd errors when using it. when i rename a page
the attachments disappear and you get a velocity exception. Before
you delete such a corrupted/renamed page you have to delete the
attachments beforehand, otherwise you'll get a hibernate
exception.
org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1
greetings,
kris
Hi,
My DB guys got the mysql database across and now when I try to access it, it displays part of the page with errors in the middle. The error starts with:
Error number 3202 in 3: Exception while reading document Main.WebHome
Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false
for more info) setter of com.xpn.xwiki.doc.XWikiDocument.setParent
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document Main.WebHomeand in the xwiki.log file I get:
XWikiHibernateStore:updateSchema:172 - Schema update deactivated for wiki xwiki
ORA-00932: inconsistent datatypes: expected - got CLOB
Makes no difference if I use your xwiki.hbm.xml or the default one. How can I find out which table/field its having problems with?
Vic
----- Original Message ----
From: Victor Orgos <v_orgos(a)yahoo.com.au>
To: xwiki-users(a)objectweb.org
Sent: Friday, 24 November, 2006 5:41:46 PM
Subject: Re: [xwiki-users] xwiki & oracle 10g R2
Thanks for clearing that up John. I got our Oracle/SQL guru involved and he tells me that there is a program to convert the MySQL data to Oracle. So we'll give that a go.
Regards,
Vic
----- Original Message ----
From: "Turner, John" <John.Turner3(a)team.telstra.com>
To: xwiki-users(a)objectweb.org
Sent: Friday, 24 November, 2006 1:37:36 PM
Subject: RE: [xwiki-users] xwiki & oracle 10g R2
Vic,
You need to seed your database with the data that is shipped for the
XWiki MySQL database. If you haven't done that it could explain why you
get nothing when you fire up the
application. The seed data includes
stuff like the admin user and admin pages, etc.
There is a database script that I think you can download separately from
the XWiki site. It will insert the seed data into a MySQL database.
You some how need to get that data into your Oracle DB. I had to load
the data into a MySQL database and then write a program that copied the
data to my Oracle 9i DB (unfortunately I can't release my program, or a
copy of my data to you). You'll have to come up with some strategy for
doing something similar - maybe you can edit the script to make it
insert into a 10g DB?
One other point is that the Oracle 9i JDBC thin driver had a limitation
on the size of LOBs it could handle - that's why I used the thick
driver. You need an Oracle client install on your application server in
order to use the thick driver. This may no longer be an issue
with the
Oracle 10g JDBC driver.
Regards, John
________________________________
From: Victor Orgos [mailto:v_orgos@yahoo.com.au]
Sent: Friday, 24 November 2006 10:52 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] xwiki & oracle 10g R2
Hi,
I am attempting to get xwiki (version 0-9-840) to work with Oracle 10g
R2 and I'm stuck.
My DBA has created the user and loaded the schema. I'm using the
ojdbc14.jar that comes with this version of Oracle. When I try to access
http://localhost:8080/xwiki/bin/view/Main/WebHome with the following
settings:
<property
name="connection.url">jdbc:oracle:thin:@localhost:1521:vicdev</property>
<property name="connection.username">wiki</property>
<property
name="connection.password">itadmin</property>
<property
name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property
>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvi
der</property>
<property name="connection.pool_size">50</property>
<property name="statement_cache.size">50</property>
<property name="dialect">org.hibernate.dialect.OracleDialect</property>
it fails with the following in the logs:
12:32:11,861 WARN http-8080-Processor25
RequestUtils:createActionForm:177 - No FormBeanConfig found under 'view'
12:32:13,968 WARN http-8080-Processor25
http://localhost:8080/xwiki/bin/view/XWiki/XWikiUsers
Configurator:configure:126 - No c
onfiguration found. Configuring ehcache from ehcache-failsafe.xml
found
in the classpath: file:/usr/local/jakarta-tomcat-5.0.28/work
/Catalina/localhost/xwiki/loader/ehcache-failsafe.xml
12:32:16,657 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/XWiki/XWikiUsers
XWikiHibernateStore:updateSchema:
177 - Schema update for wiki xwiki
12:32:19,766 WARN http-8080-Processor25
http://localhost:8080/xwiki/bin/view/XWiki/XWikiUsers
JDBCExceptionReporter:logExceptio
ns:71 - SQL Error: 932, SQLState: 42000
12:32:19,768 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/XWiki/XWikiUsers
JDBCExceptionReporter:logExceptio
ns:72 - ORA-00932: inconsistent datatypes: expected - got CLOB
When I saw the ORA-00932
error, I found John Turner's String2 java class
and configuration files in an earlier thread. I've since compiled the
class and created a jar which I've placed in WEB-INF/lib/ directory.
This didn't work and I got an error about the connection URL
<property
name="connection.url">jdbc:oracle:oci:@localhost:1521:vicdev</property>
I changed this back to thin instead and now xwiki can connect
successfully to the database.
BUT nothing happens! Browser says loading and nothing much else happens.
Its very frustrating. I've been trying to get this to work for the last
4 days with no luck.
- Do I need to make any configuration changes to Tomcat after
installation?
- There has been talk in the list about importing a MySQL dump into
Oracle to get this working, but no mention of this in the xwiki.org
site.
I'd appreciate any help to get this
working.
Regards,
Vic
Send instant messages to your online friends
http://au.messenger.yahoo.com
--
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
Send instant messages to your online friends http://au.messenger.yahoo.com
--
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
Send instant messages to your online friends http://au.messenger.yahoo.com
Hello,
my xwiki system has several documents with incorrect names
eg.: A.B.C.index should be A.B.D.index
which datafields (and what tables) do i have to change in order to
achieve a page move? i tried to modify the xwd_fullname, xwd_web,
xwd_parent and xwd_name columns in the XWIKIDOC table but it doesnt
work. I also checked the data within XWIKILINKS.
I was also unable to determine where xwiki get its document ids (XWD_ID)
at startup. Maybe someone could point me to the correct sources :)
can somebody help me?
g,
kris
Thanks for clearing that up John. I got our Oracle/SQL guru involved and he tells me that there is a program to convert the MySQL data to Oracle. So we'll give that a go.
Regards,
Vic
----- Original Message ----
From: "Turner, John" <John.Turner3(a)team.telstra.com>
To: xwiki-users(a)objectweb.org
Sent: Friday, 24 November, 2006 1:37:36 PM
Subject: RE: [xwiki-users] xwiki & oracle 10g R2
Vic,
You need to seed your database with the data that is shipped for the
XWiki MySQL database. If you haven't done that it could explain why you
get nothing when you fire up the application. The seed data includes
stuff like the admin user and admin pages, etc.
There is a database script that I think you can download separately from
the XWiki site. It will insert the seed data into a MySQL database.
You some how need to get that data into your Oracle DB. I had to load
the data into a MySQL database and then write a program that copied the
data to my Oracle 9i DB (unfortunately I can't release my program, or a
copy of my data to you). You'll have to come up with some strategy for
doing something similar - maybe you can edit the script to make it
insert into a 10g DB?
One other point is that the Oracle 9i JDBC thin driver had a limitation
on the size of LOBs it could handle - that's why I used the thick
driver. You need an Oracle client install on your application server in
order to use the thick driver. This may no longer be an issue with the
Oracle 10g JDBC driver.
Regards, John
________________________________
From: Victor Orgos [mailto:v_orgos@yahoo.com.au]
Sent: Friday, 24 November 2006 10:52 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] xwiki & oracle 10g R2
Hi,
I am attempting to get xwiki (version 0-9-840) to work with Oracle 10g
R2 and I'm stuck.
My DBA has created the user and loaded the schema. I'm using the
ojdbc14.jar that comes with this version of Oracle. When I try to access
http://localhost:8080/xwiki/bin/view/Main/WebHome with the following
settings:
<property
name="connection.url">jdbc:oracle:thin:@localhost:1521:vicdev</property>
<property name="connection.username">wiki</property>
<property name="connection.password">itadmin</property>
<property
name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property
>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvi
der</property>
<property name="connection.pool_size">50</property>
<property name="statement_cache.size">50</property>
<property name="dialect">org.hibernate.dialect.OracleDialect</property>
it fails with the following in the logs:
12:32:11,861 WARN http-8080-Processor25
RequestUtils:createActionForm:177 - No FormBeanConfig found under 'view'
12:32:13,968 WARN http-8080-Processor25
http://localhost:8080/xwiki/bin/view/XWiki/XWikiUsers
Configurator:configure:126 - No c
onfiguration found. Configuring ehcache from ehcache-failsafe.xml found
in the classpath: file:/usr/local/jakarta-tomcat-5.0.28/work
/Catalina/localhost/xwiki/loader/ehcache-failsafe.xml
12:32:16,657 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/XWiki/XWikiUsers
XWikiHibernateStore:updateSchema:
177 - Schema update for wiki xwiki
12:32:19,766 WARN http-8080-Processor25
http://localhost:8080/xwiki/bin/view/XWiki/XWikiUsers
JDBCExceptionReporter:logExceptio
ns:71 - SQL Error: 932, SQLState: 42000
12:32:19,768 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/XWiki/XWikiUsers
JDBCExceptionReporter:logExceptio
ns:72 - ORA-00932: inconsistent datatypes: expected - got CLOB
When I saw the ORA-00932 error, I found John Turner's String2 java class
and configuration files in an earlier thread. I've since compiled the
class and created a jar which I've placed in WEB-INF/lib/ directory.
This didn't work and I got an error about the connection URL
<property
name="connection.url">jdbc:oracle:oci:@localhost:1521:vicdev</property>
I changed this back to thin instead and now xwiki can connect
successfully to the database.
BUT nothing happens! Browser says loading and nothing much else happens.
Its very frustrating. I've been trying to get this to work for the last
4 days with no luck.
- Do I need to make any configuration changes to Tomcat after
installation?
- There has been talk in the list about importing a MySQL dump into
Oracle to get this working, but no mention of this in the xwiki.org
site.
I'd appreciate any help to get this working.
Regards,
Vic
Send instant messages to your online friends
http://au.messenger.yahoo.com
--
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
Send instant messages to your online friends http://au.messenger.yahoo.com
Hi,
I am attempting to get xwiki (version 0-9-840) to work with Oracle 10g R2 and I'm stuck.
My DBA has created the user and loaded the schema. I'm using the ojdbc14.jar that comes with this version of Oracle. When I try to access http://localhost:8080/xwiki/bin/view/Main/WebHome with the following settings:
<property name="connection.url">jdbc:oracle:thin:@localhost:1521:vicdev</property>
<property name="connection.username">wiki</property>
<property name="connection.password">itadmin</property>
<property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">50</property>
<property name="statement_cache.size">50</property>
<property name="dialect">org.hibernate.dialect.OracleDialect</property>
it fails with the following in the logs:
12:32:11,861 WARN http-8080-Processor25 RequestUtils:createActionForm:177 - No FormBeanConfig found under 'view'
12:32:13,968 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/XWiki/XWikiUsers Configurator:configure:126 - No c
onfiguration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: file:/usr/local/jakarta-tomcat-5.0.28/work
/Catalina/localhost/xwiki/loader/ehcache-failsafe.xml
12:32:16,657 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/XWiki/XWikiUsers XWikiHibernateStore:updateSchema:
177 - Schema update for wiki xwiki
12:32:19,766 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/XWiki/XWikiUsers JDBCExceptionReporter:logExceptio
ns:71 - SQL Error: 932, SQLState: 42000
12:32:19,768 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/XWiki/XWikiUsers JDBCExceptionReporter:logExceptio
ns:72 - ORA-00932: inconsistent datatypes: expected - got CLOB
When I saw the ORA-00932 error, I found John Turner's String2 java class and configuration files in an earlier thread. I've since compiled the class and created a jar which I've placed in WEB-INF/lib/ directory. This didn't work and I got an error about the connection URL
<property name="connection.url">jdbc:oracle:oci:@localhost:1521:vicdev</property>
I changed this back to thin instead and now xwiki can connect successfully to the database.
BUT nothing happens! Browser says loading and nothing much else happens.
Its very frustrating. I've been trying to get this to work for the last 4 days with no luck.
- Do I need to make any configuration changes to Tomcat after installation?
- There has been talk in the list about importing a MySQL dump into Oracle to get this working, but no mention of this in the xwiki.org site.
I'd appreciate any help to get this working.
Regards,
Vic
Send instant messages to your online friends http://au.messenger.yahoo.com
Hi,
Ok, many thanks, I understand better the lot of strange errors I got ... ;)
Jérémie
> -----Original Message-----
> From: jeremi23(a)gmail.com [mailto:jeremi23@gmail.com] On
> Behalf Of jeremi joslin
> Sent: jeudi 23 novembre 2006 10:21
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] Dates and Groovy
>
> hi,
> this is not groovy. in groovy, you don't have to put a $ in
> front of a variable. Because velocity is the first parser to
> render the page, the code $xwiki... is executed.
>
> your script should be like this :
> <%
> def timestamp = xwiki.formatDate(xwiki.getCurrentDate(),"yyyyMM")
> def oldtime = xwiki.getDate().getTime()-(1000*60*60*24*30)
> def olddate = new java.util.Date(oldtime) def oldtimestamp =
> xwiki.formatDate(olddate, "yyyyMM") %>
>
>
> jeremi
>
> On 11/23/06, BOUSQUET Jeremie <Jeremie.BOUSQUET(a)gemalto.com> wrote:
> >
> >
> > Sorry, I forgot to tell that I'm using a local installation
> of xwiki
> > 0.9.840
> >
> > BR
> > Jérémie
> >
> >
> > ________________________________
> > From: BOUSQUET Jeremie [mailto:Jeremie.BOUSQUET@gemalto.com]
> > Sent: mercredi 22 novembre 2006 17:31
> > To: xwiki-users(a)objectweb.org
> > Subject: [xwiki-users] Dates and Groovy
> >
> >
> >
> > Hello,
> >
> > I'm having a hard time manipulating Date objects in Groovy
> > implementation ...
> > I basically want to get a timestamp of a month ago. For
> example I get
> > a timestamp "200611" for now, and I want to retrieve the
> "200610" string.
> >
> > This is what I'm doing:
> >
> > <%
> > timestamp =
> > $xwiki.formatDate($xwiki.getCurrentDate(),"yyyyMM")
> > oldtime = $xwiki.getDate().getTime()-(1000*60*60*24*30)
> > def olddate = new java.util.Date(oldtime) oldtimestamp =
> > $xwiki.formatDate(olddate, "yyyyMM") %>
> >
> > olddate contains a modified date (maybe the computation is
> wrong but
> > for now it's not my problem). I get an error on last line, a
> > NullPointerException occurring in the formatDate method.
> But I logged
> > that olddate is not null (it contains a Date), so I don't really
> > understand from where would come the NullPointerException ?????
> >
> > Many thanks in advance,
> >
> > Jérémie
> >
> > --
> > 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
> >
> >
> >
>
>
> --
> jeremi
>
Hi,
I am new to XWiki and I cannot find some features which I know from MediaWiki.
Please, can you give me a hint whether these features exist in XWiki?
1) How can I _directly_ jump to a page which name I know? If I enter a
pagename into the search field, a full text search is done and I get a
lot of hits.
2) Are umlauts (e. g. "ä", which is ä) in pagenames possible?
3) Can I have redirects to another page (not URLs)? Like #REDIRECT [[pagename]]
in MediaWiki.
4) How do categories work? Like [[Category:catname]] in MediaWiki.
5) Can I edit just paragraphs/chapters of a page, instead of the whole page?
Like in MediaWiki ... ;-)
6) Is there a preview function to check the layout of a page before saving it?
Thanks
Roland
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
This is also a show stopper we faced. Is this a bug that will be fixed or
it is suppose to be like this?
Thanks!
-Jimmy
----- Original Message -----
From: Duke Tantiprasut
To: xwiki-users(a)objectweb.org
Sent: Wednesday, November 15, 2006 5:43 PM
Subject: [xwiki-users] Continuing numbered list
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
--------------------------------------------------------------------------------
--
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
Hi,
I'd like to test the latest version of xwiki from subversion repository but I have a big problem. I'm behind a proxy firewall where only port 80 is open for access to the internet. So I can't connect to the svn server. Is there any other possibilty? Maybe a http server to connect?
Best regards
Benjamin
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Sorry, I forgot to tell that I'm using a local installation of xwiki 0.9.840
BR
Jérémie
________________________________
From: BOUSQUET Jeremie [mailto:Jeremie.BOUSQUET@gemalto.com]
Sent: mercredi 22 novembre 2006 17:31
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Dates and Groovy
Hello,
I'm having a hard time manipulating Date objects in Groovy implementation ...
I basically want to get a timestamp of a month ago. For example I get a timestamp "200611" for now, and I want to retrieve the "200610" string.
This is what I'm doing:
<%
timestamp = $xwiki.formatDate($xwiki.getCurrentDate(),"yyyyMM")
oldtime = $xwiki.getDate().getTime()-(1000*60*60*24*30)
def olddate = new java.util.Date(oldtime)
oldtimestamp = $xwiki.formatDate(olddate, "yyyyMM")
%>
olddate contains a modified date (maybe the computation is wrong but for now it's not my problem). I get an error on last line, a NullPointerException occurring in the formatDate method. But I logged that olddate is not null (it contains a Date), so I don't really understand from where would come the NullPointerException ?????
Many thanks in advance,
Jérémie
John,
I am a complete newbie as far as java/tomcat is concerned and was wondering what do you do with the string2.java file? Does it need to be copied to a specific location?
in xwiki.hbm.xml you made a note saying
20.02.2006; JTurner; com.nobody.xwiki.String2 renamed to
com.nobody.hibType.String2. (String2 is now in xwiki-hibType.jar
- was previously in string2.jar).
I don't have this jar file.
Thanks
Vic
Hello,
I'm having a hard time manipulating Date objects in Groovy implementation ...
I basically want to get a timestamp of a month ago. For example I get a timestamp "200611" for now, and I want to retrieve the "200610" string.
This is what I'm doing:
<%
timestamp = $xwiki.formatDate($xwiki.getCurrentDate(),"yyyyMM")
oldtime = $xwiki.getDate().getTime()-(1000*60*60*24*30)
def olddate = new java.util.Date(oldtime)
oldtimestamp = $xwiki.formatDate(olddate, "yyyyMM")
%>
olddate contains a modified date (maybe the computation is wrong but for now it's not my problem). I get an error on last line, a NullPointerException occurring in the formatDate method. But I logged that olddate is not null (it contains a Date), so I don't really understand from where would come the NullPointerException ?????
Many thanks in advance,
Jérémie
Hi there,
I've just installed Xwiki in local to try it out, and i'd like to customize the theme.
Ludovic said in a (very) old post that you can create your own new skin by creating a "skins/newskin" folder next to "skins/default" folder, putting in it all the template files and css files (coming from "skins/default") that you need to modify and modifying them.
Then watching the result by using "?skin=newskin" or turning it on in the preferences.
So i did this way, and it works well when modifying the templates structure(ie: header.vm).
But i got some trouble as soon as it uses getSkinFile() which is supposed to call the file between () with its path (am i wrong?): it always call the file from the default skin folder (while it uses the header.vm from newskin folder :/ ).
So i don't manage to call my own logo or my modified style css from my "newskin" folder. Should'nt it automatically switch to newskin folder path since i use newskin skin in my preferences?
Where am i wrong?
I know i could modify the skin via the edit object.. and so on but i'm not comfortable with that approach and i'd prefer to be able to gather all the skin files in hard in a same folder.
Thanks in advance
Nicolas
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]
Heya Folks,
Has anyone succeeded in setting up XWiki using mod_proxy_ajp.
With the default setup you get the following base URL for the wiki:
http://localhost.localdomain:8080/xwiki/bin/view/Main/WebHome
I defined a CNAME for the machine on which xwiki is installed and want to use that as base URL for the wiki:
http://xwiki.localdomain
The following at least shows the XWiki Installation page, but none of the wiki pages:
<VirtualHost xwiki.lcoaldomain:80>
ServerName xwiki.localdomain
ProxyRequests On
<Proxy http://xwiki.localdomain/*>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://xwiki.localdomain:8080
ProxyPassReverse / http://xwiki.localdomain:8080
<Location />
Order allow,deny
Allow from all
</Location>
</VirtualHost>
How to i get this setup so the wiki pages are shown as well?
Mazzel,
Martijn.
Hi,
We have currently some work undergoing on the WYSIWYG Editor by Nam.
http://jira.xwiki.org/jira/browse/XWIKI-382
We would love some testers and get feedback about it. To test it on your
installation, you need to replace the tiny_mce and wiki_editor
directories with the one from the attachment on jira.
Here is currently my feedback about the editor:
- The style does not switch to standard text when you hit enter after a
title (that's a behavior that would be great)
- the window size is not good for the table window
- If you finish a bloc in a table with a carriage return and an empty
line the conversion fails. Here is an example of that failure.
{table}
Title 1|Title 2
abcd |abcd\\
{table}
- an empty line in a table fails to convert to wysiwyg from the wiki syntax
{table}
|
{table}
- titles should not be allowed in list
- there should be a standard text button (first item in the title list)
- windows are too slow to come up
- translations appear after a while in the windows
- clicking on an image and then the image button does not retrieve the
current image parameters.
- you need to find a way to center an image (the text 'center' as the
alignement info could add a <div align='center'> tag).
- xwiki should find the windows size ratio of an image and/or explain
to the user that setting up only the width or the height will take care
of preserving the ratio
- font size, color, and type should be changeable
- other improvements would be predefined and customizable styles in the
editor
Ludovic
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Hello,
I upgrade my xwiki from 0.9.840 (tomcat 4) to 0.9.1252 under tomcat 5.5.
More or less it is running. But three things are not as before:
1. If I have a document called for example 'Doc.WebHome' the url in the
generated html side is then '.../Doc/' without 'WebHome'. Is this a bug
or a feature?
2. I get many velocity error messages like
Velocity [error] RHS of #set statement is null. Context will not be
modified. [line 6, column 1]
What kind of log4j config line have I to do, to get more information,
what's wrong? Currently I use the default skin!
3. If I go to a document (click on a link;-)) the whole document is
shown, but after that the browser shows an active connection and is
working several seconds before its finnished. This irritates a little
bit and I don't see any reason why this happen. Has anyone see this
behaviour by yourself?
Thanks for your time!
Bye
Frank
--
Dipl. Inform. Frank Häfemeier <frank(a)haefemeier.net>
----------------------------------------------------
If this meeting does get set up, is it possible to set up a phone conference number so I could participate(as in listen in :-)? I am on the East Coast. I have recently joined this group and am interested in contributing when I can find some time. Since I have just recently joined this group (and haven't even built the latest xwiki myself yet) I might not have a lot of useful things to contribute, but I might be able to learn something from the meeting.
We are using xwiki here (at Bear Stearns) for a couple of projects. I was thinking it would be nice to have the following features (and am going to begin working on these one of these days :-))
- full rich text editor for editing pages
- menu items to add new tab (space), and new page
- a dashboard like home page where people can add some spaces to their Favourites
- a default home page and what's new for every new space (tab)
Quick introduction of myself:
- went to school in India
- started my career here in Mountain View with Sun
- went to work for cc:Mail which became Lotus which became IBM
- came over to the East Coast and started consulting in 1994
- started converting slowly from C/C++ to Java/J2EE
- did some very cool stuff during the .COM era (a bunch of web based financial apps including stock trading, and IPO for NDB which was bought by Deutche Bank, portfolio management for Smart Money magazine's web site, online Stock trading apps for Wells Fargo)
- am now working at Bear Stearns in Architecture Office
Thanks
Anil
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Wednesday, October 18, 2006 10:57 AM
To: xwiki-dev(a)objectweb.org
Cc: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-dev] Re: [xwiki-users] XWiki Silicon Valley Meetup this week - Oct 16 to Oct 21st ?
After rethinking it, it seems that getting from Santa Cruz to SF in the
evening is going to be an issue for us.
Since our advertisement of this meetup is limited and there are not too
many people, we should plan for cancelling it unless there are many
peoples showing interest today.
We can have a separate conversation about clustering.. My skype is
'ldubost'.
Ludovic
Dave Mangot a écrit :
> Ludovic Dubost wrote:
> > Maybe it could be possible to organize an XWiki Meetup sometime this
>> week if somebody can host us.
>> We could talk about what's currently happening on XWiki, XWiki's
>> future, how XWiki is currently used and what we could improve.
>> It could include any type of users XWiki. It could last a few hours
>> after work time one evening.
>
>> Anybody interested and/or able to host the meetup ?
>
> Ludovic,
>
> We would be happy to host a Meetup in our offices in San
> Francisco. We are very close to Hwys 101 and 280. We have a large
> conference room with a projector if needed. We use Xwiki for our
> Intranet. We also write Java clustering software so we'd be
> interested in hearing about how you clustered Xwiki and what the
> future directions are.
>
> All would be welcome. We'd propose Thursday night if that's
> amenable to everyone else. Let me know.
>
> Cheers,
>
> -Dave
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-dev(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-dev-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
***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************
All,
I was trying to find if there was a work around for the double rendering of the {pre} tag. I did find archive topic "{pre} tags not working" and it reference a Blog entry however I could not find it.
Here is my problem and I assume it is the same thing.
I have an inline form I am editing (xwiki class) and in the SheetClass I am displaying the fields and the values (it is an faq). However, whenever I display the textarea that contains the answer and it contains {pre} tags they never show up. And it messes up the formating if you save it after you click edit.
However,
...
Answer:
$doc.display('answer', 'edit', $obj)
...
Thanks,
Tony Nuzzi
With Jeremi, we are visiting Silicon Valley thanks to Google organizing
a Summer of Code Mentor Meetup.
We will be staying one week until December 22nd.
Maybe it could be possible to organize an XWiki Meetup sometime this
week if somebody can host us.
We could talk about what's currently happening on XWiki, XWiki's future,
how XWiki is currently used and what we could improve.
It could include any type of users XWiki. It could last a few hours
after work time one evening.
We will be staying a little out of town (Santa Cruz) but we have a car
and can move to the valley in the evenings.
We will also be back on Friday evening somewhere around Mountain View.
The Meetup could also be saturday morning.
Anybody interested and/or able to host the meetup ?
Ludovic
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
This works for windows, I tried, but will this work for linux?
cheers
anurag chitlangia
To Err is Human, to forgive is not COMPANY policy!
.- -. ..- .-. .- --.
-----Original Message-----
From: Artem Melentyev [mailto:melenartem@yandex.ru]
Sent: Wednesday, October 18, 2006 3:36 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] how to move xwiki port to 80
Anurag Chitlangia wrote:
> Currently my tomcat is pointing to 8080 port
>
> And I want it to be on 80 port. Any clues as how can I do it!
Change in tomcat/conf/server.xml
<Connector port="8080" ...
to
<Connector port="80" ...
and run tomcat on user root (administrator)
--
Artem Melentyev, UralSU, CS401
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
In linux, there is no difference to windows.
There could be a problem if you have a web server running on
the same machine.
Bye
Frank
>
>This works for windows, I tried, but will this work for linux?
>
>
>cheers
>anurag chitlangia
>To Err is Human, to forgive is not COMPANY policy!
>.- -. ..- .-. .- --.
>
>-----Original Message-----
>From: Artem Melentyev [mailto:melenartem@yandex.ru]
>Sent: Wednesday, October 18, 2006 3:36 PM
>To: xwiki-users(a)objectweb.org
>Subject: Re: [xwiki-users] how to move xwiki port to 80
>
>Anurag Chitlangia wrote:
>> Currently my tomcat is pointing to 8080 port
>>
>> And I want it to be on 80 port. Any clues as how can I do it!
>Change in tomcat/conf/server.xml
><Connector port="8080" ...
>to
><Connector port="80" ...
>
>and run tomcat on user root (administrator)
>
>--
> Artem Melentyev, UralSU, CS401
>
>
>This message and the information contained herein is proprietary and
>confidential and subject to the Amdocs policy statement,
>you may review at http://www.amdocs.com/email_disclaimer.asp
>
>
>
>--
>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
Currently my tomcat is pointing to 8080 port
And I want it to be on 80 port. Any clues as how can I do it!
cheers
anurag chitlangia
To Err is Human, to forgive is not COMPANY policy!
.- -. ..- .-. .- --.
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
Hi,
I am trying to get XWiki installed with SQL Server for the first time. When I try to access WebHome...it gives me this error
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.XWikiUsers
Wrapped Exception: Error number 3221 in 3: Exception while saving class XWiki.XWikiUsers
Wrapped Exception: Error number 3222 in 3: Exception while saving class XWiki.XWikiUsers
Wrapped Exception: JDBC rollback failed
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127
Please help.
Thanks in advance
Renny
Hi,
Ludovic and me worked on the documentation of the API. I haven't
finish the documentation of Document.
here is the link :
http://build.xpertnet.biz/latestdoc/api/
jeremi
Hi, Brian,
Thanks a lot.
My site is on Xwiki.com, can I do all these steps?
Is there a way just to stop showing comments right now?
Wei-hsing
-------------- Original message ----------------------
From: "THOMAS, BRIAN M (SBCSI)" <bt0008(a)att.com>
> Direct database time...
>
> First, BACK UP your database.
>
> No. First, if you are not an SQL hack, get someone who is.
>
> Now, BACK UP your database.
>
> Next, you must delete all rows connected with spam comments.
>
> I'm going to derive the process whereby you do this, because I'm a
> little rusty on the XWiki database schemas, and because I'm an
> inveterate pedant. You can skip some of these steps that exist for
> information only if you wish, especially if you already know how to do
> them.
>
> First, it's necessary to know which rows constitute comments. XWiki's
> dynamic typing is a great boon to users and an equally great bane to
> administrators, as you will soon see. The xwikiclasses table describes
> user-defined classes (well, actually it doesn't; it names them, and
> describes server-defined custom classes if there are any, which
> fortunately there aren't, because I couldn't tell you what to do if
> there were). The class that defines XWiki comments is named
> XWiki.XWikiComments. The xwikiclassesprop table contains the list of
> fields for a given class, which is identified not by its name but by the
> unique ID from the xwikiclasses table. So you need to get the ID of the
> row in the xwikiclasses table whose name field is 'XWiki.XWikiComments',
> and retrieve the field name and type from all rows of the
> xwikiclassesprop table that have that ID. The following SQL does this
> less verbosely:
>
> select xwp_name, xwp_classtype
> from xwikiclassesprop p, xwikiclasses c
> where xwo_name = 'XWiki.XWikiComments'
> and p.xwp_id = c.xwo_id
>
> The results of this should be:
> +-----------+---------------------------------------------+
> | xwp_name | xwp_classtype |
> +-----------+---------------------------------------------+
> | author | com.xpn.xwiki.objects.classes.StringClass |
> | comment | com.xpn.xwiki.objects.classes.TextAreaClass |
> | date | com.xpn.xwiki.objects.classes.DateClass |
> | highlight | com.xpn.xwiki.objects.classes.TextAreaClass |
> | replyto | com.xpn.xwiki.objects.classes.NumberClass |
> +-----------+---------------------------------------------+
> 5 rows in set (0.00 sec)
>
> You'd have to go into the XWiki source (more specifically, the Hibernate
> configuration, I believe) to see how the xwp_classtype field above links
> to what I'm doing below; I leave that as an exercise for the reader.
> All that's really needed is to know the types of the fields and which
> tables they're stored in.
>
> I've actually misled you somewhat: this is not the actual schema of
> existing comment objects but the prototype for the creation of new
> comments. I've done this ostensibly to give you a fuller understanding
> of how XWiki allows one to change the definition of a user-defined class
> without breaking existing instances, but it's really because I got
> tripped up on it myself, and I wanted to share my misery with you.
>
> To get the actual schema for existing comments you have to look at the
> xwikiobjects table, which defines actual XWiki object instances in terms
> of their class names and the document to which they belong. The xwo_id
> field is the field that ties all of the tables together.
>
> So the following query:
>
> select distinct(xwp_name), xwp_classtype
> from xwikiobjects o, xwikiproperties p
> where xwo_classname='XWiki.XWikiComments'
> and xwo_id = xwp_id
>
> yields a similar-looking result (in my database, anyway), because the
> XWiki.XWikiComments class hasn't changed since these comments were
> added:
> +-----------+-------------------------------------------+
> | xwp_name | xwp_classtype |
> +-----------+-------------------------------------------+
> | author | com.xpn.xwiki.objects.StringProperty |
> | date | com.xpn.xwiki.objects.DateProperty |
> | comment | com.xpn.xwiki.objects.LargeStringProperty |
> | replyto | com.xpn.xwiki.objects.IntegerProperty |
> | highlight | com.xpn.xwiki.objects.LargeStringProperty |
> +-----------+-------------------------------------------+
> 5 rows in set (0.05 sec)
>
> So now we know (without explaining how) that (for example) the contents
> of the "author" field of an instance of the class named
> XWiki.XWikiComments is in the xwikistrings table, in a row whose xws_id
> field matches the xwo_id field of an xwikiobjects row whose
> xwo_classname file is "XWiki.XWikiComments". All the field values can
> be found thus:
>
> field name table name field value
> author xwikistrings xws_value
> date xwikidates xws_value
> comment xwikilargestrings xwl_value
> replyto xwikiintegers xwi_value
> highlight xwikilargestrings xwl_value
>
> So all the fields of a comment would be retrieved, given its ID, by the
> following query:
>
> select s.xws_value, /* author name */
> d.xws_value, /* comment date */
> l.xws_value, /* comment text */
> i.xwi_value, /* reply-to field */
> h.xwl_value /* highlight field */
> from xwikistrings s,
> xwikidates d,
> xwikilargestrings l,
> xwikiintegers i,
> xwikilargestrings h
> where s.xws_id = <comment ID> and s.xws_name = 'author'
> and d.xws_id = s.xws_id and d.xws_name = 'date'
> and l.xws_id = s.xws_id and l.xws_name = 'comment'
> and i.xwi_value = s.xws_id and i.xwi_name = 'replyto'
> and h.xwl_value = s.xws_id and h.xwl_name = 'highlight'
>
> Of course, the job is much simpler than this, for several reasons.
> First, the replyto and highlight fields are not populated by XWiki's
> default templates, so they're always null anyway; second, of the
> remaining values, each one is uniquely identified by the object's ID
> field anyway, so the respective name fields don't need to be specified.
>
> To get a list of all comments in the database, with only their object ID
> field, author name, and date (which produces a fairly neat display) this
> query should do it.
>
> select o.xwo_id,
> s.xws_value,
> d.xws_value
> from xwikiobjects o,
> xwikistrings s,
> xwikidates d
> where xwo_classname='XWiki.XWikiComments'
> and s.xws_id = o.xwo_id
> and d.xws_id = o.xwo_id
> order by xwo_id
>
>
>
> With all that as background, what you need to do is:
>
> 1. Identify the offending comments (by their object IDs).
>
> If the comments were all from bogus registrations, then the above query
> with an added qualifier something like:
>
> where s.xws_value in ('XWiki.spammer1', 'XWiki.spammer2'[,...])
>
> will give you the object IDs you need.
>
> If you have allowed anonymous users to comment, then other criteria must
> be used, although of course "s.xws_value = 'XWiki.XWikiGuest'" should be
> in your WHERE clause. Most likely, you could probably nail most of them
> by saying
>
> select o.xwo_id from xwikiobjects o, xwikilargestrings l
> where o.classname = 'XWiki.XWikiComments' and l.xwl_id = o.xwo_id
> and l.xwl_value like "%Viagra%"
> or l.xwl_value like "%sex"
> or l.xwl_value like "%stock%"
> or ...
>
> you get the idea.
>
> The best idea, of course, is to keep running and refining your query
> until you are sure that you've identified all of the offending comments
> and only the offending comments.
>
> 2. After you've built a query that identifies the set of records you
> want to remove, you must delete them from each table where they appear.
> The easiest way to do this is to modify your query to return only the
> xwikiobjects.xwo_id field in the SELECT clause and put it into a
> temporary table:
>
> create temporary table badcomments (comment_id integer);
>
> insert into badcomments select o.xwo_id from xwikiobjects o [... where,
> etc...];
>
> Then delete every row from xwikistrings, xwikilargestrings, xwikidates,
> and xwikiintegers where the respective ID fields (xws_id, xwl_id,
> xws_id, and xwi_id, respectively) match the comment_id field from your
> badcomments table.
>
>
> You can also do it using the $xwiki.search() method, but there you have
> to tie the XWiki objects together using HQL. The advantage is that you
> don't have to have server access; the disadvantage is that it's
> miserable to get it right (my opinion).
>
> brain[sic]
>
> > -----Original Message-----
> > From: wangwh(a)att.net [mailto:wangwh@att.net]
> > Sent: Tuesday, October 17, 2006 12:32 AM
> > To: xwiki-users(a)objectweb.org
> > Subject: [xwiki-users] delete spam comments
> >
> >
> > Hi,
> > My wiki site got over a thousand spam comments, anyone know
> > how can I delete them quickly (better than edit object, then
> > delete one by one).
> > Wei-hsing
> >
> >
>
>
If your Wiki is getting some traffic, you can be the next target also, someone can put in lots of spam comments with nothing but links to his/her sites to promote the sites. If possible, you might want to allow only certain people to leave comments.
*** I assume people reading this email do not do this, but...
To some *ill-minded* Wiki users, please stop doing that to others!
(the sites you are advertising will get bad names...)
-------------- Original message ----------------------
From: wangwh(a)att.net
> Hi,
> My wiki site got over a thousand spam comments, anyone know how can I delete
> them quickly (better than edit object, then delete one by one).
> Wei-hsing
>
Hi,
My wiki site got over a thousand spam comments, anyone know how can I delete them quickly (better than edit object, then delete one by one).
Wei-hsing
Dear xwiki-users,
We are getting a Java exception when saving a 7MB attachment. The
attachment appears to be attached properly, since it appears in the
attachment list and can be downloaded after the error. However, after
attaching four or five files the server becomes so unresponsive that a
restart is required. Configuration Info:
OS: Windows 2000 Server
RAM: 1GB
JDK: 1.5.0_8
App Server: JBoss 4.0.4
Database: MySQL 4.1.21
Note that JBoss is run with -Xmx 512M, and increasing that to -Xmx 1024M
has no effect.
I've gone through the attachment documentation and mailing list archives
and didn't see any references to a similar problem. Any help would be
appreciated - I plan to checkout the code and see what's happening!
Here is the stack trace:
A problem occured while trying to service your request. Please contact
the support if this happens again.
Detailed information:
Error number 0 in 11: Uncaught exception
Wrapped Exception: Java heap space
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: Java heap space
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:224)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.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:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:175)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.j
ava:74)
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:1
48)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorker
Thread.java:112)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.OutOfMemoryError: Java heap space
Thanks,
Nathan Smith
I've read about the possibility of creating arbitrary types in
XWikiObject fields, though I haven't found how to do that. One way of
doing it would, of course, be to allow another XWiki class as a type.
I'm not certain of the advisability of such an approach, but putting
that aside, would it require changing the XWiki server code to allow
such a thing to happen?
brain[sic]
Hi,
I'd like to use the Chart Wizard and was trying to create a timeline but
always get a
* Charting exception: Error number 0 in 5: Unparseable date:
How do I have to format the date?
Thanks!
Sascha
Hi,
Passing this on to the user list after discussion with Vincent. Join
us on IRC to discuss XWiki:
Server: irc.freenode.net
Port: 6667
Channel #xwiki
Cheers,
Robin.
On 13/10/06, Vincent Massol <vincent(a)massol.net> wrote:
> Hi everyone,
>
> I've noticed that this project doesn't have an IRC channel yet. I think it's
> extremely valuable for those who are developing on xwiki to be able to share
> ideas, do design, etc with a communication channel that is faster than mail.
>
> This is what we done on the Maven project (irc.codehaus.org, channel
> #maven), Cargo and lots of other projects.
>
> Of course any important decision should also result in an email to the list
> so that everyone can follow what's happening.
>
> I suggest using Freenode. I have set up a channel for us:
>
> Server: irc.freenode.net
> Port: 6667
> Channel #xwiki
>
> In order to connect there you can use any IRC client:
> - mIRC
> - Trillian
> - or any of the other hundreds of clients:
> http://www.ircreviews.org/clients/
>
> WDYT?
>
> Join me there!
>
> Thanks
> -Vincent
>
>
>
>
>
>
> ___________________________________________________________________________
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
> Demandez à ceux qui savent sur Yahoo! Questions/Réponses
> http://fr.answers.yahoo.com
>
>
>
>
> --
> You receive this message as a subscriber of the xwiki-dev(a)objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
Hello!
I am trying to add the lucene plugin
http://www.xwiki.org/xwiki/bin/view/Dev/XWikiLucenePlugin
to my 0.9.1252 XWiki install, but only ever get "No Results".
My boss wants pdf/excel/word search capabilites.
I followed the instructions and also had it once running on a 0.840.
Lucene now seems not to return any results.
Is the plugin compatible with the new versions?
Are changes in XWIKI the reason or could it be that I use the Jetty
windows version?
Thanks and Regards,
Sascha
Hi,
you are faster:-) I have exact the same problem.
>Hi,
>
>My user registration screen is broken and returns a -1 error whenever I try to
>register a new user.
>
>It is on my own xwiki server, not on the farm. I've tried enabling the
>superadmin user, editing, and re-saving the RegisterNewUser document but I
>still get the same problem.
>
>I have two wikis running on this server, with 'virtual' switched on in
>xwiki.cfg; the registration works fine in the default wiki but not in the new
>one I have created.
>
>I'm an utter newbie to xwiki so it's possible I'm missing something obvious...
>if someone could post step-by-step instructions as to what is normally done to
>solve this problem, I'd be grateful.
>
>Many thanks
>Jonathan Essex.
>
>
>
>--
>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
I have a downloaded version of xwiki (9.840), and I am trying to create
a blog as per the documentation given in the website url
-http://www.xwiki.org/xwiki/bin/view/Main/MakeABlog
However, in step 1 itself, when I make a page called Test.BlogMacro, I
am getting an error while saving the page.
Error number 4001 in 4: Error while parsing velocity page Test.BlogMacro
Wrapped Exception: Encountered "Blog" at line 1, column 14. Was
expecting one of: "[" ... "(" ... ... "true" ... "false" ... ... ... "{"
... "!" ...
What is wrong? How do I correct it?
Rgds,
Mrudula
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Hi everyone!
We have to build a research paper submission system. The papers are stored in the db in Paper table. The abstract and other paper related info is stored in Paper table, and the paper data, e.g. the file_Name of the paper is stored in PaperData table, in the db. Only the abstract is stored, in db, the whole paper is stored in a file, and its filename is stored in the db PaperData table.
Now what we have to accomplish:
1. Be able to load the paper info, for example the abstract and the Paper contents from db and file, respectively.
2. Be able to Edit the abstract and the Paper contetns, and do other wiki things , like add an attachment, and history, PDF etc.
How XWiki does all the things:
XWiki stores the wiki pages, in the xwikidoc table, all the processing is done on this table extracted contents, which are populated in the XWikiDocument doc object in java, in the XWikiHibernateStore class.
But our requirement is a bit different we want to use the XWiki provided functionality (as we are maintaining a wiki as well) as well as, load the Paper from different tables than the xwikidoc table. from the Paper table and paper contents file.
There are a few ways how we can accomplish these things:
The first Solution:
The first solution, which I visualized as I went for a jog ;) this morning. Modify the XWikiHibernateStore class to load the data from Paper table, and paper contents file rather than xwiki doc table, since, XWikiHibernateClass is huge, and all the attacments and other things are also done in it, so we modify those methods as well, but to do minimum work we put a paper_id, in xwikiattachments table, and load those according to the current paper_id, we will have to modify the attachments classes, and attachments Hibernate configuration and the db table. Similarly, we will modify the XWikiDocument classes, and modify the associated Hibernate configuration, adding the paper methods and properties, so we will be able to use the xwiki code to the maximum.
The second solution:
Its that we rewrite everything, we write our own Hibernate java classes, and do everything on our own, this will take a lot of time and trouble, so this solution is less accepted.
The third solution:
there is a property in XWiki Classes on the view layer called Database List Property, which also takes a hibernate query, parameter, can we use that, how can we, some suggestions.
The fourth Solution:
There is an Article Object, can we use that, but I don't think, that such rich functionality will be available to us. Remember we have to populate from our own tables, instead of XWiki tables, and do all the things, which we do with a document, or which a wiki can do with a wiki page.
I hope I will get some answers, the first solution seems to be the best fit, I am waiting for your suggestions.
Regards,
Babar Abbas.
Hi,
I'm working on setting up an XWiki-based site for a small community of users. All has gone well for the most part, but I've got one issue that I'm hoping someone out there can shed some light on.
I have about 60 users that are members of a group that has read/write access to the Wiki, and logging in, editing, etc. works just fine for the majority of users, but for a small subset (3 users I'm aware of) after login, they get redirected to the main page as they should, but it appears the site is unaware of who they are. For instance, where it normally would say "Hello Joe", it says "Hello $docuser.display("first_name", "view", $objuser)". They also get the message "You are not allowed to view this document or perform this action" when viewing pages they should be able to access.
The problem doesn't seem to be related to the actual users themselves, because I had one of the users login with someone elses computer, and it was successful. But for all 3 users, switching between IE and Firefox doesn't help, and I haven't been able to find any browser settings that help either. I have also been unable to reconfigure my own browser to reproduce the problem.
Does anyone have any ideas about what might be causing this? My best guess is that somehow the browser is not presenting a session ID that matches the user's actual session object, but I don't know why that might happen. I'm relatively new to both WXiki and Tomcat, so I'm not sure what logging options might help me see some relevant information.
I see many messages like this in my logs, but they occur even when users that do not exhibit this problem hit the site, so I'm not sure they are related.
14:39:10,729 WARN TP-Processor1 http://<site>/xwiki/bin/view/OpsTeam.Record/Schedule XWikiStatsServiceImpl:findVisit:314 - Found visit with cookie 8YXUJFTIQSJJA1CQRCDJ0RXGMZAVS8XY in session 2E90CB72684FB68726A51AFA5E6B6D13 for request with cookie 5QZRQ6GC89SGSSBCZPTQOJQXJ9WT2BQG
I'm using XWiki 0.9.840 on Tomcat 5.5.16 behind apache/mod_jk
Thanks for any help or ideas you can provide,
Kyle
Hi,
My user registration screen is broken and returns a -1 error whenever I try to register a new user.
It is on my own xwiki server, not on the farm. I've tried enabling the superadmin user, editing, and re-saving the RegisterNewUser document but I still get the same problem.
I have two wikis running on this server, with 'virtual' switched on in xwiki.cfg; the registration works fine in the default wiki but not in the new one I have created.
I'm an utter newbie to xwiki so it's possible I'm missing something obvious... if someone could post step-by-step instructions as to what is normally done to solve this problem, I'd be grateful.
Many thanks
Jonathan Essex.
Hello,
I just figured out that if I have a bulleted / unnumbered list of more
than 294 items, the behavior changes:
#set($mycount = [1..295])
#foreach($i in $mycount)
* $i
#end
If you create the above list, you'll see that your list changes from a
bulleted list to a list of items all on the same line alternating bold
and regular type. If you only go to 294, you get a bulleted list. Is
this configurable? Where is this set?
Thanks,
-jeff
What I meant was ..
Each page should show, who modified it last, and probably also who
created it.
Checking in history is lil cumbersome.
thanks
cheers
anurag chitlangia
To Err is Human, to forgive is not COMPANY policy!
.- -. ..- .-. .- --.
________________________________
From: mrudula.madiraju(a)wipro.com [mailto:mrudula.madiraju@wipro.com]
Sent: Monday, October 09, 2006 12:17 PM
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] getting date and user information in the
footer
Click on the history link
________________________________
From: Anurag Chitlangia [mailto:anurag.chitlangia@amdocs.com]
Sent: Monday, October 09, 2006 2:24 PM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] getting date and user information in the footer
Hi,
How can I get the information for each page, when was the page last
modified and who modified it.
Regards,
cheers
anurag chitlangia
To Err is Human, to forgive is not COMPANY policy!
.- -. ..- .-. .- --.
This message and the information contained herein is proprietary and
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
www.wipro.com
Click on the history link
________________________________
From: Anurag Chitlangia [mailto:anurag.chitlangia@amdocs.com]
Sent: Monday, October 09, 2006 2:24 PM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] getting date and user information in the footer
Hi,
How can I get the information for each page, when was the page last
modified and who modified it.
Regards,
cheers
anurag chitlangia
To Err is Human, to forgive is not COMPANY policy!
.- -. ..- .-. .- --.
This message and the information contained herein is proprietary and
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Hi,
How can I get the information for each page, when was the page last
modified and who modified it.
Regards,
cheers
anurag chitlangia
To Err is Human, to forgive is not COMPANY policy!
.- -. ..- .-. .- --.
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
HI, i know this probably "THE" dumbest question you've gotten, but I have
media wiki installed, admittedly its my first wiki experience.
To create a document there I search for a file or click "GO", if nothing
exists I have an option to create that document, and then I go from there.
I've installed XWiki because of its great features, like PDF generation, RSS
feeds, blogs, etc...
What is the equivalent in XWiki to create a document?
Thanks,
--
slán,
joe
I am trying to run Xwiki with Postgresql 8.1 (jdbc3 driver) and Tomcat 5.5
on a Linux (Debian unstable) system.
I loaded up the xwiki-pgdb.tgz files and they ran through psql correctly.
I then started tomcat, and in the log found complaints about some of the
fields being set from boolean expressions. PG 8.1 is much fussier about
the right data going into the right field type than older releases.
The following field in the following tables needed to be changed from
INT(2) to boolean, and the corresponding initialisation values in the
startup data changed from 0 and 1 to true and false.
Table Column
xwikiclassesprop xwp_unmodifiable
xwikidblistclasses xwl_multiselect
xwikidblistclasses xwl_relational
xwikislistclasses xwl_multiselect
xwikislistclasses xwl_relational
If anyone wants revised versions of these files with all the changes
made I am happy to send them, but as one of them is over 1MB I think
that attaching them to this email would be wrong - even if compresses.
David
Hi,
I want to let unregistered users to see my wiki pages.
And authentication required for updation only.
Thanks!
cheers
anurag chitlangia
To Err is Human, to forgive is not COMPANY policy!
.- -. ..- .-. .- --.
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
hi can anybody tell me how i can call this class so that i can try to read a topic map in a template
created
will this work
$UTopicMaps.readTopicMapFromFile()
my class is...
public
static void readTopicMapFromFile()
{
File tmFile = TM4LStore.
tmFile;
try
{
// This better be moved to an initialization step - to be run just once when the application starts
setProviderFactory ();
TopicMapSource src =
new SerializedTopicMapSource(tmFile);
topicMap = provider.addTopicMap(src);
// TM4LStore.topicMapName = topicMap.getName();
TM4LStore.
tmBaseLocator = topicMap.getBaseLocator();
TM4LStore.
topicMap = topicMap;
}
I found that xwiki syntax can not do all the things as in HTMl format. I use Open Office (by SUN) to convert Word document into HTML, then paste HTML into xwiki pages. It looks good.
Wei-hsing
-------------- Original message ----------------------
From: Claude Libois <claude.libois(a)guest.minfin.fed.be>
> Hello,
> In our project we have recently adopted xwiki as a wiki that will contains
> all our documentation about components that we develop.
> However most of the current documentation is written in word and we would
> like to migrate those documents in the xwiki syntax.
> Is there any tools that could automate this process?
>
> Claude
>
>
>
Hello,
In our project we have recently adopted xwiki as a wiki that will contains
all our documentation about components that we develop.
However most of the current documentation is written in word and we would
like to migrate those documents in the xwiki syntax.
Is there any tools that could automate this process?
Claude
Hi, jeremi,
"the site fail to function" means the browser returns messages saying the site is not responding, etc.
We will consider professional offer when more people in the group are on board (and not complaining).
Wei-hsing
-------------- Original message ----------------------
From: "jeremi joslin" <jeremi23(a)gmail.com>
> Hi;
> I don't think it's because of 2 or 3 people at the same time on one
> wiki. hundreds of persons are using wikis on XWiki.com at the same
> time as you.
> We had a problem recently with our mysql server, we lost a hard disk
> (one of our 4 HD of the Raid5, so no data lose). So we change the
> configuration of XWiki to go to send request to one of our slave
> server which is slower. We have asked to change this machine, so soon
> we will have a new one, for better performance.
>
> what do you mean by "the site fail to function" ?
>
> If you want better performance, we have a professionnal offer on other
> server with better support. for this contact luis(a)xwiki.com .
>
> jeremi
>
> On 10/2/06, wangwh(a)att.net <wangwh(a)att.net> wrote:
> > Hi, jeremi,
> > My sites are on XWiki.com. I found that it is not the pages or objects on the
> site that matters, it is when 2 or 3 people are writing to pages the performance
> is affected. It happens when people are working on different pages on the same
> site. It is not easy for us to repeat and identify the cause, I wonder if other
> users have notice this. Sometimes, after speed loss, the site fail to function.
> Since multiple people working/writing to the same site is a part of using Wiki,
> we need to keep the sites perform reasonably good.
> > Wei-hsing
> >
> > -------------- Original message ----------------------
> > From: "jeremi joslin" <jeremi23(a)gmail.com>
> > > Hi,
> > > How is your wiki?
> > > Is there is a lot of pages? Objects? Version?
> > > What is your XWiki version?
> > >
> > > jeremi
> > >
> > > On 10/1/06, wangwh(a)att.net <wangwh(a)att.net> wrote:
> > > > Hi, XWiki teams,
> > > > I found that the wikis I need to write in are getting slower and slower,
> such
> > > as sustainagility and webagedefense. Quite inconvenient, especially when I
> am
> > > trying to introduce XWiki to new users. Other sites are responding quickly.
> Does
> > > writing/editing wiki pages causing troubles?
> > > > Wei-hsing
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > 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
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > jeremi
> > >
> >
> >
> >
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: "jeremi joslin" <jeremi23(a)gmail.com>
> > To: xwiki-users(a)objectweb.org
> > Date: Sun, 1 Oct 2006 11:52:26 +0000
> > Subject: Re: [xwiki-users] performance issue
> >
> > --
> > 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
> >
> >
> >
>
>
> --
> jeremi
>
Hi, jeremi,
My sites are on XWiki.com. I found that it is not the pages or objects on the site that matters, it is when 2 or 3 people are writing to pages the performance is affected. It happens when people are working on different pages on the same site. It is not easy for us to repeat and identify the cause, I wonder if other users have notice this. Sometimes, after speed loss, the site fail to function. Since multiple people working/writing to the same site is a part of using Wiki, we need to keep the sites perform reasonably good.
Wei-hsing
-------------- Original message ----------------------
From: "jeremi joslin" <jeremi23(a)gmail.com>
> Hi,
> How is your wiki?
> Is there is a lot of pages? Objects? Version?
> What is your XWiki version?
>
> jeremi
>
> On 10/1/06, wangwh(a)att.net <wangwh(a)att.net> wrote:
> > Hi, XWiki teams,
> > I found that the wikis I need to write in are getting slower and slower, such
> as sustainagility and webagedefense. Quite inconvenient, especially when I am
> trying to introduce XWiki to new users. Other sites are responding quickly. Does
> writing/editing wiki pages causing troubles?
> > Wei-hsing
> >
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
>
>
> --
> jeremi
>
Hi, XWiki teams,
I found that the wikis I need to write in are getting slower and slower, such as sustainagility and webagedefense. Quite inconvenient, especially when I am trying to introduce XWiki to new users. Other sites are responding quickly. Does writing/editing wiki pages causing troubles?
Wei-hsing
Hi guys,
A few words to warn you about a potential problem with a badly
configured laszlo plugin.
First I have to say that the default configuration (right out of the
box) does not cause this problem.
The problem occurs if you use a blank path like :
xwiki.plugin.laszlo.path=
in xwiki.cfg.
I have used this configuration line for several weeks with no problem
on a linux based system, using a 'non-system' tomcat (ie a tomcat
launched by hand using a non root user ...)
Then some Windows (tm) users copied my xwiki.cfg file, and problems
started to occur. Each morning they were unable to boot, the system
complaining about missing boot.ini and system dlls ! It took us
several days, and several launches of the XP console tools ;-) to
realize that the problem was in the flushCache method of the laszlo
plugin.
This method will delete all the files cached by the plugin, which is a
good thing per se, but if the plugin path is blank, all files in "/"
will be deleted ... if you are Windows user, starting tomcat via a
service, then ... all files in / will be deleted, which is not what
you want ...
So, the bottom line is, do not use a blank path for laszlo plugin !
cheers,
Seb.
PS : CC to dev list in case laszlo plugin maintainers are interested ...
Is it possible to save one object at at time?
I have looked at the template code for the "edit object" action and found
that ALL objects of a particular document are loaded
and when the "Save Objects" action is initiated, ALL the objects are sent
back in an HTML Form.
I have also looked (succinctly) at the XWiki Java code (in the "web" folder
of the SVN) and in doing so, I am lead to believe that a *single* object can
not be saved independantly from the whole document and all its objects.
Is this true?
Is there a way to save changes to one object at a time?
Help!
Jean-Lou.
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.9/458 - Release Date: 27/09/2006
Hi all..
I guess this would be mainly for the xwiki.com admins, but hopefully
there is another way around this.
Primarily what I have is a document clone feature using
$xwiki.copyDocument (created with some guidance from this mail group);
this naturally works on my local xwiki install, but not on the xwiki.com
hosted wiki.
Message received (I suspect this message comes from the
document.location.href change in script, however when I try to access
the document it appears to not be created):
_____________
Your request has been blocked. If you feel this is an error, please
contact us at webmaster at xwiki dot com. Thanks.
_____________
Code used (added as a menu option with prebuilt querystring):
_____________
#set($sOldWeb=$request.cloneweb)
#set($sOldDoc=$request.clonedoc)
#set($sOldParent=$request.cloneparent)
#set($sDoClone=$request.doclone)
#set($sCloneEditType=$request.editaction)
#set($sCloneSetTitle=$request.settitle)
1.1 Clone a document.
This will copy a document and all it's related content into a new
document.
#if("true" == $sDoClone)
<form action="$doc.getURL("view")" id="newdoc">
<input type="hidden" name="oldparent" value="${sOldParent}">
<input type="hidden" name="oldwebname" value="${sOldWeb}"
size="8">
<input type="hidden" name="olddocname" value="${sOldDoc}"
size="8">
<input type="hidden" name="edittype"
value="${sCloneEditType}" size="8">
<input type="hidden" name="name" value=""/>
New Document: <input type="text" name="title" value="" />
<input type="button" value="Create" onclick='if
(updateName(this.form.title,this.form.name)) {this.form.submit(); }'>
</form>
#elseif($request.getParameter("oldwebname"))
#set($sOldWeb=$request.getParameter("oldwebname"))
#set($sOldDoc=$request.getParameter("olddocname"))
#set($sNewDoc=$request.getParameter("name"))
#set($sDocTitle=$request.getParameter("title"))
#set($sCloneEditType=$request.getParameter("edittype"))
#set($sourceDocName="${sOldWeb}.${sOldDoc}")
#set($targetDocName="${sOldWeb}.${sNewDoc}")
$xwiki.copyDocument($sourceDocName, $targetDocName)
* *Clone Prepaired.*
<script language="javascript">
<!--
document.location.href='../../save/${sOldWeb}/${sNewDoc}?xredirect=../..
/${sCloneEditType}/${sOldWeb}/${sNewDoc}?isclone=true%26title=${sDocTitl
e}'
//-->
</script>
#else
* *No document information. Please try again, from the "More
Actions" menu while viewing the document you wish to Clone.*
#end
_____________
Frank,
I am login as admin, what do I have to do to allow admin to see the files? I remember I could get to them before.
Regards,
Wei-hsing
-------------- Original message ----------------------
From: Frank Häfemeier <frank(a)haefemeier.net>
> >I am trying to get skin and template files, from admin menu on my xwiki
> >site, but I am getting errors...
> >
> >HTTP Status 404 - /xwiki/templates/
> >
> >type Status report
> >
> >message /xwiki/templates/
> >
> >description The requested resource (/xwiki/templates/) is not available.
> >Apache Tomcat/5.5.17
>
> The files are there, but you have no access rights. You must configure
> a readable access in your apache configuration.
>
> Bye
>
> Frank
>
>I am trying to get skin and template files, from admin menu on my xwiki
>site, but I am getting errors...
>
>HTTP Status 404 - /xwiki/templates/
>
>type Status report
>
>message /xwiki/templates/
>
>description The requested resource (/xwiki/templates/) is not available.
>Apache Tomcat/5.5.17
The files are there, but you have no access rights. You must configure
a readable access in your apache configuration.
Bye
Frank
Hi,
I am trying to get skin and template files, from admin menu on my xwiki site, but I am getting errors...
HTTP Status 404 - /xwiki/templates/
type Status report
message /xwiki/templates/
description The requested resource (/xwiki/templates/) is not available.
Apache Tomcat/5.5.17
Any ideas?
Wei-hsing
Hello,
I've configured my xwiki to increase attachment size according to
these instructions:
http://www.xwiki.org/xwiki/bin/view/AdminGuide/Config+Larger+Attachments
I'm seeing this error/stack when trying to attach anything above 50mb
(below 50mb works fine):
===============================================================
A problem occured while trying to service your request. Please contact
the support if this happens again.
Detailed information:
Error number 11008 in 11: Exception while parsing uploaded file
Wrapped Exception: the request was rejected because it's size exceeds
allowed range
com.xpn.xwiki.XWikiException: Error number 11008 in 11: Exception
while parsing uploaded file
Wrapped Exception: the request was rejected because it's size exceeds
allowed range
at com.xpn.xwiki.XWikiService.actionUpload(XWikiService.java:135)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:195)
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.valves.AccessLogValve.invoke(AccessLogValve.java:541)
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(Thread.java:797)
Wrapped Exception:
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException:
the request was rejected because it's size exceeds allowed range
at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:317)
at com.xpn.xwiki.XWikiService.actionUpload(XWikiService.java:133)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:195)
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.valves.AccessLogValve.invoke(AccessLogValve.java:541)
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(Thread.java:797)
===============================================================
Does anyone have any idea what could be causing this or what I forgot to tweak?
Thanks!
-jeff
I have installed the exo stack bundled in tomcat 5.0 (linux FC5 env.)
and the wiki.war (xwiki-exo-0.9.1252)
I have the following exception when launching xwiki as stand alone:
javax.servlet.ServletException: L'ex�cution de la servlet a lanc� une exception
com.xpn.xwiki.user.impl.exo.ExoFilter.doFilter(ExoFilter.java:50)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
Any idea ?
Hi,
In order to migrate a website to XWiki, I wanted to insert old news in XWiki
and then change the date to match the true date of the news (and not having
all news of the same day). This will allow to use XWiki for archives, etc.
I don't want to change the date by using direct access to the database, but
use velocity commands.
Then, I tried :
#set($mydoc = $xwiki.getDocument("MyPage"))
#set($xdoc = $mydoc.getDocument())
#set($date = $xdoc.getDate())
Current date : $date
Updating date :
#set($milli = $xwiki.parseLong("1155311178410"))
#set($tmpDate = $xwiki.getDate($milli))
$xdoc.setDate($tmpDate)
$xdoc.setCreationDate($tmpDate)
But it doesn't work (the news is still displayed with the wrong date) as it
should modify only the in-memory document.
By displaying the $xdoc.isFromCache() value, it is true.
Then, I tried $xwiki.xWiki.saveDocument($xdoc,$context.context)
But it didn't work neither.
What could I use to modify the date of a news (without modifying directly
the database).
Regards,
Florent
Dear All,
I use the latest version of xwiki/branches/XWIKI_STABLE_0_9_1300.
I've got an issue with the programming access right since I can't allow a
group of users to use such of methods: $doc.getDocument()...
In fact, I use a XWiki Farm configured with about 20 virtual wikis. On the
primary wiki, I've set the Programming access right to a group called Admin
(used to adminitrate all the wikis).
On a virtual wiki, when I set the programming right to a local group, it
doesn't work since the response of $doc.getDocument() is null. Moreover even
the owner of the wiki can't use that method.
Finally, I've noticed that if I set the programming right to
xwiki:XWiki.XWikiAllGroup, it'd work but that's not convenient since any
registered user can use programmatic function.
Have you noticed a such behaviour ? Does any better solution exist ?
Regards
--
Xavier MOGHRABI - Consortium ObjectWeb
Jabber: moghrabi(a)jabber.objectweb.org
Phone: +33 4 76 61 52 35
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
--
NEU: GMX DSL Sofort-Start-Set - blitzschnell ins Internet!
Echte DSL-Flatrate ab 0,- Euro* http://www.gmx.net/de/go/dsl