filterStart SEVERE: Exception starting filter Authentication Filter java.lang.SecurityException: java.io.IOException: Configuration Error:

问题描述 投票:0回答:1

我尝试在 Rocky Linux 上安装 alfresco。当我执行 startup.sh 我在日志 catalina.out 中看到这个错误:

Apr 11, 2023 2:40:43 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter Authentication Filter
java.lang.SecurityException: java.io.IOException: Configuration Error:
    No such file or directory
    at sun.security.provider.ConfigFile$Spi.<init>(ConfigFile.java:137)
    at sun.security.provider.ConfigFile.<init>(ConfigFile.java:102)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at java.lang.Class.newInstance(Class.java:442)
    at javax.security.auth.login.Configuration$2.run(Configuration.java:255)
    at javax.security.auth.login.Configuration$2.run(Configuration.java:247)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.Configuration.getConfiguration(Configuration.java:246)
    at javax.security.auth.login.LoginContext$1.run(LoginContext.java:245)
    at javax.security.auth.login.LoginContext$1.run(LoginContext.java:243)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.init(LoginContext.java:243)
    at javax.security.auth.login.LoginContext.<init>(LoginContext.java:417)
    at org.alfresco.web.site.servlet.SSOAuthenticationFilter.init(SSOAuthenticationFilter.java:313)
    at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
    at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4854)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5542)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)
    at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:750)
Caused by: java.io.IOException: Configuration Error:
    No such file or directory
    at sun.security.provider.ConfigFile$Spi.init(ConfigFile.java:335)
    at sun.security.provider.ConfigFile$Spi.init(ConfigFile.java:293)
    at sun.security.provider.ConfigFile$Spi.<init>(ConfigFile.java:135)
    ... 32 more

我不知道这个文件应该放在哪里,我应该添加什么。我该如何解决这个问题?

我尝试按照安装说明进行操作,但它不起作用。我也在网上搜索这个问题,但它是不常见的错误。

tomcat tomcat7 alfresco alfresco-share catalina
1个回答
0
投票

今天我试试这个链接,它对我有用。

https://forum.camunda.io/t/tomcat-restapi-httpbasicauthentication/7018/2

© www.soinside.com 2019 - 2024. All rights reserved.