掲示板

LoginPortlet

11年前 に R Naresh Reddy によって更新されました。

LoginPortlet

Junior Member 投稿: 60 参加年月日: 13/02/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
11年前 に Jignesh Vachhani によって更新されました。

RE: LoginPortlet

Liferay Master 投稿: 803 参加年月日: 08/03/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 ?
11年前 に R Naresh Reddy によって更新されました。

RE: LoginPortlet

Junior Member 投稿: 60 参加年月日: 13/02/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
11年前 に Hitoshi Ozawa によって更新されました。

RE: LoginPortlet

Liferay Legend 投稿: 7942 参加年月日: 10/03/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.
11年前 に R Naresh Reddy によって更新されました。

RE: LoginPortlet

Junior Member 投稿: 60 参加年月日: 13/02/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
11年前 に Bart Simpson によって更新されました。

RE: LoginPortlet

Liferay Master 投稿: 522 参加年月日: 11/08/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(...)