I have discovered some issues with the latest release of Oracle(BEA)
Weblogic Server.
First issue is with jpa example. There is already related JIRA issue
https://jira.jboss.org/jira/browse/JBSEAM-3350
Second issue is with seam jee5 booking example. After reading steps at
http://docs.jboss.com/seam/2.1.0.BETA1/reference/en-US/html/weblogic.html...,
which are basically for 10.0MP1, but should work also for version 10.3.
And also
It seems that some weird class loading issue happens in WLS.
Caused by: java.lang.Throwable: Substituted for missing class
org.hibernate.HibernateException - Could not instantiate
TransactionManagerLookup 'WeblogicTransactionManagerLookup'
at
org.hibernate.transaction.TransactionManagerLookupFactory.getTransactionManagerLookup(TransactionManagerLookupFactory.java:47)
at
org.hibernate.cfg.SettingsFactory.createTransactionManagerLookup(SettingsFactory.java:422)
at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:140)
at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
at
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:730)
at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
at
weblogic.deployment.PersistenceUnitInfoImpl.createEntityManagerFactory(PersistenceUnitInfoImpl.java:330)
at
weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:123)
at
weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:331)
at
weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptor(AbstractPersistenceUnitRegistry.java:245)
at
weblogic.deployment.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:63)
at
weblogic.ejb.container.deployer.EJBModule.setupPersistenceUnitRegistry(EJBModule.java:209)
at
weblogic.ejb.container.deployer.EJBModule$1.execute(EJBModule.java:310)
at
weblogic.deployment.PersistenceUnitRegistryInitializer.setupPersistenceUnitRegistries(PersistenceUnitRegistryInitializer.java:62)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
--
Marek Novotny
--
JBoss Seam Product Lead
Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno
Email: mnovotny(a)redhat.com
Office phone: +420 532 294 287, ext. 82-62 087
mobile: +420 608 509 230