[jboss-jira] [JBoss JIRA] (JBAS-8865) caching ejb3 entities tutorial demo does not work in JBoss 6

jaikiran pai (JIRA) jira-events at lists.jboss.org
Wed Nov 28 02:17:21 EST 2012


     [ https://issues.jboss.org/browse/JBAS-8865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai reassigned JBAS-8865:
----------------------------------

    Assignee:     (was: jaikiran pai)

    
> caching ejb3 entities tutorial demo does not work in JBoss 6
> ------------------------------------------------------------
>
>                 Key: JBAS-8865
>                 URL: https://issues.jboss.org/browse/JBAS-8865
>             Project: Application Server 3  4  5 and 6
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Documentation
>            Reporter: Leos Literak
>            Priority: Minor
>             Fix For: No Release
>
>
> I run this demo: http://docs.jboss.org/ejb3/docs/tutorial/1.0.7/html/Caching_EJB3_Entities.html
> in jboss 6 and it fails:
> Caused by: org.hibernate.HibernateException: could not instantiate RegionFactory [org.hibernate.cache.jbc2.JndiMultiplexedJBossCacheRegionFactory]
>         at org.hibernate.cfg.SettingsFactory.createRegionFactory(SettingsFactory.java:423) [:3.6.0.Final]
>         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:280) [:3.6.0.Final]
>         at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2833) [:3.6.0.Final]
>         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2829) [:3.6.0.Final]
>         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1840) [:3.6.0.Final]
>         at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:902) [:3.6.0.Final]
>         ... 78 more
> Caused by: java.lang.ClassNotFoundException: org.hibernate.cache.jbc2.JndiMultiplexedJBossCacheRegionFactory from BaseClassLoader at a63599{vfs:///C:/Users/llitera
> rver/default/conf/jboss-service.xml}
>         at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:480) [jboss-classloader.jar:2.2.0.GA]
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_22]
>         at java.lang.Class.forName0(Native Method) [:1.6.0_22]
>         at java.lang.Class.forName(Class.java:169) [:1.6.0_22]
>         at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192) [:3.6.0.Final]
>         at org.hibernate.cfg.SettingsFactory.createRegionFactory(SettingsFactory.java:409) [:3.6.0.Final]
>         ... 83 more
> please update the demo to work in current jboss, thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list