Hello all, I downloaded today xwiki sources and buided with maven as it is described on community->building, the run mvn install -Pjettyrun (the command was changed recently...as far as I remember it was another one...) anyway, the server starts, and in browser at localhost:8080 I see XWiki home page, but when I try to go to it, I have the following error: HTTP ERROR: 500 Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: null RequestURI=/xwiki/bin/view/Main/WebHome Caused by: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: null at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:292) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:384) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94) 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:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1098) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:406) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:295) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:361) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) etc... As far as I know, 500 is not a client-side error, so it must be produced by the jetty server. Any ideea how to fix this? Thank you very much. Evelina
Haven't tried that since Artem made the change. What I usually do is build the enterprise/distribution, go in target/, unzip the file and run it from there. I'll try the new stuff when I get the time later. -Vincent On Jul 15, 2007, at 2:23 PM, [email protected] wrote:
Hello all,
I downloaded today xwiki sources and buided with maven as it is described on community->building, the run mvn install -Pjettyrun (the command was changed recently...as far as I remember it was another one...) anyway, the server starts, and in browser at localhost:8080 I see XWiki home page, but when I try to go to it, I have the following error:
HTTP ERROR: 500
Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: null
RequestURI=/xwiki/bin/view/Main/WebHome Caused by:
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: null at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:292) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:384) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94) 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:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle (ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1098) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter (SetCharacterEncodingFilter.java:117) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1089) at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle (SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle (SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle (ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle (WebAppContext.java:406) at org.mortbay.jetty.handler.ContextHandlerCollection.handle (ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle (HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:295) at org.mortbay.jetty.HttpConnection.handleRequest (HttpConnection.java:503) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete (HttpConnection.java:827) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379) at org.mortbay.io.nio.SelectChannelEndPoint.run (SelectChannelEndPoint.java:361) at org.mortbay.thread.BoundedThreadPool$PoolThread.run (BoundedThreadPool.java:442)
etc...
As far as I know, 500 is not a client-side error, so it must be produced by the jetty server. Any ideea how to fix this?
Thank you very much.
Evelina
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
Hello, Evelina. Please write full stacktrace (As i see it is not full) I can't determine problem by this data. See logs in xwiki.log file or stdout of mvn. I have no problem with -Pjettyrun. I think your problem is in database configuration. Or wrong version of some dependencies. Run "mvn clean install -Pjettyrun" for sure to clean old files. Write here output of "mvn help:active-profiles -Pjettyrun". For me active profiles is "jettyrun" and "xwiki". Check that target/xwiki-web-standard-1.1-SNAPSHOT-hsqldb.dir/* files is appropriate. [email protected] wrote:
I downloaded today xwiki sources and buided with maven as it is described on community->building, the run mvn install -Pjettyrun (the command was changed recently...as far as I remember it was another one...) anyway, the server starts, and in browser at localhost:8080 I see XWiki home page, but when I try to go to it, I have the following error:
HTTP ERROR: 500
Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: null
RequestURI=/xwiki/bin/view/Main/WebHome Caused by:
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: null
-- Artem Melentyev, UralSU
participants (3)
-
Artem Melentyev -
evelyne24@gmail.com -
Vincent Massol