comms-router icon indicating copy to clipboard operation
comms-router copied to clipboard

Shiro Problem

Open JVallejos1988 opened this issue 5 years ago • 2 comments

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.

JVallejos1988 avatar Jul 17 '19 22:07 JVallejos1988

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 '<Parameter name="comms.router.config.file" value="/usr/local/tomcat/conf/application.properties"/>' in your context.xml Regards, AngelP

angel-popov avatar Jul 19 '19 16:07 angel-popov

thanks , that works for me

JVallejos1988 avatar Jul 19 '19 20:07 JVallejos1988