7 Replies Latest reply: Jun 15, 2012 5:40 AM by milan.chudik RSS

Seam-faces not working on Weblogic 12.1.1

milan.chudik Newbie

Hello,

 

we have a problem running our application in Weblogic 12.1.1.

We use seam-faces in there, and we get a strange exception - this app runs perfectly well in GF 3.1.1

 

We created a simple empty example  where it is enough just include seam into a pom file for maven and application fails to deploy.

 

We tried this with seam-faces 3.0.1.Final and pretty faces 3.2.1. We tried also seam-faces 3.1.1 and prettyfaces 3.3.3 with same result.

 

So what are we missing?

 

Thanks.

 

 

 

 

<12-Jun-2012 17:31:35 o'clock IST> <Info> <Deployer> <BEA-149060> <Module SimpleWar-1.0-SNAPSHOT of application test_SimpleWar_war_1.0-SNAPSHOT successfully transitioned from STATE_NEW to STATE_PREPARED on server AdminServer.>

12-Jun-2012 17:31:35 org.jboss.seam.solder.core.VersionLoggerUtil logVersionInformation

INFO: Seam Solder 3.0.0.Final (build id: 3.0.0.Final)

12-Jun-2012 17:31:35 org.jboss.seam.solder.core.CoreExtension processAnnotatedType

INFO: Preventing class org.jboss.seam.faces.validation.InputElement from being installed as bean due to @Veto annotation

<12-Jun-2012 17:31:36 o'clock IST> <Info> <org.jboss.weld.ClassLoading> <BEA-000000> <WELD-000119 Not generating any bean definitions from org.jboss.seam.faces.security.SecurityPhaseListener because of underlying class loading error>

<12-Jun-2012 17:31:36 o'clock IST> <Info> <org.jboss.weld.ClassLoading> <BEA-000000> <catching

org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class org.jboss.seam.faces.security.SecurityPhaseListener

          at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:154)

          at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:86)

          at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:115)

          at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:168)

          at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:331)

          at com.oracle.injection.provider.weld.WeldInjectionContainer.deploy(WeldInjectionContainer.java:98)

          at com.oracle.injection.integration.CDIAppDeploymentExtension.prepare(Unknown Source)

          at weblogic.application.internal.flow.AppDeploymentExtensionFlow.prepare(AppDeploymentExtensionFlow.java:23)

          at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)

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

          at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)

          at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)

          at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)

          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

          at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)

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

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

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

Caused By: java.lang.NoClassDefFoundError: Lorg/jboss/seam/security/Identity;

          at java.lang.Class.getDeclaredFields0(Native Method)

          at java.lang.Class.privateGetDeclaredFields(Class.java:2291)

          at java.lang.Class.getDeclaredFields(Class.java:1743)

          at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:102)

          at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:99)

          at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)

          at org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:63)

          at org.jboss.weld.util.reflection.SecureReflections.getDeclaredFields(SecureReflections.java:99)

          at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:153)

          at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:118)

          at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:48)

          at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:39)

          at com.google.common.collect.ComputingConcurrentHashMap.compute(ComputingConcurrentHashMap.java:206)

          at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:100)

          at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:515)

          at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:151)

          at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:86)

          at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:115)

          at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:168)

          at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:331)

          at com.oracle.injection.provider.weld.WeldInjectionContainer.deploy(WeldInjectionContainer.java:98)

          at com.oracle.injection.integration.CDIAppDeploymentExtension.prepare(Unknown Source)

          at weblogic.application.internal.flow.AppDeploymentExtensionFlow.prepare(AppDeploymentExtensionFlow.java:23)

          at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)

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

          at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)

          at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)

          at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)

          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

          at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)

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

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

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

