Have you applied the patches for the known WLS issues - discussed in both the docs, jira, and the forums?

More comments below.

On Tue, Sep 23, 2008 at 5:06 AM, Marek Novotny <mnovotny@redhat.com> wrote:
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

I believe Pete was looking into this at some point and it is scheduled for 2.1.0.CR1 - you should take a look and see what the details of that are.  It may be a configuration change, or a real bug.



Second issue is with seam jee5 booking example. After reading steps at http://docs.jboss.com/seam/2.1.0.BETA1/referencWeblogicTransactionManagerLook
up
e/en-US/html/weblogic.html#d0e29123, 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.

Double check the capitalization for the WeblogicTransactionManagerLookup - that is a common issue.  Also verify that they jars are deployed correctly as described.  If they appear to be then google the issue, and/or look on the BEA forums.  I would assume that the issue is either jar placement or some setting in WLS.  You may need to set flags so that the seam application's jars take precedence on the classpath.  You should be able to find how to do that.


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@redhat.com
Office phone: +420 532 294 287, ext. 82-62 087
mobile: +420 608 509 230

_______________________________________________
seam-dev mailing list
seam-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-dev



--
blog: http://in.relation.to/Bloggers/Jay