US and Worldwide: +1 (866) 660-7555
Results 1 to 4 of 4

Thread: error

  1. #1
    Join Date
    Oct 2005
    Posts
    4

    Default error

    When I try to access to options a get an error like this:

    java.lang.NoClassDefFoundError
    org.pentaho.repository.runtime.RuntimeRepository.setSession(Unknown Source)
    org.pentaho.repository.runtime.RuntimeRepository.getInstance(Unknown Source)
    org.pentaho.solution.SolutionEngine.execute(Unknown Source)
    org.pentaho.services.BaseRequestHandler.handleActionRequest(Unknown Source)
    org.pentaho.ui.servlet.ViewAction.doGet(Unknown Source)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    This occurs in most options except the Dashboard Widgets option.
    Why is this happening?

    Help !!!!!!!!!!!!!!!!!!!!!

  2. #2
    gmoran is offline Pentaho Enterprise Architect / Technical Account Manager
    Join Date
    Nov 1999
    Posts
    320

    Default Re:error

    Hi cman,

    I need a little more info to help with your problem -

    What build/configuration of the platform are you running? The pre-configured JBoss demo? Did you deploy the war to your own app server? Did you build it from source?

    Many times the NoClassDefFoundError is misleading, it could be that the platform cannot find your solution path. Did you check your app server console for any errors on startup? Are there any errors in your server log? Can you send me your server log file?

    we'll get you up and running soon!
    best regards,
    Gretchen
    kind regards,
    Gretchen
    Pentaho SME & Community Member

  3. #3
    Join Date
    Oct 2005
    Posts
    4

    Default Re:error

    Hi Gretchen,

    I using Tomcat 5.0.30 and above is the log related to the error:

    2005-10-13 12:56:56 StandardContext[/servlets-examples]ContextListener: contextInitialized()
    2005-10-13 12:56:56 StandardContext[/servlets-examples]SessionListener: contextInitialized()
    2005-10-13 12:56:56 StandardContext[/jsp-examples]ContextListener: contextInitialized()
    2005-10-13 12:56:56 StandardContext[/jsp-examples]SessionListener: contextInitialized()
    2005-10-13 12:57:03 StandardWrapperValve[ViewAction]: Servlet.service() for servlet ViewAction threw exception
    java.lang.ExceptionInInitializerError
    at org.pentaho.repository.HibernateUtil.(Unknown Source)
    at org.pentaho.repository.runtime.RuntimeRepository.setSession(Unknown Source)
    at org.pentaho.repository.runtime.RuntimeRepository.getInstance(Unknown Source)
    at org.pentaho.solution.SolutionEngine.execute(Unknown Source)
    at org.pentaho.services.BaseRequestHandler.handleActionRequest(Unknown Source)
    at org.pentaho.ui.servlet.ViewAction.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: org.hibernate.HibernateException: Could not find datasource
    at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:48)
    at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:80)
    at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:362)
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1429)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:980)
    ... 32 more
    Caused by: javax.naming.NameNotFoundException: Name Hibernate is not bound in this Context
    at org.apache.naming.NamingContext.lookup(NamingContext.java:768)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
    at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:44)
    ... 37 more

  4. #4
    gmoran is offline Pentaho Enterprise Architect / Technical Account Manager
    Join Date
    Nov 1999
    Posts
    320

    Default Re:error

    Code:
    Caused by: javax.naming.NameNotFoundException: Name Hibernate is not bound in this Context
    This part of the stack trace leads me to believe that your Tomcat installation of the platform is incomplete.

    Did you add the references for the platform datasources to the server.xml file in your application server? You can find detailed instructions on how and what needs to be added in our Advanced Installation Guide, downloadable from our sourceforge site (http://sourceforge.net/project/showf...roup_id=140317) . Look under the section Tomcat 5.0 Installation.

    Also, make sure that your databases are running. These are started by the main start_pentaho batch/script file, which calls out to the start_hypersonic batch/script file.

    Let me know if this helps

    Gretch
    kind regards,
    Gretchen
    Pentaho SME & Community Member

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •