[jbosstools-issues] [JBoss JIRA] (JBIDE-10162) form-login-page verification failure with correct data
Alexey Kazakov (Resolved) (JIRA)
jira-events at lists.jboss.org
Tue Dec 6 20:35:40 EST 2011
[ https://issues.jboss.org/browse/JBIDE-10162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Kazakov resolved JBIDE-10162.
------------------------------------
Assignee: Viacheslav Kabanovich (was: Alexey Kazakov)
Resolution: Done
The issue is fixed for case when the class is available in the project class path in desing time.
> form-login-page verification failure with correct data
> ------------------------------------------------------
>
> Key: JBIDE-10162
> URL: https://issues.jboss.org/browse/JBIDE-10162
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: common/jst/core
> Affects Versions: 3.3.0.M4
> Environment: Windows XP, Eclipse Indigo SR1
> Reporter: Jesper Skov
> Assignee: Viacheslav Kabanovich
> Fix For: 3.3.0.Beta1
>
>
> In a web.xml file we have this bit of code:
> {code}
> <servlet>
> <description></description>
> <display-name>LoginServlet</display-name>
> <servlet-name>LoginServlet</servlet-name>
> <servlet-class>dk.jyskebank.core.jsf.login.FacesLoginServlet</servlet-class>
> </servlet>
> <servlet-mapping>
> <servlet-name>LoginServlet</servlet-name>
> <url-pattern>/loginServlet</url-pattern>
> </servlet-mapping>
> <login-config>
> <auth-method>FORM</auth-method>
> <form-login-config>
> <form-login-page>/loginServlet</form-login-page>
> <form-error-page>/login/loginfail.jsp</form-error-page>
> </form-login-config>
> </login-config>
> {code}
> The 'Check form-login-page attribute' verification rule marks this as a failure, saying:
> error: Attribute form-login-page references to /loginServlet that does not exist in web content
> In a way, the verifier is right; the jar with the LoginServlet.class lives outside the web content folder, but it copied into WEB-INF/lib as part of Deployment Assembly.
> And the jar is on build classpath, obviously.
> I tried copying the jar into the web content folder directly, but it has no effect on the verifier.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list