[seam-dev] Re : Re : Faces : viewconfig sample ClassNotFoundException TransactionInterceptor

Adrian Gonzalez adr_gonzalez at yahoo.fr
Thu Oct 27 05:14:42 EDT 2011


Done https://github.com/seam/faces/pull/62.

It's my first pull request (hope it's fine : not sure though - there are 5 commits instead of 1).

Happy it was on a simple change.



________________________________
De : Jason Porter <lightguard.jp at gmail.com>
À : Adrian Gonzalez <adr_gonzalez at yahoo.fr>
Cc : "seam-dev at lists.jboss.org" <seam-dev at lists.jboss.org>
Envoyé le : Jeudi 27 Octobre 2011 10h51
Objet : Re: [seam-dev] Re : Faces : viewconfig sample ClassNotFoundException TransactionInterceptor


You could create JIRAs for them, a pull request would be better though :)


On Thu, Oct 27, 2011 at 02:34, Adrian Gonzalez <adr_gonzalez at yahoo.fr> wrote:

After adding seam-transaction in viewconfig's pom, I've a new error on startup (see stackTrace).
>
>This is one is corrected by removing explicit seam-security version dependency in  viewconfig's pom (it was explicited pinned in Beta2).
>
>Now, viewconfig starts fine
>
>
>
>10:06:45,609 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."seam-faces-example-viewconfig.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."seam-faces-example-viewconfig.war".WeldService: org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [ELContext] with qualifiers [@Default] at injection point [[parameter 1] of [constructor] @Inject public org.jboss.seam.solder.el.Expressions(ELContext, ExpressionFactory)]. Possible dependencies [[Producer Method [ELContext] with qualifiers [@Any @Default] declared as [[method] @Produces org.jboss.solder.el.ELContextProducer.createELContext()], Producer Method [ELContext] with qualifiers [@Any @Default] declared as [[method] @Produces org.jboss.seam.solder.el.ELContextProducer.createELContext()]]]
>
>at org.jboss.as.weld.services.WeldService.start(WeldService.java:96)
>at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
>at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
>at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
>at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
>Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [ELContext] with qualifiers [@Default] at injection point [[parameter 1] of [constructor] @Inject public org.jboss.seam.solder.el.Expressions(ELContext, ExpressionFactory)]. Possible dependencies [[Producer Method [ELContext] with qualifiers [@Any @Default] declared as [[method] @Produces org.jboss.solder.el.ELContextProducer.createELContext()], Producer Method [ELContext] with qualifiers [@Any @Default] declared as [[method] @Produces org.jboss.seam.solder.el.ELContextProducer.createELContext()]]]
>at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:274)
>at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:106)
>at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:129)
>at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:351)
>at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:336)
>at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:404)
>at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:82)
>
>at org.jboss.as.weld.services.WeldService.start(WeldService.java:89)
>... 5 more
>
>
>
>________________________________
>De : Adrian Gonzalez <adr_gonzalez at yahoo.fr>
>À : "seam-dev at lists.jboss.org" <seam-dev at lists.jboss.org>
>Envoyé le : Jeudi 27 Octobre 2011 10h09
>Objet : [seam-dev] Faces : viewconfig sample ClassNotFoundException TransactionInterceptor
>
>
>Hello,
>
>I'm trying develop branch of faces module, I've added seam-faces-example-viewconfig on JBoss 7.0.2, and got this error on startup.
>java.lang.ClassNotFoundException: org.jboss.seam.transaction.TransactionInterceptor
>
>
>I think https://github.com/seam/faces/blob/develop/examples/viewconfig/pom.xml is missing seam-transaction dependency.
>
>Should I raise a JIRA and  send a pull request ?
>
>Thanks
>
>Full stack :
>10:01:09,609 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."seam-faces-example-viewconfig.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."seam-faces-example-viewconfig.war".WeldService: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.jboss.seam.transaction.TransactionInterceptor from [Module "deployment.seam-faces-example-viewconfig.war:main" from Service Module Loader]; location: <class>org.jboss.seam.transaction.TransactionInterceptor</class> in vfs:/C:/dev/java/jboss-as-web-7.0.2.Final/bin/content/seam-faces-example-viewconfig.war/WEB-INF/lib/seam-security-3.1.0.Beta2.jar/META-INF/beans.xml at 8
>at org.jboss.as.weld.services.WeldService.start(WeldService.java:96)
>at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
>at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
>at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
>at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
>Caused by: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.jboss.seam.transaction.TransactionInterceptor from [Module "deployment.seam-faces-example-viewconfig.war:main" from Service Module Loader]; location: <class>org.jboss.seam.transaction.TransactionInterceptor</class> in vfs:/C:/dev/java/jboss-as-web-7.0.2.Final/bin/content/seam-faces-example-viewconfig.war/WEB-INF/lib/seam-security-3.1.0.Beta2.jar/META-INF/beans.xml at 8
>at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:75)
>at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:56)
>at com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:435)
>at java.util.AbstractList$Itr.next(AbstractList.java:345) [:1.6.0_24]
>at org.jboss.weld.manager.Enabled.createMetadataMap(Enabled.java:143)
>at org.jboss.weld.manager.Enabled.<init>(Enabled.java:113)
>at org.jboss.weld.manager.Enabled.of(Enabled.java:95)
>at org.jboss.weld.bootstrap.BeanDeployment.<init>(BeanDeployment.java:104)
>at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:185)
>at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
>at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
>at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
>at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
>at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
>at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
>at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
>at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:156)
>at org.jboss.weld.bootstrap.WeldBootstrap.startContainer(WeldBootstrap.java:293)
>at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:79)
>at org.jboss.as.weld.services.WeldService.start(WeldService.java:89)
>... 5 more
>Caused by: java.lang.ClassNotFoundException: org.jboss.seam.transaction.TransactionInterceptor from [Module "deployment.seam-faces-example-viewconfig.war:main" from Service Module Loader]
>at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
>at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
>at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
>at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
>at org.jboss.as.weld.WeldModuleResourceLoader.classForName(WeldModuleResourceLoader.java:68)
>at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:71)
>... 24 more
>________________________________
>De : Shane Bryzak <sbryzak at redhat.com>
>À : "seam-dev at lists.jboss.org" <seam-dev at lists.jboss.org>
>Envoyé le : Mardi 25 Octobre 2011 11h46
>Objet : Re: [seam-dev] Seam 3.1 Beta 4 released
>
>
>Also, I know that Marius has been hard at work on the Seam Spring module, and is planning on releasing an Alpha shortly.  I would really like to include this in the 3.1 release if possible, and if that means a short delay to the final release date then I think it's worth it.
>
>On 25/10/11 19:42, Shane Bryzak wrote:
>Hi all,
>>
>>We've just finished rolling out Beta4 today, you can find the
>      release announcement here:
>>
>>http://in.relation.to/Bloggers/Seam31Beta4Released
>>
>>Thanks to the whole team for the hard work, we managed to close
>      quite a lot of issues for this release.  We'll be doing another
>      beta release to address the remaining issues that are outstanding
>      for 3.1.  Module leads, could you please review the open issues
>      for your module/s for 3.1 and bump any to the 'Future' that we
>      won't be able to address in time.  Likewise, if there are any
>      outstanding issues that you think should be included in 3.1 but
>      aren't, please set a fix version of 3.1.0.CR1 so that we can
>      address it.
>>
>>Thanks!
>>Shane
>>
>>
>>
>>_______________________________________________
>seam-dev mailing list seam-dev at lists.jboss.org https://lists.jboss.org/mailman/listinfo/seam-dev
>
>_______________________________________________
>seam-dev mailing list
>seam-dev at lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/seam-dev
>
>_______________________________________________
>seam-dev mailing list
>seam-dev at lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/seam-dev
>
>_______________________________________________
>seam-dev mailing list
>seam-dev at lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/seam-dev
>


-- 
Jason Porter
http://lightguard-jp.blogspot.com
http://twitter.com/lightguardjp

Software Engineer
Open Source Advocate
Author of Seam Catch - Next Generation Java Exception Handling

PGP key id: 926CCFF5
PGP key available at: keyserver.net, pgp.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20111027/4550219a/attachment-0001.html 


More information about the seam-dev mailing list