Page 1 of 1

Heat Clinic Demo Login doesn't work

Posted: Thu Apr 25, 2013 12:05 pm
by Ayoubz
Hello,

I have successfuly installed Heat Clinic Demo and everything works fine but when lunching application many urls are not detectable by spring and can't find them.
For exemple when i tipe : localhost:8080/mycompony/login, i am automatiquly redirected to localhost:8080/mycompony/mycompony/login
and i have this msg from spring that i dont have a controller responsible for this url.
erreur msg : PageNotFound - No mapping found for HTTP request with URI [/mycompany/mycompany/register] in DispatcherServlet with name 'ecommerce'.
I searched for a solution for this problem in spring-security config and in spring config files but i found nothing could be the reason for this problem.
Only 2 urls work correct and spring can detect these urls : /cart and /search.

Please help me and thinks, Ayoub.

Re: Heat Clinic Demo Login doesn't work

Posted: Fri Apr 26, 2013 4:15 am
by Ayoubz
Hello again,

Can any one help me to solve this problem please and thinks.

Re: Heat Clinic Demo Login doesn't work

Posted: Thu May 02, 2013 4:08 pm
by dlavoie
I am not an expert. But I have good reason to believe that this is related to your HTTPS configuration. /login requires to be accessed with https (as shown inside site/webapp/WEB-INF/applicationContext-security.xml). A simple test to clear that fact is to modify the applicationContext-security.xml file by changing all "requires-channel" from HTTPS to HTTP. If you can then access those sections properly, it would mean that your HTTPS config of your web server is invalid.

Make this test, then revert to the original requires-channel config. Come back to the post with your result and we might be able to help you further.

Good luck !