I have the same problem... JBoss cannot find http://localhost:8080/portal/auth/j_security_check
and I get a 404 error page in the default portlet, while if I login correctly there are no problems...
I made installing JBoss Portal by a colleague of mine and he gets the same error...
Can anybody help us?
The file were the wrong login page is configured is portal-server.war/WEB-INF/web.xml
<login-config> <auth-method>FORM</auth-method> <realm-name>JBoss Portal</realm-name> <form-login-config> <form-login-page>/login.jsp</form-login-page> <form-error-page>/errorpages/wronglogin.html</form-error-page> </form-login-config> </login-config>
You can either create the page /errorpages/wronglogin.html or edit this file to redirect to an existing page
The wronglogin.html file comes with the JBoss Portal installation itself. This does not have to be created again.
This was working in the Portal v2.0, but does not work with the Portal v2.0.1RC1.
In 2.0 Branch the /errorpages/wronglogin.html existed in the CMS. We moved away from that in 2.2, as some people unplug the CMS. However, if in 2.0.1, the page does not exist, then create it in the CMS.
Additionally, you can modify the web.xml:
... and create the error.jsp alongside the /login.jsp.
Just for your information...
The /errorpages/wronglogin.html page does exist in the CMS even in JBoss portal v2.0.1RC1, however it is in the wrong location. I resolved the problem by moving the errorpages directory directly under /default diectory
The /errorpages/wronglogin.html page does exist in the CMS even in JBoss portal v2.0.1RC1, however it is in the wrong location.
... or that too. ;-)