[
https://issues.jboss.org/browse/SEAMSECURITY-88?page=com.atlassian.jira.p...
]
Shane Bryzak resolved SEAMSECURITY-88.
--------------------------------------
Assignee: Shane Bryzak
Fix Version/s: 3.1.0.CR1
Resolution: Done
Fixed, thanks Geoffrey
Seam-security should have a non-optional dependency on
seam-transaction because it cannot run without it in the classpath
-------------------------------------------------------------------------------------------------------------------------
Key: SEAMSECURITY-88
URL:
https://issues.jboss.org/browse/SEAMSECURITY-88
Project: Seam Security
Issue Type: Bug
Reporter: Geoffrey De Smet
Assignee: Shane Bryzak
Fix For: 3.1.0.CR1
I've added seam-config 3.1.0.Beta2 to my dependencies and then got an exception at
runtime (see below).
Adding an extra dependency on org.jboss.seam.transaction:seam-transaction fixed it.
{code}
2011-08-29 10:05:42.024:WARN::Failed startup of context
org.mortbay.jetty.webapp.WebAppContext@198c6f3{/guvnor-webapp,file:/home/gdesmet/projects/jboss/forked-guvnor/guvnor-webapp/target/guvnor-webapp-5.3.0-SNAPSHOT/}
org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class
org.jboss.seam.transaction.TransactionInterceptor; location:
<class>org.jboss.seam.transaction.TransactionInterceptor</class> in
jar:file:/home/gdesmet/projects/jboss/forked-guvnor/guvnor-webapp/target/guvnor-webapp-5.3.0-SNAPSHOT/WEB-INF/lib/seam-security-3.1.0.Beta2.jar!/META-INF/beans.xml@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)
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:156)
at org.jboss.weld.bootstrap.WeldBootstrap.startContainer(WeldBootstrap.java:293)
at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:171)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.deployer.ContextDeployer.deploy(ContextDeployer.java:268)
at org.mortbay.jetty.deployer.ContextDeployer.access$000(ContextDeployer.java:67)
at
org.mortbay.jetty.deployer.ContextDeployer$ScannerListener.fileAdded(ContextDeployer.java:89)
at org.mortbay.util.Scanner.reportAddition(Scanner.java:410)
at org.mortbay.util.Scanner.reportDifferences(Scanner.java:324)
at org.mortbay.util.Scanner.scan(Scanner.java:280)
at org.mortbay.util.Scanner$1.run(Scanner.java:232)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira