Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- JBossCache 2 and Hibernate 3.2 compatibility

- JBossCache 2 and Hibernate 3.2 compatibility

2007-06-13       - By grzegorz.trafny

 Back
Hello,

I'd like to run H3.2 with JBC2 but after first attempts I noticed problem with
java.lang.NoClassDefFoundError Source code of java.lang.NoClassDefFoundError: org/jboss/cache/TransactionManagerLookup (full
stack at the end of this letter).

After some investigation I noticied that Hibernate 3.2.4.sp1 contains such code:

 | package org.hibernate.cache;
 | public class TreeCacheProvider implements CacheProvider {
 |   static final class TransactionManagerLookupAdaptor implements org.jboss
.cache.TransactionManagerLookup {
 |   //...
 |   }
 | }

If we check JBossCache 2.0.0-CR2 then we will see that org.jboss.cache
.TransactionManagerLookup is not available in the JBossCache code. Probably
Hibernate should call org.jboss.cache.transaction.TransactionManagerLookup.


So, to recap: is H3.2 is compatibile with JBC2??


BTW. I have to make note that I ran this H3 without any JBS2 configuration
files.


Thanks for your time.
Best Regards
GT


java.lang.NoClassDefFoundError Source code of java.lang.NoClassDefFoundError: org/jboss/cache/TransactionManagerLookup
  at java.lang.Class Source code of java.lang.Class(Native Method)
  at java.lang.Class Source code of java.lang.Class(Class.java:2357)
  at java.lang.Class Source code of java.lang.Class(Class.java:2671)
  at java.lang.Class Source code of java.lang.Class(Class.java:321)
  at java.lang.Class Source code of java.lang.Class(Class.java:303)
  at org.hibernate.cfg.SettingsFactory Source code of org.hibernate.cfg.SettingsFactory(SettingsFactory.java
:358)
  at org.hibernate.cfg.SettingsFactory Source code of org.hibernate.cfg.SettingsFactory(SettingsFactory.java:232)
  at org.hibernate.cfg.Configuration Source code of org.hibernate.cfg.Configuration(Configuration.java:2006)
  at org.hibernate.cfg.Configuration Source code of org.hibernate.cfg.Configuration(Configuration.java:1289)
  at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory
(AnnotationConfiguration.java:915)
  at org.springframework.orm.hibernate3.LocalSessionFactoryBean Source code of org.springframework.orm.hibernate3.LocalSessionFactoryBean
.newSessionFactory(LocalSessionFactoryBean.java:807)
  at org.springframework.orm.hibernate3.LocalSessionFactoryBean Source code of org.springframework.orm.hibernate3.LocalSessionFactoryBean
.buildSessionFactory(LocalSessionFactoryBean.java:740)
  at org.springframework.orm.hibernate3.AbstractSessionFactoryBean
.afterPropertiesSet(AbstractSessionFactoryBean.java:131)
  at org.springframework.beans.factory.support
.AbstractAutowireCapableBeanFactory.invokeInitMethods
(AbstractAutowireCapableBeanFactory.java:1062)
  at org.springframework.beans.factory.support
.AbstractAutowireCapableBeanFactory.initializeBean
(AbstractAutowireCapableBeanFactory.java:1029)
  at org.springframework.beans.factory.support
.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFactory.java:420)
  at org.springframework.beans.factory.support.AbstractBeanFactory Source code of org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject
(AbstractBeanFactory.java:245)
  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
.getSingleton(DefaultSingletonBeanRegistry.java:141)
  at org.springframework.beans.factory.support.AbstractBeanFactory Source code of org.springframework.beans.factory.support.AbstractBeanFactory
(AbstractBeanFactory.java:242)
  at org.springframework.beans.factory.support.AbstractBeanFactory Source code of org.springframework.beans.factory.support.AbstractBeanFactory
(AbstractBeanFactory.java:156)
  at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:246)
  at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
  at org.springframework.beans.factory.support
.AbstractAutowireCapableBeanFactory.applyPropertyValues
(AbstractAutowireCapableBeanFactory.java:955)
  at org.springframework.beans.factory.support
.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBeanFactory.java:729)
  at org.springframework.beans.factory.support
.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFactory.java:416)
  at org.springframework.beans.factory.support.AbstractBeanFactory Source code of org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject
(AbstractBeanFactory.java:245)
  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
.getSingleton(DefaultSingletonBeanRegistry.java:141)
  at org.springframework.beans.factory.support.AbstractBeanFactory Source code of org.springframework.beans.factory.support.AbstractBeanFactory
(AbstractBeanFactory.java:242)
  at org.springframework.beans.factory.support.AbstractBeanFactory Source code of org.springframework.beans.factory.support.AbstractBeanFactory
(AbstractBeanFactory.java:156)
  at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:246)
  at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
  at org.springframework.beans.factory.support
.AbstractAutowireCapableBeanFactory.applyPropertyValues
(AbstractAutowireCapableBeanFactory.java:955)
  at org.springframework.beans.factory.support
.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBeanFactory.java:729)
  at org.springframework.beans.factory.support
