Fórumok

LoginPortlet

R Naresh Reddy, módosítva 11 év-val korábban

LoginPortlet

Junior Member Bejegyzések: 60 Csatlakozás dátuma: 2013.02.28. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: LoginPortlet

Liferay Master Bejegyzések: 803 Csatlakozás dátuma: 2008.03.10. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: LoginPortlet

Junior Member Bejegyzések: 60 Csatlakozás dátuma: 2013.02.28. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: LoginPortlet

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: LoginPortlet

Junior Member Bejegyzések: 60 Csatlakozás dátuma: 2013.02.28. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: LoginPortlet

Liferay Master Bejegyzések: 522 Csatlakozás dátuma: 2011.08.29. Legújabb bejegyzések
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(...)