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)

asked 08 Feb, 02:52

newbi's gravatar image

newbi
111
accept rate: 0%

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.

(08 Feb, 05:02) newbi

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?

(08 Feb, 05:03) newbi

Ok. Resolved by copying the Jaxb 2.1 jars into folder: saiku-server-foodmart-2.2-RC1saiku-servertomcatendorsed

link

answered 08 Feb, 05:54

newbi's gravatar image

newbi
111
accept rate: 0%

thats interesting. i've never seen anything like it you are using the pre-bundled tomcat? no other webapplication? just a plain saiku server?

link

answered 09 Feb, 06:34

pstoellberger's gravatar image

pstoellberger ♦♦
89727
accept rate: 5%

hi i have the same problem!!!

link

answered 01 May, 13:21

sahby's gravatar image

sahby
11
accept rate: 0%

saiku version? tomcat version? jdk version? log file? more details!

link

answered 01 May, 15:08

pstoellberger's gravatar image

pstoellberger ♦♦
89727
accept rate: 5%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1
×1

Asked: 08 Feb, 02:52

Seen: 200 times

Last updated: 01 May, 15:08

Related questions

powered by OSQA