[jboss-user] [JBoss Seam] - Re: Developing with Seam 2 and deploying on WebSphere

Techieexchange do-not-reply at jboss.com
Fri Jan 4 06:05:23 EST 2008


Hi,

"pete.muir at jboss.org" wrote : Yes, Websphere comes with JSF 1.1, not 1.2.
  | 
  | Did you follow the instructions for deploying to websphere discussed in the jpa/hibernate2 examples?

I tried to deploy JPA example (target:Websphere) build and deployed on WAS 6.1 express. I just did exactly how it was guided in read-me file of JPA example.
First i got:
 


  | java.lang.ClassCastException:
  | org.jboss.seam.jsf.SeamApplication11 incompatible with com.sun.faces.application.ApplicationImpl at com.ibm.ws.jsf.configuration.FacesConfigParser.createFacesFactories
  | (FacesConfigParser.java:1019)
  | at com.ibm.ws.jsf.configuration.FacesConfigParser.initializeConfiguration FacesConfigParser.java:354)
  | at com.ibm.ws.jsf.util.FacesConfigUtil._parseJSFConfiguration (FacesConfigUtil.java:128)
  | 

then I installed latest fix pack, as recommended here:
http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg1PK47367

Again i re-deployed the same JPA example and now i'm getting:


  | [04.01.08 11:46:46:281 CET] 00000021 ExceptionFilt E org.jboss.seam.log.JDKProvider error exception root cause
  | [04.01.08 11:46:46:281 CET] 00000021 WebApp        E   [Servlet Error]-[Faces Servlet]: java.lang.NoSuchMethodError: org/jboss/seam/ui/component/UISeamCommandBase.getValueExpression(Ljava/lang/String;)Ljavax/el/ValueExpression;
  | 	at org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:86)
  | 	at org.jboss.seam.ui.renderkit.LinkRendererBase.doEncodeBegin(LinkRendererBase.java:26)
  | 	at org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79)
  | 	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:717)
  | 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
  | 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | 	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:594)
  | 	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
  | 	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
  | 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
  | 	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
  | 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
  | 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
  | 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
  | 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
  | 	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
  | 	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | 	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | 	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
  | 	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
  | 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
  | 	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
  | 	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
  | 	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
  | 	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
  | 	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
  | 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
  | 	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
  | 	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
  | 	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
  | 	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
  | 	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
  | 	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
  | 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
  | 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
  | 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
  | 	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:136)
  | 	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
  | 	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
  | 	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
  | 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
  | 

I know there was some JAR incompatibility but how can i find it?

If you say WAS has only JSF 1.1, then how could JPA example worked for you.

Eventhough i tried all tricks by replacing IBM JSF libs / el-api, impl jars etc., but no success yet.

My customers are very impressed on Seam so i have to run atleast a live Seam example as "Proof of Technology".

Please help me.

Thanks 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116986#4116986

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116986



More information about the jboss-user mailing list