Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Java stack trace after installing Agile BI plugin in PDI

  1. #1
    Join Date
    Mar 2017
    Posts
    5

    Default Java stack trace after installing Agile BI plugin in PDI

    After installing the Agile BI plugin (version 7.0-QAT-435) in PDI (version 7.0.0.0-25), I get the following stack trace after restarting spoon; any suggestions for a solution?
    (Note: simply installing a version of the hibernate-jpa jar in lib does not solve it [more errors].)
    Code:
    11:27:28,968 INFO  [PeriodicStatusLogger] Caution, the system is initializing. Do not shut down or restart the system at this time.
    11:27:32,277 ERROR [Logger] Error: Pentaho
    11:27:32,278 ERROR [Logger] misc-class org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager: PluginManager.ERROR_0011 - Failed to register plugin pentaho-cdf
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'storage' defined in file [~pentaho/pentaho/design-tools/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/pentaho-cdf/plugin.spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.pentaho.cdf.storage.StorageApi]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityListeners
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:776)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
        at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.reload(DefaultPluginManager.java:207)
        at org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter.startup(PluginAdapter.java:40)
        at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:442)
        at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:433)
        at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:412)
        at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:433)
        at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:83)
        at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:364)
        at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:361)
        at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:412)
        at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:361)
        at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:331)
        at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:227)
        at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:162)
        at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782)
        at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)
        at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774)
        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
        at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
        at org.eclipse.jetty.server.Server.doStart(Server.java:282)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at org.pentaho.agilebi.platform.JettyServer.startServer(JettyServer.java:77)
        at org.pentaho.di.core.lifecycle.pdi.AgileBILifecycleListener$1.run(AgileBILifecycleListener.java:96)
        at java.lang.Thread.run(Thread.java:745)
    Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.pentaho.cdf.storage.StorageApi]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityListeners
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
        ... 40 more
    Caused by: java.lang.NoClassDefFoundError: javax/persistence/EntityListeners
        at org.hibernate.cfg.annotations.reflection.JPAMetadataProvider.getDefaults(JPAMetadataProvider.java:96)
        at org.hibernate.annotations.common.reflection.java.JavaReflectionManager.getDefaults(JavaReflectionManager.java:226)
        at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1385)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1856)
        at org.pentaho.cdf.utils.PluginHibernateUtil.rebuildSessionFactory(PluginHibernateUtil.java:100)
        at org.pentaho.cdf.storage.StorageEngine.initialize(StorageEngine.java:173)
        at org.pentaho.cdf.storage.StorageEngine.<init>(StorageEngine.java:70)
        at org.pentaho.cdf.storage.StorageEngine.getInstance(StorageEngine.java:62)
        at org.pentaho.cdf.storage.StorageApi.<init>(StorageApi.java:46)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
        ... 42 more
    Caused by: java.lang.ClassNotFoundException: javax.persistence.EntityListeners
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 56 more
    11:27:32,279 ERROR [Logger] Error end:
    11:27:35,732 INFO  [PeriodicStatusLogger] The system has finished initializing.

  2. #2
    Join Date
    May 2008
    Posts
    10

    Default

    I got the same problem.
    Everything seems to function normally tho.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2017 Pentaho Corporation. All Rights Reserved.