Fórum

LoginPortlet

R Naresh Reddy, modificado 11 Anos atrás.

LoginPortlet

Junior Member Postagens: 60 Data de Entrada: 28/02/13 Postagens Recentes
Hi


i was created loginPortlet after that i was getting errors like


'Your request failed to complete.
Authentication failed. Please try again.

what should be the next thing i need to do to complete this LoginPortlet




Thanks for any help
thumbnail
Jignesh Vachhani, modificado 11 Anos atrás.

RE: LoginPortlet

Liferay Master Postagens: 803 Data de Entrada: 10/03/08 Postagens Recentes
Naresh,

Are you replicating the login portlet ?
If yes then you may need to copy all the struts action classes which have been mentioned in struts-config.xml file.
Can you please post your error log here so that we can get more idea ?
R Naresh Reddy, modificado 11 Anos atrás.

RE: LoginPortlet

Junior Member Postagens: 60 Data de Entrada: 28/02/13 Postagens Recentes
Jignesh Vachhani:
Naresh,

Are you replicating the login portlet ?
If yes then you may need to copy all the struts action classes which have been mentioned in struts-config.xml file.
Can you please post your error log here so that we can get more idea ?





hi Jignesh Vachhani

12:24:10,124 ERROR [http-bio-8080-exec-4][render_portlet_jsp:154] java.lang.NullPointerException
at com.liferay.portlet.PortletRequestImpl.getPortletRequestImpl(PortletRequestImpl.java:99)
at com.liferay.portal.util.PortalImpl.getHttpServletRequest(PortalImpl.java:2217)
at com.liferay.portal.util.PortalUtil.getHttpServletRequest(PortalUtil.java:619)
at org.apache.jsp.html.login.view_jsp._jspService(view_jsp.java:276)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)


Login Portlet is temporarily unavailable.
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: LoginPortlet

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Yes, you have a bug in your login portlet. The next thing you should do is either get liferay development education or pay someone else to develop the portlet for you.
The error message doesn't make any sense because you haven't provided any source code of your portlet. It's possible to customize login portlet without any problem so the problem is solely with your portlet.
R Naresh Reddy, modificado 11 Anos atrás.

RE: LoginPortlet

Junior Member Postagens: 60 Data de Entrada: 28/02/13 Postagens Recentes
HI HITOSHI


AM NEW TO LIFERAY, AS OF NEW PORBLEMS MAY GET TO ANY ONE , U MAY R MAY NOT SOLVE HIS SOLUTION BUT NO NEED TO DISCOURAGE IN DEVELOPEMENT
SUGGEST HOW TO LEARN LIFERAY THATS IT ,

ANY WAY THNAKS FOR UR ADVICE

have a nice day
thumbnail
Bart Simpson, modificado 11 Anos atrás.

RE: LoginPortlet

Liferay Master Postagens: 522 Data de Entrada: 29/08/11 Postagens Recentes
If you are tying to do the custom login , I have tried this one myself and seems to work fine with 6.1.20
http://www.liferay.com/community/forums/-/message_boards/message/12912154
it's based on LoginUtil.login(...)