I sent the email a bit early - One of the error was related to the permission of "resin" library directory, I made it writable by the user running resin, and it fixed the xwiki.log permission denied problem. I am still getting "org.hibernate.AssertionFailure: possible nonthreadsafe access to session" errors. thanks, Bikash ----------------------------------------o<---------------- Error Transcript o<------------------------- 14:57:43,937 ERROR resin-tcp-connection-*:8080-1 http://127.0.0.1:8080/xwiki/bin/view/Main/WebHome AssertionFailure:<init>:22 - an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session) org.hibernate.AssertionFailure: possible nonthreadsafe access to session at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:68) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:320) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:86) at com.xpn.xwiki.store.XWikiHibernateStore.endTransaction(XWikiHibernateStore.java:409) at com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollection(XWikiHibernateStore.java:1097) at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServiceImpl.java:209) at com.xpn.xwiki.notify.XWikiActionRule.verify(XWikiActionRule.java:51) at com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:93) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:179) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) at javax.servlet.http.HttpServlet.service(HttpServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:363) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) at com.caucho.util.ThreadPool.run(ThreadPool.java:423) at java.lang.Thread.run(Thread.java:595) ----------------------------------------o<---------------- Error Transcript o<------------------------- Bikash Agarwalla wrote:
Hello, I am working on new xml-rpc apis for p2pxwiki, and am using Eclipse as just my editor (I am not doing any development related to eclipse). I imported the xwiki project in eclipse and used resin to run xwiki locally. I got some errors (most of them "seems" benign, but I wanted to point out anyway incase these will lead to more problems later)
a) Eclipse complained about a missing commons-lang-2.0.jar in the lib directory. I checked the lib directory, it has "commons-lang-2.1.jar" instead. I am not sure why Eclipse is not using the new library. As a fix I downloaded the 2.0 version of commons-lang and put it in the lib directory. It solved this problem. b) After running xwiki locally, "http://127.0.0.1:8080/xwiki/bin/view/Main/WebHome" pointed to a xwiki document. However, I got few errors on the resin console as follows (the transcript follows below) Let me know how I can fix these problems. I am using FC4. Thanks a lot, -Bikash