[seam-issues] [JBoss JIRA] (SEAM-131) Seam 3 does not run on Weblogic 12c
JJ Snyder (JIRA)
jira-events at lists.jboss.org
Wed Feb 8 16:05:48 EST 2012
[ https://issues.jboss.org/browse/SEAM-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665177#comment-12665177 ]
JJ Snyder commented on SEAM-131:
--------------------------------
I have seam working in WLS 12C but I had to do a couple of things to get there.
1) I fixed a bug for dependent jars not being able to inject to/from each other. A patch is being created and should be available soon.
2) I was packaging seam-solder-3.0.0.Final.jar in the war's WEB-INF/lib directory. When I deployed the war I got the following exception:
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:61)
Truncated. see log file for complete stacktrace
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:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
Truncated. see log file for complete stacktrace
seam-solder-3.0.0.Final.jar does not contain org.jboss.logmanager.Logger. So I updated my seam-solder version and repackaged my war with these jars in WEB-INF/lib:
seam-solder-3.1.0.Beta2.jar
seam-solder-api-3.1.0.Beta2.jar
seam-solder-logging-3.1.0.Beta2.jar
Now my application works.
Note, I did not try Beta1. Also, I could not find seam-solder-api-3.0.0.Final.jar or seam-solder-logging-3.0.0.Final.jar. Do these jars exist?
> Seam 3 does not run on Weblogic 12c
> -----------------------------------
>
> Key: SEAM-131
> URL: https://issues.jboss.org/browse/SEAM-131
> Project: Seam 3 Distribution
> Issue Type: Bug
> Affects Versions: 3.1.0.Final
> Reporter: George Gastaldi
> Attachments: pom.xml
>
>
> I am using Weblogic12c that seems to bundle Weld(1-1-3.SP1) as a CDI container.And that I am trying to deploy a simple seam-faces(3.1.0.Final) app, which fails with following unsatisfied-dependencies during the deployment.
> {code:java}
> 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)]
> at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:274)
> at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:243)
> at org.jboss.weld.bootstrap.Validator.validateObserverMethods(Validator.java:505)
> at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:335)
> at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list