[jira] [Comment Edited] (SHIRO-610) Incorrect filterchainResolver in 1.4.0-RC2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (SHIRO-610) Incorrect filterchainResolver in 1.4.0-RC2

JIRA jira@apache.org

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

Sven Redelin edited comment on SHIRO-610 at 6/7/17 12:50 PM:
-------------------------------------------------------------

+1
no helpful comments of developers?
I am using following components
* payara-micro-4.1.2.172
* shiro-all:1.4.0
* com.vaading:8.0.6
* hibernate-core:5.2.10.Final

and got following exception while registering shiro in application
{code}
payara-micro_1  | [2017-06-07T12:43:12.741+0000] [] [SEVERE] [NCLS-CORE-00026] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1496839392741] [levelValue: 1000] [[
payara-micro_1  |   Exception during lifecycle processing
payara-micro_1  | java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava/lang/String;I)V
payara-micro_1  |       at org.hibernate.query.spi.NamedQueryRepository.checkNamedQueries(NamedQueryRepository.java:151)
payara-micro_1  |       at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:525)
payara-micro_1  |       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:320)
payara-micro_1  |       at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:452)
payara-micro_1  |       at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:889)
payara-micro_1  |       at org.hibernate.jpa.HibernatePersistenceProvider.createContainerEntityManagerFactory(HibernatePersistenceProvider.java:151)
payara-micro_1  |       at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:207)
payara-micro_1  |       at org.glassfish.persistence.jpa.PersistenceUnitLoader.<init>(PersistenceUnitLoader.java:114)
payara-micro_1  |       at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:223)
payara-micro_1  |       at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510)
payara-micro_1  |       at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:230)
payara-micro_1  |       at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:168)
payara-micro_1  |       at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:926)
payara-micro_1  |       at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:435)
payara-micro_1  |       at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:220)
payara-micro_1  |       at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:487)
payara-micro_1  |       at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539)
payara-micro_1  |       at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535)
payara-micro_1  |       at java.security.AccessController.doPrivileged(Native Method)
payara-micro_1  |       at javax.security.auth.Subject.doAs(Subject.java:360)
payara-micro_1  |       at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534)
payara-micro_1  |       at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565)
payara-micro_1  |       at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557)
payara-micro_1  |       at java.security.AccessController.doPrivileged(Native Method)
payara-micro_1  |       at javax.security.auth.Subject.doAs(Subject.java:360)
payara-micro_1  |       at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)
payara-micro_1  |       at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)
payara-micro_1  |       at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109)
payara-micro_1  |       at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846)
payara-micro_1  |       at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722)
payara-micro_1  |       at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:134)
payara-micro_1  |       at fish.payara.micro.impl.PayaraMicroImpl.deployAll(PayaraMicroImpl.java:1365)
payara-micro_1  |       at fish.payara.micro.impl.PayaraMicroImpl.bootStrap(PayaraMicroImpl.java:985)
payara-micro_1  |       at fish.payara.micro.impl.PayaraMicroImpl.main(PayaraMicroImpl.java:181)
payara-micro_1  |       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
payara-micro_1  |       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
payara-micro_1  |       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
payara-micro_1  |       at java.lang.reflect.Method.invoke(Method.java:498)
payara-micro_1  |       at fish.payara.micro.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
payara-micro_1  |       at fish.payara.micro.boot.loader.Launcher.launch(Launcher.java:107)
payara-micro_1  |       at fish.payara.micro.boot.loader.Launcher.launch(Launcher.java:70)
payara-micro_1  |       at fish.payara.micro.boot.PayaraMicroLauncher.main(PayaraMicroLauncher.java:79)
payara-micro_1  |       at fish.payara.micro.PayaraMicro.main(PayaraMicro.java:358)
{code}


was (Author: sredelin):
+1
no helpful comments of developers?
I am using following components
* payara-micro-4.1.2.172
* shiro-all:1.4.0
* com.vaading:8.0.6
* hibernate-core:5.2.10.Final

> Incorrect filterchainResolver in 1.4.0-RC2
> ------------------------------------------
>
>                 Key: SHIRO-610
>                 URL: https://issues.apache.org/jira/browse/SHIRO-610
>             Project: Shiro
>          Issue Type: Bug
>    Affects Versions: 1.4.0-RC2
>            Reporter: John D. Ament
>
> Caused by: org.apache.shiro.env.RequiredTypeException: Object named 'filterChainResolver' is not of required type [org.apache.shiro.web.filter.mgt.FilterChainResolver]
> This happens OOTB when using DefaultWebEnvironment.  The actual type is a IniFilterChainResolverFactory



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)