Caused By: java.lang.ClassNotFoundException: org.jboss.seam.security.Identity

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

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

          at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)

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

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

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

          at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)

          at java.lang.Class.getDeclaredFields0(Native Method)

          at java.lang.Class.privateGetDeclaredFields(Class.java:2291)

          at java.lang.Class.getDeclaredFields(Class.java:1743)

          at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:102)

          at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:99)

          at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)

          at org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:63)

          at org.jboss.weld.util.reflection.SecureReflections.getDeclaredFields(SecureReflections.java:99)

          at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:153)

          at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:118)

          at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:48)

          at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:39)

          at com.google.common.collect.ComputingConcurrentHashMap.compute(ComputingConcurrentHashMap.java:206)

          at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:100)

          at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:515)

          at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:151)

          at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:86)

          at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:115)

          at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:168)

          at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:331)

          at com.oracle.injection.provider.weld.WeldInjectionContainer.deploy(WeldInjectionContainer.java:98)

          at com.oracle.injection.integration.CDIAppDeploymentExtension.prepare(Unknown Source)

          at weblogic.application.internal.flow.AppDeploymentExtensionFlow.prepare(AppDeploymentExtensionFlow.java:23)

          at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)

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

          at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)

          at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)

          at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)

          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

          at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)

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

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

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

>

<12-Jun-2012 17:31:36 o'clock IST> <Info> <org.jboss.weld.ClassLoading> <BEA-000000> <WELD-000119 Not generating any bean definitions from org.jboss.seam.faces.transaction.TransactionPhaseListener because of underlying class loading error>

<12-Jun-2012 17:31:36 o'clock IST> <Info> <org.jboss.weld.ClassLoading> <BEA-000000> <catching

org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class org.jboss.seam.faces.transaction.TransactionPhaseListener

          at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:154)

          at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:86)

          at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:115)

          at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:168)

          at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:331)

          at com.oracle.injection.provider.weld.WeldInjectionContainer.deploy(WeldInjectionContainer.java:98)

          at com.oracle.injection.integration.CDIAppDeploymentExtension.prepare(Unknown Source)

12-Jun-2012 17:31:36 org.jboss.seam.solder.core.CoreExtension processAnnotatedType

INFO: Preventing class org.jboss.seam.faces.exception.CatchExceptionHandler from being installed as required class org.jboss.seam.exception.control.extension.CatchExtension could not be found

          at weblogic.application.internal.flow.AppDeploymentExtensionFlow.prepare(AppDeploymentExtensionFlow.java:23)

          at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)

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

          at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)

          at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)

          at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)

          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

          at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)

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

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

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

Caused By: java.lang.NoClassDefFoundError: Lorg/jboss/seam/transaction/SeamTransaction;

          at java.lang.Class.getDeclaredFields0(Native Method)

          at java.lang.Class.privateGetDeclaredFields(Class.java:2291)

          at java.lang.Class.getDeclaredFields(Class.java:1743)

          at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:102)

          at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:99)

          at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)

          at org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:63)

          at org.jboss.weld.util.reflection.SecureReflections.getDeclaredFields(SecureReflections.java:99)

          at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:153)

          at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:118)

          at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:48)

          at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:39)

          at com.google.common.collect.ComputingConcurrentHashMap.compute(ComputingConcurrentHashMap.java:206)

          at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:100)

          at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:515)

          at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:151)

          at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:86)

          at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:115)

          at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:168)

          at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:331)

          at com.oracle.injection.provider.weld.WeldInjectionContainer.deploy(WeldInjectionContainer.java:98)

          at com.oracle.injection.integration.CDIAppDeploymentExtension.prepare(Unknown Source)

          at weblogic.application.internal.flow.AppDeploymentExtensionFlow.prepare(AppDeploymentExtensionFlow.java:23)

          at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)

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

          at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)

          at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)

          at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)

          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

          at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)

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

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

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

