You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Les Hazlewood (JIRA)" <ji...@apache.org> on 2011/05/03 22:01:03 UTC

[jira] [Assigned] (SHIRO-288) Ini file loading from classpath

     [ https://issues.apache.org/jira/browse/SHIRO-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Les Hazlewood reassigned SHIRO-288:
-----------------------------------

    Assignee: Les Hazlewood

> Ini file loading from classpath
> -------------------------------
>
>                 Key: SHIRO-288
>                 URL: https://issues.apache.org/jira/browse/SHIRO-288
>             Project: Shiro
>          Issue Type: Bug
>          Components: Web
>    Affects Versions: 1.2.0
>            Reporter: Maria Jurcovicova
>            Assignee: Les Hazlewood
>
> I have web application that uses Shiro version 1.2.0-SNAPSHOT with Shiro.ini file on classpath. The application stopped to load ini file and returns an error: 
> There is no servlet context resource corresponding to configPath '/classpath:Shiro.ini'  If the resource is located elsewhere (not immediately resolveable in the servlet context), specify an appropriate classpath:, url:, or file: resource prefix accordingly.
> Extract of my Web.xml:
> 	<filter>
> 		<filter-name>ShiroFilter</filter-name>
> 		<filter-class>org.apache.shiro.web.servlet.IniShiroFilter</filter-class>
> 		<init-param>
> 			<param-name>configPath</param-name>
> 			<param-value>classpath:Shiro.ini</param-value>
> 		</init-param>
> 	</filter>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira