6 Replies Latest reply on May 22, 2017 9:26 AM by irefaat

    SEAM 2.3.1 final on weblogic 12

    sirio85

      Hi at all,

      I'm using SEAM 2.3.1 final to create an application for weblogic12.

       

      I created a EAR sem-gen application and i used the seam documentation related weblogic integration,


      but when i deploy the app on weblogic i get the errors:

       

       

      weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.hibernate.util.DTDEntityResolver

        at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)

        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

        at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:175)

        at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:170)

        at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:80)

        at weblogic.work.ContextWrap.run(ContextWrap.java:40)

        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:548)

        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

        at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

      Caused by: java.lang.ClassNotFoundException: org.hibernate.util.DTDEntityResolver

        at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:357)

        at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:318)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

        at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:186)

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

        at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:412)

        at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:366)

        at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:318)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

       

      weblogic.application.ModuleException: java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.ejb.Ejb3Configuration

        at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)

        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

        at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:175)

        at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:170)

        at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:80)

        at weblogic.work.ContextWrap.run(ContextWrap.java:40)

        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:548)

        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

        at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.ejb.Ejb3Configuration

        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:90)

        at weblogic.persistence.BasePersistenceUnitInfo.initializeEntityManagerFactory(BasePersistenceUnitInfo.java:461)

        at weblogic.persistence.BasePersistenceUnitInfo.initializeEntityManagerFactory(BasePersistenceUnitInfo.java:454)

        at weblogic.persistence.BasePersistenceUnitInfo.init(BasePersistenceUnitInfo.java:141)

        at weblogic.persistence.BaseJPAIntegrationProvider.createPersistenceUnitInfo(BaseJPAIntegrationProvider.java:54)

        at weblogic.persistence.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:423)

        at weblogic.persistence.AbstractPersistenceUnitRegistry.loadPersistenceDescriptor(AbstractPersistenceUnitRegistry.java:342)

        at weblogic.persistence.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:67)

        at weblogic.ejb.container.deployer.EJBModule.setupPersistenceUnitRegistry(EJBModule.java:190)

        at weblogic.ejb.container.deployer.EJBModule$1.execute(EJBModule.java:297)

        at weblogic.persistence.PersistenceUnitRegistryInitializer.setupPersistenceUnitRegistries(PersistenceUnitRegistryInitializer.java:61)

        at weblogic.servlet.internal.WebAppInternalModuleExtension$PersistenceExtension.initPersistenceUnitRegistry(WebAppInternalModuleExtension.java:260)

        at weblogic.servlet.internal.WebAppInternalModuleExtension$PersistenceExtension.access$300(WebAppInternalModuleExtension.java:188)

        at weblogic.servlet.internal.WebAppInternalModuleExtension.prePrepare(WebAppInternalModuleExtension.java:57)

        at weblogic.application.internal.ExtensibleModuleWrapper$PrepareStateChange.next(ExtensibleModuleWrapper.java:293)

        at weblogic.application.internal.ExtensibleModuleWrapper$PrepareStateChange.next(ExtensibleModuleWrapper.java:285)

        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

        at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:109)

        ... 8 more

       

       

      Sorry for my english.
      Thanks in advance.

       

      Best regards