[jboss-user] [JBoss Tools (users)] - Re: Error Creating Seam Portlet

mottfried do-not-reply at jboss.com
Thu Jan 22 08:11:09 EST 2009


And again its not working, i dont know why.

Todays morning i started my machine - created a new JBoss Seam Portlet Project 2.0, used portletbridge-1.0.0.B5 and jboss-seam-2.0.2.SP1/jboss-seam-2.0.3.CR1. Created my Seam Portlet, deployed to JBoss Portal 2.7.1/JBoss Portal 2.7.0


  | 13:55:42,390 ERROR [InternalPortletContentProvider] Portlet invoker exception during portlet window rendering
  | org.jboss.portal.portlet.PortletInvokerException: javax.servlet.ServletException
  | 	at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:101)
  | 	at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | 	at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
  | 	at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | 	at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:75)
  | 	at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | 	at org.jboss.portal.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:116)
  | 	at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | 	at org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:221)
  | 	at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortletInvoker$invoke$aop(ProducerPortletInvoker.java:53)
  | 	at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
  | 	at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | 
  | ....
  | 
  | Caused by: javax.servlet.ServletException
  | 	at org.jboss.portal.web.command.CommandServlet.include(CommandServlet.java:97)
  | 	at org.jboss.portal.web.command.CommandDispatcher.include(CommandDispatcher.java:50)
  | 	at org.jboss.portal.web.jboss.JBossWebContext.include(JBossWebContext.java:66)
  | 	at org.jboss.portal.web.impl.DefaultServletContainer.include(DefaultServletContainer.java:190)
  | 	at org.jboss.portal.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69)
  | 	at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77)
  | 	... 171 more
  | Caused by: java.lang.NoSuchMethodError: org.jboss.portletbridge.component.UIPortletViewRoot.processPhaseListeners(Ljavax/faces/context/FacesContext;Ljavax/faces/event/PhaseId;Z)V
  | 	at org.jboss.portletbridge.component.UIPortletViewRoot.encodeBegin(UIPortletViewRoot.java:51)
  | 	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:934)
  | 	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
  | 	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
  | 	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
  | 	at org.jboss.portletbridge.lifecycle.RenderResponsePhase.executePhase(RenderResponsePhase.java:58)
  | ....
  | 

When i replace the provided Seam libs with:

  | * jsf-facelets-1.1.14.jar
  | * richfaces-api-3.3.0.GA.jar
  | * richfaces-impl-3.3.0.GA.jar
  | * richfaces-ui-3.3.0.GA.jar
  | * commons-digester-1.8.1.jar
  | * commons-beanutils-1.8.0.jar
  | 
it's working.

It would be a very good documentation hint if you add all needed libs and its versions for JBoss Tools and JBoss Portal. I would help you here but iam a real newbie to JBoss and its tools.

Then i found a little bug, sometimes when undeploying a project it is not deleted in the jboss workspace directory .metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_Application_Server_4.2_-_jboss-portal-2.7.1\deploy

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

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



More information about the jboss-user mailing list