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.
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 ***
**********************************************************************************************