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