Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shiro Problem #104

Open
JVallejos1988 opened this issue Jul 17, 2019 · 2 comments
Open

Shiro Problem #104

JVallejos1988 opened this issue Jul 17, 2019 · 2 comments

Comments

@JVallejos1988
Copy link

i already compile comms-router but i cant start with tomcat because sendme a exception

GRAVE: Excepción arrancando filtro ShiroFilter
javax.servlet.ServletException: org.apache.shiro.config.ConfigurationException: java.io.IOException: Resource [classpath:shiro.ini] could not be found.

@angel-popov
Copy link
Contributor

Hi,
In the application.properties file, there should be a path to the shiro file. Something like:
shiro.configLocations=file:/usr/local/tomcat/conf/shiro.ini

Note that there is 'file:' prefix before the path.

Also make sure that you have
''
in your context.xml
Regards, AngelP

@JVallejos1988
Copy link
Author

thanks , that works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants