voyent
Liferay 6.1 + icefaces 3.0 and ace components plugin for eclipse 3.7(indigo) + liferayide 1.5 plgin  XML
Forum Index -> Portals & Portlets
Author Message
hankthornlee

Joined: 07/Feb/2012 01:10:08
Messages: 2
Offline


When I try to create a portlet for liferay from scratch without changing anything I get the following stack trace when the portlet actually runs in the browser. Any help with this error would be appreciated.

ERROR [render_portlet_jsp:154] java.lang.NoSuchMethodError: org.icefaces.util.EnvUtils.getSafeRequest(Ljavax/faces/context/FacesContext;)Ljavax/servlet/http/HttpServletRequest;
at org.icefaces.ace.component.fileentry.FileEntryPhaseListener.beforePhase(FileEntryPhaseListener.java:112)
at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at org.portletfaces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:391)
at org.portletfaces.bridge.GenericFacesPortlet.doView(GenericFacesPortlet.java:181)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:93)
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.InvokerFilter.doFilter(InvokerFilter.java:71)
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)

06:00:53,728 INFO [PluginPackageUtil:1409] Checking for available updates
06:00:53,729 INFO [PluginPackageUtil:1453] Finished checking for available updates in 1 ms
hankthornlee

Joined: 07/Feb/2012 01:10:08
Messages: 2
Offline


I got the deploy working, but only when using the liferay sdk build all, otherwise a thread exception of some sort is thrown. The two issues might even be related but who knows, any ideas on what I should look at to solve this redeploy via the server interface in eclipse would be much appreciated.


-Edit: to make this clear, I started from a regular jsf portlet built it up from their and used the sdk, no auto generation really was used other then making a jsf 2.0 portlet to start from with the liferay sdk and the nightly build of liferay 6.1(which is labeled 6.2 atm) and the nightly build of eclipse liferay ide as their is a current filter error on Liferay's part in the current 6.1 release that is fixed in the nightly.
deryk.sinotte


Joined: 26/Oct/2004 00:00:00
Messages: 1008
Offline


Re: Liferay 6.1 + icefaces 3.0 and ace components plugin for eclipse 3.7(indigo) + liferayide 1.5 plgin

(I'm shortening up the subject only because JForum is complaining that it's too long)

Looks like it might not be finding or loading the icefaces.jar for some reason. The FileEntryPhaseListener is part of icefaces-ace.jar but the EnvUtils class is in icefaces.jar.

Can you confirm that both jars are available to the running app?

Are you also able to build/deploy/run the samples/showcase/showcase-portlet example provided in the ICEfaces distribution in Liferay 6.1 to confirm that the basic enviroment is working?

If that all works then we'd need to take a closer look at how the plugins are working and what they are including during deployment.

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
 
Forum Index -> Portals & Portlets
Go to:   
Powered by JForum 2.1.7ice © JForum Team