|
Hi, New to Saiku. Did a fresh Saiku server install. Startup script batch file on Windows gets stuck at INFO: Initiating Jersey application, version 'Jersey: 1.8 06/24/2011 12:17 PM' Then accessing the URL: http://localhost:8080/saiku/rest/saiku/username/datasources causes the following exception message to show up. Any pointers much appreciated. Could it be a firewall issue if the startup is trying to download something during initialization? Also: accessing http://localhost:8080 just gets stuck on the Loading spinning wheel. HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet jersey threw exception org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) java.lang.Thread.run(Thread.java:619) root cause java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:456) com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:302) com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1140) com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154) com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121) com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:202) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:132) javax.xml.bind.ContextFinder.find(ContextFinder.java:286) javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372) javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337) javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244) com.sun.jersey.server.impl.wadl.WadlApplicationContextImpl.<init>(WadlApplicationContextImpl.java:72) com.sun.jersey.server.impl.wadl.WadlFactory.init(WadlFactory.java:97) com.sun.jersey.server.impl.application.RootResourceUriRules.initWadl(RootResourceUriRules.java:169) com.sun.jersey.server.impl.application.RootResourceUriRules.<init>(RootResourceUriRules.java:106) com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1298) com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:169) com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:775) com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:771) com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193) com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:771) org.codehaus.enunciate.modules.jersey.EnunciateJerseyServletContainer.initiate(EnunciateJerseyServletContainer.java:131) com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:318) com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:609) com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210) com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373) com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556) javax.servlet.GenericServlet.init(GenericServlet.java:212) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) java.lang.Thread.run(Thread.java:619) |
|
thats interesting. i've never seen anything like it you are using the pre-bundled tomcat? no other webapplication? just a plain saiku server? |
|
saiku version? tomcat version? jdk version? log file? more details! |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 08 Feb, 02:52
Seen: 200 times
Last updated: 01 May, 15:08
0 I think the solution relates to a classpath related jar file conflict as per: http://stackoverflow.com/questions/725337/linkageerror-jaxb-2-0-2-1-tomcat
Trying to resolve - will confirm if I can get it fixed.
hmmm: primary exception logged appears to be:
java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/E:/MCA/saiku-server-foodmart-2.2-RC1/saiku-server/tomcat/webapps/saiku/WEB-INF/lib/jaxb-impl-2.1.13.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
Am running Java 1.6, and Saiku Server Foodmart 2.2 RC1 which bundles Tomcat 6. Unable to resolve. Help please?