ICEFaces 1.8.2 compatible with IBM Websphere Application Server 8?
Product Logos BridgeIt Services Banner
ICEFaces 1.8.2 compatible with IBM Websphere Application Server 8?  XML
Forum Index -> General Help
Author Message
Brausepaul

Joined: 13/Mar/2010 00:00:00
Messages: 6
Offline


Hi,

We have such an application with ICEFaces 1.8 and want to deploy it to WAS 8. During application startup we get a warning about JSF 2.0 and the application throws an linkage error regarding a JSP-EL class. JSF 1.2 JARs are placed in the application's lib folder and the app's classloader is set to PARENT_LAST.

So far we found that ICEFaces does a strange check for the mere existence of a JSF 2.0 class. Since JSF 2.0 libs exist in the server's own lib folder the warning mentioned above is shown.

1) Is ICEFaces 1.8.2 compatible with WAS 8?
2) Is the warning regarding JSF 2.0 the cause for the linkage error?
san.icefaces

Joined: 12/Oct/2011 16:53:08
Messages: 1
Offline


Hi,

I am also facing some issues with the same environment. Even though, I am using JSF1.2 in the project, icefaces still detects 2.0 and it fails here.
java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2

Please let me know if you find any solution.

Thank you in advance.

FYI: Here is the stacktrace.

Code:
 
 [1/6/12 16:28:05:263 EST] 00000160 AssociatedPag I com.icesoft.faces.webapp.http.portlet.page.AssociatedPageViewsImpl getImplementation using com.icesoft.faces.webapp.http.portlet.page.NoOpAssociatedPageViews
 [1/6/12 16:28:05:279 EST] 00000160 EnvironmentAd I com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet <init> Adapting to Thread Blocking environment
 [1/6/12 16:28:05:294 EST] 00000160 View          E com.icesoft.faces.context.View servePage Problem encountered during View.servePage 
                                  java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2
 	at java.lang.Class.forNameImpl(Native Method)
 	at java.lang.Class.forName(Class.java:132)
 	at com.icesoft.faces.context.View$2.serve(View.java:68)
 	at com.icesoft.faces.context.View.servePage(View.java:149)
 	at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:67)
 	at com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:11)
 	at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:149)
 	at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
 	at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
 	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
 	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:131)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1147)
 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:722)
 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:449)
 	at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
 	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1020)
 	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3703)
 	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
 	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:953)
 	at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1655)
 	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
 	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
 	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
 	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
 	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
 	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
 	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
 	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
 	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
 	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1650)
 
 [1/6/12 16:28:05:294 EST] 00000160 servlet       E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception root cause Persistent Faces Servlet: javax.servlet.ServletException: java.lang.Exception: java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2
 	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:158)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1147)
 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:722)
 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:449)
 	at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
 	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1020)
 	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3703)
 	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
 	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:953)
 	at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1655)
 	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
 	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
 	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
 	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
 	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
 	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
 	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
 	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
 	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
 	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1650)
 Caused by: java.lang.Exception: java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2
 	at com.icesoft.faces.context.View.servePage(View.java:152)
 	at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:67)
 	at com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:11)
 	at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:149)
 	at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
 	at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
 	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
 	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
 	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:131)
 	... 25 more
 Caused by: java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2
 	at java.lang.Class.forNameImpl(Native Method)
 	at java.lang.Class.forName(Class.java:132)
 	at com.icesoft.faces.context.View$2.serve(View.java:68)
 	at com.icesoft.faces.context.View.servePage(View.java:149)
 	... 34 more
 
Brausepaul

Joined: 13/Mar/2010 00:00:00
Messages: 6
Offline


It seems like removing all JSF-related JARs from the web application and relying on Websphere's bundled JARs will do the trick.
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team