You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2015/04/25 12:40:38 UTC
[jira] [Commented] (TOMEE-1561) LazyRealm not working with CDI in
tomee 1.7
[ https://issues.apache.org/jira/browse/TOMEE-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14512382#comment-14512382 ]
Romain Manni-Bucau commented on TOMEE-1561:
-------------------------------------------
Hi
Can you test 1.7.2 snapshot please?
> LazyRealm not working with CDI in tomee 1.7
> -------------------------------------------
>
> Key: TOMEE-1561
> URL: https://issues.apache.org/jira/browse/TOMEE-1561
> Project: TomEE
> Issue Type: Bug
> Reporter: BIN ZHOU
> Priority: Minor
>
> with definition:
> <Context preemptiveAuthentication="true" >
> <Realm
> cdi="true"
> className="org.apache.tomee.catalina.realm.LazyRealm"
> realmClass="example.test.UserRealm"/>
> </Context>
> got NPE
> org.apache.catalina.LifecycleException: Failed to stop component [StandardServer[8005]]
> at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:236)
> at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:272)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:693)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
> Caused by: org.apache.catalina.LifecycleException: Failed to stop component [StandardService[Catalina]]
> at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:236)
> at org.apache.catalina.core.StandardServer.stopInternal(StandardServer.java:760)
> at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
> ... 8 more
> Caused by: org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted ([before_stop]) for component [org.apache.catalina.core.StandardThreadExecutor@1921ad94] in state [INITIALIZED]
> at org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:409)
> at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:219)
> at org.apache.catalina.core.StandardService.stopInternal(StandardService.java:528)
> at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
> ... 10 more
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)