[jbosstools-issues] [JBoss JIRA] (JBIDE-10162) form-login-page verification failure with correct data

Jesper Skov (Created) (JIRA) jira-events at lists.jboss.org
Fri Nov 11 01:50:47 EST 2011


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
    Affects Versions: 3.3.0.M4
         Environment: Windows XP, Eclipse Indigo SR1
            Reporter: Jesper Skov


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