论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
R Naresh Reddy
LoginPortlet
2013年3月11日 上午3:50
答复

R Naresh Reddy

等级: Junior Member

帖子: 60

加入日期: 2013年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
Jignesh Vachhani
RE: LoginPortlet
2013年3月11日 上午3:55
答复

Jignesh Vachhani

等级: Liferay Master

帖子: 780

加入日期: 2008年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 ?
Bart Simpson
RE: LoginPortlet
2013年3月11日 上午3:59
答复

Bart Simpson

等级: Liferay Master

帖子: 523

加入日期: 2011年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(...)
R Naresh Reddy
RE: LoginPortlet
2013年3月11日 上午5:25
答复

R Naresh Reddy

等级: Junior Member

帖子: 60

加入日期: 2013年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.
Hitoshi Ozawa
RE: LoginPortlet
2013年3月11日 上午6:27
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7954

加入日期: 2010年3月23日

最近的帖子

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
RE: LoginPortlet
2013年3月12日 上午6:47
答复

R Naresh Reddy

等级: Junior Member

帖子: 60

加入日期: 2013年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