Caused By: java.lang.ClassNotFoundException: org.jboss.seam.transaction.SeamTransaction

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

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

          at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)

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

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

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

          at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)

          at java.lang.Class.getDeclaredFields0(Native Method)

          at java.lang.Class.privateGetDeclaredFields(Class.java:2291)

          at java.lang.Class.getDeclaredFields(Class.java:1743)

          at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:102)

          at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:99)

          at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)

          at org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:63)

          at org.jboss.weld.util.reflection.SecureReflections.getDeclaredFields(SecureReflections.java:99)

          at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:153)

          at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:118)

          at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:48)

          at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:39)

          at com.google.common.collect.ComputingConcurrentHashMap.compute(ComputingConcurrentHashMap.java:206)

          at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:100)

          at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:515)

          at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:151)

12-Jun-2012 17:31:36 org.jboss.seam.solder.core.CoreExtension processAnnotatedType

INFO: Preventing class org.jboss.seam.solder.resourceLoader.ResourceProvider from being installed as bean due to @Veto annotation

          at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:86)

          at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:115)

          at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:168)

          at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:331)

          at com.oracle.injection.provider.weld.WeldInjectionContainer.deploy(WeldInjectionContainer.java:98)

          at com.oracle.injection.integration.CDIAppDeploymentExtension.prepare(Unknown Source)

          at weblogic.application.internal.flow.AppDeploymentExtensionFlow.prepare(AppDeploymentExtensionFlow.java:23)

          at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)

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

          at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)

          at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)

          at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)

          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

          at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)

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

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

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

>

12-Jun-2012 17:31:36 org.jboss.seam.solder.core.CoreExtension processAnnotatedType

INFO: Preventing class org.jboss.seam.solder.core.VersionLoggerUtil from being installed as bean due to @Veto annotation

<12-Jun-2012 17:31:36 o'clock IST> <Info> <Deployer> <BEA-149059> <Module SimpleWar-1.0-SNAPSHOT of application test_SimpleWar_war_1.0-SNAPSHOT is transitioning from STATE_PREPARED to STATE_NEW on server AdminServer.>

<12-Jun-2012 17:31:36 o'clock IST> <Info> <Deployer> <BEA-149060> <Module SimpleWar-1.0-SNAPSHOT of application test_SimpleWar_war_1.0-SNAPSHOT successfully transitioned from STATE_PREPARED to STATE_NEW on server AdminServer.>

<12-Jun-2012 17:31:36 o'clock IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "1339518695232" for task "9". Error is: "weblogic.management.DeploymentException: "

weblogic.management.DeploymentException:

          at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:123)

          at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:239)

          at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)

          at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)

          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

          at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)

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

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

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

Caused By: java.lang.ClassNotFoundException: org.jboss.logmanager.Logger$AttachmentKey

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

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

          at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)

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

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

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

          at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)

          at org.jboss.logging.JBossLogManagerProvider.<clinit>(JBossLogManagerProvider.java:31)

          at java.lang.Class.forName0(Native Method)

          at java.lang.Class.forName(Class.java:247)

          at com.oracle.injection.provider.weld.BasicResourceLoader.classForName(BasicResourceLoader.java:27)

          at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:77)

          at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:115)

          at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:168)

          at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:331)

          at com.oracle.injection.provider.weld.WeldInjectionContainer.deploy(WeldInjectionContainer.java:98)

          at com.oracle.injection.integration.CDIAppDeploymentExtension.prepare(Unknown Source)

          at weblogic.application.internal.flow.AppDeploymentExtensionFlow.prepare(AppDeploymentExtensionFlow.java:23)

          at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)

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

          at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)

          at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)

          at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)

          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

          at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)

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

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

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

>

<12-Jun-2012 17:31:36 o'clock IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "test_SimpleWar_war_1.0-SNAPSHOT".>

<12-Jun-2012 17:31:36 o'clock IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004

weblogic.management.DeploymentException:

          at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:123)

          at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:239)

          at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)

          at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)

          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

          at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)

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

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

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

