Hello everyone,
I was testing the import/export tool from one wiki to another (I'm actually trying to export from an online xwiki to a testing instance locally in my machine), and the resulting file from the export process turned out to have around 255MB. I have the xwiki enterprise 1.7.1 installed on my machine (including a Jetty container and an HSQLDB database all set up). When I try to "upload" the exported file, I get an error message saying that the max upload size is 10MB. I already changed the upload_maxsize property in xwiki.preferences to 300MB (the information in the field was written in Bytes, equivalent to 300MB), but yet even so, I keep getting the same error message. I think this might be a HSQLDB handicap. Am I correct? In any case, how can I solve this issue so I can proceed with this test?!
Thanks a lot !
Roney
I have XWiki 1.1-milestone-2.3619 available in my business. I use it as a repository for engineering technical information and legislation and as a Blog.
My XWiki installation is the default one with the jetty container. I use Vista x64 SP1.
The "xwiki_db.script" file is now over 3,5GB (mostly because I have many attachments) and I have set JAVA_OPTS=-Xmx2512m to be able to load XWiki.
The process java.exe occupies 2,6GB of RAM memory. I have bought additional RAM reaching a total of 6GB to be able to use the computer while XWiki is loaded.
XWiki as become an important part of my business and all my co-workers love to use it, so the information keeps growing.
I will most certainly reach the maximum RAM (8GB) of my computer and will have to make large hardware investments if I am to continue using XWiki.
Is there a less resource-intensive way for Xwiki to store attachments or a container more suitable for the way I use XWiki?
Thank you for your reply.
Best regards,
Adriano, PT
_________________________________________________________________
Be the filmmaker you always wanted to be—learn how to burn a DVD with Windows®.
http://clk.atdmt.com/MRT/go/108588797/direct/01/
hi all
i am seeking free tutorial for newbies to start XWiki, anyone can give
me recommendation
i am preparing to setup the content for www.jug-asia.org , an xwiki,
hosted by xwiki.com
--
--
Frans Thamura
Meruvian
One Stop Java and Enterprise OSS Provider
Mobile: +62 855 7888 699
Blog & Profile: http://frans.thamura.info
Training JENI, Medallion (Alfresco, Liferay dan Compiere).. buruan...
URL: http://www.meruvian.com
Promo: Beli Zmanda Backup di Meruvian, 10% discount dari pricelist..
Buruan sekarang!!!
Hi all,
I have a class with a property which is a long and i want to change it
to float or double, but I got a 'A problem occured while trying to
service your request. Please contact the support if this happens again.
' error when i try to save the change
I think that maybe that comes from the fact that I have some entities of
this class in the database. Is this a bug ? If I remove all the entities
of this class, will I be able to make the change ?
Hope somebody can help.
Best regards,
Jean
--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28
Hello Everybody,
In order to set the XWiki up for all users in my organization, I need some information about the database structure, for sending it to the database administrators. I've searched a little but I hadn't found any answer to the following questions:
- A little description of the relational model, and the main tables?
- A suggestion about how to partitionate the big tables?
- If there is any possibility to set up in oracle without Hibernate, just create the tables?
Thanks for the info,
Francisco
--
Francisco Hernández Cuchí
OFICINA ESPAÑOLA DE PATENTES Y MARCAS
mail: francisco.hernandez(a)oepm.es <mailto:francisco.hernandez@oepm.es>
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
Thanks Jerome.
I updated the administration app, as you suggested, only maybe not as
carefully as you suggested :)
I should learn to read instructions.
I did update the group pages. That, as you predicted, went OK apart from the
XWikiAllGroup. Can you run the script to restore that for
http://patternlanguagenetwork.myxwiki.org/ ?
As a side note, it would be nice to have an option to perform bulk
operations on a group's member list, by using a list of all members with
checkboxes. Not instead of the current interface, but in a addition.
One more thing that seems to be broken is the "smart table" I use on several
pages, e.g.
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/
I don't think I customised the XWiki.XWikiPreferences, unless I did it
unknowingly..
2009/2/11 <users-request(a)xwiki.org>
> From: Jerome Velociter <jerome(a)xwiki.com>
>
> There should be no problem if you take care. If you don't want to
> upgrade the whole XE, you can take just the administration application
> from here
>
> http://maven.xwiki.org/releases/com/xpn/xwiki/platform/applications/xwiki-a…
> to solve this issue
>
> > - specifically, it says that all group memberships will be broken. We
> have a
> > lot of groups with a lot of users, is there any migration script I can
> use?
>
> Just make sure you exclude the group documents (XWikiAdminGroup and
> XWikiAllGroup) from the list by un-checking their boxes. Beware if you
> forget this is not that easily reversible (but your XWikiAllGroup can be
> re-created by script, though, you'll have to do the AdminGroup manually).
> For all other groups you created yourself, you have nothing to worry
> about, they are kept safe.
>
> What the upgrade will do is update the group sheet
> (XWiki.XWikiGroupSheet) so that it asks for the proper javascript
> library to be loaded.
>
> Don't forget to exclude XWiki.XWikiPreferences, too, as you probably
> customized it.
>
> Jerome.
>
Hello,
I have just installed the new version of XWiki but I didn't find
instructions on how to enable the new GWT editor.
I have tried XWiki v 1.7 stable and 1.8 M2, and when I try to edit a page,
it proposes the old WYSIWYG editor. As the new editor is not enabled by
default, is there a configuration setting somewhere to enable it?
Thanks in advance,
Cristi.
--
View this message in context: http://n2.nabble.com/How-to-enable-the-new-WYSIWYG-editor-tp2316851p2316851…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi guys,
a link to a page "smallGreenStuff" gets rendered as "small Green
Stuff". I didn't want to set up a Jira issue on this yet. Just tested
with Syntax 1.0. But that shouldn't happen, right?
Cheers,
Sebastian
Hello everybody,
Just another question,
Is there any way to use structured data input and view in XWiki? I've seen some pages that have it, but I don't know an easy way to implement it. I has to be something simple, like in excel or a shared excel where you can copy paste from the office suite.
I think that normal tables could handle it, but when I copy paste from excel the table is no more editable.
Another option is a table where you can edit rows somehow.
I don't know all the possibilities of xwiki, so, any suggestion?
Thanks for the good work,
--
Francisco Hernández Cuchí
OFICINA ESPAÑOLA DE PATENTES Y MARCAS
mail: francisco.hernandez(a)oepm.es <mailto:francisco.hernandez@oepm.es>
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
> You should import the xwiki-administration xar, as the group sheet was
> updated to pull the required JS/CSS files, which are no longer included
> by default in the HTML head.
>
Thanks Sergiu.
I looked for it at:
http://www.xwiki.org/xwiki/bin/view/Main/Download
and
http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/
but couldn't find it. any tips?
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
2009/2/11 <users-request(a)xwiki.org>
> Subject: Re: [xwiki-users] problems editing group members in XWiki
> 1.8?
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <49915E3C.6010204(a)xwiki.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Sergiu Dumitriu wrote:
> > Yishay Mor wrote:
> >> On http://patternlanguagenetwork.myxwiki.org/ (hosted on the
> MyXwiki.org
> >> farm)
> >>
> >> I'm having problems editing group memberships.
> >> >From the admin page, if I try to enter "groups", it hangs.
> >> I can navigate to
> >> http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki
> /XWikiGroups
> >> But then, when I try to enter a specific group, it hangs.
> >>
> >
> > It seems that a .js file is missing. Looking into it.
>
> You should import the xwiki-administration xar, as the group sheet was
> updated to pull the required JS/CSS files, which are no longer included
> by default in the HTML head.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
I'm executing some code on Save which attaches a PNG file to a document
that was edited/saved.
When I call docObj.saveAttachmentContent(attP, context); the attachment
is save OK but any changes made to my document (ie. text changes) are
not saved.
If I comment out this line the text changes are saved, but off course
not the attachment.
Is this normal behaviour, what do the developers think?
def imgAsBites =
xwiki.getURLContentAsBytes("http://www.websequencediagrams.com/index.php
"+umlImage, context);
def attP = docObj.getAttachment(filenameToSavaAs);
if(!attP)
{
attP = new
com.xpn.xwiki.doc.XWikiAttachment(docObj,filenameToSavaAs);
docObj.getAttachmentList().add(attP);
println "NO Attach";
}
attP.setContent(imgAsBites);
docObj.saveAttachmentContent(attP, context);
Regards
Ajdin
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
Hi,
I should want use XWiki as a platform to distribute java web start
applications.
I want some acces control : only register persons can get the jnlp and jar
file.
I put the jars on the server by FTP with an ant task. I edit the jnlp file on
the server with vim (or KEdit, if the X server is ok).
I don't want use the internal stuff in XWiki to edit or install these files, I
use xwiki only to control the acces and to make a presentation page (ex :
"Please clic here (here), it's my very good java application") of the product.
How is it possible to get the FTP transfert inside a xwiki context ?
Thanks.
Thanks Thomas,
Sorry - I somehow missed that announcement. But I'm confused:
- it says that "It is also strongly recommended to upgrade to the latest
wiki version." do I have privileges to do that?
-
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgrading…
some warnings about potential hazards of the upgrade process. Is there
a
way to roll-back a failed upgrade?
- specifically, it says that all group memberships will be broken. We have a
lot of groups with a lot of users, is there any migration script I can use?
thanks!!
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
2009/2/10 <users-request(a)xwiki.org>
> From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
> Subject: Re: [xwiki-users] problems editing group members in XWiki
> 1.8?
> To: XWiki Users <users(a)xwiki.org>
> Message-ID:
> <a8e97d9c0902100259y3e4e327bsd00a2cee791382e2(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> The is a complete refactor of js, css, etc... files in 1.8M2. See
> http://markmail.org/message/hcnatg6cwsb67fyi
>
> On Tue, Feb 10, 2009 at 11:28, Yishay Mor <yishaym(a)gmail.com> wrote:
> > On http://patternlanguagenetwork.myxwiki.org/ (hosted on the MyXwiki.org
> > farm)
> >
>
Hi,
we just upgraded our XWiki from 1.3.2 to 1.7.1.
Right afterwards the firewall registers LDAP-Packages from the XWiki mashine
as an attack, saying:
"A malicious LDAP packet may indicate a potential attack. An attacker could
use a modified LDAP message to cause buffer overflows on defective systems
and execute arbitary code. (LDAP message contains malicious data which does
not comply with ASN.1)"
It seems that it has something to to with the changings made since 1.3.2. Is
that possible?
Greetings,
Steve
--
View this message in context: http://n2.nabble.com/LDAP-Login-changes-in-new-version-tp2257004p2257004.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I solved my http://n2.nabble.com/Convert-XE-to-XEM-td2169510.html#a2169510
XE -> XEM Problems (I hope) changing the wrong properties in the database.
Bit i still got the problem with the new WYSIWYG-Editor link function
http://n2.nabble.com/file/n2290224/link.png
I got an Error message now too:
20:10:32,963 [] [http-8180-Processor16] ERROR [/xwiki].[WysiwygService]
- Allocate exception for servlet WysiwygService
java.lang.NoClassDefFoundError:
com/xpn/xwiki/gwt/api/server/XWikiServiceImpl
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
20:10:32,970 [] [http-8180-Processor17] ERROR [/xwiki].[WysiwygService]
- Allocate exception for servlet WysiwygService
java.lang.NoClassDefFoundError:
com/xpn/xwiki/gwt/api/server/XWikiServiceImpl
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
20:10:32,976 [] [http-8180-Processor24] ERROR [/xwiki].[WysiwygService]
- Allocate exception for servlet WysiwygService
java.lang.NoClassDefFoundError:
com/xpn/xwiki/gwt/api/server/XWikiServiceImpl
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
20:10:32,982 [] [http-8180-Processor21] ERROR [/xwiki].[WysiwygService]
- Allocate exception for servlet WysiwygService
java.lang.NoClassDefFoundError:
com/xpn/xwiki/gwt/api/server/XWikiServiceImpl
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
20:10:32,989 [] [http-8180-Processor20] ERROR [/xwiki].[WysiwygService]
- Allocate exception for servlet WysiwygService
java.lang.NoClassDefFoundError:
com/xpn/xwiki/gwt/api/server/XWikiServiceImpl
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Hope someone can help
Thanks
hel.
-----
Helmut Lehner
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/XEM-and-WYSIWYG-tp2290224p2290224.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Dear all,
I found a bug on the sortable filterable table : i have different
options (PO done and done) in a table cell. When using the filterable
option, the done option do not appear in the selection.
I went searching in the tablefilterNsort.js file, and it seems it comes
from the PopulateOptions method, and more particularly from the search
method in the celldata check :
if(OptArray.toString().toUpperCase().search(cell_data.toUpperCase()) == -1)
// checks if celldata is already in array
The method search returns the number of occurence of the searched
parameter, in my case, it returns 1 for done, but i would like -1 (my
option is different). I tried changing the test (if its different to -1,
addind a test on the length), but did not found an answer.
I think this is a quite serious matter, as this problem may be found
quite often. Somebody had the same problem ? Somebody is a master of
javascript (i am not unfortunately) and might help on this ?
Best regards
Jean.
--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28
Hi,
I've managed to get my watchlist to send out emails, the only problem is
that the following is displayed within the email:
Error number 4001 in 4: Error while parsing velocity page
XWiki.WatchListMessage Wrapped Exception: Failed to evaluate content with id
[XWiki.WatchListMessage]
Error number 4001 in 4: Error while parsing velocity page
XWiki.WatchListMessage
Wrapped Exception: Failed to evaluate content with id
[XWiki.WatchListMessage]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page XWiki.WatchListMessage
Wrapped Exception: Failed to evaluate content with id
[XWiki.WatchListMessage]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSenderPlugin.java:662)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.sendNotificationMessage(WatchListJob.java:430)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.execute(WatchListJob.java:181)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getExternalURL' in class com.xpn.xwiki.api.Document threw exception
java.lang.NullPointerException @ XWiki.WatchListMessage[33,138]
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSenderPlugin.java:662)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.sendNotificationMessage(WatchListJob.java:430)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.execute(WatchListJob.java:181)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: java.lang.NullPointerException
at com.xpn.xwiki.XWiki.getServletPath(XWiki.java:4317)
at
com.xpn.xwiki.web.XWikiServletURLFactory.addServletPath(XWikiServletURLFactory.java:208)
at
com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:178)
at
com.xpn.xwiki.web.XWikiServletURLFactory.createExternalURL(XWikiServletURLFactory.java:273)
at com.xpn.xwiki.doc.XWikiDocument.getExternalURL(XWikiDocument.java:925)
at com.xpn.xwiki.api.Document.getExternalURL(Document.java:502)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
... 14 more
I have checked and the Admin user exists and is in the
XWiki.XWikiAdminGroup, could somebody help me please!
--
View this message in context: http://n2.nabble.com/WatchList-Email-Error-tp2151183p2151183.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Just trying the new Milestone Release and i've two questions:
Is there a reasen the following files are in WEB-INF and WEB-INF/classes:
- hibernate.cfg.xml
- xwiki.cfg
- xwiki.properties
I cannot switch to xwiki 2.0 syntax also its enabled in xwiki.cfg. Is there
any new Setting or Right?
Thanks
hel.
-----
Helmut Lehner
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/xwiki-18M2-tp2289314p2289314.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am really frustrated with this now.
I cannot get to save an attachment to a document although all works well
on my local xwiki instance 1.6.1.
As discussed in post "Re: [xwiki-users]
groovy.lang.MissingMethodException - Nosignatureof method"
and suggested by Denis Gervalle
-def attP = doc.getAttachment(filenameToSavaAs)
-if( !attP ) attP = new
com.xpn.xwiki.doc.XWikiAttachment(doc,filenameToSavaAs)
-doc.getAttachmentList().add(attP)
-attP.content = imgAsBites
-attP.author = context.user
-// attP.comment = 'comments for your attachement if you want'
-doc.saveAttachmentContent(attP,context)
This however generates a new instance of the same file every time the
code is run. This is the same on v1.6 and 1.7 that myxwiki runs.
I've tried doing
doc.getAttachmentList().add(doc.getAttachmentList().indexOf(attP),attP)
but this fails saying that the index is -1.
Also on the 1.6 version if I restart glassFish only one file instance is
left in the attachment area. Clears the chache.
But the code below works perfect on my local instance yet on myxwiki the
attached file disappears after a while cos it is not stored permanently.
//convert from doc.XWikiDocument to api.Document
com.xpn.xwiki.api.Document apidoc = new
com.xpn.xwiki.api.Document(doc,context);
//get image from url as byte[]
def imgAsBites =
xwiki.getURLContentAsBytes("http://www.websequencediagrams.com/index.php
"+umlImage, context);
//add to api document (this doesn't save it permanently)
def attImg = apidoc.addAttachment(filenameToSavaAs, imgAsBites);
//this saves it on v1.6
doc.saveAttachmentContent(attImg, context) ;
//remove existing error file
//there seams to be a bug in deleteAttachment so will
overwrite existing file with a blank one
def att = doc.getAttachment("ErrorLogUML.txt");
if( att ) {
def attString = "No ERRORS";
def attByteArr = attString.getBytes();
def attTxt = apidoc.addAttachment("ErrorLogUML.txt",
attByteArr);
doc.saveAttachmentContent(attTxt, context) ;
}
//end
apidoc.save();
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
Hello everybody,
How can i set that the search panel uses lucene search as default, instead of the normal search?
Thanks
Francisco
--
Francisco Hernández Cuchí
OFICINA ESPAÑOLA DE PATENTES Y MARCAS
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************