PDA

View Full Version : Erro iniciando o pentaho 3.0 no jboss 5.1



numsey
09-18-2009, 08:22 AM
Olá a todos,

Eu configurei o pentaho 3.0 no jboss 5.1 e quando inicia o pentaho está gerando erro no hibernate conforme mostrado abaixo, acredito que seja alguma coisa simples de resolver, caso alguém puder dar uma olhada e uma possível indicação de como resolver o problema sou muito grato.

O log do servidor está atachado

--------------------------------------------------------------
Problema resolvido copiando os arquivos: hibernate-3.2.6.ga.jar; cglib-2.1_3.jar; asm-1.5.3.jar; asm_attrs-1.5.3.jar para jboss\common\lib
--------------------------------------------------------------

Trecho do erro extraído do log:
----------------------------------------------------
2009-09-18 08:42:16,609 INFO [org.hibernate.cfg.SettingsFactory] (main) Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2009-09-18 08:42:16,609 INFO [org.hibernate.hql.ast.ASTQueryTranslatorFactory] (main) Using ASTQueryTranslatorFactory
2009-09-18 08:42:16,609 INFO [org.hibernate.cfg.SettingsFactory] (main) Query language substitutions: {}
2009-09-18 08:42:16,609 INFO [org.hibernate.cfg.SettingsFactory] (main) JPA-QL strict compliance: disabled
2009-09-18 08:42:16,609 INFO [org.hibernate.cfg.SettingsFactory] (main) Second-level cache: enabled
2009-09-18 08:42:16,609 INFO [org.hibernate.cfg.SettingsFactory] (main) Query cache: enabled
2009-09-18 08:42:16,625 INFO [org.hibernate.cfg.SettingsFactory] (main) Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCache ProviderBridge
2009-09-18 08:42:16,625 INFO [org.hibernate.cache.impl.bridge.RegionFactoryCache ProviderBridge] (main) Cache provider: org.hibernate.cache.EhCacheProvider
2009-09-18 08:42:16,625 ERROR [org.pentaho.platform.repository.hibernate.Hibernat eUtil] (main) HIBUTIL.ERROR_0006 - [pt_51] Building SessionFactory failed.
org.hibernate.HibernateException: could not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCache ProviderBridge]
at org.hibernate.cfg.SettingsFactory.createRegionFact ory(SettingsFactory.java:412)
at org.hibernate.cfg.SettingsFactory.buildSettings(Se ttingsFactory.java:271)
at org.hibernate.cfg.Configuration.buildSettings(Conf iguration.java:2101)
at org.hibernate.cfg.Configuration.buildSessionFactor y(Configuration.java:1325)
at org.pentaho.platform.repository.hibernate.Hibernat eUtil.initialize(HibernateUtil.java:184)
at org.pentaho.platform.repository.hibernate.Hibernat eUtil.<clinit>(HibernateUtil.java:94)
...
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:513)
at org.hibernate.cfg.SettingsFactory.createRegionFact ory(SettingsFactory.java:407)
... 83 more
Caused by: org.hibernate.cache.CacheException: could not instantiate CacheProvider [org.hibernate.cache.EhCacheProvider]
at org.hibernate.cache.impl.bridge.RegionFactoryCache ProviderBridge.<init>(RegionFactoryCacheProviderBr idge.java:66)
... 88 more
Caused by: java.lang.ClassNotFoundException: org.hibernate.cache.EhCacheProvider from
...
at org.hibernate.cache.impl.bridge.RegionFactoryCache ProviderBridge.<init>(RegionFactoryCacheProviderBr idge.java:63)
... 88 more
2009-09-18 08:42:16,625 ERROR [STDERR] (main) java.lang.NoClassDefFoundError: Could not initialize class org.pentaho.platform.repository.hibernate.Hibernat eUtil
2009-09-18 08:42:16,640 ERROR [STDERR] (main) at org.pentaho.platform.repository.hibernate.Hibernat eUtil.systemExitPoint(HibernateUtil.java:686)
2009-09-18 08:42:16,640 ERROR [STDERR] (main) at org.pentaho.platform.engine.core.system.Standalone ApplicationContext.invokeExitPoints(StandaloneAppl icationContext.java:144)
...
2009-09-18 08:42:16,640 ERROR [STDERR] (main) java.lang.NoClassDefFoundError: Could not initialize class org.pentaho.platform.repository.hibernate.Hibernat eUtil
2009-09-18 08:42:16,640 ERROR [STDERR] (main) at org.pentaho.platform.repository.hibernate.Hibernat eUtil.systemExitPoint(HibernateUtil.java:693)
2009-09-18 08:42:16,640 ERROR [STDERR] (main) at org.pentaho.platform.engine.core.system.Standalone ApplicationContext.invokeExitPoints(StandaloneAppl icationContext.java:144)
...
2009-09-18 08:42:16,640 ERROR [STDERR] (main) at java.lang.Thread.run(Thread.java:619)
2009-09-18 08:42:16,640 ERROR [org.pentaho.platform.util.logging.Logger] (main) Error: Pentaho
2009-09-18 08:42:16,640 ERROR [org.pentaho.platform.util.logging.Logger] (main) misc-org.pentaho.platform.engine.core.system.PentahoSys tem: PentahoSystem.ERROR_0014 - [pt_71] Error while trying to execute startup sequence for org.pentaho.platform.plugin.action.kettle.KettleSy stemListener
org.pentaho.platform.api.engine.PentahoSystemExcep tion: PentahoSystem.ERROR_0014 - [pt_71] Error while trying to execute startup sequence for org.pentaho.platform.plugin.action.kettle.KettleSy stemListener
at org.pentaho.platform.engine.core.system.PentahoSys tem.notifySystemListenersOfStartup(PentahoSystem.j ava:306)
...
Caused by: java.lang.ExceptionInInitializerError
at org.pentaho.platform.repository.hibernate.Hibernat eUtil.initialize(HibernateUtil.java:191)
at org.pentaho.platform.repository.hibernate.Hibernat eUtil.<clinit>(HibernateUtil.java:94)
...
Caused by: org.hibernate.HibernateException: could not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCache ProviderBridge]
at org.hibernate.cfg.SettingsFactory.createRegionFact ory(SettingsFactory.java:412)
...
Caused by: java.lang.reflect.InvocationTargetException
...
Caused by: org.hibernate.cache.CacheException: could not instantiate CacheProvider [org.hibernate.cache.EhCacheProvider]
at org.hibernate.cache.impl.bridge.RegionFactoryCache ProviderBridge.<init>(RegionFactoryCacheProviderBr idge.java:66)
... 88 more
Caused by: java.lang.ClassNotFoundException: org.hibernate.cache.EhCacheProvider from
...
... 88 more
2009-09-18 08:42:16,656 ERROR [org.pentaho.platform.util.logging.Logger] (main) Error end:
2009-09-18 08:42:16,656 DEBUG [org.pentaho.platform.util.logging.Logger] (main) misc-org.pentaho.platform.web.http.context.WebSpringPen tahoObjectFactory: Attempting to get an instance of [IVersionHelper] while in session [null]