Caused By: java.lang.ClassNotFoundException: org.jboss.logmanager.Logger$AttachmentKey

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

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

          at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)

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

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

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

          at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)

          at org.jboss.logging.JBossLogManagerProvider.<clinit>(JBossLogManagerProvider.java:31)

          at java.lang.Class.forName0(Native Method)

          at java.lang.Class.forName(Class.java:247)

          at com.oracle.injection.provider.weld.BasicResourceLoader.classForName(BasicResourceLoader.java:27)

          at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:77)

          at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:115)

          at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:168)

          at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:331)

          at com.oracle.injection.provider.weld.WeldInjectionContainer.deploy(WeldInjectionContainer.java:98)

          at com.oracle.injection.integration.CDIAppDeploymentExtension.prepare(Unknown Source)

          at weblogic.application.internal.flow.AppDeploymentExtensionFlow.prepare(AppDeploymentExtensionFlow.java:23)

          at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)

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

          at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)

          at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)

          at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

          at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)

          at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

          at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

          at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

          at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)

          at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)

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

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

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

>

<12-Jun-2012 17:32:25 o'clock IST> <Info> <Health> <BEA-310002> <35% of the total memory in the server is free.>

  • 1. Re: Seam-faces not working on Weblogic 12.1.1
    Jason Porter Master

    Looks very similar to other threads on the forum, missing deps essentially.

  • 2. Re: Seam-faces not working on Weblogic 12.1.1
    milan.chudik Newbie

    exactly, but what deps? and why are they not bundled in pom file if they are essential?

    what dependencies do we need to make it run correctly, what are the seam/weld version combinations that run ok together?

  • 3. Re: Seam-faces not working on Weblogic 12.1.1
    Jason Porter Master

    Looks like the one that's causing it to fail is jboss logger.

  • 4. Re: Seam-faces not working on Weblogic 12.1.1
    sebastianovide Newbie

    Just wondering if there is an EASY way for knowing all the dependencies ..... I know that by trial an error eventually we'll guess them.... but how can we trust this approach ?

  • 5. Re: Seam-faces not working on Weblogic 12.1.1
    milan.chudik Newbie

    Yeah, we added a whole bunch of dependencies - one by one:

    prettyfaces-core

    joda-time

    jboss-logmanager

    log4j

    seam-security

    seam-international

    seam-persistence

    drools-api

    hibernate

    because weld was constantly complaining about unsatisfied dependecies etc.

     

    I finally end up with this one:

    Caused By: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Locale] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.international.status.ApplicationBundles.appLocale]

     

    Looking into the source I see

    @Inject

        java.util.Locale appLocale;

     

    So what now? java.util.Locale is definitelly there, but it has no no-arg constructor, so how does it suppose to be injected? I guess there is some producer as described here:

     

    https://community.jboss.org/message/651688#651688

     

    But I am not trying to do anything with i18n, remember my project is completely empty, it has only hello world page. And seam-faces as dependency ....

     

    I tried to edit my beans.xml with weld:scan

     

    <weld:scan>

           

            <weld:exclude name="org.jboss.seam.faces.status.**" />

            <weld:exclude name="org.jboss.seam.international.**" />

            <weld:exclude name="org.jboss.seam.faces.transaction.**" />

            <weld:exclude name="org.jboss.seam.faces.security.**" />

        

     

        </weld:scan>    

     

    But this is just a short-cut to that Locale stuff that we got after all without weld:scan.

     

     

    What now? Where to go and what to do to make it run?

     

    m

  • 7. Re: Seam-faces not working on Weblogic 12.1.1
    milan.chudik Newbie

    Ok, done, I had only seam-international-api as dependency

     

    and now I get:

    Caused By: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Messages] with qualifiers [@Default] at injection point [[parameter 2] of [method] org.jboss.seam.faces.status.MessagesAdapter.convert(PhaseEvent, Messages)]

     

    Now I have seam-interantional as my dependencies(it imports both seam-international and seam-international-api)

     

    I can clearly see

    org.jboss.seam.international.status.Messages

    org.jboss.seam.international.status.MessagesImpl

     

    in the seam-interantional library

     

    I think I am running in circles right now ;(

     

    any idea why is weld so strict in WL and not so strict in GF? why the same project works, even without this hassle and added dependencies in GF?