[jboss-user] [JBoss Portal] - Classpath error??

earniedyke do-not-reply at jboss.com
Thu Nov 1 13:50:20 EDT 2007


Greetings all,

I am trying to run a Seam 1.2.1.GA application with RichFaces 3.1.2.GA and Faceltes and I continue to receive the error below. Even though the Sun RI is supposed to be the installed JSF implementation, the Admin portlet seems to still be using MyFaces. I can find FacesContext in \jboss-web.deployer\jsf-libs\jsf-api.jar and no where else so I can't understand why this error is occurring.

Thanks in advance for any and all assistance.

Earnie!

Caused by: java.lang.LinkageError: loader constraints violated when linking javax/faces/context/FacesContext class
  | 	at com.sun.facelets.impl.DefaultResourceResolver.resolveUrl(DefaultResourceResolver.java:19)
  | 	at com.sun.facelets.impl.DefaultFaceletFactory.<init>(DefaultFaceletFactory.java:70)
  | 	at com.sun.facelets.FaceletViewHandler.createFaceletFactory(FaceletViewHandler.java:286)
  | 	at com.sun.facelets.FaceletViewHandler.initialize(FaceletViewHandler.java:197)
  | 	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:494)
  | 	at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
  | 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
  | 	at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:397)
  | 	at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:377)
  | 	at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:474)
  | 	at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:323)
  | 	at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
  | 	at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
  | 	at org.jboss.portal.faces.loader.FacesPortlet.render(FacesPortlet.java:100)
  | 	at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
  | 	at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
  | 	at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
  | 	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | 	at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(TransactionInterceptor.java:106)
  | 	at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
  | 	at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | 	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | 	at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
  | 	at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | 	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | 	at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
  | 	at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeRequired(TransactionInterceptor.java)
  | 	at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
  | 	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | 	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 	at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
  | 	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | 	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 	at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58)
  | 	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | 	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 	at org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51)
  | 	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | 	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 	at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62)
  | 	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
  | 	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
  | 

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

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



More information about the jboss-user mailing list