AnsweredAssumed Answered

Error -Pentaho 8.0 BA server CE installation in Linux

Question asked by Balaji Karthik Prabhakar on Jun 7, 2018
Latest reply on Jun 7, 2018 by Balaji Karthik Prabhakar

Hi all ,

I installed pentaho 8.0.0-28 in Linux , the server started fine , but i was not able to edit the dashboard ( greyed out)

When i checked the log , i could see the below error

 

il] HIBUTIL.ERROR_0006 - Building SessionFactory failed.

java.lang.ExceptionInInitializerError

        at com.mchange.v2.c3p0.impl.DriverManagerDataSourceBase.<init>(DriverManagerDataSourceBase.java:44)

        at com.mchange.v2.c3p0.DriverManagerDataSource.<init>(DriverManagerDataSource.java:72)

        at com.mchange.v2.c3p0.DriverManagerDataSource.<init>(DriverManagerDataSource.java:68)

        at com.mchange.v2.c3p0.DataSources.unpooledDataSource(DataSources.java:165)

        at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:176)

        at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)

        at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)

        at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)

        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)

        at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)

        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)

        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)

        at org.pentaho.platform.repository.hibernate.HibernateUtil.initialize(HibernateUtil.java:169)

        at org.pentaho.platform.repository.hibernate.HibernateUtil.<clinit>(HibernateUtil.java:90)

        at org.pentaho.cdf.environment.configurations.PentahoHibernanteConfigurations.getConfiguration(PentahoHibernanteConfigurations.java:30)

        at org.pentaho.cdf.utils.PluginHibernateUtil.initialize(PluginHibernateUtil.java:58)

        at org.pentaho.cdf.storage.StorageEngine.getInstance(StorageEngine.java:61)

        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)

        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)

        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.PentahoSystemPluginManager.reload(PentahoSystemPluginManager.java:286)

        at org.pentaho.platform.plugin.services.pluginmgr.PentahoSystemPluginManager.reload(PentahoSystemPluginManager.java:176)

        at org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter.startup(PluginAdapter.java:40)

        at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:447)

        at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:438)

        at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:417)

        at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:438)

        at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:84)

        at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:369)

        at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:366)

        at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:417)

        at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:366)

        at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:336)

        at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:232)

        at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:162)

        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4853)

        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)

 

This error is then followed by  below errors:

PluginManager.ERROR_0011 - Failed to register plugin pentaho-cdf

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'storage' defined in file [/usr/share/bisrvuser/dwh_tools/bi_server/biserver-ce8/pentaho-server/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.ExceptionIn

 

[Logger] misc-class org.pentaho.platform.plugin.services.pluginmgr.PentahoSystemPluginManager: PluginManager.ERROR_0011 - Failed to register plugin pentaho-cdf

java.lang.NullPointerException

 

java.lang.NoClassDefFoundError: Could not initialize class org.pentaho.platform.repository.hibernate.HibernateUtil

 

 

We have configured the server 8.0 to run in both Windows and Linux . The only difference is between Windows and Linux BA server /pentaho-solutions/plugin-samples directory is removed for the Linux package .

 

Please let me know if you have any ideas on this

Outcomes