[ 
https://issues.apache.org/jira/browse/SHIRO-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13578223#comment-13578223
 ] 

Christian Müller commented on SHIRO-337:
----------------------------------------

We have issues running Shiro inside of JBoss 7. Anything we can do to get this 
(one year old) patch applied? Anybody faced the same issue and found a 
workaround?

Our stack trace (1.2.1):
{noformat}
14:56:08,519 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) 
MSC00001: Failed to start service 
jboss.deployment.unit."xxx-gui.war".WeldService: 
org.jboss.msc.service.StartException in service 
jboss.deployment.unit."xxx-gui.war".WeldService: 
org.jboss.weld.exceptions.UnproxyableResolutionException: WELD-001437 Normal 
scoped bean class org.apache.shiro.realm.AuthenticatingRealm is not proxyable 
because the type is final or it contains a final method public final void 
org.apache.shiro.realm.AuthenticatingRealm.init() - Managed Bean [class 
net.atos.xa.rm.app.realm.RMRealm] with qualifiers [@Any @Default].
                at 
org.jboss.as.weld.services.WeldService.start(WeldService.java:83)
                at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
 [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
                at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
 [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
                at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 
[rt.jar:1.7.0]
                at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
[rt.jar:1.7.0]
                at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0]

{noformat}
                
> adding support for CDI
> ----------------------
>
>                 Key: SHIRO-337
>                 URL: https://issues.apache.org/jira/browse/SHIRO-337
>             Project: Shiro
>          Issue Type: New Feature
>          Components: Integration: JEE
>            Reporter: Romain Manni-Bucau
>            Priority: Minor
>         Attachments: SHIRO-337-2.patch, SHIRO-337.patch
>
>
> As there is a spring or guice integration, a CDI integration could be 
> welcomed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to