Hi
I have some issues impeding me to test the latest svn version of xwiki.
Do you know a fix? I want to run xwiki with jetty/hsql using xwiki_start.sh.
I started my investigations by downloading the freshest xwiki version on svn.
For the rest of the story I am using Eclipse, where I imported the project and
I specifed the sources I just downloaded. So far so good.
tips
- I had to manually add junit from the /lib directory to ant classpath (run as
ant build - the second "ant build" entry) to
make ant run. Otherwise it
would always complain about a missing junit class for
the cactus target.
Now I can run ant targets. I find the "standalone" target and I run it. It
unzipped the release of jetty stored somewhere (above) and copied the xwiki
files under webapps. That's fine. I find the script/batch_files to start the
wiki, and so do I.
Apparently the database is created but it stops there. I get the following
message in the browser:
---
HTTP ERROR: 500
Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document
XWiki.XWikiPreferences
Wrapped Exception: could not load an entity:
[com.xpn.xwiki.doc.XWikiDocument#104408758]
---
and then in the logs:
---
02:15:05,297 ERROR P1-19
http://lijour:8080/xwiki/bin/view/Main/WebHome
GraphVizPlugin:init:90 - Cannot find graphiz dot program at c:/Program
Files/ATT/GraphViz/bin/dot.exe
02:15:05,298 ERROR P1-19
http://lijour:8080/xwiki/bin/view/Main/WebHome
GraphVizPlugin:init:99 - Cannot find graphiz neato program at c:/Program
Files/ATT/GraphViz/bin/neato.exe
02:15:05,848 WARN P1-19
http://lijour:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:71 - SQL Error: 0, SQLState: null
02:15:05,849 ERROR P1-19
http://lijour:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:72 - Borrow prepareStatement from pool
failed
02:15:05,850 WARN P1-19
http://lijour:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:71 - SQL Error: 0, SQLState: null
02:15:05,851 ERROR P1-19
http://lijour:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:72 - Borrow prepareStatement from pool
failed
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading
document XWiki.XWikiPreferences
Wrapped Exception: could not load an entity:
[com.xpn.xwiki.doc.XWikiDocument#104408758]
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:462)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:157)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:819)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:850)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1854)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:590)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:504)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:248)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:336)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:98)
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:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
---
Thanks.
marc