Nexmo / comms-router

A server which allows you to route tasks to agents.
Apache License 2.0
21 stars 11 forks source link

Shiro Problem #104

Open JVallejos1988 opened 5 years ago

JVallejos1988 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

thanks , that works for me