Hi Rupert, I can confirm that it works now.
Cheers, Reto On Tue, Feb 19, 2013 at 7:38 PM, Rupert Westenthaler < [email protected]> wrote: > Hi Reto > > This might be related to my first attempt to fix STANBOL-945 [1] that > resulted in String.split(...) to be called with "\\" on Windows OS. > Hopefully [2] does fix this and the issue. See [3] for details > > best > Rupert > > [1] https://issues.apache.org/jira/browse/STANBOL-945 > [2] http://svn.apache.org/r1447860 > [3] http://markmail.org/message/mbkvismv7bdb3ivh > > On Tue, Feb 19, 2013 at 6:46 PM, Reto Bachmann-Gmür <[email protected]> > wrote: > > After a fresh build on windows when I click on " > > http://localhost:8080/entityhub/site/dbpedia/" on > > http://localhost:8080/entityhub/site/dbpedia/ the following exception > > occurs on the console. I tried restarting stanbol after deleting the > > stanbol folder, the result is the same. > > > > Any idea how to fix this? > > > > Cheers, > > reto > > > > SEVERE: The RuntimeException could not be mapped to a response, > re-throwing > > to the HTTP container > > java.lang.IllegalStateException: Unable to initialize the Cache with Yard > > dbpediaIndex! This is usually caused by Errors > > while reading the Cache Configuration from the Yard. > > at > > > org.apache.stanbol.entityhub.core.site.CacheImpl.getCacheYard(CacheImpl.java:220) > > at > > > org.apache.stanbol.entityhub.core.site.CacheImpl.getRepresentation(CacheImpl.java:372) > > at > > > org.apache.stanbol.entityhub.core.impl.ReferencedSiteImpl.getEntity(ReferencedSiteImpl.java:487) > > at > > > org.apache.stanbol.entityhub.jersey.resource.ReferencedSiteRootResource.getEntityById(ReferencedSiteRootResou > > rce.java:300) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at > > > com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) > > at > > > com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._d > > ispatch(AbstractResourceMethodDispatchProvider.java:205) > > at > > > com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDisp > > atcher.java:75) > > at > > > com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) > > at > > > com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) > > at > > > com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) > > at > > > com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) > > at > > > com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) > > at > > > com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1480) > > at > > > com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1411) > > at > > > com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1360) > > at > > > com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1350) > > at > > > com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) > > at > > > com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538) > > at > > > com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > > at > > > org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96) > > at > > > org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79) > > at > > > org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42) > > at > > > org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49) > > at > > > org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) > > at > > > org.apache.stanbol.commons.httpqueryheaders.impl.QueryHeadersFilter.doFilter(QueryHeadersFilter.java:75) > > at > > > org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) > > at > > > org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) > > at > > > org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) > > at > > > org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) > > at > > > org.apache.stanbol.commons.web.resources.ResourceServingFilter.doFilterHttp(ResourceServingFilter.java:148) > > at > > > org.apache.stanbol.commons.web.resources.ResourceServingFilter.doFilter(ResourceServingFilter.java:91) > > at > > > org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) > > at > > > org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) > > at > > > org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) > > at > > > org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) > > at > > > org.apache.stanbol.commons.security.auth.AuthenticatingFilter$1.run(AuthenticatingFilter.java:163) > > at java.security.AccessController.doPrivileged(Native Method) > > at javax.security.auth.Subject.doAsPrivileged(Unknown Source) > > at > > > org.apache.stanbol.commons.security.auth.AuthenticatingFilter.doFilter(AuthenticatingFilter.java:159) > > at > > > org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) > > at > > > org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) > > at > > > org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) > > at > > > org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) > > at > > > org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48) > > at > > > org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39) > > at > > > org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > > at > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) > > at > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) > > at > > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) > > at > > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) > > at > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > > at org.mortbay.jetty.Server.handle(Server.java:326) > > at > > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) > > at > > > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926) > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) > > at > org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) > > at > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > > at > > > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) > > at > > > org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) > > Caused by: org.apache.stanbol.entityhub.servicesapi.yard.YardException: > The > > SolrIndex 'dbpedia' for SolrYard 'dbpedia de > > fault data index' is currently not active! > > at > > > org.apache.stanbol.entityhub.yard.solr.impl.SolrYard.getServer(SolrYard.java:555) > > at > > > org.apache.stanbol.entityhub.yard.solr.impl.SolrYard.getRepresentation(SolrYard.java:935) > > at > > > org.apache.stanbol.entityhub.core.site.CacheUtils.loadBaseMappings(CacheUtils.java:56) > > at > > > org.apache.stanbol.entityhub.core.site.CacheImpl.initWithCacheYard(CacheImpl.java:120) > > at > > > org.apache.stanbol.entityhub.core.site.CacheImpl.getCacheYard(CacheImpl.java:216) > > ... 64 more > > > > -- > | Rupert Westenthaler [email protected] > | Bodenlehenstraße 11 ++43-699-11108907 > | A-5500 Bischofshofen > > On Tue, Feb 19, 2013 at 6:46 PM, Reto Bachmann-Gmür <[email protected]> > wrote: > > After a fresh build on windows when I click on " > > http://localhost:8080/entityhub/site/dbpedia/" on > > http://localhost:8080/entityhub/site/dbpedia/ the following exception > > occurs on the console. I tried restarting stanbol after deleting the > > stanbol folder, the result is the same. > > > > Any idea how to fix this? > > > > Cheers, > > reto > > > > SEVERE: The RuntimeException could not be mapped to a response, > re-throwing > > to the HTTP container > > java.lang.IllegalStateException: Unable to initialize the Cache with Yard > > dbpediaIndex! This is usually caused by Errors > > while reading the Cache Configuration from the Yard. > > at > > > org.apache.stanbol.entityhub.core.site.CacheImpl.getCacheYard(CacheImpl.java:220) > > at > > > org.apache.stanbol.entityhub.core.site.CacheImpl.getRepresentation(CacheImpl.java:372) > > at > > > org.apache.stanbol.entityhub.core.impl.ReferencedSiteImpl.getEntity(ReferencedSiteImpl.java:487) > > at > > > org.apache.stanbol.entityhub.jersey.resource.ReferencedSiteRootResource.getEntityById(ReferencedSiteRootResou > > rce.java:300) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at > > > com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) > > at > > > com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._d > > ispatch(AbstractResourceMethodDispatchProvider.java:205) > > at > > > com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDisp > > atcher.java:75) > > at > > > com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) > > at > > > com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) > > at > > > com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) > > at > > > com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) > > at > > > com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) > > at > > > com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1480) > > at > > > com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1411) > > at > > > com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1360) > > at > > > com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1350) > > at > > > com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) > > at > > > com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538) > > at > > > com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > > at > > > org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96) > > at > > > org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79) > > at > > > org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42) > > at > > > org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49) > > at > > > org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) > > at > > > org.apache.stanbol.commons.httpqueryheaders.impl.QueryHeadersFilter.doFilter(QueryHeadersFilter.java:75) > > at > > > org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) > > at > > > org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) > > at > > > org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) > > at > > > org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) > > at > > > org.apache.stanbol.commons.web.resources.ResourceServingFilter.doFilterHttp(ResourceServingFilter.java:148) > > at > > > org.apache.stanbol.commons.web.resources.ResourceServingFilter.doFilter(ResourceServingFilter.java:91) > > at > > > org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) > > at > > > org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) > > at > > > org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) > > at > > > org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) > > at > > > org.apache.stanbol.commons.security.auth.AuthenticatingFilter$1.run(AuthenticatingFilter.java:163) > > at java.security.AccessController.doPrivileged(Native Method) > > at javax.security.auth.Subject.doAsPrivileged(Unknown Source) > > at > > > org.apache.stanbol.commons.security.auth.AuthenticatingFilter.doFilter(AuthenticatingFilter.java:159) > > at > > > org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) > > at > > > org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) > > at > > > org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) > > at > > > org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) > > at > > > org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48) > > at > > > org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39) > > at > > > org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > > at > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) > > at > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) > > at > > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) > > at > > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) > > at > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > > at org.mortbay.jetty.Server.handle(Server.java:326) > > at > > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) > > at > > > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926) > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) > > at > org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) > > at > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > > at > > > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) > > at > > > org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) > > Caused by: org.apache.stanbol.entityhub.servicesapi.yard.YardException: > The > > SolrIndex 'dbpedia' for SolrYard 'dbpedia de > > fault data index' is currently not active! > > at > > > org.apache.stanbol.entityhub.yard.solr.impl.SolrYard.getServer(SolrYard.java:555) > > at > > > org.apache.stanbol.entityhub.yard.solr.impl.SolrYard.getRepresentation(SolrYard.java:935) > > at > > > org.apache.stanbol.entityhub.core.site.CacheUtils.loadBaseMappings(CacheUtils.java:56) > > at > > > org.apache.stanbol.entityhub.core.site.CacheImpl.initWithCacheYard(CacheImpl.java:120) > > at > > > org.apache.stanbol.entityhub.core.site.CacheImpl.getCacheYard(CacheImpl.java:216) > > ... 64 more > > > > -- > | Rupert Westenthaler [email protected] > | Bodenlehenstraße 11 ++43-699-11108907 > | A-5500 Bischofshofen >
