From: Joe W. <jo...@gm...> - 2012-12-27 05:42:45
|
Hi Wolfgang, > I uploaded functx, but you will need to update to shared-resources-0.2.5 first (which does the actual work of installing packages). Thank you! I've updated to trunk and all new versions of the included apps, and functx installs perfectly on its own. That's a big help! Unfortunately installation is not working as a dependency of my library xar (https://github.com/joewiz/unzip). eXide reports, "Failed to install dependency http://www.functx.com". exist.log adds some detail: 2012-12-27 00:35:50,529 [eXistThread-44] ERROR (FunError.java [eval]:138) - Failed to install dependency http://www.functx.com: (http://exist-db.org/xquery/apps#DEPENDENCY):Failed to install dependency http://www.functx.com The console also adds this, although the fact that its log level is only INFO makes me think this isn't relevant: INFO: Warning: package uses old-style content dir: '/Users/Joe/workspace/exist-trunk/webapp/WEB-INF/expathrepo/functx-1.0/functx' (That said, isn't it odd that package installation information is logged to the console?) By the way, I noticed an NPE when uninstalling functx. eXide reports, "Remove Application: The server reported an error:" (That's it - no error is specified after the colon.) exist.log reports only: 2012-12-27 00:30:36,280 [eXistThread-33] ERROR (EXistServlet.java [doPost]:472) - java.lang.NullPointerException The console has the fullest error, so I've pasted it in below [1]. These aren't critical issues for me - but I thought I should report the issues I noticed. Thanks again for your help with this! Joe [1] error from console when uninstalling functx in Package Manager 27 Dec 2012 00:30:36,282 [eXistThread-33] WARN (ServletHandler.java [doHandle]:522) - /exist/apps/dashboard/modules/install.xql javax.servlet.ServletException: An unknown error occurred: null at org.exist.http.servlets.EXistServlet.doPost(EXistServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:229) at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:103) at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:47) at org.exist.http.urlrewrite.XQueryURLRewrite.doRewrite(XQueryURLRewrite.java:555) at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:336) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336) at de.betterform.agent.web.filter.XFormsFilter.doFilter(XFormsFilter.java:173) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:536) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:365) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:937) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:998) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.NullPointerException at org.exist.repo.Deployment.findElement(Deployment.java:568) at org.exist.repo.Deployment.undeploy(Deployment.java:207) at org.exist.xquery.modules.expathrepo.Deploy.eval(Deploy.java:111) at org.exist.xquery.BasicFunction.eval(BasicFunction.java:70) at org.exist.xquery.InternalFunctionCall.eval(InternalFunctionCall.java:55) at org.exist.xquery.LetExpr.eval(LetExpr.java:142) at org.exist.xquery.BindingExpression.eval(BindingExpression.java:156) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:96) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:153) at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:74) at org.exist.xquery.Atomize.eval(Atomize.java:66) at org.exist.xquery.DynamicTypeCheck.eval(DynamicTypeCheck.java:61) at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:324) at org.exist.xquery.FunctionCall.eval(FunctionCall.java:229) at org.exist.xquery.LetExpr.eval(LetExpr.java:142) at org.exist.xquery.LetExpr.eval(LetExpr.java:187) at org.exist.xquery.BindingExpression.eval(BindingExpression.java:156) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:264) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.SwitchExpression.eval(SwitchExpression.java:104) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:57) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:98) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:153) at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:324) at org.exist.xquery.FunctionCall.eval(FunctionCall.java:229) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.value.FunctionReference.eval(FunctionReference.java:80) at org.exist.xquery.DynamicFunctionCall.eval(DynamicFunctionCall.java:73) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:96) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:153) at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:324) at org.exist.xquery.FunctionCall.eval(FunctionCall.java:229) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:57) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:64) at org.exist.xquery.LetExpr.eval(LetExpr.java:189) at org.exist.xquery.LetExpr.eval(LetExpr.java:187) at org.exist.xquery.LetExpr.eval(LetExpr.java:187) at org.exist.xquery.LetExpr.eval(LetExpr.java:187) at org.exist.xquery.LetExpr.eval(LetExpr.java:187) at org.exist.xquery.BindingExpression.eval(BindingExpression.java:156) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:264) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.XQuery.execute(XQuery.java:255) at org.exist.xquery.XQuery.execute(XQuery.java:202) at org.exist.http.RESTServer.executeXQuery(RESTServer.java:1476) at org.exist.http.RESTServer.doPost(RESTServer.java:634) at org.exist.http.servlets.EXistServlet.doPost(EXistServlet.java:445) ... 45 more |