.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFactory.java:416)
  at org.springframework.beans.factory.support.AbstractBeanFactory Source code of org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject
(AbstractBeanFactory.java:245)
  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
.getSingleton(DefaultSingletonBeanRegistry.java:141)
  at org.springframework.beans.factory.support.AbstractBeanFactory Source code of org.springframework.beans.factory.support.AbstractBeanFactory
(AbstractBeanFactory.java:242)
  at org.springframework.beans.factory.support.AbstractBeanFactory Source code of org.springframework.beans.factory.support.AbstractBeanFactory
(AbstractBeanFactory.java:156)
  at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:246)
  at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
  at org.springframework.beans.factory.support
.AbstractAutowireCapableBeanFactory.applyPropertyValues
(AbstractAutowireCapableBeanFactory.java:955)
  at org.springframework.beans.factory.support
.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBeanFactory.java:729)
  at org.springframework.beans.factory.support
.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFactory.java:416)
  at org.springframework.beans.factory.support.AbstractBeanFactory Source code of org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject
(AbstractBeanFactory.java:245)
  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
.getSingleton(DefaultSingletonBeanRegistry.java:141)
  at org.springframework.beans.factory.support.AbstractBeanFactory Source code of org.springframework.beans.factory.support.AbstractBeanFactory
(AbstractBeanFactory.java:242)
  at org.springframework.beans.factory.support.AbstractBeanFactory Source code of org.springframework.beans.factory.support.AbstractBeanFactory
(AbstractBeanFactory.java:156)
  at org.springframework.beans.factory.support.DefaultListableBeanFactory Source code of org.springframework.beans.factory.support.DefaultListableBeanFactory
.preInstantiateSingletons(DefaultListableBeanFactory.java:290)
  at org.springframework.context.support.AbstractApplicationContext Source code of org.springframework.context.support.AbstractApplicationContext
(AbstractApplicationContext.java:348)
  at org.springframework.web.context.support
.AbstractRefreshableWebApplicationContext.refresh
(AbstractRefreshableWebApplicationContext.java:156)
  at org.springframework.web.context.ContextLoader Source code of org.springframework.web.context.ContextLoader
(ContextLoader.java:246)
  at org.springframework.web.context.ContextLoader Source code of org.springframework.web.context.ContextLoader
(ContextLoader.java:184)
  at org.springframework.web.context.ContextLoaderListener Source code of org.springframework.web.context.ContextLoaderListener
(ContextLoaderListener.java:49)
  at org.apache.catalina.core.StandardContext Source code of org.apache.catalina.core.StandardContext(StandardContext.java
:3764)
  at org.apache.catalina.core.StandardContext Source code of org.apache.catalina.core.StandardContext(StandardContext.java:4216)
  at org.apache.catalina.core.ContainerBase Source code of org.apache.catalina.core.ContainerBase(ContainerBase.java
:760)
  at org.apache.catalina.core.ContainerBase Source code of org.apache.catalina.core.ContainerBase(ContainerBase.java:740)
  at org.apache.catalina.core.StandardHost Source code of org.apache.catalina.core.StandardHost(StandardHost.java:544)
  at org.apache.catalina.startup.HostConfig Source code of org.apache.catalina.startup.HostConfig(HostConfig.java:920)
  at org.apache.catalina.startup.HostConfig Source code of org.apache.catalina.startup.HostConfig(HostConfig.java
:883)
  at org.apache.catalina.startup.HostConfig Source code of org.apache.catalina.startup.HostConfig(HostConfig.java:492)
  at org.apache.catalina.startup.HostConfig Source code of org.apache.catalina.startup.HostConfig(HostConfig.java:1138)
  at org.apache.catalina.startup.HostConfig Source code of org.apache.catalina.startup.HostConfig(HostConfig.java:311)
  at org.apache.catalina.util.LifecycleSupport Source code of org.apache.catalina.util.LifecycleSupport
(LifecycleSupport.java:120)
  at org.apache.catalina.core.ContainerBase Source code of org.apache.catalina.core.ContainerBase(ContainerBase.java:1022)
  at org.apache.catalina.core.StandardHost Source code of org.apache.catalina.core.StandardHost(StandardHost.java:736)
  at org.apache.catalina.core.ContainerBase Source code of org.apache.catalina.core.ContainerBase(ContainerBase.java:1014)
  at org.apache.catalina.core.StandardEngine Source code of org.apache.catalina.core.StandardEngine(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService Source code of org.apache.catalina.core.StandardService(StandardService.java:448)
  at org.apache.catalina.core.StandardServer Source code of org.apache.catalina.core.StandardServer(StandardServer.java:700)
  at org.apache.catalina.startup.Catalina Source code of org.apache.catalina.startup.Catalina(Catalina.java:552)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:585)
  at org.apache.catalina.startup.Bootstrap Source code of org.apache.catalina.startup.Bootstrap(Bootstrap.java:295)
  at org.apache.catalina.startup.Bootstrap Source code of org.apache.catalina.startup.Bootstrap(Bootstrap.java:433)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4053945#4053945

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4053945
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.