Hi Ruslan!
rssh wrote:
As I remember, for this you must extract
log4j.properties from
lib/xwiki-core-<version>.jar and put extracted file in classes.
Than add to log4j.properties additional statements.
I've extracted the file, added the required line and modified xwiki.cfg
accordingly. Here it is a block containing the line loading xwikisql
plugin.
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,\
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,\
com.xpn.xwiki.plugin.watchlist.WatchListPlugin,\
ua.gradsoft.xwikisql.SqlPlugin
Then, I've restarted XWiki and here the error I got:
*****
type Informe de Excepcio'n
mensaje
descripcio'n El servidor encontro' un error interno () que hizo que no
pudiera rellenar este requerimiento.
excepcio'n
javax.servlet.ServletException: La ejecucio'n del Servlet lanzo' una
excepcio'n
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
causa rai'z
java.lang.UnsupportedClassVersionError: Bad version number in .class file
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:675)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1817)
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:164)
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:70)
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:107)
com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:853)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:785)
com.xpn.xwiki.XWiki.<init>(XWiki.java:721)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:292)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:490)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:118)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
nota La traza completa de la causa de este error se encuentra en los
archivos de diario de Apache Tomcat/6.0.14.
*****
It I remove the entry in xwiki.cfg loading the plugin, XWiki works fine.
Does this make any sense for you?
Thanks. I am wondering why Loggin or log4j returns nothing when searched
in
http://www.xwiki.org. Does it work for you?
Cheers,
Ricardo
--
Ricardo Rodri'guez
Your EPEC Network ICT Team