Hi all,
I have a problem with the parent child relationships.
The problem has allready been an issue (see detailed information
below) and a solution has been given by Sergiu Dumitriu, but this
solution does not seem to work for me.
Whenever I leave out the space from the parent, my child has no
parents at all anymore, it does not automatically get parents
assigned.
Basicly what I want to do is set up mutliple spaces, where some pages
are used in more than only one space. I want that the users stay in
their respective space, but see the pages form other spaces sometimes.
What works great for this is the include macro, but the bigger my wiki
gets, the more includes I have and this might get a bit chaotic in the
future. A much cleaner solution would be to just link from one
Space.Page to another, but when I do this my breadcrumb navigation
does not follow, since I have the Parent Child issue unsolved.
I know it must work, I just dont know how to get it to work.
Any help would be greatly appreciated.
Greetings,
Wouter
On 05/13/2010 10:19 AM, S.L wrote:
>
> Hi all,
>
> I have a page "Child" in with Space A(A.Child), with parent "A.Main".
>
> Now I would like to copy this page to Space B, so it becomes "B.Child with
> parent "B.Main".
> But when I copy page using copy function in UI or using
> "xwiki.xWiki.copyDocument", "B.Child" 's parent is always "A.Main".
>
> What could I do to acheive my expected result, "B.Main"? Since I would like
> to use marco to copy multiple pages, I hope I could find a solution besides
> manually modifying the pages.
>
> Thank you so much for you help!
You can leave out the space from the parent, as in "Main". This will
always resolve to the "Main" document in the current space, thus A.Main
when the document is in the space A, B.Main when in space B.
--
Sergiu Dumitriu
from: http://lists.xwiki.org/pipermail/users/2010-May/020659.html
Hi,
Does anyone know how to add links to files on a project network drive? We
have a lot of files on our network drives and there's a reluctance to attach
all the files into the wiki. So to ease people into using the wiki it would
be nice to allow them to easily link out to external files. Currently XWiki
allows users to link to other wiki pages, other web pages or attached files
but not external files .... is there a way provide a means to add links to
external files?
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi, folks.
I’m trying to do some local testing of XWiki Enterprise, because it looks like a great resource for me to manage my group’s documentation, but I’m running into some issues.
I downloaded the Windows executable and installed XE locally (on the C: drive of a Windows 7 system), and everything seemed to install correctly. I have the start and stop desktop icons.
I clicked the start icon and a DOS window flashed open and closed. When I tried to open XWiki in my browser at http://localhost:8080/, I received a “This webpage is not available” message. I’m not sure if I have a port issue, and I didn’t see anything in the users mailing list archives that related to this issue. Does this problem sound familiar to anyone, and if so, how can it be fixed?
Thanks.
_____________
John Campbell
NOC Technical Writer
WildBlue Communications, Inc.
720.493.6324 ◊ john.campbell(a)viasat.com <mailto:john.campbell@viasat.com>
Yes setting an interval did solve the problem - thanks!
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Sergiu Dumitriu
Sent: 14 July 2011 14:19
To: XWiki Users
Subject: Re: [xwiki-users] XWiki email not working
On 07/14/2011 03:08 AM, goldring, richard wrote:
> Thanks Sergiu - I didn't realise that the interval wasn't set by
> default - its not as clear as it could be in the documentation -
> perhaps users should be warned in a popup message when they set a
> watch on a page and the interval hasn't been set to remind them?
Yes, this is an annoying bug, it should be fixed by default. So, setting an
interval did solve the problem, right?
> As for the other issue with sharing a page .... Then I'll just have to
> upgrade to the latest Xwiki.
>
> Thanks again
>
> Richard
>
>
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of Sergiu Dumitriu
> Sent: 13 July 2011 17:58
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki email not working
>
> On 07/13/2011 03:13 AM, goldring, richard wrote:
>> Hi All,
>>
>> I'm still not able to email using Email a wiki page or via the Watch
>> plugin.....
>>
>> I've set up my email server (sendmail) on my Solaris server and set
>> the appropriate setting in XWiki to talk to it and using the code
>> below (taken from the XWiki website) to successfully send an email
>> (presumably this uses the email plugin??) :
>>
>> {{velocity}}
>> #if($xwiki.hasAccessLevel('admin'))
>> #if("$!{request.action}" == 'send_mail'&& "$!{request.lastname}" == '')
>> ## Check submission and honey pot.
>> #if("$!request.recipient" != ''&& "$!request.subject" != '')
>> #set($result =
>> $xwiki.mailsender.sendTextMessage("no-reply(a)xwiki.com
>> <mailto:no-reply@xwiki.com> ", $request.recipient, $request.subject,
>> "$!request.message"))
>> #if($result == -1)
>> {{error}}A problem occurred while sending the mail.{{/error}}
>> #else
>> {{info}}Everything went OK.{{/info}}
>> #end
>> #else
>> {{error}}Please specify at least a recipient and a
subject{{/error}}
>> #end
>> #end
>>
>> {{html wiki=true}}
>> <form action="" method="post">
>> <input name="action" value="send_mail" type="hidden" />
>> ## this is a honey-pot hidden text field hat hopefully robots
>> will not leave empty
>> <div class="hidden">
>> <input name="lastname" type="text" />
>> </div>
>> <fieldset>
>> **TO:**<br />
>> <input type="text" name="recipient" /><br />
>> **SUBJECT:**<br />
>> <input type="text" name="subject" /><br />
>> **MESSAGE:**<br />
>> <textarea name="message" style="width:99%;" rows=10>Your test
>> message here.</textarea>
>> </fieldset>
>> <div>
>> <span class="buttonwrapper"><input type="submit" class="button"
>> value="Send" /></span>
>> </div>
>> </form>
>> {{/html}}
>> #else
>> {{error}}Oops. Area restricted to Admins, sorry.{{/error}} #end
>> {{/velocity}}
>>
>>
>> BUT ..... in my XWiki wiki (I have the latest version) when I select
>> to email a wiki page and press the Send button nothing seems to
>> happen (I assume the email dialog should close when you press the
>> Send button and an email should be sent), also when adding a Watch on
>> the wiki or wiki page and the page is changed then no email is sent
>> to the user who has put the watch on the page .... does anyone know
>> why the emails
> aren't getting sent????
>
> For the watch problem, check that the user has selected a valid
> watchlist interval, since by default all users have the watchlist emailer
disabled.
> You can do that by going to your profile, and editing the preferences
> on the Watchlist tab.
>
>> Having the facility to email a wiki page and to watch wiki pages
>> would certainly help get more people to use our wiki.
>>
>> Any clues for fixing this would be most appreciated!
>>
>> Thanks.
>>
>> Richard
>
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Thanks Sergiu - I didn't realise that the interval wasn't set by default -
its not as clear as it could be in the documentation - perhaps users should
be warned in a popup message when they set a watch on a page and the
interval hasn't been set to remind them?
As for the other issue with sharing a page .... Then I'll just have to
upgrade to the latest Xwiki.
Thanks again
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Sergiu Dumitriu
Sent: 13 July 2011 17:58
To: XWiki Users
Subject: Re: [xwiki-users] XWiki email not working
On 07/13/2011 03:13 AM, goldring, richard wrote:
> Hi All,
>
> I'm still not able to email using Email a wiki page or via the Watch
> plugin.....
>
> I've set up my email server (sendmail) on my Solaris server and set
> the appropriate setting in XWiki to talk to it and using the code
> below (taken from the XWiki website) to successfully send an email
> (presumably this uses the email plugin??) :
>
> {{velocity}}
> #if($xwiki.hasAccessLevel('admin'))
> #if("$!{request.action}" == 'send_mail'&& "$!{request.lastname}" == '')
> ## Check submission and honey pot.
> #if("$!request.recipient" != ''&& "$!request.subject" != '')
> #set($result =
> $xwiki.mailsender.sendTextMessage("no-reply(a)xwiki.com
> <mailto:no-reply@xwiki.com> ", $request.recipient, $request.subject,
> "$!request.message"))
> #if($result == -1)
> {{error}}A problem occurred while sending the mail.{{/error}}
> #else
> {{info}}Everything went OK.{{/info}}
> #end
> #else
> {{error}}Please specify at least a recipient and a subject{{/error}}
> #end
> #end
>
> {{html wiki=true}}
> <form action="" method="post">
> <input name="action" value="send_mail" type="hidden" />
> ## this is a honey-pot hidden text field hat hopefully robots will
> not leave empty
> <div class="hidden">
> <input name="lastname" type="text" />
> </div>
> <fieldset>
> **TO:**<br />
> <input type="text" name="recipient" /><br />
> **SUBJECT:**<br />
> <input type="text" name="subject" /><br />
> **MESSAGE:**<br />
> <textarea name="message" style="width:99%;" rows=10>Your test
> message here.</textarea>
> </fieldset>
> <div>
> <span class="buttonwrapper"><input type="submit" class="button"
> value="Send" /></span>
> </div>
> </form>
> {{/html}}
> #else
> {{error}}Oops. Area restricted to Admins, sorry.{{/error}} #end
> {{/velocity}}
>
>
> BUT ..... in my XWiki wiki (I have the latest version) when I select
> to email a wiki page and press the Send button nothing seems to happen
> (I assume the email dialog should close when you press the Send button
> and an email should be sent), also when adding a Watch on the wiki or
> wiki page and the page is changed then no email is sent to the user
> who has put the watch on the page .... does anyone know why the emails
aren't getting sent????
For the watch problem, check that the user has selected a valid watchlist
interval, since by default all users have the watchlist emailer disabled.
You can do that by going to your profile, and editing the preferences on the
Watchlist tab.
> Having the facility to email a wiki page and to watch wiki pages would
> certainly help get more people to use our wiki.
>
> Any clues for fixing this would be most appreciated!
>
> Thanks.
>
> Richard
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi Jan,
On Jul 11, 2011, at 8:16 AM, Jan Slegr wrote:
> Hi,
>
>
>
> can be date and time format changed in Activity Stream (XWiki 3.1 used)
> somehow?
>
>
>
> It's displayed as "10 VII, 11:19" by default and it ignores XWiki
> localization date preference and I'd like to change it to something like
> "10.7.2011, 11:19". I tried to check Activity Stream code, but have had no
> luck to find the correct place where it can be changed so far.
Indeed you're right, the Activity Stream is wrong and it should use the XWiki date format that is configured in the admin.
The code you're looking for is located in the ActivityMacro Object on the Main.Activity page
(http://localhost:8080/xwiki/bin/edit/Main/Activity?editor=object):
...
## Formatters
##--------------------------------------------------------------
#set ($eventDateFormatter = 'dd MMM, HH:mm')
#set ($eventFullDateFormatter = 'yyyy/MM/dd HH:mm')
#set ($activityListDateFormatter = 'dd MMM')
...
Would be great if you could create a jira issue for this at http://jira.xwiki.org.
Hope it helps,
-Vincent
Hi All,
I'm still not able to email using Email a wiki page or via the Watch
plugin.....
I've set up my email server (sendmail) on my Solaris server and set the
appropriate setting in XWiki to talk to it and using the code below (taken
from the XWiki website) to successfully send an email (presumably this uses
the email plugin??) :
{{velocity}}
#if($xwiki.hasAccessLevel('admin'))
#if("$!{request.action}" == 'send_mail' && "$!{request.lastname}" == '')
## Check submission and honey pot.
#if("$!request.recipient" != '' && "$!request.subject" != '')
#set($result = $xwiki.mailsender.sendTextMessage("no-reply(a)xwiki.com
<mailto:no-reply@xwiki.com> ", $request.recipient, $request.subject,
"$!request.message"))
#if($result == -1)
{{error}}A problem occurred while sending the mail.{{/error}}
#else
{{info}}Everything went OK.{{/info}}
#end
#else
{{error}}Please specify at least a recipient and a subject{{/error}}
#end
#end
{{html wiki=true}}
<form action="" method="post">
<input name="action" value="send_mail" type="hidden" />
## this is a honey-pot hidden text field hat hopefully robots will not
leave empty
<div class="hidden">
<input name="lastname" type="text" />
</div>
<fieldset>
**TO:**<br />
<input type="text" name="recipient" /><br />
**SUBJECT:**<br />
<input type="text" name="subject" /><br />
**MESSAGE:**<br />
<textarea name="message" style="width:99%;" rows=10>Your test message
here.</textarea>
</fieldset>
<div>
<span class="buttonwrapper"><input type="submit" class="button"
value="Send" /></span>
</div>
</form>
{{/html}}
#else
{{error}}Oops. Area restricted to Admins, sorry.{{/error}}
#end
{{/velocity}}
BUT ..... in my XWiki wiki (I have the latest version) when I select to
email a wiki page and press the Send button nothing seems to happen (I
assume the email dialog should close when you press the Send button and an
email should be sent), also when adding a Watch on the wiki or wiki page and
the page is changed then no email is sent to the user who has put the watch
on the page .... does anyone know why the emails aren't getting sent????
Having the facility to email a wiki page and to watch wiki pages would
certainly help get more people to use our wiki.
Any clues for fixing this would be most appreciated!
Thanks.
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Please can anyone help me with my problem below:
(Apologies if I am going about this request the wrong way, it is the
first time I've used this method - if I am doing something wrong please
advise corrections...)
I have a page in a space in my wiki that I cannot delete - this is a
page that the users need not see, and the ?link needs removing to
prevent 'recreating' the page.
I have tried several ways to remove this but it is persistent.
I have tried -
* Directly deleting the page. [results in the error below - and
leaves the link to the page with a '?' as being ready to create if
clicked]
* Moving the page to another space e.g. the Sandbox [results in
the page being copied to the sand box, but still leaves the link to the
page with a '?' as being ready to create if clicked]
* Creating an entirely new space and recreating all the other
pages (not moving them) except the unwanted page, and then deleting the
old space. [results in the deleted space showing with a '?' as being
ready to create if clicked - and there is still reference to the
unwanted page in this old space in the document index]
* I have checked all permissions and reset them on the unwanted
page/link/space to allow deletion - and I am trying to perform these
actions as Admin. [results in same as above]
The error displayed when I delete the page is:
Notice
A problem occurred while trying to process your request. Please contact
the webmaster if this happens again.
Detailed information:
Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not insert:
[com.xpn.xwiki.doc.XWikiDeletedDocument]
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while
hibernate execute
Wrapped Exception: could not insert:
[com.xpn.xwiki.doc.XWikiDeletedDocument]
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseSt
ore.java:1040)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateB
aseStore.java:1086)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWiki
HibernateRecycleBinStore.java:68)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3994)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3986)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5816)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5805)
at
com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:85)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1166)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion
Filter.java:152)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2
16)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne
ction.java:915)
at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java
:582)
Wrapped Exception:
java.sql.SQLException: Violation of unique constraint $$: duplicate
value(s) for column(s) $$: SYS_CT_116 in statement [insert into
xwikirecyclebin (XDD_ID, XDD_FULLNAME, XDD_LANGUAGE, XDD_DATE,
XDD_DELETER, XDD_XML) values (null, ?, ?, ?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at
org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delega
tingPreparedStatement.java:101)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delega
tingPreparedStatement.java:101)
at
org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(Abstract
SelectingDelegate.java:33)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEn
tityPersister.java:2163)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEn
tityPersister.java:2643)
at
org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityIn
sertAction.java:51)
at
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at
org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate
(AbstractSaveEventListener.java:298)
at
org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSa
veEventListener.java:181)
at
org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(Ab
stractSaveEventListener.java:107)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGenerat
edOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
at
org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequ
estedId(DefaultSaveEventListener.java:33)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransie
nt(DefaultSaveOrUpdateEventListener.java:172)
at
org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(Def
aultSaveEventListener.java:27)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(
DefaultSaveOrUpdateEventListener.java:70)
at
org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore$1.doInHibernate(XWikiH
ibernateRecycleBinStore.java:72)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseSt
ore.java:1034)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateB
aseStore.java:1086)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWiki
HibernateRecycleBinStore.java:68)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3994)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3986)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5816)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5805)
at
com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:85)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1166)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion
Filter.java:152)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2
16)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne
ction.java:915)
at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java
:582)
THIS WIKI IS LICENSED UNDER A CREATIVE COMMONS 2.0 LICENSE
XWIKI ENTERPRISE 2.1.1.25889 - DOCUMENTATION
Andrew Parkinson
www.senator.co.uk <http://www.senator.co.uk/>
=================================================================
This email is confidential and is intended solely for the use of the individual
or entity to whom it is addressed. If you are not the intended recipient and
you have received this e-mail in error then any use, dissemination, forwarding,
printing or copying of this e-mail is strictly prohibited and you should contact
the sender by e-mail return and then delete all the material from your system.
Any views or opinions expressed in this email are solely those of the author
and do not necessarily represent those of Senator International Limited.
This email does not form a part of a legally binding agreement. We have
taken precautions to minimise the risk of transmitting software viruses,
but we advise that you carry out your own virus checks on any attach-
ments to this message. Senator International Limited cannot accept
liability for any loss or damage done by viruses.
Head Office:
Syke Side Drive
Altham Business Park
Accrington
Lancashire
BB5 5YE
Tel: +44 (0) 1282 725000
Fax: +44 (0) 1282 725039
London Showroom:
11-13 Melton Street
London
NW1 2EA
Tel: +44 (0) 207 388 7621
Fax: +44 (0) 207 388 3121
Company No: 1323955 Registered in England & Wales
===========================================================
Hi,
Sorry if this questions are recurrent, but I can't find any references
on that. When I use the "share by email" feature on a page that contains
images, with the page within the email body, the page's images appear
broken on the html email. How can I fix that?
Another related question: how can I change the way notification emails
show the changes on a watched page? It's not relevant to my users that
html formatting info like "text align" etc are shown in the diff email.
How can I change this?
I'm using XE 3.1M1.
Regards,
--
* *
* *
*Ramon Gomes Brandão*
*//*
Hi,
I'm using version 2.7.1 of XE.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Vincent Massol
Sent: 13 July 2011 08:30
To: XWiki Users
Subject: Re: [xwiki-users] XWiki email not working
Hi,
Maybe it's caused by http://jira.xwiki.org/jira/browse/XE-913?
What exact version of XE are you using?
Thanks
-Vincent
On Jul 8, 2011, at 10:58 AM, goldring, richard wrote:
> Hi,
>
> I've set up my email server (sendmail) on my Solaris server and set
> the appropriate setting in XWiki to talk to it and using the code
> below (taken from the XWiki website) to successfully send an email:
>
> {{velocity}}
> #if($xwiki.hasAccessLevel('admin'))
> #if("$!{request.action}" == 'send_mail' && "$!{request.lastname}" ==
> '') ## Check submission and honey pot.
> #if("$!request.recipient" != '' && "$!request.subject" != '')
> #set($result =
> $xwiki.mailsender.sendTextMessage("no-reply(a)xwiki.com
> <mailto:no-reply@xwiki.com> ", $request.recipient, $request.subject,
> "$!request.message"))
> #if($result == -1)
> {{error}}A problem occurred while sending the mail.{{/error}}
> #else
> {{info}}Everything went OK.{{/info}}
> #end
> #else
> {{error}}Please specify at least a recipient and a
> subject{{/error}} #end #end
>
> {{html wiki=true}}
> <form action="" method="post">
> <input name="action" value="send_mail" type="hidden" /> ## this is a
> honey-pot hidden text field hat hopefully robots will not leave empty
> <div class="hidden"> <input name="lastname" type="text" /> </div>
> <fieldset>
> **TO:**<br />
> <input type="text" name="recipient" /><br />
> **SUBJECT:**<br />
> <input type="text" name="subject" /><br />
> **MESSAGE:**<br />
> <textarea name="message" style="width:99%;" rows=10>Your test
> message here.</textarea> </fieldset> <div>
> <span class="buttonwrapper"><input type="submit" class="button"
> value="Send" /></span>
> </div>
> </form>
> {{/html}}
> #else
> {{error}}Oops. Area restricted to Admins, sorry.{{/error}} #end
> {{/velocity}}
>
>
> BUT ..... in my XWiki wiki (I have the latest version) when I select
> to email a wiki page and press the Send button nothing seems to happen
> (I assume the email dialog should close when you press the Send button
> and an email should be sent), also when adding a Watch on the wiki or
> wiki page and the page is changed then no email is sent to the user
> who has put the watch on the page .... does anyone know why the emails
aren't getting sent????
> Having the facility to email a wiki page and to watch wiki pages would
> certainly help get more people to use our wiki.
>
> Regards,
>
> Richard
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Username: KurtKincaid
Requested Server Name: kurtkincaid
Usage: Personal documentation, note taking, personal task list/project
tracking, etc.
Sincerely,
Kurt Kincaid
kurt(a)kurtkincaid.com
http://www.linkedin.com/in/kkincaidhttp://www.kurtkincaid.com
Hi,
I just got my xwiki on mywiki.org and the recently viewed panel doesn't seem to work. Looking at the code it appears to rely on the stats which are turned off. So is the recently viewed panel just not available on the farm?
Thanks for your help, Regan
Hi,
I've set up my email server (sendmail) on my Solaris server and set the
appropriate setting in XWiki to talk to it and using the code below (taken
from the XWiki website) to successfully send an email:
{{velocity}}
#if($xwiki.hasAccessLevel('admin'))
#if("$!{request.action}" == 'send_mail' && "$!{request.lastname}" == '')
## Check submission and honey pot.
#if("$!request.recipient" != '' && "$!request.subject" != '')
#set($result = $xwiki.mailsender.sendTextMessage("no-reply(a)xwiki.com
<mailto:no-reply@xwiki.com> ", $request.recipient, $request.subject,
"$!request.message"))
#if($result == -1)
{{error}}A problem occurred while sending the mail.{{/error}}
#else
{{info}}Everything went OK.{{/info}}
#end
#else
{{error}}Please specify at least a recipient and a subject{{/error}}
#end
#end
{{html wiki=true}}
<form action="" method="post">
<input name="action" value="send_mail" type="hidden" />
## this is a honey-pot hidden text field hat hopefully robots will not
leave empty
<div class="hidden">
<input name="lastname" type="text" />
</div>
<fieldset>
**TO:**<br />
<input type="text" name="recipient" /><br />
**SUBJECT:**<br />
<input type="text" name="subject" /><br />
**MESSAGE:**<br />
<textarea name="message" style="width:99%;" rows=10>Your test message
here.</textarea>
</fieldset>
<div>
<span class="buttonwrapper"><input type="submit" class="button"
value="Send" /></span>
</div>
</form>
{{/html}}
#else
{{error}}Oops. Area restricted to Admins, sorry.{{/error}}
#end
{{/velocity}}
BUT ..... in my XWiki wiki (I have the latest version) when I select to
email a wiki page and press the Send button nothing seems to happen (I
assume the email dialog should close when you press the Send button and an
email should be sent), also when adding a Watch on the wiki or wiki page and
the page is changed then no email is sent to the user who has put the watch
on the page .... does anyone know why the emails aren't getting sent????
Having the facility to email a wiki page and to watch wiki pages would
certainly help get more people to use our wiki.
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
I am trying to get XEM installed on my shared hosting provider, and am
running into some trouble with the MySQL user permissions part.
The tutorial says:
****
In order for XEM to be able to create new wikis on demand, you will need to
give all rights to your database user. For example for MySQL, execute:
mysql -u root -e "grant all privileges on *.* to xwiki(a)127.0.0.1 identified
by 'xwiki'"
****
This command does not work when run on my SSH client. I contacted my hosting
provider to ask whether it was possible to assign admin privileges, and they
said:
"It is not possible to change privileges for a database user. The database
uses have the most commonly needed privileges set by default. Instead of
creating a user as explained in those instructions, you should just be able
to use provide the user of the database you created through your Hosting
Control Center."
Am I right that this response means that XEM will not install correctly,
despite their assurances that I have "commonly needed privileges"?
Has anyone had success setting up XEM on a GoDaddy hosting account? If not,
it might be time to switch...
Thank you,
Aaron Hardy
**Just wanted to let anyone know who was having the same issue, it was
caused by the order that things are rendered on a wiki page.
The fix (at least temporarily) was to go into the xwiki.cfg file and edit
the line containing the order which files are rendered.
I changed the line :
# xwiki.render.renderingorder=macromapping, groovy, velocity, plugin, wiki,
wikiwiki
to this :
# xwiki.render.renderingorder=groovy, velocity, macromapping, plugin, wiki,
wikiwiki
And now it works. I'm assuming its because the page tried to post the chart
before it was rendered.
My charts work, all is well.
Adam
Hi,
I recently set up a new XWiki instance, on a windows server, hosted in Jetty
with the Database on Oracle 11g.
After starting the server there was a "blank wiki shell", I was prompted to
install the Enterprise xar which I did.
It seemed to install correctly, I could create a user and log in etc.
But I keep on experiencing heap size errors.
I reached the point where I had allocated 2Gb memory, and it is still
freezing up with heap errors.
Has anyone experienced the same and managed to solve it, or got any ideas on
how to isolate the problem?
My configs are as follows:
Java 6 64 bit
Windows 2000 Server
Jetty 7
Wrapped as a service with apache-commons-daemon (procrun).
Thanks for listnening,
Neil.
Hi,
My username is reganfgill and I am requesting a wiki to be named scservicesub
Purpose:
I am a member of a the Service Trips Subcommittee which is part of the National Outings Program of the Sierra Club. We have over 100 subcommittee volunteers who lead and cook service trips in the wilderness and other government protected areas in the US and Canadawhere we and our participants work on conservation projects -- trail building, habitat restoration, invasive weed removal, etc. (for more info : http://www.sierraclub.org./outings/national/service.aspx)
Although the Sierra Club provides some support for us, they do not provide a wiki for the members of the subcommittee to communicate relevant information such as trip and agency experiences, equipment considerations, logistical information, supplies and where to get them and other things that makes our job easier and our trip participants experience better.
BTW, if you are interested in going on a service trip please check out the link above :)
Thank you,
Regan Gill
Hi,
I would like to create multiple objects and attach to the same
document (page).
--- velocity script --------------------------------------------------
#if("$context.action" == 'inline' )
#set($obj = $doc.newObject("Intranet.AbPersonClass"))
#foreach($prop in $obj.xWikiClass.properties)
; $prop.prettyName
: $doc.display($!prop.getName(),$obj)
#end
$doc.save()
#end
--------------------------------------------------------------------
With this code I have two different behaviors:
* edit inline, add field, save => everything works well
* edit inline, press CANCEL => the system save an empty object
Is there a workaround?
Thank you,
Gianluca
Hello,
I'm fulfilling a request as seen on :
http://www.myxwiki.org/xwiki/bin/view/Main/
I'd like to use xwiki as a personal/family blog.
My user name at myxwiki.org : Thomas
The server name I'd like to use : fnd
Please let me know if it still possible.
Best regards
Thomas DOUCEDAME
Hi,
can be date and time format changed in Activity Stream (XWiki 3.1 used)
somehow?
It's displayed as "10 VII, 11:19" by default and it ignores XWiki
localization date preference and I'd like to change it to something like
"10.7.2011, 11:19". I tried to check Activity Stream code, but have had no
luck to find the correct place where it can be changed so far.
With regards,
Jan
Dear Group,
after following the guide on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationGlassFish I seem to be getting an error message (see below); so far I have tried installation using GlassFish 3.0.1 on Amazon Linux and Ubuntu 11.04: both times I get the error.
Any ideas? Do I have to set up a database first?
Thank you in advance for useful hints,
Sandor
-- Error message start ---
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it.
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it.
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.0.1 logs.
--- Error message end ---
I am out of the office until 07/20/2011.
If this is an emergency, please call my cell. Otherwise, for wiki or video
issues, please contact Kim Dillon. For Support Portal content issues,
please contact Jenny Purushotma. For acquisition issues, please contact
Diane Paige.
Note: This is an automated response to your message "users Digest, Vol 48,
Issue 10" sent on 7/9/2011 6:00:07.
This is the only notification you will receive while this person is away.
I've been experimenting with including video on my pages and have had
success with flowplayer with all the relevant flash and javascript
stuff within {{html}} tags, however a similar test using a video tag
didn't seem to result in the html even getting included in the page.
Any ideas?
I'm testing with 2.2.3.27738 and the browser I'm using is Chromium V12.
Thanks,
Alan
Hello,
I am writing an application that keeps track of some data, and I would
like to display that data with selectable time periods. Everything has
been pretty smooth so far, except that whenever I try and use the Charting
Macro at first it would not display and gave an "Error saving chart image"
Exception. This turned out to be a problem with the permissions for Xwiki
on our local Tomcat server which has since been solved.
Now however, whenenver I try and use the Charting Macro, the image saves
properly and the macro executes but only displays a link to a different,
empty, page that should be the graph/picture.
This is the chart code, in 2.0 syntax. Running on Xwiki Enterprise
2.6.33065.
{{chart type="line" source="inline" params="range:B2-D5;series:columns;"
title="Chart Test" width="320" height="240"}}
| |X |Y |Z
|Q1|1.2|3.4|1.3
|Q2|4.5|3.4|2.3
|Q3|1.2|4.5|9.0
|Q4|3.4|1.2|1.2
{{/chart}}
All that displays is a link "Chart Test" which takes you to an empty
web-page.
Any ideas as to why the graph would not display and only show up as a
link?
Adam
**********************************************************************
CONFIDENTIALITY NOTICE:
This is a transmission from Kohl's Department Stores, Inc.
and may contain information which is confidential and proprietary.
If you are not the addressee, any disclosure, copying or distribution or use of the contents of this message is expressly prohibited.
If you have received this transmission in error, please destroy it and notify us immediately at 262-703-7000.
CAUTION:
Internet and e-mail communications are Kohl's property and Kohl's reserves the right to retrieve and read any message created, sent and received. Kohl's reserves the right to monitor messages by authorized Kohl's Associates at any time
without any further consent.
Hi,
Sometimes I want to add a link to a file already attached to another file -
is it possble to attach files centrally to the wiki rather than to a wiki
page to avoid having to attach files to multiple wiki pages in order to
reference the files.
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
I've recently deployed XWiki (3.1m1) in a Tomcat 6 container, and was
playing around with the editing features when I noticed that the WYSIWYG
editor menu, which is supposed to sit right above the editor toolbar, is
missing. I've been unsuccessful in finding any posts regarding this issue,
and there doesn't seem to be very much information in the documentation
about it. Is there something that I need to do to enable it? or maybe I've
done something wrong. Perhaps someone can provide some hints to help.
In a similar note which may or may not be related, I've also noticed that
the Styles widget on the toolbar does not work. I noticed that for most
buttons (features according to the docs), after you have added the
appropriate plugin, the feature name autofills when you begin typing its
name. This never happened with the "style" plugin's "stylename" feature.
If I fill it out, the Style select box appears but does not contain any
styles.
Thanks!
Rob
Hi,
Have just installed the WatchList Application on XWiki Enterprise 3.1 and link for the RSS feed for "Last modifications feed for your watchlist" which appears in the user's Watchlist preferences page, gives the errors below.
Any ideas of what might be wrong?
Regards,
Tim
Failed to execute the [velocity] macroorg.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [## WatchList RSS.
## This page must be called with the following query string: "?xpage=plain&outputSyntax=plain"
#if("$!request.xpage" != "plain" && "$!request.outputSyntax" != "plain")
WatchList RSS feed
#else
$!response.setContentType("application/text+xml")##
#set($feed = $xwiki.watchlist.getFeed(20))##
#set($discard = $feed.set)
$xwiki.feed.getFeedOutput($xwiki.watchlist.getFeed(20), "rss_2.0")##
#end]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:133)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:49)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:306)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:202)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:59)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:196)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:141)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:81)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7639)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7588)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:838)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:787)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:626)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:195)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:160)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1840)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1778)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:836)
at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:195)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:160)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1840)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:153)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:301)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:162)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:XWiki.WatchListRss]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:204)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:160)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:126)
... 91 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getFeed' in class com.xpn.xwiki.plugin.watchlist.WatchListPluginApi threw exception com.xpn.xwiki.plugin.activitystream.api.ActivityStreamException: Error number 3223 in 3: Error number 3223 in 3: Exception while searching documents with sql select act from ActivityEventImpl as act where act.wiki in () or concat(act.wiki,:,act.space) in () or concat(act.wiki,:,act.page) in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) order by act.date desc
Wrapped Exception: unexpected end of subtree [select act from com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl as act where act.wiki in () or concat(act.wiki,:,act.space) in () or concat(act.wiki,:,act.page) in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) order by act.date desc]
Wrapped Exception: unexpected end of subtree [select act from com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl as act where act.wiki in () or concat(act.wiki,':',act.space) in () or concat(act.wiki,':',act.page) in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) order by act.date desc] at xwiki:XWiki.WatchListRss[line 7, column 31]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:195)
... 93 more
Caused by: com.xpn.xwiki.plugin.activitystream.api.ActivityStreamException: Error number 3223 in 3: Error number 3223 in 3: Exception while searching documents with sql select act from ActivityEventImpl as act where act.wiki in () or concat(act.wiki,:,act.space) in () or concat(act.wiki,:,act.page) in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) order by act.date desc
Wrapped Exception: unexpected end of subtree [select act from com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl as act where act.wiki in () or concat(act.wiki,:,act.space) in () or concat(act.wiki,:,act.page) in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) order by act.date desc]
Wrapped Exception: unexpected end of subtree [select act from com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl as act where act.wiki in () or concat(act.wiki,':',act.space) in () or concat(act.wiki,':',act.page) in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) order by act.date desc]
at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.searchEvents(ActivityStreamImpl.java:663)
at com.xpn.xwiki.plugin.activitystream.plugin.ActivityStreamPluginApi.searchEvents(ActivityStreamPluginApi.java:307)
at com.xpn.xwiki.plugin.watchlist.WatchListEventFeedManager.getFeed(WatchListEventFeedManager.java:90)
at com.xpn.xwiki.plugin.watchlist.WatchListPluginApi.getFeed(WatchListPluginApi.java:407)
at com.xpn.xwiki.plugin.watchlist.WatchListPluginApi.getFeed(WatchListPluginApi.java:396)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
... 102 more
Hi LaStudent
You could try applying the edit and delete code found in the Event Calendar
application:
#foreach($yourobject in $doc.getObjects("XWiki.YourClass"))
#if($hasedit) ( $doc.getURL( $msg.get("edit") ,
$doc.getURL( $msg.get("delete") )
#end
-----
Lockie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Delete-Edit-Button-tp6546454p6552319.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Is there somebody using the south-korean language for XWiki?
We need it for a international website, and we wonder how mature the xwiki internationalization is?
What do we need to consider in our configuration if we want to use languages like japanese, korean, arabic (If existing)
Database configuartion, etcetera...
Gerritjan
Hi all,
I notice that if I allow any logged on user to view the XWiki space, then
they can look at this page:
/xwiki/AllDocs?view=index
Which shows all the page titles in all of the spaces, even if the user
doesn't have access to those pages!
Shouldn't it keep both the data and the metadata private if the user doesn't
have view access rights?
thanks,
Paul
Hi again,
How do I make the browser bar title appear like this...
pagetitle - spacename - Whatever
I tried to look up the API documentation, but I couldn't see the
documentation on "DocumentReference"
the links are all broken
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xw…
this is what i have so far... just missing the name of the document's space
$tdoc.getRenderedTitle("plain/1.0") - SPACE HERE - Whatever
thanks,
Paul
Hi all,
I guess there is some trick that I'm not aware of...
I have switched to file databases (but cannot copy the existing ones to the
filesystem yet, due to problems discussed in another email).
When I upload a file, it is created on the filesystem here:
/var/cache/jetty/tmp/work/storage/xwiki/Website+Admin/attachment+porter/~this/attachments
/var/cache/jetty/tmp/work/storage/xwiki/Website+Admin/attachment+porter/~this/attachments/myrightstoadmin.png
/var/cache/jetty/tmp/work/storage/xwiki/Website+Admin/attachment+porter/~this/attachments/myrightstoadmin.png/~METADATA.xml
/var/cache/jetty/tmp/work/storage/xwiki/Website+Admin/attachment+porter/~this/attachments/myrightstoadmin.png/myrightstoadmin~v1.1.png
/var/cache/jetty/tmp/work/storage/xwiki/Website+Admin/attachment+porter/~this/attachments/myrightstoadmin.png/myrightstoadmin.png
but, when i do
/etc/init.d/jetty stop
it deletes that entire /var/cache/jetty/tmp folder !
Seems obvious to me that since its called /tmp, it means its for temporary
storage.
So when I start jetty up again, the file attachments cannot be found.
Design flaw? Where do I configure the location of the file attachments?
Theres nothing in the documentation.
cheers
Paul
Hi again,
I wanted to delete all the packages I had uploaded for Import.
If I go through the XWikiPreferences --> Import, I can't see any packages...
the link is:
http://HOST/xwiki/import/XWiki/XWikiPreferences?editor=globaladmin§ion=…
However, if I go to this page (which I can't remember how I got there):
http://host/xwiki/import/XWiki/Import?editor=globaladmin§ion=Import
I can see a dozen packages that I uploaded.
Whats the difference between these two imports, and how do I get to the
second one without knowing the link beforehand? (I think I found it via the
Document Index and scanning hundreds of docs in the XWiki space)
cheers
Paul
Hi again,
I really like the CheckRights tool in the Admin Tool
http://extensions.xwiki.org/xwiki/bin/view/Extension/AdminTools
However, it doesn't have the ability to check the rights of the Unregistered
User.
Can someone please help me to tweak the code so that it can check the
rights?
thanks
Paul
Hi again,
The backlinks panel for my Main.WebHome shows this list:
XWiki Syntaxes |
XWiki Syntaxes |
XWiki Syntaxes |
XWiki Syntaxes |
XWiki Syntaxes |
$escapetool.xml($rdoc.plainTitle) |
$escapetool.xml($rdoc.plainTitle)
If the user has View Rights on the SandBox, then the "escapetool"
lines become SandBox.
Point 1)
Surely if the user doesn't have view rights to a page, it should not
be in the backlist at all?
Point 2)
Can the BackLinks ignore all the XWiki and other system spaces?
Point 3)
Can Backlinks just list each page once rather than multiple times?
thanks
Paul
Hi guys,
I installed the "Admin Tools" plugin
http://extensions.xwiki.org/xwiki/bin/view/Extension/AdminTools
And found that half the stuff didn't work anyway.
Regardless, carrying on, I am hoping the User Rights tool will be helpful,
however it can't seem to check the most important user:
the Unregistered User
And what is worse, I discovered by accident that the Unregistered User can
access the space!
For example, an unregistered user can access the /xwiki/Admin/RunQuery page,
which could be used to run queries directly on the database, for example
select * from xwikipreferences
Does this give anyone else a heart attack too??
WHY is there no default "cannot view unless admin says so" mode?
This is a problem with all of my spaces. When I create a space, I want to
then have to go and ALLOW people to access it. Not open by default, that is
much harder to configure.
Can someone please look at rights management, it seems to be insecure by
default, and makes me scared.
thanks.
Paul
Hi again,
When you click the little pencil next to image-attachments in firefox, it
says 'you need an extension to do this'.
However, that extension hasn't worked with firefox since 3.0
Isn't it time to either retire the requirement on that extension, or update
the extension?
cheers
Paul
Hi again,
I tried to transfer all my attachments to the filesystem with the script:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+…
which IS a core extension (at least developed by the dev team).
I'm using jetty, and it fails with this error:
/var/cache/jetty/tmp/work/storage/xwiki/XWiki/XWikiSyntax/~this/attachments/img.png/img.png~tmp
(Too many open files)
I found that jetty had many many open files - it had created and left open
the handle on hundreds of files in
/var/cache/jetty/data/upload__*
Was this tested against a full sized wiki? My wiki isn't very big at all
yet, maybe a few dozen pages at the most.
Does this happen on a tomcat server? Maybe noone checked it on jetty?
Seems like leaving the handle open isn't a scalable solution ...
I'm looking at the code for the script, I'd like to fix it somehow...
Can someone please give me a tip?
cheers
Paul
Hi,
I couldn't even backup my sql database anymore because there are large pages
(with attachments) in the recycle bin -- at least thats what I gathered from
the mysqldump error message:
mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes
when dumping table `xwikirecyclebin` at row: 45
I will have to adjust the max package size (again), but I want to move to
file-system attachments.
So, I thought I'd try and empty the recycle bin...
I found the "Deleted Documents" list in the Document Index, but I have over
5 pages of them.
Do I seriously have to click delete and Yes on every single one of these
individually?
I found this extension:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Empty+Trash+Bin
I installed the Groovy Console and copy-pasted the code into the box, and
clicked Execute... and nothing happened.
I looked at the code, and executed the sql command directly in mysql:
select distinct ddoc.fullName from XWikiDeletedDocument as ddoc where not
exists (from XWikiDocument as doc where doc.fullName=ddoc.fullName);
But it doesn't work - invalid SQL.
I adjusted it to:
select distinct ddoc.fullName from XWikiDeletedDocument as ddoc where not
exists (select doc.fullName from XWikiDocument as doc where
doc.fullName=ddoc.fullName);
but it says XWikiDeletedDocument doesn't exist anymore.
So, how am I supposed to delete things from the recycle bin?
The only thing useful I can find is this:
http://markmail.org/message/6yxwwczjk7pwowbd
Which seems to suggest I do:
delete from xwikirecyclebin;
But, will that stuff something up? The extension is out of date, so I can
only assume that this advice might be too.
cheers
Paul
Hi,
I've upgraded from XE2.6 to XE3.1, and found I couldn't export to PDF
anymore - not enough memory.
So I increased the amount of memory for jetty to 720mb (it was already 512).
I found after working with the wiki for maybe 30 minutes, something else
would run out of memory. So i have to restart jetty every 20 minutes
sometimes. I can only tell I have a problem when I start getting "can't
parse vm whatever code" messages in the webbrowser.
I'm not sure if this is a memory leak issue... I found that repeatedly
clicking Export (in export-PDF) would increase the resident memory (in
linux) all the way up from maybe 130mb to 1008mb (the virtual memory size)
in jumps of over 50mb. Further clicking on the Export would would not
increase the resident size, so I'm not sure what is going on there...
is this a sign of a massive problem?
cheers
Paul
Hello!
I have a question according to the Blog engine of XWiki.
Can I use an external blog writer like Window Live Writer to write my blog and afterwards pushing the blog to the XWiki blog engine. Does the blog engine supports XML-RPC?
Thank you for your help!
Florian
Hello everyone,
I'm experiencing a strange behavior that causes some p tags to disappear:
XWiki Verion: 2.7
syntax: XWiki 1.0
1) after the unordered list done using the * the subsequent text is no more
contained in <p> tags
2) I'm using multilanguage [en (default), it]
with this code:
1.1 title
text text text text
the text is not contained in <p> for the English version while it is for
the Italian version,
the source has obviously the same format
do you have some suggestion? are these known bugs?
thank you,
Davide.
Hello,
I am looking for the best solution to import data from external datasource
(mysql), and using it to produce charts.
Any idea ? SQL Plugin looks obsolete :-(
Thanx for your help
--
- Nicolas Hernandez
a-n - aleph-networks
*manager*
http://www.aleph-networks.com
Hi,
At the outset - I admit to being a complete and total newbie at this.
Apologize for asking what are probably dumb questions - and likely to be
lots more than one. Any help people would be willing to give me would be
much appreciated.
I have been through all the tutorials, the API JavaDoc, and as many examples
of code as I could find, but I still can't seem to find anything that looks
directly applicable or works when I try to adapt it.
What I'm ultimately trying to do seems pretty straightforward. I would like
to have a set of pages which each contain structured data that can be
modified, added, or deleted one object at a time, and which display in
reverse chronological order. I would like each of those objects to be
displayed with specific HTML formatting. Eventually, I will also need to be
able to interact with those objects using the REST API. My current
understanding of the process I need to use to get started is this:
1) Create a new Class (We'll call it "Entry") with specific properties
2) Create the Class Sheet and Template. The Template includes a link to the
Class Sheet for displaying instances of the class.
3) Edit the Class Sheet to get the attached objects to display properly
4) Create a new page from the Template, add several instances of the class
to it - they should then display on the new page.
First two steps are easy - but the first place that I am hung up is figuring
out how to get the Class Sheet to display multiple objects of the same class
attached to the same page.
I have a page with 3 objects of the Entry class attached (with different
info in the properties). Ultimately the info and formatting will need to be
more complex, but I can't even get the basics to work - this is what I have
tried so far:
****START CODE****
#foreach($entry in $doc.getObjects("XWiki.EntryClass"))
#foreach($prop in $entry.properties)
: $doc.display($prop.getName())
#end
#end
****END CODE***
The problem is that this code displays the info for the first object three
times, instead of the unique properties for each class. The fact that it
displays three times seems to indicate that the loop is correctly going
through each object in the document - but it is obviously not incrementing
the properties to the next $entry. Sure it's a simple syntax error, but
don't know what it is.
I also can't tell from the JavaDoc enough about how to use .display() or the
properties of a vector to know how to do basic things like display the
number of objects or the name of each one. Can't figure out how to interact
with objects very well, basically.
Side question - Should I be using one object per page and then including
pages instead of having multiple objects on one page? I have worked my way
through the TOC demo, and it seems that each TOC entry is saved on a
separate page - and the livetable macro is then used on the "display" page
to populate the table with all the entries.
Thank you in advance,
Aaron
Hi,
I've created a page template that has some images on it (like different
logos according to the document). On the template, I've upload the image
and inserted it on wysiwyg option. I used, then, this page on my
template provider. When I create a new page from this template, the
image seems to be not copied from the template to the new page, and the
image is not loaded.
Any way to turn around on this? I'm using XE 3.1-M2.
Regards,
--
* *
* *
*Ramon Gomes Brandão*
*//*
I have just carefully upgraded a wiki from 2.6 to 3.1
At first glance It seemed to have gone fine, but I noticed velocity errors on the new-style Admin page (XWiki.XWikiPreferences):
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
...
Caused by: org.apache.velocity.runtime.parser.TemplateParseException: Encountered "\'checkbox\'" at xwiki:XWiki.AdminSheet[line 231, column 26]
Was expecting one of:
"," ...
")" ...
<WHITESPACE> ...
...
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
(full error message copied below)
The result is that none of the administration pages displays properly.
Has anyone an idea of what might be causing this problem?
Thanks for your help,
Tim
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Failed to execute the [velocity] macro
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [## Constants:
#set($redirectParameter = 'xredirect')
#set($nameOfThisDocument = 'XWiki.ConfigurableClass')
#*
* If this document is saved with programming access or is includeForm'd into a document with programming, we have to
* drop programming rights in order for it to run safely because it evaluates potentially untrustworthy code.
*###
#macro(sandboxDocument)
#if($xcontext.hasProgrammingRights())
$xcontext.dropPermissions()##
#end
#end
#*
* Any documents which are on the provided list ($documentNames) which are locked by the current user will be unlocked.
* If this macro has programming rights, then they are unlocked programmatically, otherwise a javascript tag is
* generated with ajax calls to cancel for all of the documents. If there are documents on this list which are not
* locked by the current user, then they are ignored.
*
* @param $documentNames - List<String> - fullNames of documents which should be unlocked if they are locked by the
* current user.
*###
#macro(unlockDocuments $documentNames)
#if($documentNames.size() > 0)
#set($sql = "doc.fullName=")
#foreach($documentName in $documentNames)
#set($sql = "${sql}'$documentName' or doc.fullName=")
#end
## Trim the dangling ' or doc.fullName=?'
#set($sql = $sql.substring(0, $sql.lastIndexOf(' or doc.fullName=')))
#set($sql = ", XWikiLock lock where lock.docId=doc.id and lock.userName='$xcontext.getUser()' and (${sql})")
#set($namesOfdocumentsToUnlock = $xwiki.searchDocuments($sql))
## Use ajax and hope the user runs javascript.
{{html}}
<script type="text/javascript">
document.observe("dom:loaded", function() {
#foreach($nameOflockedDocument in $namesOfdocumentsToUnlock)
new Ajax.Request("$xwiki.getURL($nameOflockedDocument, 'cancel', 'ajax=1')");
#end
});
</script>
{{/html}}
#end## If output list size > 0
#end
#*
* Try to determine whether a document was edited by a user who has edit right on this page. This is tricky because
* documents are imported with the name XWiki.XWikiGuest who has no access to anything after import.
*
* @param theDoc - Document who's editor should be checked for edit access on this document.
*###
#macro(checkDocumentSavedByAuthorizedUser, $docToCheck, $currentDoc, $hasAccess)
## The system is started and the only user is XWikiGuest who has admin right but gives it up when he imports the default
## documents, we are checking to see if this looks like the guest imported the document with the first import.
#if($docToCheck.getWiki() == $xcontext.getMainWikiName()
&& $docToCheck.getVersion() == '1.1'
&& $docToCheck.getCreator() != $docToCheck.getContentAuthor()
&& $docToCheck.getContentAuthor() == 'XWiki.XWikiGuest')
##
#set($userToCheck = $docToCheck.getCreator())
#else
#set($userToCheck = $docToCheck.getAuthor())
#end
#set ($hasAccess = $util.null)
#setVariable ("$hasAccess" $xwiki.hasAccessLevel('edit', $userToCheck, $currentDoc))
#end
#*
* Find names of documents which contain objects of the class 'XWiki.ConfigurableClass'
*
* @param $section - String - Look for apps which specify that they should be configured in this section,
* if null or "" then returns them for all sections.
*
* @param $globaladmin - boolean - If true then we will look for applications which should be configured globally.
*
* @param $space - String - If not looking for apps which are configured globally, then this is the space where we
* will look for apps in. If null or "" or if $globaladmin is true, then all spaces will be
* searched.
*
* @param $outputList - List - The returns from this macro will be put in this list, passing the list as a parameter
* a safety measure because macros can't return values.
*###
#macro(findNamesOfAppsToConfigure, $section, $globaladmin, $space, $outputList)
## Use a parameterized sql query to prevent injection.
#set($params = [])
#if($section && $section != '')
#set($discard = $params.add("$section"))
#set($sqlA = ' StringProperty as section,')
#set($sqlB = " and section.id=obj.id and section.name='displayInSection' and section.value=?")
#else
## Make sure they are "" in case they were set prior to calling the macro.
#set($sqlA = '')
#set($sqlB = '')
#end
## Set up query based on value of $globaladmin
#if($globaladmin == true)
#set($sqlC = '1')
#else
#if($space && $space != '')
#set($sqlC = '0 and doc.space = ?')
#set($discard = $params.add($space))
#else
#set($sqlC = '0')
#end
#end
#set($sql = ", BaseObject as obj,$sqlA IntegerProperty as global where "
+ "doc.fullName=obj.name and obj.className='" + $nameOfThisDocument + "'$sqlB "
+ "and global.id=obj.id and global.name='configureGlobally' and global.value=$sqlC "
+ "order by doc.creationDate")
##
## Run the search
#set($discard = $outputList.addAll($xwiki.searchDocuments($sql, 0, 0, $params)))
##
#end
#macro(findCustomSectionsToConfigure $adminMenu)
#set ($outputList = [])
#set ($global = ($editor == 'globaladmin'))
#findNamesOfAppsToConfigure('', $global, $currentSpace, $outputList)
#set ($sectionsByName = {})
#set ($categoriesByName = {})
#foreach ($category in $adminMenu)
#set ($discard = $categoriesByName.put($category.id, $category))
#foreach ($section in $category.children)
#set ($discard = $sectionsByName.put($section.id, $section))
#end
#end
##
#set ($query = "editor=$escapetool.url(${editor})")
#if ($editor != 'globaladmin')
#set ($query = $query + "&space=$escapetool.url(${currentSpace})")
#end
#foreach ($appName in $outputList)
##
## Get the configurable application
#set ($app = $xwiki.getDocument($appName))
##
## If getDocument returns null, then warn the user that they don't have view access to that application.
#if (!$app)
! #set ($discard = $appsUserCannotView.add($appName))
#end
##
#foreach ($configurableObject in $app.getObjects($nameOfThisDocument))
#set ($displayInSection = $app.getValue('displayInSection', $configurableObject))
##
## If there is no section for this configurable or if the section cannot be edited, then check if the
## application can be edited by the current user, if so then we display the icon from the current app and
## don't display any message to tell the user they can't edit that section.
#if ($sectionsByName.containsKey($displayInSection))
#set ($appSection = $sectionsByName.get($displayInSection))
#set ($appSection.configurable = true)
#set ($newSection = false)
#else
##
## If there is no section for this configurable, then we will have to add one.
#set ($appSection = {'id' : $displayInSection, 'name' : $msg.get("admin.${displayInSection.toLowerCase()}"), 'url': $xwiki.getURL($currentDoc, $adminAction, "${query}&section=$escapetool.url(${displayInSection})"), 'configurable' : true})
#if ($app.getValue('configureGlobally', $configurableObject) != 1)
#set ($appSection.perSpace = true)
#end
#set ($key = "admin.${displayInSection.toLowerCase()}.description")
#if ($msg.get($key) != $key)
#set ($appSection.description = $msg.get($key))
#end
#set ($discard = $sectionsByName.put($displayInSection, $appSection))
#set ($discard = $categoriesByName.get('applications').children.add($appSection))
#set ($newSection = true)
#end
##
## If an attachment by the filename iconAttachment exists and is an image
#set ($attachment = $app.getAttachment("$!app.getValue('iconAttachment', $configurableObject)"))
#if ($attachment && $attachment.isImage())
## Set the icon for this section as the attachment URL.
#set ($appSection.iconReference = "${appName}(a)${attachment.getFilename()}")
#elseif(!$appSection.iconReference)
#set ($appSection.iconReference = 'XWiki.ConfigurableClass(a)DefaultAdminSectionIcon.png')
#end
##
## If the user doesn't have edit access to the application, we want to show a message on the icon
#if (!$xcontext.hasAccessLevel('edit', $app.getFullName()) && $newSection)
#set ($appSection.readOnly = true)
#elseif ($xcontext.hasAccessLevel('edit', $app.getFullName()) && $appSection.readOnly)
#set ($appSection.readOnly = false)
#end
#end## Foreach configurable object in this app.
#end## Foreach application which is configurable.
#end
#*
* Show the heading for configuration for a given application.
*
* $appName (String) Name of the application to show configuration heading for.
*
* $headingAlreadyShowing (boolean) If true then we don't make another heading. Otherwise it is set to true.
*###
#macro(showHeading, $appName, $headingAlreadyShowing)
#if(!$headingAlreadyShowing)
#set($headingAlreadyShowing = true)
= $msg.get("admin.customize") __[[$appName>>$appName]]__: =
#end
#end
#define($formHtml)
#if ($objClass.getPropertyNames().size() > 0)
<dl>
#foreach($propName in $objClass.getPropertyNames())
#if($propertiesToShow.size() > 0 && !$propertiesToShow.contains($propName))
## Silently skip over this property.
#else
#set($prettyName = "#evaluate($app.displayPrettyName($propName, $obj))")
##
## Further processing of the field display HTML is needed.
## Step 1: Strip <pre> tags which $obj.display inserts, this won't affect content because it's escaped.
#set($out = $obj.display($propName, 'edit').replaceAll('<[/]?+pre>', ''))
## Step 2: Select only content between first < and last > because $obj.display inserts html macros.
## Careful not to remove html macros from the content because they are not escaped!
#set ($out = $out.substring($out.indexOf('<'), $mathtool.add(1, $out.lastIndexOf('>'))))
## Step 3: Prepend app name to all ID and FOR attributes to prevent id collision with multiple apps on one page.
#set ($out = $out.replaceAll(
" id='$objClass.getName()_$obj.getNumber()_$propName", " id='${escapedAppName}_$objClass.getName()_$obj.getNumber()_$propName").replaceAll(
" for='$objClass.getName()_$obj.getNumber()_$propName", " for='${escapedAppName}_$objClass.getName()_$obj.getNumber()_$propName"))
## App Name is prepended to for= to make label work with id which is modified to prevent collisions.
<dt><label for="${escapedAppName}_$objClass.getName()_$obj.getNumber()_$propName">
#if ($out.indexOf('type=''checkbox''') != -1)
$out
#end
$escapetool.xml($prettyName)
</label>
#if($linkPrefix != '')
#set($linkScript = "$linkPrefix$propName")
<a href="$escapetool.xml("#evaluate($linkScript)")" class="xHelp" title="$msg.get('admin.documentation')">$msg.get('admin.documentation')</a>
#end
</dt>
#if ($out.indexOf('type=''checkbox''') == -1)
<dd>$out</dd>
#end
#end## If property is in propertiesToShow
#end## Foreach property in this class
</dl>
#end
#end## define $formHtml]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:125)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:44)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:298)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:190)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:57)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:184)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:129)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7409)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7358)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:831)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:782)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:874)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:196)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1874)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:301)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:162)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:XWiki.AdminSheet]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:205)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:118)
... 72 more
Caused by: org.apache.velocity.runtime.parser.TemplateParseException: Encountered "\'checkbox\'" at xwiki:XWiki.AdminSheet[line 231, column 26]
Was expecting one of:
"," ...
")" ...
<WHITESPACE> ...
at org.apache.velocity.runtime.parser.Parser.parse(Parser.java:119)
at org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:1131)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:189)
... 74 more
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hello,
I am trying to replicate the first example in the tutorial[
http://rendering.xwiki.org/xwiki/bin/view/Main/GettingStarted] using Maven.
It worked great at first, but when I try to build a shaded JAR using the
maven-shade-plugin, I keep getting a nasty exception:
org.xwiki.component.manager.ComponentLookupException: Can't find descriptor
for the component [role = [org.xwiki.rendering.converter.Converter] hint =
[default]]
It seems that some descriptor should have registered itself, but it does not
always do that, depending on the project setup.
My question: is there a way to poke whichever class has to register itself?
If not, can you point me to a place where I can learn more about the
registration process?
All the best,
Wouter
I would like to start a xWiki about "Green Lawns": reel mowers, propane powered mowers and other subjects about organic lawns and landscaping.
note: I am planning to start a business in this field, but I can make the wiki strictly about information people can use and doesn't bennefit me or my business, except an occasional link. I just think it's important for people to be exposed to information on ways to have a organic lawn and garden.
I'm also looking to try out different wiki software to find one that is the easiest to use but is still flexible.
Randy
Hello!
I have a question according to the tree view in xwiki. Is there a possibility to change the velocity code that I can display the treeview of a single space? I didn´t find anything according to this topic.
Thanks for your help!
Florian
Hi all,
I need help with installation...
I'm trying to get xwiki running on:
RHEL 6 x64...
JDK 6 latest...
Mysql 5.1.52...
Tomcat 7.0.14
I've followed the admin guide as near as possible... The deviations I've
made are..
created my db as 'testxwiki' instead of just xwiki...
modified xwiki.db=testxwiki (this was just a stab in the dark - not sure
I need to change this)
made appropriate modifications to the jdbc url in hibernate.cfg.xml...
I've varified that I can connect to the database using:
mysql -uxwiki -psome_password testxwiki
and show tables returns the empty set... xwiki / hibernate is supposed
to create the initial schema on startup right (less indexes)?
A more complete catalina.out snip is below but essentially I'm getting...
FATAL store.DBCPConnectionProvider - Could not create a DBCP pool.
There is an error in the hibernate configuration file, please review it.
Unfortunately I have been through this file many many times... and I
just don't see anything wrong with it...
I also get some interesting results when I stop tomcat after attempting
to browse the xwiki site...
SEVERE: The web application [/xwiki] registered the JDBC driver
[com.mysql.jdbc.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has
been forcibly unregistered.
May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread
named [EvictionTimer-0] but has failed to stop it. This is very likely
to create a memory leak.
May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread
named [EvictionTimer-1] but has failed to stop it. This is very likely
to create a memory leak.
May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@2a717ef5]) and a value of type
[java.util.Hashtable] (value [{}]) but failed to remove it when the web
application was stopped. Threads are going to be renewed over time to
try and avoid a probable memory leak.
May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@2a717ef5]) and a value of type
[java.util.Hashtable] (value
[{url=http://neil.nmc.edu:8080/xwiki/bin/view/Main/}]) but failed to
remove it when the web application was stopped. Threads are going to be
renewed over time to try and avoid a probable memory leak.
May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@2a717ef5]) and a value of type
[java.util.Hashtable] (value
[{url=http://neil.nmc.edu:8080/xwiki/bin/view/Main/}]) but failed to
remove it when the web application was stopped. Threads are going to be
renewed over time to try and avoid a probable memory leak.
Here's the gory details of everything I did (as well as I can remember)...
====
Installed the 64bit jdk from oracle..
java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
====
Downloaded tomcat and installed it...
tar -zxvf apache-tomcat-7.0.14.tar.gz
Modified the server.xml file and added:
deployOnStartup="true" to the Host node
Modified catalina.sh and added:
JAVA_HOME=/usr/local/jdk160_25
JAVA_OPTS="-Xmx512m -XX:MaxPermSize=128m"
Removed examples, host-manager, and manager from 'webapps'... I prefer
not to leave them...
====
Started tomcat - at that point I could get to the ROOT application and
browse the tomcat docs...
====
Installed mysql from RPM packages... Configured a few parameters in
my.cnf...
default-storage-engine=INNODB
innodb_file_per_table
skip-external-locking
max_connections=200
read_buffer_size=1M
sort_buffer_size=1M
key_buffer_size=128M
max_allowed_packet=32M
innodb_data_file_path = ibdata1:100M:autoextend
innodb_buffer_pool_size=256M
innodb_additional_mem_pool_size=20M
innodb_log_file_size=64M
innodb_log_buffer_size=8M
innodb_flush_log_at_trx_commit=1
====
Created the database and the user...
create database testxwiki default character set utf8;
grant all privileges on testxwiki.* to xwiki@localhost identified by
'some_password';
flush privileges;
====
Extracted the war file to 'xwiki' inside of webapps...
Added mysql-connector-java-5.1.16-bin.jar to xwiki/WEB-INF/lib
====
Changed hibernate.cfg.xml by:
commenting out the hsqldb section...
moved the comment tag for the mysql section up under the reference to
xwiki-1945 Leaving the property and mapping nodes uncommented:
<property
name="connection.url">jdbc:mysql://localhost/testxwiki?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8&sessionVariables=sql_mode=''</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">some_password</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
====
changed xwiki.cfg as follows:
diff xwiki.original xwiki.cfg
82c82
< # xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml
---
> xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml
104c104
< # xwiki.db=xwiki
---
> xwiki.db=testxwiki
DO I NEED TO CHANGE THE XWIKI.DB PROPERTY???
====
When I start tomcat and go to the xwiki site I get the following in
catalina.out
STARTING TOMCAT...
May 26, 2011 2:02:57 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/local/jdk160_25/jre/lib/amd64/server:/usr/local/jdk160_25/jre/lib/amd64:/usr/local/jdk160_25/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
May 26, 2011 2:02:57 AM org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
May 26, 2011 2:02:57 AM org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
May 26, 2011 2:02:57 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1213 ms
May 26, 2011 2:02:57 AM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
May 26, 2011 2:02:57 AM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.14
May 26, 2011 2:02:57 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory xwiki
May 26, 2011 2:02:59 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/struts/tags-html-1.0.2
is already defined
May 26, 2011 2:02:59 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/struts/tags-bean-1.0.2
is already defined
May 26, 2011 2:02:59 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI:
http://jakarta.apache.org/struts/tags-logic-1.0.2 is already defined
May 26, 2011 2:03:09 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory docs
May 26, 2011 2:03:09 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory ROOT
May 26, 2011 2:03:09 AM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["http-bio-8080"]
May 26, 2011 2:03:09 AM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
May 26, 2011 2:03:09 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 12410 ms
BROWSE TO THE XWIKI APP....
2011-05-26 02:03:29,868 [/xwiki/bin/view/Main/] FATAL
store.DBCPConnectionProvider - Could not create a DBCP pool. There is
an error in the hibernate configuration file, please review it.
org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (Unexpected exception encountered during query.)
at
org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
at
com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:193)
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
at
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:166)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:560)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1073)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1117)
at
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:68)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:68)
at
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:51)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1132)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:813)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:756)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:408)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:496)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:137)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:317)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:204)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:311)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.sql.SQLException: Unexpected exception encountered
during query.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2665)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1698)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1617)
at
com.mysql.jdbc.ConnectionImpl.setSessionVariables(ConnectionImpl.java:5210)
at
com.mysql.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:3375)
at
com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2385)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2154)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
at
org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at
org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
at
org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
... 64 more
Caused by: java.lang.NullPointerException
at
com.mysql.jdbc.ConnectionImpl.getServerCharacterEncoding(ConnectionImpl.java:3100)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2095)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2619)
... 83 more
2011-05-26 02:03:29,876 [/xwiki/bin/view/Main/] WARN
action.RequestProcessor - Unhandled Exception thrown: class
com.xpn.xwiki.XWikiException
May 26, 2011 2:22:34 AM org.apache.catalina.core.StandardServer await
WHEN STOPPING TOMCAT....
INFO: A valid shutdown command was received via the shutdown port.
Stopping the Server instance.
May 26, 2011 2:22:34 AM org.apache.coyote.AbstractProtocolHandler pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
May 26, 2011 2:22:35 AM org.apache.coyote.AbstractProtocolHandler pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
May 26, 2011 2:22:36 AM org.apache.catalina.core.StandardService
stopInternal
INFO: Stopping service Catalina
May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: The web application [/xwiki] registered the JDBC driver
[com.mysql.jdbc.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has
been forcibly unregistered.
May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread
named [EvictionTimer-0] but has failed to stop it. This is very likely
to create a memory leak.
May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/xwiki] appears to have started a thread
named [EvictionTimer-1] but has failed to stop it. This is very likely
to create a memory leak.
May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@2a717ef5]) and a value of type
[java.util.Hashtable] (value [{}]) but failed to remove it when the web
application was stopped. Threads are going to be renewed over time to
try and avoid a probable memory leak.
May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@2a717ef5]) and a value of type
[java.util.Hashtable] (value
[{url=http://neil.nmc.edu:8080/xwiki/bin/view/Main/}]) but failed to
remove it when the web application was stopped. Threads are going to be
renewed over time to try and avoid a probable memory leak.
May 26, 2011 2:22:37 AM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@2a717ef5]) and a value of type
[java.util.Hashtable] (value
[{url=http://neil.nmc.edu:8080/xwiki/bin/view/Main/}]) but failed to
remove it when the web application was stopped. Threads are going to be
renewed over time to try and avoid a probable memory leak.
May 26, 2011 2:22:37 AM org.apache.coyote.AbstractProtocolHandler stop
INFO: Stopping ProtocolHandler ["http-bio-8080"]
May 26, 2011 2:22:37 AM org.apache.coyote.AbstractProtocolHandler stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
Hi
Is there a tool/script that allows for exporting only pages from space XWiki with object XWikiuser
I know the export tool can export pages by selecting all or checkmark individual pages, but we have > 500 users, this becomes a drag....
Nice to have if it could also take group-object and which user is in what group
So we have a whole identity and access export
Gerritjan
Hello all,
In a elearning invironment XWIKI have to be linket to an external
software tool. In a second step XWIKI send some data to the external
tool to open a specific file. At the end of the usage of the external
tool XWIKI will get some date from the external tool and store it in a
page.
What kind of externsion I need to solve these problem?
Are there any examples?
Thank you for help!
Yours
Frank Marrenbach
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The XWiki development team is proud to announce the release of XWiki Enterprise 3.1 Final.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the first ever release to be tested in a staging repository and is probably the most well tested release to date.
You can review the changes made since 3.0 by going to:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
Thanks
- -The XWiki development team
If you would like to download the new release now, you can using these links:
- ---- XWiki Enterprise for Servers ----
xwiki-enterprise-web-3.1.war
SHA1: 5321b065247027cffb2b139bbe9db876e079f4ca
http://forge.ow2.org/project/download.php?group_id=170&file_id=16846
xwiki-enterprise-wiki-3.1.xar
SHA1: d80a7611d19dc28717a4538efe49cfd4858f94ec
http://forge.ow2.org/project/download.php?group_id=170&file_id=16847
- ---- XWiki Enterprise Standalone ----
xwiki-enterprise-installer-windows-3.1.exe
SHA1: c2ba74cfae30e272566f4e6ce7435d14ae9df2e3
http://forge.ow2.org/project/download.php?group_id=170&file_id=16845
xwiki-enterprise-jetty-hsqldb-3.1.zip
SHA1: 82a80420f48b7d0614822137498251e7fc01e889
http://forge.ow2.org/project/download.php?group_id=170&file_id=16844
xwiki-enterprise-installer-generic-3.1-standard.jar
SHA1: 7a038ce14be2b75bdaecb816bcf699f221908d9b
http://forge.ow2.org/project/download.php?group_id=170&file_id=16843
- ---- XWiki Manager for Servers ----
xwiki-manager-web-3.1.war
SHA1: abdf4e758246cabf4a1af79337e8170bfc582b1e
http://forge.ow2.org/project/download.php?group_id=170&file_id=16848
xwiki-manager-wiki-administrator-3.1.xar
SHA1: 9e2c9a2b02f87060c657c70bf15e4721df7e4f6c
http://forge.ow2.org/project/download.php?group_id=170&file_id=16850
- ---- XWiki Manager Standalone ----
xwiki-manager-jetty-mysql-3.1.zip
SHA1: f6277fd61c412642300427440798fd27938651cf
http://forge.ow2.org/project/download.php?group_id=170&file_id=16851
- ---- XWiki Manager Extension for XWiki Enterprise Installations ----
xwiki-manager-application-xem-3.1.xar
SHA1: f22abfd671527f6ef293d3763b8e688e2f0c100d
http://forge.ow2.org/project/download.php?group_id=170&file_id=16849
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQIcBAEBAgAGBQJOAL4sAAoJECYAmptlsgnWNk8P/jDYcGMDioM+DCzaN69Ljo5F
De3EQQL0c++OjkC+R/s3kzxoHFk9g2Sa8bWjjDYIqiORiV1eIbJ1RnV5Tc31G5xA
Q5MastEQ9onzQalXnZDJhrwwSw2CYMk9sia3bWBDPi55zuSKJvSar7Zgg85xE953
0a+Xmp2bCECc8QI8taeqyOnpAmvHR3NG6sKFc6biVRTBcU93XhUVZVPmjZixvupR
fxo3gVmyX4G9RbNJFKxHZkHyEHcRdW1+7vdR9Dj3qZBTGBs+2jAHR3Xl6LEjyAb6
+NrZsmHf590jnrvrrl4t0Ld5kaG4ykHICShOZRIrZ8VylBTylHl+Zgx38imQ818J
/YVEdjCGh6iqOHF1BQM4aeiAFw/Ja3EiqjpUkrqtMH5pjfbMU3qNNxKAtP4WKdac
xDZaUZddMcKGauA7Qc27YkQkl7Nkvb4A3ikNld/PZs2QfDPEJsytrz6VqAgnLfwO
Q4H6rvltysCbv/v05V2/jgUrNtXsnUa2NSOXjYVrsdiQh71qTph9I+nNbjk35gs/
dD8TaFxejMmu68qUcOR2aFIRncO2QKlbff8dN1UfkXJ7dd/HVS/1/1YtBQWiIqjk
TWRS3KVgf4tgo1yHGyedBIkSCo3+iHffUyMPkmZoxJ9fnzvVWRi7eOQWOUwCOqWd
Lg7wLAAwbJWY1rdpiXAT
=78pa
-----END PGP SIGNATURE-----
Hi,
after the update the activity object in the Dashboard does not work anymore. I can see it, but it shows no activities, even no posts.
Thanks for your ideas.
Felix
Hello,
Context : XEM 2.7.1 on Tomcat6.0 + MySQL 5.0
I'm used to restore my xwiki farm SQL backup on a test environment.
I have to update the Domain names and then it works fine.
But this time, I encounter the following issue :
- I can retrieve the different version of an existing attachment
(without any problem)
- I can add a new version of an attachment (the version number is
incremented and I can download it) but ...
- When I look at the revision history of the attachment, all the old
revisions are now lost and the following lines appear in the xwiki.log
2011-06-14 10:56:04,169
[http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…]
[http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…]
WARN internal.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.parseMessage] in
/templates/viewattachrev.vm@4,12
2011-06-14 10:56:04,169
[http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…]
[http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…]
WARN doc.XWikiAttachment - Failed to load archive for
attachment [xwikisanitycheck.sql(a)Documentation.WebHome]. This
attachment is broken, please consider re-uploading it. Internal error:
Error number 3231 in 3: Exception while loading attachment archive
xwikisanitycheck.sql of document Documentation.WebHome
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Exception occurred inside setter of
com.xpn.xwiki.doc.XWikiAttachmentArchive.archive
2011-06-14 10:56:04,169
[http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…]
[http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…]
WARN doc.XWikiAttachment - Cannot retrieve versions of
attachment [xwikisanitycheck.sql(a)Documentation.WebHome]: null
Hopefully, this doesn't occur on my production environment.
Do you have any idea about this issue ? Your help will be really appreciated.
Regards,
Maxime Sinclair
Hi all,
Probably a bit of a newbie quesion. Does anyone know how to hide the option
'view source' for unregistered users? Also the wiki history - these are
things I don't want visitors to see.
Thanks,
Martin
Hi Marius,
Yes my wiki is hosted on myxwiki.org, I will follow the thread as adviced
and let you know.
Thanks,
Yannick
2011/6/14 <users-request(a)xwiki.org>
> Send users mailing list submissions to
> users(a)xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)xwiki.org
>
> You can reach the person managing the list at
> users-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. Fwd: Fwd: users Digest, Vol 47, Issue 12 (Marius Dumitru Florea)
> 2. Fwd: users Digest, Vol 47, Issue 12 (Yannick Dewilde)
> 3. Subscribe to RSS feed inpassword-protected wiki (coldserenity)
> 4. Activity Dashboard doesn't work (Felix van Wasen)
> 5. Re: Activity Dashboard doesn't work (Sergiu Dumitriu)
> 6. Re: Subscribe to RSS feed inpassword-protected wiki
> (Sergiu Dumitriu)
> 7. Re: Class with hibernate query (Sergiu Dumitriu)
> 8. Re: Subscribe to RSS feed inpassword-protected wiki
> (Roman Muntyanu)
> 9. Issue on attachments versioning (Maxime Sinclair)
> 10. Re: Issue on attachments versioning (Maxime Sinclair)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 13 Jun 2011 13:46:40 +0300
> From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
> Subject: [xwiki-users] Fwd: Fwd: users Digest, Vol 47, Issue 12
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <4DF5EA90.8060002(a)xwiki.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Yannick,
>
> You didn't answer the second question. Do you have this problem on a
> wiki hosted by myxwiki.org or on a wiki hosted elsewhere. If your wiki
> is hosted on myxwiki.org then you need to follow this thread
> http://lists.xwiki.org/pipermail/users/2011-June/024308.html . Otherwise
> you need to tell us more about your problem. What version of XWiki
> Enterprise are you using? Is it a fresh install or did you upgrade
> recently? Was the WYSIWYG editor working before? What browser are you
> using? Does it happen on other browsers? On Firefox, do you see any
> JavaScript exception logged in the Firebug console?
>
> Hope this helps,
> Marius
>
> -------- Original Message --------
> Return-Path: <yannick.dewilde(a)gmail.com>
> X-Original-To: mariusdumitru.florea(a)xwiki.com
> Delivered-To: mariusdumitru.florea(a)xwiki.com
> Received: from mail-yx0-f178.google.com (mail-yx0-f178.google.com
> [209.85.213.178]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No
> client certificate requested) by borabora.xpertnet.biz (Postfix) with
> ESMTP id 5D8D76601E7 for <mariusdumitru.florea(a)xwiki.com>; Mon, 13 Jun
> 2011 12:15:26 +0200 (CEST)
> Received: by yxm8 with SMTP id 8so1763086yxm.9 for
> <mariusdumitru.florea(a)xwiki.com>; Mon, 13 Jun 2011 03:15:24 -0700 (PDT)
> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com;
> s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date
> :message-id:subject:from:to:content-type;
> bh=9g4XSJEg18VB89KXhCUEE+Fy9FsKNpu3WDWDI5OwbE0=;
> b=SXsznF3RcKfunBMiQt8ciqP0EUyBcpnweOkV1qtHT9BlpXPgE8z9Mi/EYHq0cy4vlH
> atwJTAAPzUhoBa9PPNj22QDsGD8JpDhvAZf3QBIP19ousa0ynvoYh+qPezLn9PJvlSls
> 6Au1mBKy2jhxWraP0s4uNchXCUCW99d2uWBJY=
> DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
> h=mime-version:in-reply-to:references:date:message-id:subject:from:to
> :content-type;
> b=TcDsP59ApWfv4Xjck3eHTq3+mbk5Y6K5P9uRxI/ZTnen4RbTwPnhmT7c7dOWUjgWO/
> hzZbypFO58oxa+aoptgvSVq8dW5PWEViHvDIXRvuilZ4/f3Ej99+ooZvsljkI7RxGACY
> hboezguoMQ1V9FNjc7uhOUnYZrpt50XR7zyEg=
> MIME-Version: 1.0
> Received: by 10.236.191.200 with SMTP id
> g48mr6974588yhn.437.1307960124156; Mon, 13 Jun 2011 03:15:24 -0700 (PDT)
> Received: by 10.147.124.4 with HTTP; Mon, 13 Jun 2011 03:15:24 -0700
> (PDT)
> In-Reply-To: <mailman.3.1307959204.7144.users(a)xwiki.org>
> References: <mailman.3.1307959204.7144.users(a)xwiki.org>
> Date: Mon, 13 Jun 2011 12:15:24 +0200
> Message-ID: <BANLkTim08TXUVFWBB7bo4SkdY67ziefS+g(a)mail.gmail.com>
> Subject: Fwd: users Digest, Vol 47, Issue 12
> From: Yannick Dewilde <yannick.dewilde(a)gmail.com>
> To: mariusdumitru.florea(a)xwiki.com
> Content-Type: multipart/alternative;
> boundary=20cf30563e6b94ab6804a595328b
>
>
>
> Hi Marius,
>
> No I can't edit a simple wiki page with WYSIWYG...
>
> Thanks for your help
>
> Yannick
>
> ---------- Forwarded message ----------
> From: ** <users-request(a)xwiki.org <mailto:users-request@xwiki.org>>
> Date: 2011/6/13
> Subject: users Digest, Vol 47, Issue 12
> To: users(a)xwiki.org <mailto:users@xwiki.org>
>
>
> Message: 2
> Date: Mon, 13 Jun 2011 12:19:19 +0300
> From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com
> <mailto:mariusdumitru.florea@xwiki.com>>
> Subject: Re: [xwiki-users] Blog : windows "Content:" and "Summary
> (optional):" not accessible
> To: users(a)xwiki.org <mailto:users@xwiki.org>
> Message-ID: <4DF5D617.9040301(a)xwiki.com <mailto:4DF5D617.9040301@xwiki.com
> >>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Yannick,
>
> On 06/10/2011 02:39 PM, Yannick Dewilde wrote:
> > Hello,
> >
>
> > When I try to post a blog, the windows "Content:" and "Summary
> (optional):"
> > are in loading mode all the time. It's not possible to add anything.
>
> I guess this means the WYSIWYG editor fails to load. Can you edit a
> simple wiki page in WYSIWYG edit mode? Do you have a wiki on myxwiki.org
> <http://myxwiki.org>?
>
> Hope this helps,
> Marius
>
> >
> > Can you help me pls?
> >
> > Regards
> >
> > Yannick
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org <mailto:users@xwiki.org>
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org <mailto:users@xwiki.org>
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 47, Issue 12
> *************************************
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 13 Jun 2011 13:00:07 +0200
> From: Yannick Dewilde <yannick.dewilde(a)gmail.com>
> Subject: [xwiki-users] Fwd: users Digest, Vol 47, Issue 12
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <BANLkTi=_4WOT8PRdu+P6iC3XauF=CaqjbQ(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Marius,
>
> No I can't edit a simple wiki page with WYSIWYG...
>
> Thanks for your help
>
> Yannick
>
> ---------- Forwarded message ----------
> From: <users-request(a)xwiki.org>
> Date: 2011/6/13
> Subject: users Digest, Vol 47, Issue 12
> To: users(a)xwiki.org
>
>
> Message: 2
> Date: Mon, 13 Jun 2011 12:19:19 +0300
> From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
> Subject: Re: [xwiki-users] Blog : windows "Content:" and "Summary
> (optional):" not accessible
> To: users(a)xwiki.org
> Message-ID: <4DF5D617.9040301(a)xwiki.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Yannick,
>
> On 06/10/2011 02:39 PM, Yannick Dewilde wrote:
> > Hello,
> >
>
> > When I try to post a blog, the windows "Content:" and "Summary
> (optional):"
> > are in loading mode all the time. It's not possible to add anything.
>
> I guess this means the WYSIWYG editor fails to load. Can you edit a
> simple wiki page in WYSIWYG edit mode? Do you have a wiki on myxwiki.org?
>
> Hope this helps,
> Marius
>
> >
> > Can you help me pls?
> >
> > Regards
> >
> > Yannick
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 47, Issue 12
> *************************************
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 13 Jun 2011 10:53:23 -0700 (PDT)
> From: coldserenity <rmuntyan(a)softserveinc.com>
> Subject: [xwiki-users] Subscribe to RSS feed inpassword-protected wiki
> To: users(a)xwiki.org
> Message-ID: <1307987603361-6471115.post(a)n2.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> Is there a way to subscribe to RSS feed in a totally protected XWiki (only
> log-in page described to anonymous)? E.g. with MS Outlook?
> I used common feed list approach described here
>
> http://blog.jonudell.net/2007/01/23/a-screencast-about-common-feeds-in-vist…
> I'm able to see items when the feed is imported to outlook the first time,
> but then I do not get the updates.
> And here's http://blog.jonudell.net/2007/03/27/authenticated-rss-feeds/
> where I found people discussing subscription to a password protected feed.
>
> Regards,
> Roman
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Subscribe-to-RSS-feed-inpassword-protecte…
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 13 Jun 2011 21:16:17 +0200
> From: Felix van Wasen <felixvanwasen(a)me.com>
> Subject: [xwiki-users] Activity Dashboard doesn't work
> To: users(a)xwiki.org
> Message-ID: <CBAB255C98254DD69F19AE0956E970E8(a)me.com>
> Content-Type: text/plain; CHARSET=US-ASCII
>
> Hi,
>
> after the update the activity object in the Dashboard does not work
> anymore. I can see it, but it shows no activities, even no posts.
>
> Thanks for your ideas.
>
> Felix
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 14 Jun 2011 02:51:33 +0200
> From: Sergiu Dumitriu <sergiu(a)xwiki.com>
> Subject: Re: [xwiki-users] Activity Dashboard doesn't work
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <4DF6B095.4030602(a)xwiki.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> On 06/13/2011 09:16 PM, Felix van Wasen wrote:
> > Hi,
> >
> > after the update the activity object in the Dashboard does not work
> anymore. I can see it, but it shows no activities, even no posts.
> >
> > Thanks for your ideas.
>
> Can you mention from which to which version did you upgrade?
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 14 Jun 2011 03:05:42 +0200
> From: Sergiu Dumitriu <sergiu(a)xwiki.com>
> Subject: Re: [xwiki-users] Subscribe to RSS feed inpassword-protected
> wiki
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <4DF6B3E6.6050807(a)xwiki.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> On 06/13/2011 07:53 PM, coldserenity wrote:
> > Hi,
> >
> > Is there a way to subscribe to RSS feed in a totally protected XWiki
> (only
> > log-in page described to anonymous)? E.g. with MS Outlook?
> > I used common feed list approach described here
> >
> http://blog.jonudell.net/2007/01/23/a-screencast-about-common-feeds-in-vist…
> > I'm able to see items when the feed is imported to outlook the first
> time,
> > but then I do not get the updates.
> > And here's
> http://blog.jonudell.net/2007/03/27/authenticated-rss-feeds/
> > where I found people discussing subscription to a password protected
> feed.
> >
> > Regards,
> > Roman
>
> Other than configuring the feed reader to use a certain username and
> password, you must also alter a bit the RSS URL by appending
> &basicauth=1 as a query string parameter.
>
> For example, for the blog feed, use:
> http://xwiki.org/xwiki/bin/Blog/GlobalBlogRss?xpage=plain&basicauth=1
> instead of:
> http://xwiki.org/xwiki/bin/Blog/GlobalBlogRss?xpage=plain
>
> Does this solve your problem?
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
>
> ------------------------------
>
> Message: 7
> Date: Tue, 14 Jun 2011 03:20:32 +0200
> From: Sergiu Dumitriu <sergiu(a)xwiki.com>
> Subject: Re: [xwiki-users] Class with hibernate query
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <4DF6B760.9010308(a)xwiki.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> On 06/12/2011 05:39 PM, Gerritjan Koekkoek wrote:
> > Hi
> >
> > (XWiki 2.7.2)
> > I've defined a class with a property defined as DatabaseList
> > It's a multi select
> > The Hibernate query is:
> >
> > select ata.filename
> > from XWikiAttachment as ata,
> > XWikiDocument as doc
> > where doc.fullName ='CdLSAssociations.FlagAttachments'
> > and doc.id = ata.docId
> > order by ata.filename
> >
> > This works fine, when I create a new object of this class I can select
> multiple fileNames
> >
> > My questions;
> > I would like to strip the filename extension from the ata.filename
> (ar.png => ar)
> > I was trying a substr(ata.filename,1,2) does not work
> > How do I do this?
>
> In theory you could use something like this:
>
> select ata.filename, substring(ata.filename, 0, locate(ata.filename,
> '.')) from XWikiAttachment...
>
> But only in theory. There's a bug in the DBList query processor that
> breaks that.
>
> > Second, I wonder if it is possible to add a second collumn to the query
> that uses a translation table
> > like
> > select ata.filename,
> > $msg.get(ata.filename) as translatedName
>
> This can't work. There are two languages involved here, Velocity and
> HQL, and they don't mix in real time.
>
> > from XWikiAttachment as ata,
> > XWikiDocument as doc
> > where doc.fullName ='CdLSAssociations.FlagAttachments'
> > and doc.id = ata.docId
> > order by translatedName
> >
> > and use in the class property defenition the ID Field name and Value
> Field Name
> >
> > Any help is highly appreciated
>
> I'd recommend that you write a custom displayer for this field, instead
> of relying on the default display. You should use the first, simple
> query that just retrieves the attachment names, then create you own
> display that substrings the extension for the displayed option label.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
>
> ------------------------------
>
> Message: 8
> Date: Tue, 14 Jun 2011 10:46:24 +0300
> From: Roman Muntyanu <rmuntyan(a)softserveinc.com>
> Subject: Re: [xwiki-users] Subscribe to RSS feed inpassword-protected
> wiki
> To: XWiki Users <users(a)xwiki.org>
> Message-ID:
> <
> 397E2D30386E9346954E47D6E6CAA0B502315E85708D(a)MAILBOX.softservecom.com>
>
> Content-Type: text/plain; charset="us-ascii"
>
> It did thus far, at least when pressing send/receive I can now see the
> updates.
> Thanks, Sergiu!
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
> Of Sergiu Dumitriu
> Sent: Tuesday, June 14, 2011 04:06 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] Subscribe to RSS feed inpassword-protected wiki
>
> On 06/13/2011 07:53 PM, coldserenity wrote:
> > Hi,
> >
> > Is there a way to subscribe to RSS feed in a totally protected XWiki
> (only
> > log-in page described to anonymous)? E.g. with MS Outlook?
> > I used common feed list approach described here
> >
> http://blog.jonudell.net/2007/01/23/a-screencast-about-common-feeds-in-vist…
> > I'm able to see items when the feed is imported to outlook the first
> time,
> > but then I do not get the updates.
> > And here's
> http://blog.jonudell.net/2007/03/27/authenticated-rss-feeds/
> > where I found people discussing subscription to a password protected
> feed.
> >
> > Regards,
> > Roman
>
> Other than configuring the feed reader to use a certain username and
> password, you must also alter a bit the RSS URL by appending
> &basicauth=1 as a query string parameter.
>
> For example, for the blog feed, use:
> http://xwiki.org/xwiki/bin/Blog/GlobalBlogRss?xpage=plain&basicauth=1
> instead of:
> http://xwiki.org/xwiki/bin/Blog/GlobalBlogRss?xpage=plain
>
> Does this solve your problem?
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> ------------------------------
>
> Message: 9
> Date: Tue, 14 Jun 2011 11:40:43 +0200
> From: Maxime Sinclair <maxime.sinclair(a)gmail.com>
> Subject: [xwiki-users] Issue on attachments versioning
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <BANLkTi=x=SGCKuW065fnhqNk_5_c97Sq2w(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello,
>
> Context : XEM 2.7.1 on Tomcat6.0 + MySQL 5.0
>
> I'm used to restore my xwiki farm SQL backup on a test environment.
> I have to update the Domain names and then it works fine.
> But this time, I encounter the following issue :
> - I can retrieve the different version of an existing attachment
> (without any problem)
> - I can add a new version of an attachment (the version number is
> incremented and I can download it) but ...
> - When I look at the revision history of the attachment, all the old
> revisions are now lost and the following lines appear in the xwiki.log
>
> 2011-06-14 10:56:04,169
> [
> http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
> ]
> [
> http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
> ]
> WARN internal.DefaultVelocityEngine - Deprecated usage of method
> [com.xpn.xwiki.api.XWiki.parseMessage] in
> /templates/viewattachrev.vm@4,12
>
> 2011-06-14 10:56:04,169
> [
> http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
> ]
> [
> http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
> ]
> WARN doc.XWikiAttachment - Failed to load archive for
> attachment [xwikisanitycheck.sql(a)Documentation.WebHome]. This
> attachment is broken, please consider re-uploading it. Internal error:
> Error number 3231 in 3: Exception while loading attachment archive
> xwikisanitycheck.sql of document Documentation.WebHome
> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
> Wrapped Exception: Exception occurred inside setter of
> com.xpn.xwiki.doc.XWikiAttachmentArchive.archive
>
> 2011-06-14 10:56:04,169
> [
> http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
> ]
> [
> http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
> ]
> WARN doc.XWikiAttachment - Cannot retrieve versions of
> attachment [xwikisanitycheck.sql(a)Documentation.WebHome]: null
>
> Hopefully, this doesn't occur on my production environment.
> Do you have any idea about this issue ? Your help will be really
> appreciated.
>
> Regards,
> Maxime Sinclair
>
>
> ------------------------------
>
> Message: 10
> Date: Tue, 14 Jun 2011 11:55:50 +0200
> From: Maxime Sinclair <maxime.sinclair(a)gmail.com>
> Subject: Re: [xwiki-users] Issue on attachments versioning
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <BANLkTi=sSjM-Lsde83c_fVRsTwbh_bBBAw(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I reproduce the problem while logging in debug mode.
> This is an excerpt :
>
> 11:45:34,519
> [.../bin/viewattachrev/Documentation/WebHome/xwikisanitycheck.sql]
> WARN internal.DefaultVelocityEngine - Deprecated usage of method
> [com.xpn.xwiki.api.XWiki.parseMessage] in
> /templates/viewattachrev.vm@4,12
>
> DEBUG impl.SessionImpl - opened session at timestamp:
> 13080447345
> DEBUG jdbc.ConnectionManager - opening JDBC connection
> INFO dialect.Dialect - Using dialect:
> org.hibernate.dialect.MySQLDialect
> DEBUG transaction.JDBCTransaction - begin
> DEBUG transaction.JDBCTransaction - current autocommit status: false
> DEBUG loader.Loader - loading entity:
> [com.xpn.xwiki.doc.XWikiAttachmentArchive#1260613346]
> DEBUG jdbc.AbstractBatcher - about to open
> PreparedStatement (open PreparedStatements: 0, globally: 0)
> DEBUG hibernate.SQL - select xwikiattac0_.XWA_ID as
> XWA1_8_0_, xwikiattac0_.XWA_ARCHIVE as XWA2_8_0_ from
> xwikiattachment_archive xwikiattac0_ where xwikiattac0_.XWA_ID=?
> DEBUG jdbc.AbstractBatcher - about to open ResultSet (open
> ResultSets: 0, globally: 0)
> DEBUG loader.Loader - result row:
> EntityKey[com.xpn.xwiki.doc.XWikiAttachmentArchive#1260613346]
> DEBUG jdbc.AbstractBatcher - about to close ResultSet (open
> ResultSets: 1, globally: 1)
> DEBUG jdbc.AbstractBatcher - about to close
> PreparedStatement (open PreparedStatements: 1, globally: 1)
> DEBUG engine.TwoPhaseLoad - resolving associations for
> [com.xpn.xwiki.doc.XWikiAttachmentArchive#1260613346]
> INFO def.DefaultLoadEventListener - Error performing load command
> org.hibernate.PropertyAccessException: Exception occurred inside
> setter of com.xpn.xwiki.doc.XWikiAttachmentArchive.archive
> at
> org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:65)
> at
> org.hibernate.tuple.entity.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:337)
> at
> org.hibernate.tuple.entity.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:200)
> at
> org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:3571)
> at
> org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:133)
> at
> org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
> at org.hibernate.loader.Loader.doQuery(Loader.java:729)
> at
> org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
> at org.hibernate.loader.Loader.loadEntity(Loader.java:1860)
> at
> org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
> at
> org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
> at
> org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3049)
> at
> org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:399)
> at
> org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:375)
> at
> org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)
> at
> org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
> at
> org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:784)
> at
> com.xpn.xwiki.store.hibernate.HibernateAttachmentVersioningStore$1.doInHibernate(HibernateAttachmentVersioningStore.java:79)
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1081)
> ............
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:42)
> ... 76 more
> Caused by: org.suigeneris.jrcs.rcs.parse.TokenMgrError: Lexical error
> at line 1, column 104. Encountered: "$" (36), after : ""
> at
> org.suigeneris.jrcs.rcs.parse.ArchiveParserTokenManager.getNextToken(ArchiveParserTokenManager.java:817)
> at
> org.suigeneris.jrcs.rcs.parse.ArchiveParser.jj_ntk(ArchiveParser.java:685)
> at
> org.suigeneris.jrcs.rcs.parse.ArchiveParser.authorName(ArchiveParser.java:527)
> at
> org.suigeneris.jrcs.rcs.parse.ArchiveParser.delta(ArchiveParser.java:385)
> at
> org.suigeneris.jrcs.rcs.parse.ArchiveParser.archive(ArchiveParser.java:96)
> at
> org.suigeneris.jrcs.rcs.parse.ArchiveParser.load(ArchiveParser.java:60)
> at org.suigeneris.jrcs.rcs.Archive.<init>(Archive.java:259)
> at org.suigeneris.jrcs.rcs.Archive.<init>(Archive.java:273)
> at
> com.xpn.xwiki.doc.XWikiAttachmentArchive.setArchive(XWikiAttachmentArchive.java:121)
> ... 81 more
>
>
> Hope this help to understand the issue.
> Maxime Sinclair
>
>
> 2011/6/14 Maxime Sinclair <maxime.sinclair(a)gmail.com>:
> > Hello,
> >
> > Context : XEM 2.7.1 on Tomcat6.0 + MySQL 5.0
> >
> > I'm used to restore my xwiki farm SQL backup on a test environment.
> > I have to update the Domain names and then it works fine.
> > But this time, I encounter the following issue :
> > - I can retrieve the different version of an existing attachment
> > (without any problem)
> > - I can add a new version of an attachment (the version number is
> > incremented and I can download it) but ...
> > - When I look at the revision history of the attachment, all the old
> > revisions are now lost and the following lines appear in the xwiki.log
> >
> > 2011-06-14 10:56:04,169
> > [
> http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
> ]
> > [
> http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
> ]
> > WARN ?internal.DefaultVelocityEngine ?- Deprecated usage of method
> > [com.xpn.xwiki.api.XWiki.parseMessage] in
> > /templates/viewattachrev.vm@4,12
> >
> > 2011-06-14 10:56:04,169
> > [
> http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
> ]
> > [
> http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
> ]
> > WARN ?doc.XWikiAttachment ? ? ? ? ? ? - Failed to load archive for
> > attachment [xwikisanitycheck.sql(a)Documentation.WebHome]. This
> > attachment is broken, please consider re-uploading it. Internal error:
> > Error number 3231 in 3: Exception while loading attachment archive
> > xwikisanitycheck.sql of document Documentation.WebHome
> > Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
> > Wrapped Exception: Exception occurred inside setter of
> > com.xpn.xwiki.doc.XWikiAttachmentArchive.archive
> >
> > 2011-06-14 10:56:04,169
> > [
> http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
> ]
> > [
> http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
> ]
> > WARN ?doc.XWikiAttachment ? ? ? ? ? ? - Cannot retrieve versions of
> > attachment [xwikisanitycheck.sql(a)Documentation.WebHome]: null
> >
> > Hopefully, this doesn't occur on my production environment.
> > Do you have any idea about this issue ? Your help will be really
> appreciated.
> >
> > Regards,
> > Maxime Sinclair
> >
>
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 47, Issue 13
> *************************************
>
Hello
I'd like to add for each page a way to track down if the page is a
"ongoing" status, is a "completed" status or is a "needFeedBack" status
for example.
Of course, the list of statuses should be configurable so i can put
mine.
My first idea was to create a class and add this object to each page but
-> i have created the class + classSheet + classTemplate but i see then
that i can create new documents.
Actually, I want the status to be embedded in the page edit mode, in a
panel for example, and that would be better if it is embedded in the
Document Information panel, just as the Tag field
So I try to add raw html in this but i don't know how to create a new
"status" property to the document.
If i use the "tag" property, i'm worrying about mixing two tag fields...
anyway, i've read and re-read the XWiki online documentation but i can't
find anything just like this.
PS -> of course, i'll have later a page per status with the list of all
documents in each statuses... (just like tag pages)
thank you for your help
Hey there, I have just two questions:
1. I created a "ThoughtArchive"-Application in which every user can jot down
ideas, just like a journal. I want the "thoughtarchive"-space to be visible
for every user, but pages in this space are just visible for each individual
user. example: i log in with my account, i create some new ideas, and then
another user logs in, but he only sees his thoughts.
2. I want to create a Projects-Application, where you can give
read/edit/delete rights to sections of the document. for example: I create a
new Project, type in some content and i want the first section to be public
and the second section private, that only I can view it. Is that possible
with XWiki?
Thanks...
--
View this message in context: http://xwiki.475771.n2.nabble.com/Access-rights-tp6479011p6479011.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
(XWiki 2.7.2)
I've defined a class with a property defined as DatabaseList
It's a multi select
The Hibernate query is:
select ata.filename
from XWikiAttachment as ata,
XWikiDocument as doc
where doc.fullName ='CdLSAssociations.FlagAttachments'
and doc.id = ata.docId
order by ata.filename
This works fine, when I create a new object of this class I can select multiple fileNames
My questions;
I would like to strip the filename extension from the ata.filename (ar.png => ar)
I was trying a substr(ata.filename,1,2) does not work
How do I do this?
Second, I wonder if it is possible to add a second collumn to the query that uses a translation table
like
select ata.filename,
$msg.get(ata.filename) as translatedName
from XWikiAttachment as ata,
XWikiDocument as doc
where doc.fullName ='CdLSAssociations.FlagAttachments'
and doc.id = ata.docId
order by translatedName
and use in the class property defenition the ID Field name and Value Field Name
Any help is highly appreciated
Gerritjan
Hi Marius,
No I can't edit a simple wiki page with WYSIWYG...
Thanks for your help
Yannick
---------- Forwarded message ----------
From: <users-request(a)xwiki.org>
Date: 2011/6/13
Subject: users Digest, Vol 47, Issue 12
To: users(a)xwiki.org
Message: 2
Date: Mon, 13 Jun 2011 12:19:19 +0300
From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
Subject: Re: [xwiki-users] Blog : windows "Content:" and "Summary
(optional):" not accessible
To: users(a)xwiki.org
Message-ID: <4DF5D617.9040301(a)xwiki.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Yannick,
On 06/10/2011 02:39 PM, Yannick Dewilde wrote:
> Hello,
>
> When I try to post a blog, the windows "Content:" and "Summary
(optional):"
> are in loading mode all the time. It's not possible to add anything.
I guess this means the WYSIWYG editor fails to load. Can you edit a
simple wiki page in WYSIWYG edit mode? Do you have a wiki on myxwiki.org?
Hope this helps,
Marius
>
> Can you help me pls?
>
> Regards
>
> Yannick
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
------------------------------
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
End of users Digest, Vol 47, Issue 12
*************************************
Hi Yannick,
You didn't answer the second question. Do you have this problem on a
wiki hosted by myxwiki.org or on a wiki hosted elsewhere. If your wiki
is hosted on myxwiki.org then you need to follow this thread
http://lists.xwiki.org/pipermail/users/2011-June/024308.html . Otherwise
you need to tell us more about your problem. What version of XWiki
Enterprise are you using? Is it a fresh install or did you upgrade
recently? Was the WYSIWYG editor working before? What browser are you
using? Does it happen on other browsers? On Firefox, do you see any
JavaScript exception logged in the Firebug console?
Hope this helps,
Marius
-------- Original Message --------
Return-Path: <yannick.dewilde(a)gmail.com>
X-Original-To: mariusdumitru.florea(a)xwiki.com
Delivered-To: mariusdumitru.florea(a)xwiki.com
Received: from mail-yx0-f178.google.com (mail-yx0-f178.google.com
[209.85.213.178]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No
client certificate requested) by borabora.xpertnet.biz (Postfix) with
ESMTP id 5D8D76601E7 for <mariusdumitru.florea(a)xwiki.com>; Mon, 13 Jun
2011 12:15:26 +0200 (CEST)
Received: by yxm8 with SMTP id 8so1763086yxm.9 for
<mariusdumitru.florea(a)xwiki.com>; Mon, 13 Jun 2011 03:15:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com;
s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type;
bh=9g4XSJEg18VB89KXhCUEE+Fy9FsKNpu3WDWDI5OwbE0=;
b=SXsznF3RcKfunBMiQt8ciqP0EUyBcpnweOkV1qtHT9BlpXPgE8z9Mi/EYHq0cy4vlH
atwJTAAPzUhoBa9PPNj22QDsGD8JpDhvAZf3QBIP19ousa0ynvoYh+qPezLn9PJvlSls
6Au1mBKy2jhxWraP0s4uNchXCUCW99d2uWBJY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
b=TcDsP59ApWfv4Xjck3eHTq3+mbk5Y6K5P9uRxI/ZTnen4RbTwPnhmT7c7dOWUjgWO/
hzZbypFO58oxa+aoptgvSVq8dW5PWEViHvDIXRvuilZ4/f3Ej99+ooZvsljkI7RxGACY
hboezguoMQ1V9FNjc7uhOUnYZrpt50XR7zyEg=
MIME-Version: 1.0
Received: by 10.236.191.200 with SMTP id
g48mr6974588yhn.437.1307960124156; Mon, 13 Jun 2011 03:15:24 -0700 (PDT)
Received: by 10.147.124.4 with HTTP; Mon, 13 Jun 2011 03:15:24 -0700 (PDT)
In-Reply-To: <mailman.3.1307959204.7144.users(a)xwiki.org>
References: <mailman.3.1307959204.7144.users(a)xwiki.org>
Date: Mon, 13 Jun 2011 12:15:24 +0200
Message-ID: <BANLkTim08TXUVFWBB7bo4SkdY67ziefS+g(a)mail.gmail.com>
Subject: Fwd: users Digest, Vol 47, Issue 12
From: Yannick Dewilde <yannick.dewilde(a)gmail.com>
To: mariusdumitru.florea(a)xwiki.com
Content-Type: multipart/alternative; boundary=20cf30563e6b94ab6804a595328b
Hi Marius,
No I can't edit a simple wiki page with WYSIWYG...
Thanks for your help
Yannick
---------- Forwarded message ----------
From: ** <users-request(a)xwiki.org <mailto:users-request@xwiki.org>>
Date: 2011/6/13
Subject: users Digest, Vol 47, Issue 12
To: users(a)xwiki.org <mailto:users@xwiki.org>
Message: 2
Date: Mon, 13 Jun 2011 12:19:19 +0300
From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com
<mailto:mariusdumitru.florea@xwiki.com>>
Subject: Re: [xwiki-users] Blog : windows "Content:" and "Summary
(optional):" not accessible
To: users(a)xwiki.org <mailto:users@xwiki.org>
Message-ID: <4DF5D617.9040301(a)xwiki.com <mailto:4DF5D617.9040301@xwiki.com>>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Yannick,
On 06/10/2011 02:39 PM, Yannick Dewilde wrote:
> Hello,
>
> When I try to post a blog, the windows "Content:" and "Summary
(optional):"
> are in loading mode all the time. It's not possible to add anything.
I guess this means the WYSIWYG editor fails to load. Can you edit a
simple wiki page in WYSIWYG edit mode? Do you have a wiki on myxwiki.org
<http://myxwiki.org>?
Hope this helps,
Marius
>
> Can you help me pls?
>
> Regards
>
> Yannick
> _______________________________________________
> users mailing list
> users(a)xwiki.org <mailto:users@xwiki.org>
> http://lists.xwiki.org/mailman/listinfo/users
------------------------------
_______________________________________________
users mailing list
users(a)xwiki.org <mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
End of users Digest, Vol 47, Issue 12
*************************************
Hello,
When I try to post a blog, the windows "Content:" and "Summary (optional):"
are in loading mode all the time. It's not possible to add anything.
Can you help me pls?
Regards
Yannick
Hello,
Sorry if this was already told here in the list. Is there any way to
know how many users (and which ones, maybe) are currently logged in on
the wiki? If so, how can I do that and present it in a page or any other
way? I'm using XE 3.1RC1.
Regards,
--
* *
* *
*Ramon Gomes Brandão*
> Purpose: Use for College dedicated Cohert group for BS.
> User Name: ca.toomey(a)gmail.com
> Server Name: LOUIWUBS
>
> Thanks much for your consideration and support!
>
>
>
Hi,
Is there any way to update the Wysiwyg editor without updating the whole
xwiki?
I note that my xwiki version is 2.0 and I wish update the Wysiwyg to 2.6
version.
thank you.
Hi.
Is there any hope to upgrade the ancient version (XWiki Enterprise)
1.9.4 to a newer, say 2.7.x or even to 3.0.x ?
I found the archived release notes, but what steps are required? I mean
that should I upgrade from
1.94 -> 2.0 Milestone 1
2.0 Milestone 1 -> 2.0 Milestone 2
.
.
2.0.4 -> 2.0.5
.
.
2.7.1 -> 2.7.2
or could I just upgrade to 1.9.4 -> 2.7.x ?
Any help would be highly appreciated!
With Kind Regards,
Ari Takku
I am out of the office until 14-06-2011.
Voor dringende zaken kunt u terecht bij ICT-Servicedesk
Note: This is an automated response to your message "users Digest, Vol 47,
Issue 10" sent on 10-6-2011 12:00:14.
This is the only notification you will receive while this person is away.
Hi,
In our XWiki setup we are very much using RSS feeds generated by XWiki
When you capture such a feed in a news reader it shows :
<Title>
by <Author>
version <version> edited by <editor> in <date> <time>
Now is the Title informative for outsiders, the other (metadata) not...
The BLOG RSS feeds are much more informative
Where can I find information on how to setup the content presented in de RSS feed, Pictures would also be very nice
Which XWikI page is holding the code used for feeds about page-changes, which page is holding the code for the BLOG feeds?
Gerritjan
Hi Eduard,
Thank you for your reply.
About the max_allowed_packet mysql parameter, I had set it to 4M before I
got this problem, so it's not this caused the problem.
However, this morning when I tried again to import
"xwiki-enterprise-wiki-3.0.xar", I don't why I succeeded.
Anyway, without this problem I can continue my project. So thank you for
your help again and I am sure there will be more problems about xwiki that I
can't solve, in that case, I hope we can discussed again.
Thank you so much for your time!
Respectively yours,
Shayne
On Wed, Jun 8, 2011 at 8:20 PM, Eduard Moraru <eduard.moraru(a)xwiki.com>wrote:
> Hi,
>
> Please continue this discussion on the mailing list and also send your
> screenshots there.
>
> From what you have shown me, I don`t understand the first screenshot. It
> looks incomplete (left part is missing). Do you have javascript disabled?
>
> Also, you have not answered my question whether you have tried to set the
> max_allowed_packet mysql parameter.
>
> Thanks,
> Eduard
>
>
> On 06/08/2011 10:36 AM, 江舟 wrote:
>
>> Hi Eduard,
>>
>> Thank you for your reply.
>>
>> I can't see any error messages or exceptions in the console window.
>> To better identify the problem, I use two screenshots to show my problem.
>> The first one shows the picture before I click on the import button.
>> The second one shows the picture after I click on the import button.
>>
>> I don't know what is wrong with XWiki, and I hope you can give me some
>> advice.
>>
>> Thank you so much for your time! I am looking forward to your reply.
>>
>> Respectively yours,
>> Shayne
>>
>>
>
Hi all,
I use the recently changed documents panel on our wiki, and it works perfectly.
However, the panel shows me all the changes in all the documents in
all the spaces.
But I want that it shows only the changes in certain spaces, in the
current space where the user is in, and in a global space that all
users can see.
I know I have to add something to the header code of the panel, but I
cannot find what I need to add there.
I hope someone out there can give me a hint, or better, a solution, to my issue.
Thanks in advance for your help,
Wouter
I am using XWiki (3.0) to display (using iframes) a couple of Ozone widgets
as Common Map Widget, Common Query widget, and Data Generator. Ozone and
XWiki are running on two different machines.
I am able to see the query results on the map, but when in the Wysiwyg mode
I'm not able to display them. Could anyone that is familiar with the Ozone
Widget Framework suggest what do I need to do in order to accomplish that?
Thank you,
Alina.
-----
- Alina.
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-and-Ozone-widgets-tp6427000p6427000…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi I would like to create templates with classes an objects. I Read the FAQ Tutorial and everything does work.
On the Next step I would like to Change the Design of the template: a some lines or boxes, some titels between groups of classes.
Where and how could I do this?
Thank You
Felix
Ok, I have an exception "java.sql.SQLException:
org.apache.commons.dbcp.PoolablePreparedStatement..." that is making it to
Tomcat's standard out log (tomcat5-stdout.2011-05-26.log). I've tried
everything I can think of in the log4j.properties file to get this exception
to either not show up at all or log to a different file. This exception does
not have any formatting like is specified in the log4j.properties file. So I
don't think it's being logged, so much as just finally falling through and
going to stdout.
I've spent all dang day trying to find a way to keep this exception from
filling my logs, or to figure out why the darn thing is happening in the
first place. I've put in a ticket for the exception, but it still hasn't
even been picked up yet. I've emailed this list, but no one was able to
help.
So I just want to log this exception somewhere else so it doesn't complicate
my main log file. Can someone explain how to do this? I fancy myself a good
programmer, but of all things this is stumping me.
Thanks,
Lenny
Hello again,
Firstly, I`d like to ask you to reply to the whole list, and not only to
a specific individual. This way, everybody on the list can join the
discussion and help out. I`m adding the XWiki users list back to this
conversation.
Second, I think you forgot to attach/link the screenshots you were
talking about. I can`t see them in your mail.
And third, did you try what I suggested? More exactly, did you try to
rise the limit for the "max_allowed_packet" mysql parameter? If not,
then this is the first thing you must do.
Good luck,
Eduard
On 06/08/2011 10:21 AM, 江舟 wrote:
> Hi Eduard,
> Thank you for your reply.
> I can't see any error messages or exceptions in the console window.
> To better identify the problem, I use two screenshots to show my problem.
> The first one shows the picture before I click on the import button.
> The second one shows the picture after I click on the import button.
> I don't know what is wrong with XWiki, and I hope you can give me some
> advice.
> Thank you so much for your time! I am looking forward to your reply.
>
> Respectively yours,
> Shayne
>
>
>
> On Wed, Jun 1, 2011 at 5:56 PM, Eduard Moraru <eduard.moraru(a)xwiki.com
> <mailto:eduard.moraru@xwiki.com>> wrote:
>
> Hi Shayne,
>
> Welcome to XWiki's community :)
>
> Generally, when something is wrong with XWiki, you can see an error
> message (or better, an exception) in the console window from where
> XWiki
> was launched (where you executed start_xwiki.sh/.bat
> <http://start_xwiki.sh/.bat>).
>
> In this case, if you look at the bottom of the
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL#HInst…
> section, you can see a notice about configuring mysql to allow
> uploading
> packets (in this case, the XAR) larger than the default of 1MB. Some
> more details here:
> http://dev.mysql.com/doc/refman/5.6/en/packet-too-large.html
>
> So next time, please check XWiki's console to better identify the
> problem.
>
> Good luck,
> Eduard
>
> On 06/01/2011 11:07 AM, 江舟 wrote:
> > Dear Mr/Mrs,
> >
> > I am a newcomer to this group and beginner to study xwiki.
> >
> > Now I have deployed a xwiki.war package in Tomcat Container with
> Mysql as
> > the rlational dabase. After I finished figuration XWiki, I
> wanted to import
> > the default Wiki that http://www.xwiki.org
> <http://www.xwiki.org/> is providing as a XAR file. But I
> > can't upload a new package, every time I selected the XAR file
> and clicked
> > the UPLOAD icon, the screen returned to the page before I
> selected and
> > clicked.
> >
> > I don't know what to do to solve this problem, and I hope
> someone can give
> > me some advices.
> >
> > Thank you so much for your time! I am looking forward to your reply.
> > Respectively yours,
> > Shayne
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org <mailto:users@xwiki.org>
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org <mailto:users@xwiki.org>
> http://lists.xwiki.org/mailman/listinfo/users
>
>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The XWiki development team is proud to announce the release of XWiki Enterprise 3.1 Milestone 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the second and final milestone in the 3.1 development cycle, you can review the changes made
and bugs
fixed since 3.0 by going to:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
Thanks
- -The XWiki development team
If you would like to download the new release now, you can using these links:
- ---- XWiki Enterprise for Servers ----
xwiki-enterprise-web-3.1-milestone-2.war
SHA1: 1e903ab1bb230e6823597db2c6034ecd27a4275a
http://forge.ow2.org/project/download.php?group_id=170&file_id=16712
xwiki-enterprise-wiki-3.1-milestone-2.xar
SHA1: c82aa727bf6a81929d91c1e9182921eac9e0ea7e
http://forge.ow2.org/project/download.php?group_id=170&file_id=16713
- ---- XWiki Enterprise Standalone ----
xwiki-enterprise-installer-windows-3.1-milestone-2.exe
SHA1: 9f71d54eeff3b136454d15164e94b5484815ebf3
http://forge.ow2.org/project/download.php?group_id=170&file_id=16711
xwiki-enterprise-jetty-hsqldb-3.1-milestone-2.zip
SHA1: fa04ee328387ab48bbf5a8f5b2fab22e4684858e
http://forge.ow2.org/project/download.php?group_id=170&file_id=16719
xwiki-enterprise-installer-generic-3.1-milestone-2-standard.jar
SHA1: b93969196e73e30ffc6a65cd6033b03ebdfc1a85
http://forge.ow2.org/project/download.php?group_id=170&file_id=16710
- ---- XWiki Manager for Servers ----
xwiki-manager-web-3.1-milestone-2.war
SHA1: 12f514ddd2913378b07b8b43b5654dbb6ad33ed8
http://forge.ow2.org/project/download.php?group_id=170&file_id=16714
xwiki-manager-wiki-administrator-3.1-milestone-2.xar
SHA1: 9183f4f069c388ff9963e2ce877b6d75799fe4fa
http://forge.ow2.org/project/download.php?group_id=170&file_id=16716
- ---- XWiki Manager Standalone ----
xwiki-manager-jetty-mysql-3.1-milestone-2.zip
SHA1: 63a7d30511931fb10569fb4a82c5c42f367f9467
http://forge.ow2.org/project/download.php?group_id=170&file_id=16718
- ---- XWiki Manager Extension for XWiki Enterprise Installations ----
xwiki-manager-application-xem-3.1-milestone-2.xar
SHA1: d5381326b71057182256d6aa9eec777b647739aa
http://forge.ow2.org/project/download.php?group_id=170&file_id=16717
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQIcBAEBAgAGBQJN3LFoAAoJECYAmptlsgnWjikP/2dVAZyyWcFzh9paefuqwAXm
NDvW6VA/0nHVOhMhzlvyjjpBKW4tAujQqIT2eL9dn5SG2tCygQ6lLE7r6zwFJY0t
LHkOtqtK4lRiFJfu7+h/f3/yYRi3mKwht0d8z0lc74w+ACB6VKSfIdcIwh1u7Klm
UXNh43lbIJNABGYapGe/aLwr3q7qFZp+sKaO3aVW5cVVzup3KnQPHV9BqgRYfqDd
fWip1zZCixJ/yOOQ8VNpNRvr8mVST9pettKmDb6HlLjqvrV+qrX306zIvhcPFoKk
tkHZQJaFsf9Sg8pv+U+tBVgvJIcWbf+PeAJKhIU1MPz8wc54bvDGhqBpH1VwLGUD
8W8vhzPs4rnP/w5nKWz15R4KEPBHuzUMx6oEcwPx7G7L8f+tnlAifWJLzQJP1A1U
JTADeQ7GnIZ/Jg6ycWeDIIgZLOl6TrzEaDYMTWF6sXElvYfUilrdhJZ1Upbv2aul
R2bWqF7Ia//FQxMGNPhwTwF7fsPExJaFQ/OEeoSumusZIl/NGc4gjrytZA2VY2t0
c3zW2CAd8JryJujFuQtbj51rYvKMnDtp3+419pkfmbs5Vg33hFKrKB30xV7nrsm5
zN9itvj7APKy3tndUph2YXaNYlXkrAe2o1B6R8gXw0M8qV/0gVmL2G0DN5d3Vu6x
BG460gFTusnCwQXW8TYG
=XTgI
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The XWiki development team is proud to announce the release of XWiki Enterprise 3.1 Release Candidate 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Unless a new bug is discovered, this will become the 3.1 final version.
This release was a stability and bug-fix only release so there are no new features.
You can read about bugs fixed and translation updates by going to:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
Thanks
- -The XWiki development team
If you would like to download the new release now, you can using these links:
- ---- XWiki Enterprise for Servers ----
xwiki-enterprise-web-3.1-rc-1.war
SHA1: 0afab6a2cf62cff56c2351ce5ee5916e3be3eb60
http://forge.ow2.org/project/download.php?group_id=170&file_id=16747
xwiki-enterprise-wiki-3.1-rc-1.xar
SHA1: 7286b367c735b8a667a4cb00c7b8403001027821
http://forge.ow2.org/project/download.php?group_id=170&file_id=16745
- ---- XWiki Enterprise Standalone ----
xwiki-enterprise-installer-windows-3.1-rc-1.exe
SHA1: 5f71b52c823fc92474a28caebf89af56b176c6a8
http://forge.ow2.org/project/download.php?group_id=170&file_id=16750
xwiki-enterprise-jetty-hsqldb-3.1-rc-1.zip
SHA1: 870553bbac3f720135780ee0b89398e38e87797f
http://forge.ow2.org/project/download.php?group_id=170&file_id=16748
xwiki-enterprise-installer-generic-3.1-rc-1-standard.jar
SHA1: 123309d14972c2391b1824b33a2ce20b11464005
http://forge.ow2.org/project/download.php?group_id=170&file_id=16749
- ---- XWiki Manager for Servers ----
xwiki-manager-web-3.1-rc-1.war
SHA1: 0313a8d54053a61e12f1651216c1b64d9989c184
http://forge.ow2.org/project/download.php?group_id=170&file_id=16754
xwiki-manager-wiki-administrator-3.1-rc-1.xar
SHA1: 4551d78e9f7b66f6cae3f10982ac69284c05386f
http://forge.ow2.org/project/download.php?group_id=170&file_id=16753
- ---- XWiki Manager Standalone ----
xwiki-manager-jetty-mysql-3.1-rc-1.zip
SHA1: ec611704fd298774af956beeda1a3b302b0d4744
http://forge.ow2.org/project/download.php?group_id=170&file_id=16751
- ---- XWiki Manager Extension for XWiki Enterprise Installations ----
xwiki-manager-application-xem-3.1-rc-1.xar
SHA1: 71659f787ab9c1e7700aee4a2f9b0316194fab9a
http://forge.ow2.org/project/download.php?group_id=170&file_id=16752
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQIcBAEBAgAGBQJN7dwsAAoJECYAmptlsgnWJBIQAIyTSN6wqWfmS+3H4YIZLXOJ
CefTZqHFJI38inSzXgbBG3wwtS/EA3ycRoyzuqVSlsuRJ+06KmlUz75WAk0hVsrU
84Ihpq2GXioL2jvwLKNNNvX97Jk93JzNaI5Ys0gh9hZy0/9XKT1jrrvTjxCxkoES
eUFAHUF9uFuOGKcazTEYF/itbc0jSMZvbVqz0NQZY7w6EpZKEeds2Xv0fVzYIq6+
GP+AocHYJ7WADajMzYfcvEUdy0SPgAMpgx+vx0k3XczPTa+eT6MgANOYKbV5COaB
v5VBLvjiJaLmwDMw/c8rjLPjJzY+EAVC1Wy/DEWMswwOnw1ubjX3vUK9x99mQwgF
z0tnW7fgJS+mcY5LFQlWg2FH2+bg04CwoksuOI1JNMksbCC+jQ4rBDDzwPgLUBEL
HaAgjLFsF8Eg/Y8V1PdJKFKi5tmfsodqHnJ7Xv9Qrem9D97JrFgbOLr6ULz7NDus
1KDLNoBvcJC74q1Wo+F6XVf2hY1HQjXw4IqIJlYYi1ZAhNS75LasvvWl7nC+XeAo
4BIHx2vskRuMbYtY4wfElPEl9yXCtwOR7DBpzV9JjzmiKHKVuW0+ZuJGnTn/a+G1
BkWB9ttwjFQ/V9MK61GXdSbGRhobccBRwHw+trIrkBK5dOD4bBoF5or/rX/RA9xb
c4l27NeRfuPKHRjKZAG9
=QIBM
-----END PGP SIGNATURE-----
Hello everyone,
my xwiki seems to do strange things to embedded pictures. No matter
how big the resolution is they all are displayed blurry (as if they
were scaled down and then up again).
Can anyone explain that behavior? Does anyone know what to do against it?
Thank you for your help,
Stephanie
version=2.7.33656
Ok, so I have a custom XWikiAuthServiceImpl login that after authenticating
via a smart card looks up a user from a database and creates a xwiki user.
To verify it was working after some changes, I deleted a user that previously
could log in fine, and then had them try to log in again. They got a screen
with no skin applied and an error "You are not allowed to view this document
or perform this action". I did the same for a different user, and they had
no trouble at all, with their user being created again just fine.
I looked in the admin console, and the user with the problem is not listed.
So I tried creating the user with the problem by hand in the Admin console,
but it claims the user already exists.
Also, I have an output line in my extended XWikiAuthServiceImpl code that
tells me that it made it to that point. Right after it is an exception:
"org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with
id [/templates/xwikivars.vm]" I can't be sure it's related, but seems to be.
Is there perhaps lingering user info in the database for this user? If so,
how do I get rid of it? Or is it something else entirely?
Thanks for any help.
Lenny
Hello everyone,
I wanted to ask if there are any news concerning the ?Changing the
default Space?issue? I also tried to change xwiki.defaultweb in
xwiki.cfg to the new space but without any luck. Xwiki.usedefaultweb
seems to work, though, which is not helping, since the default space
isn?t.
I couldn?t find an final answer in the archive, please correct me if I
overlooked something and there is already a solution to change the
default space.
Many thanks,
Stephanie
Hello,
Looking for help on getting the Class Properties fields to validate in a
form using regular expressions. I went through the “Creating a form with
Validation and Tooltips” tutorial, but cant seem to get my own example
working. I have added the regex to the class property, but where exactly
does the $doc.validate() and *<input* type="hidden" name="xvalidate"
value="1" */> * code go? If I add them to the ClassSheet it just shows up as
text and doesn’t seem to be running. What am I missing here?
Any help is appreciated!
Thank you,
Alena
Dear Mr/Mrs,
I am a newcomer to this group and beginner to study xwiki.
Now I have deployed a xwiki.war package in Tomcat Container with Mysql as
the rlational dabase. After I finished figuration XWiki, I wanted to import
the default Wiki that http://www.xwiki.org is providing as a XAR file. But I
can't upload a new package, every time I selected the XAR file and clicked
the UPLOAD icon, the screen returned to the page before I selected and
clicked.
I don't know what to do to solve this problem, and I hope someone can give
me some advices.
Thank you so much for your time! I am looking forward to your reply.
Respectively yours,
Shayne
Hello,
I am looking for doing a timed auto-refresh like a
<META HTTP-EQUIV="Refresh" CONTENT="60">
How could it be possible a xwiki article. It dos not work inserted as html.
But someting sexiest should be possible ?
Thanx
None
Hello,
we are using XWIKI ENTERPRISE 2.7.33656. Attaching of files to a wiki
page is working properly with the WYSIWYG editor.
If I want to link to the attached file another time from the same
location or another location i do not see the file in the document tree
of the link window. No file is displayed here, but if the file is stored
on the same page it is only displayed in the first tab of this dialog.
For better understanding, there is an image of these dialogs attached.
Thanks for any help.
Yours, Mark
_______________________________________________
TROX GmbH
Heinrich-Trox-Platz, 47504 Neukirchen-Vluyn
Amtsgericht Kleve, HRB 4997
Geschäftsführung:
Udo Brinkmann, Lutz Reuter
Aufsichtsrat:
Dr. Wilhelm Dettmering (Vorsitzender)
I want to give feedback to the Xwiki concept.
As a radiologist I am searching for a software that do three simple
tasks:
1. Storing anonymous radiological images for teaching purpose.
2. Connect facts, notes,articles (text, PDF, PTT and JPG to this
images.
3. Using a system to retrieve the information.
Why? I often know that I have seen the phenomena/disease before. But I
do not remember where I found facts to this phenomena/disease. So why
searching for the same disease a second (10th) time?
Se: http://dx.doi.org/10.1594/ecr2011/C-2126
Xwiki has a REST interface. I designed a universal image import
macro(with autohotkey.net) that grab an image, open a tiny input
interface for tags and drop the image and tags the Xwikiserver.
Xwiki handle the image workflow quit well. Storing articles (PDF) to
this image is working. Tagging and hierarchical connection is working.
Lucene is doing the search job.
So what is not working?
STARTING WITH XWIKI
I am not a experienced programmer nor a database freak. Working before
with twiki.org and mediawiki.net on PHP. Never working with Java server
before.
So I started from a USB device with the Xwiki stand alone server on
Windows XP. After some weeks I realized that IT IS ONLY FOR TESTING!
(Yes it is informed on the page).
MIGRATING TO MYSQL
Using “MoWeS Portable” freeware for Apache, MySQL, phpMyAdmin.
Export from “testing” and import to MySQL is not working for me because
of large database and umlauts in page name and attachments. The
ImportLargeWiki script is working after manual converting all umlauts
and question marks from page name. Se next section.
UMLAUTS
I am working in Norway with not updated Windows XP and Swedish code
pages. Developing at home on a German Ubuntu: In this setting it is not
possible to generate a page with page name, page title and attachment
name including German or Norwegian umlauts.
1. The page name must not include umlauts or special characters.
2. Page title is safe with umlauts or special characters.
3. Attachment name must not include umlauts or special characters .
It is not optimal, but I can (now after intensive testing) live with it.
I use a time stamp for file name and for attachment name.
IMAGE WORKFLOW
My automated import workflow is quit nice, so I used it many times. The
upload and search for image dialogue is using the page title and is
working god.
I still miss the possibility to make a image annotation. (like in
Wikipedia) and the link to full size image.
Why not have a thumbnail of the image in search result page and
AllAttachment page?
But the images in the database are blowing up the size of the database.
Performance is going down, handling import and export is getting time
consuming.
ATTACHEMENT WORFLOW
Missing a search for “foo bar “ attachment in other pages/spaces.
LUCENE SEARCH
My search results are giving 10jpgs first and then the parent page. (It
is a known bug).
Id like to see fragments of the document on the result page.
Highlighting the search text is nice. Is it a Xwiki issue or is it easy
to realise a show text on the result page?
Show me the images as thumbnails and PDF/ppts as icons.
How to change the Analyser? Is there a Norwegian text analyser for
lucene? (I know it is not a genuine Xwiki issue, but helps to make Xwiki
more efficient)
EXPORT PDF /PRINT
Tables are not printed with border. The image positioning (right-left)
seems to get broken in PDFs
RELAUNCH
Now with Xwiki 3-1.2. On the Norwegian XP with Swedish code page.
1. Plain Xwiki installation with FILE system
2. MySQL via MOWES. Just start MyPhpAdmin to add xwiki database
3. No Login on plain XWIKI!!!
4. Plain 3-1.2 XAR installation.
5. Install script LargeWikiImport from Xwiki.org
6. Export of XAR from the old system with ExportLargeWiki by
spaces.
7. Import with LargeWikiImport. USING “do not overwrite” option
8. Give time to the system and lucene search.
9. One problem. All the old pages are “hidden” (browse tables with
MyPhpAdmin)
1. Probably because used “backup”- option on import. (Is
this right? Correct me if wrong. AND PUT SOME INFO IN
THE SCRIPT)
2. In MyPhpAdmin update from hidden=1 to hidden=0 for all
pages
And now: A fast system with newest software version, working from a USB
device on Windows and Linux.
But there is a maximum file per directory bounder on Windows systems.
FAT16- 512
FAT32- 65,534 files or folders per folder
NTFS- 4,294,967,295
Is this correct?
MISSING
I want to include pages with sections to make a book. The hiracical
section including is not working well.
Lucene: The search syntax shoot be available inside the wiki.
Why is the maximum upload parameter so low? Put it up to 1GB. And make a
link to the edit page. Not “se in forum and go back to the Wiki”. It is
confusing.
How to migrate users?
Why not putting all Xwiki system pages in a space. And only the WebHome
in Main?
On upgrading/migration process you upgrade only (first) space Xwiki. And
in a second step you copy all your pages from Main to (empty) Main.
Why not using LargeWikiImport and LargeWikiExport as default?
I develop and use Xwiki for RadWiki (Radiology Wiki) on a daily base
now. It is fun to use it!
Thank you for your attention. Volker
Hi all,
Despite my problems with the wysiwyg module, I could identify another
break in XE 3.1M2. The last calendar plugin is not compatible (probably
missing jars). The error root cause on stack trace at xwiki war deploy is:
java.lang.ClassNotFoundException: net.fortuna.ical4j.model.Calendar
Also, the Ratings Plugin is not working on IE 8. It raises a page script
error, as follows:
Message: 'null' is null or not an object
Line: 1
Character: 1334
Code: 0
URI: http://xwiki/xwiki/bin/jsx/XWiki/Ratings?language=pt
I'm using both plugins in my instance. Any plans to get this fixed on 3.1?
Regards,
--
* *
* *
*Ramon Gomes Brandão*
*//*
Hi there,
I'm trying to debug XWiki Enterprise on Eclipse, using WTP and Tomcat 6.
I've managed to fork and clone the sources from GitHub.
I can build and install them to my local Maven repository without a problem.
Now i'm trying to debug it on Eclipse, following this guide:
http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse
I imported the xwiki-debug-eclipse as a Java Project.
There is a validation error:
> CHKJ3000E: WAR Validation Failed:
> org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:
> WEB-INF/web.xml
>
I did not add any XWiki project to the Deployment Assembly.
Do i need to add any core project before i can deploy it to the server? Or
do i have to add all of them?
PS: Tried posting this to the devs list but was denied. Is this the right
place?
Thanks in advance,
Fernando
Hi All,
I'm facing a big problem since yesterday, and no idea how to fix: my
wysiwyg stop working. The fresh install was ok. Then I've replaced the
original xwe folder with my compiled one from the sources (since I've
translated it for pt_br) on the xwiki war, deployed it on Jboss 4.2.3
and the translated version did not work (the wysiwig didn't load, the
loading gif keeps on the screen when I edit any page). Well, thought it
might be a compilation problem. Then I've returned the original xwe to
my war, deployed again and, unforntunately, it stop working, even with
the version of the original xwe in english. There's no stack trace on
Jboss (no exceptions) and no error messages.
Is it somewhere on the database that I need to reset to return to the
working xwe in english? It's going to production next few days and now
I'm scared I cannot fix it in time. It was working and now, even
returning to the original xwiki package, it doesn't work (I'm using the
same populated database from my first fresh install).
How can I fix it?
--
* *
* *
*Ramon Gomes Brandão*
*//*
I want to try out / use this wiki because i work at the University of
Florida Computing Helpdesk and our wiki has become outdated. We are non
profit and are a resource for faculty and students.
myxwiki.org username: kellendenny
ufhelpdesk.myxwiki.org
Very Respectfully,
Kellen H Denny
850-212-5989