留言板

LoginPortlet

R Naresh Reddy,修改在11 年前。

LoginPortlet

Junior Member 帖子: 60 加入日期: 13-2-28 最近的帖子
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,修改在11 年前。

RE: LoginPortlet

Liferay Master 帖子: 803 加入日期: 08-3-10 最近的帖子
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,修改在11 年前。

RE: LoginPortlet

Junior Member 帖子: 60 加入日期: 13-2-28 最近的帖子
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,修改在11 年前。

RE: LoginPortlet

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
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,修改在11 年前。

RE: LoginPortlet

Junior Member 帖子: 60 加入日期: 13-2-28 最近的帖子
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,修改在11 年前。

RE: LoginPortlet

Liferay Master 帖子: 522 加入日期: 11-8-29 最近的帖子
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(...)