1 Reply Latest reply on May 27, 2008 9:47 AM by pascal cousson

    how can we redirect from a portlet to a servlet ?

    pascal cousson Newbie

      hello,

      i am working on :
      - sdk 6,
      - seam 2.0.0 GA
      - Jboss portal 2.6.

      I am trying to redirect from a portlet to a servlet view :

      portlet controler :


      @Name("testControler4Buy")
      @Scope(ScopeType.SESSION)
      public class TestControler4Buy {

      private String amount = "200";
      private String devise = "euro";

      private PaiementController payCtrl = null;

      public String getAmount() {
      return amount;
      }
      public void setAmount(String amount) {
      this.amount = amount;
      }
      public String getDevise() {
      return devise;
      }
      public void setDevise(String devise) {
      this.devise = devise;
      }

      public PaiementController getPayCtrl() {
      if (this.payCtrl == null) {
      this.payCtrl = new PaiementController();
      }
      return this.payCtrl;
      }

      }




      public class PaiementController {


      public void goToPaiementView() {

      FacesContext facesContext = FacesContext.getCurrentInstance();
      ExternalContext externalContext = facesContext.getExternalContext();


      try {
      String contextPath = externalContext.getRequestContextPath();
      String actionurl = externalContext.encodeActionURL("http://localhost:8080/domaine/servlet/RequestServlet");
      externalContext.redirect(actionurl);
      } catch(Exception e) {
      e.printStackTrace();
      }
      }
      }



      Portlet View :

      <?xml version="1.0" encoding="utf-8"?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:s="http://jboss.com/products/seam/taglib"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
      <head>
      <title>Hello World</title>
      </head>
      <body>
      <h:form>
      <h:inputText value="#{testControler4Buy.amount}"/>
      <h:inputText value="#{testControler4Buy.devise}"/>
      <h:commandButton action="#{testControler4Buy.payCtrl.goToPaiementView}" value="paiement"/>
      <h:outputLink value="http://localhost:8080/smalltox/servlet/RequestServlet">
      <h:outputText value="paiment"/>
      </h:outputLink>
      </h:form>
      </body>
      </html>



      The Target Servlet :



      public class RequestServlet extends HttpServlet {

      public void service (HttpServletRequest request,
      HttpServletResponse response) throws ServletException, IOException{

      try{

      PrintWriter out;
      response.setContentType("text/html");
      out = response.getWriter();

      out.println ("<HTML><HEAD><TITLE>SHERLOCKS - Paiement Securise sur Internet</TITLE></HEAD>");
      out.println ("<BODY bgcolor=#ffffff>");
      out.println ("<Font color=#000000>");
      out.println ("<center><H1>Test de l'API JAVA SHERLOCKS</H1></center><br><br>");

      /* Initialisation du chemin du fichier pathfile (Ã modifier)
      ex :
      -> Windows : SIPSApiWeb api = new SIPSApiWeb("c:\\repertoire\\pathfile");
      -> Unix : SIPSApiWeb api = new SIPSApiWeb("/home/repertoire/pathfile");
      */
      SIPSApiWeb api = new SIPSApiWeb("C:\\working\\sherlocks\\test\\param\\pathfile");


      /* Initialisation de l'objet d'appel */
      SIPSDataObject call = (SIPSDataObject) new SIPSCallParm();

      // Paramètres obligatoires
      // ex : merchant_id = 014295303911111
      call.setValue("merchant_id","014295303911111");

      // ex : merchant_country = fr
      call.setValue("merchant_country","fr");

      // Affectation du montant de la transaction dans la plus petite unité
      // monétaire du pays
      // ex : 123,00 Euros ==> 12300 (currency_code = 978)
      call.setValue("amount","12300");

      // Affectation du code monétaire ISO 4217 pour la transaction
      // ex : Euro ==> 978
      call.setValue("currency_code","978");

      // Affectation d'un numéro identifiant pour la transaction
      // Attention aux reserves sur l'affectation automatique
      // cf Guide du developpeur
      // call.setValue("transaction_id","123456");

      // Valorisation des autres données de la transaction
      // facultatives, à compléter au besoin
      // Les valeurs proposées ne sont que des exemples
      // Les champs et leur utilisation sont expliqués dans le Dictionnaire des données
      //
      // call.setValue("normal_return_url","http://www.maboutique.fr/servlet/ResponseServlet");
      // call.setValue("cancel_return_url","http://www.maboutique.fr/servlet/ResponseServlet");
      // call.setValue("automatic_response_url","http://www.maboutique.fr/servlet/AutoResponseServlet");
      // call.setValue("language","fr");
      // call.setValue("payment_means","CB,2,VISA,2,MASTERCARD,2");
      // call.setValue("header_flag","no");
      // call.setValue("capture_day","");
      // call.setValue("capture_mode","");
      // call.setValue("bgcolor","");
      // call.setValue("block_align","");
      // call.setValue("block_order","");
      // call.setValue("textcolor","");
      // call.setValue("receipt_complement","");
      // call.setValue("caddie","mon caddie");
      // call.setValue("customer_id","");
      // call.setValue("customer_email","");
      // call.setValue("data","");
      // call.setValue("return_context","");
      // call.setValue("target","");
      // call.setValue("order_id","");


      // Les valeurs suivantes ne sont utilisables qu'en pré-production
      // Elles nécessitent l'installation de vos logos et templates sur
      // le serveur de paiement
      //
      // call.setValue("normal_return_logo","");
      // call.setValue("cancel_return_logo","");
      // call.setValue("submit_logo","");
      // call.setValue("logo_id","");
      // call.setValue("logo_id2","");
      // call.setValue("advert","");
      // call.setValue("background_id","");
      // call.setValue("templatefile","mon_template");


      // Insertion de la commande dans votre base de données
      // avec le status "en cours"
      // ...

      // Appel de l'api SIPS payment

      /* test */
      String test = api.sipsPaymentCallFunc(call);
      /* test */
      out.println(test /*api.sipsPaymentCallFunc(call)*/);

      out.println ("<BR><BR>");
      out.println ("</BODY>");
      out.println ("</HTML>");

      out.close();

      }

      catch(Exception e){

      PrintWriter out;
      response.setContentType("text/html");
      out = response.getWriter();

      out.println ("<CENTER>");
      out.println ("<BR>");
      out.println("Error = "+e);
      out.println ("</CENTER>");
      out.println ("</BODY>");
      out.println ("</HTML>");

      out.close();
      }
      }
      }


      When i try to redirect from the portlet controler to the servlet, an exception is throwed :



      java.lang.IllegalStateException: sendRedirect cannot be called after setPortletMode/setWindowState/setRenderParameter/setRenderParameters has been called previously
      16:23:46,429 ERROR [STDERR] at org.jboss.portal.portlet.impl.jsr168.api.ActionResponseImpl.sendRedirect(ActionResponseImpl.java:153)
      16:23:46,430 ERROR [STDERR] at org.jboss.portal.portlet.impl.jsr168.api.ActionResponseImpl.sendRedirect(ActionResponseImpl.java:130)
      16:23:46,431 ERROR [STDERR] at org.jboss.portletbridge.context.PortletExternalContextImpl.redirect(PortletExternalContextImpl.java:358)
      16:23:46,432 ERROR [STDERR] at com.smalltox.business.paiement.PaiementController.goToPaiementView(PaiementController.java:72)
      16:23:46,433 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      16:23:46,434 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      16:23:46,435 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      16:23:46,435 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      16:23:46,436 ERROR [STDERR] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:328)
      16:23:46,437 ERROR [STDERR] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:341)
      16:23:46,438 ERROR [STDERR] at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
      16:23:46,439 ERROR [STDERR] at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
      16:23:46,440 ERROR [STDERR] at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
      16:23:46,441 ERROR [STDERR] at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
      16:23:46,442 ERROR [STDERR] at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
      16:23:46,443 ERROR [STDERR] at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
      16:23:46,444 ERROR [STDERR] at javax.faces.component.UICommand.broadcast(UICommand.java:383)
      16:23:46,444 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:316)
      16:23:46,445 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:291)
      16:23:46,446 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:248)
      16:23:46,447 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:461)
      16:23:46,448 ERROR [STDERR] at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
      16:23:46,449 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      16:23:46,449 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      16:23:46,450 ERROR [STDERR] at org.jboss.portletbridge.AbstractAjaxBridge.execute(AbstractAjaxBridge.java:133)
      16:23:46,451 ERROR [STDERR] at org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:160)
      16:23:46,452 ERROR [STDERR] at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:273)
      16:23:46,453 ERROR [STDERR] at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeAction(PortletContainerImpl.java:458)
      16:23:46,454 ERROR [STDERR] at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:401)
      16:23:46,455 ERROR [STDERR] at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
      16:23:46,456 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
      16:23:46,458 ERROR [STDERR] at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:86)
      16:23:46,459 ERROR [STDERR] at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
      16:23:46,462 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
      16:23:46,463 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)
      16:23:46,464 ERROR [STDERR] at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
      16:23:46,465 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
      16:23:46,466 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
      16:23:46,467 ERROR [STDERR] at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
      16:23:46,469 ERROR [STDERR] at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
      16:23:46,470 ERROR [STDERR] at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
      16:23:46,471 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,472 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,473 ERROR [STDERR] at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
      16:23:46,474 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,475 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,476 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:53)
      16:23:46,477 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,478 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,479 ERROR [STDERR] at org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51)
      16:23:46,479 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,480 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,481 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62)
      16:23:46,482 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,483 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,484 ERROR [STDERR] at org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:47)
      16:23:46,486 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,487 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,488 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
      16:23:46,489 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,490 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,491 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:80)
      16:23:46,492 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,493 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,494 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:46)
      16:23:46,495 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,496 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,497 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:104)
      16:23:46,498 ERROR [STDERR] at org.jboss.portal.web.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:74)
      16:23:46,498 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor420.invoke(Unknown Source)
      16:23:46,499 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      16:23:46,500 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      16:23:46,501 ERROR [STDERR] at org.jboss.portal.web.command.CommandServlet.doGet(CommandServlet.java:131)
      16:23:46,502 ERROR [STDERR] at org.jboss.portal.web.command.CommandServlet.doPost(CommandServlet.java:162)
      16:23:46,503 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      16:23:46,503 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      16:23:46,504 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      16:23:46,505 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      16:23:46,506 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
      16:23:46,507 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
      16:23:46,508 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
      16:23:46,509 ERROR [STDERR] at org.jboss.portal.web.command.CommandServlet.include(CommandServlet.java:80)
      16:23:46,510 ERROR [STDERR] at org.jboss.portal.web.command.CommandDispatcher.include(CommandDispatcher.java:50)
      16:23:46,511 ERROR [STDERR] at org.jboss.portal.web.jboss.JBossWebContext.include(JBossWebContext.java:66)
      16:23:46,512 ERROR [STDERR] at org.jboss.portal.web.ServletContainer.include(ServletContainer.java:182)
      16:23:46,513 ERROR [STDERR] at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.dispatch(AbstractRequestContext.java:81)
      16:23:46,514 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:76)
      16:23:46,515 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,516 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,517 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:68)
      16:23:46,518 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,518 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,519 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:60)
      16:23:46,520 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,521 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,522 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
      16:23:46,523 ERROR [STDERR] at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:198)
      16:23:46,524 ERROR [STDERR] at org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:233)
      16:23:46,525 ERROR [STDERR] at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortletInvoker$invoke$aop(ProducerPortletInvoker.java:53)
      16:23:46,537 ERROR [STDERR] at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
      16:23:46,539 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      16:23:46,540 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
      16:23:46,541 ERROR [STDERR] at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
      16:23:46,542 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      16:23:46,543 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
      16:23:46,544 ERROR [STDERR] at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
      16:23:46,545 ERROR [STDERR] at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java)
      16:23:46,546 ERROR [STDERR] at org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:147)
      16:23:46,547 ERROR [STDERR] at org.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:150)
      16:23:46,548 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$1.invoke(InstanceContainerImpl.java:99)
      16:23:46,549 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
      16:23:46,550 ERROR [STDERR] at org.jboss.portal.portlet.management.PortletContainerManagementInterceptorImpl.invoke(PortletContainerManagementInterceptorImpl.java:58)
      16:23:46,551 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,552 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,553 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:116)
      16:23:46,554 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,555 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,556 ERROR [STDERR] at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:91)
      16:23:46,557 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,558 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,559 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:175)
      16:23:46,560 ERROR [STDERR] at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
      16:23:46,561 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,562 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
      16:23:46,563 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.org$jboss$portal$core$impl$model$instance$InstanceContainerImpl$invoke$aop(InstanceContainerImpl.java:427)
      16:23:46,564 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
      16:23:46,565 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      16:23:46,566 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
      16:23:46,567 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
      16:23:46,568 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      16:23:46,569 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
      16:23:46,570 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
      16:23:46,571 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.invoke(InstanceContainerImpl.java)
      16:23:46,573 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.AbstractInstance.invoke(AbstractInstance.java:231)
      16:23:46,574 ERROR [STDERR] at org.jboss.portal.core.model.portal.command.action.InvokePortletWindowActionCommand.execute(InvokePortletWindowActionCommand.java:174)
      16:23:46,575 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
      16:23:46,576 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
      16:23:46,577 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:123)
      16:23:46,578 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      16:23:46,579 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,579 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
      16:23:46,580 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      16:23:46,581 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,582 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:133)
      16:23:46,583 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      16:23:46,584 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,586 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
      16:23:46,587 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      16:23:46,588 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,589 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
      16:23:46,590 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      16:23:46,591 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,593 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
      16:23:46,594 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      16:23:46,595 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,596 ERROR [STDERR] at org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:56)
      16:23:46,597 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      16:23:46,598 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,599 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
      16:23:46,601 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
      16:23:46,602 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,603 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
      16:23:46,604 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
      16:23:46,605 ERROR [STDERR] at org.jboss.portal.core.controller.Controller.processCommand(Controller.java:235)
      16:23:46,607 ERROR [STDERR] at org.jboss.portal.core.controller.Controller.handle(Controller.java:217)
      16:23:46,608 ERROR [STDERR] at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
      16:23:46,609 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
      16:23:46,610 ERROR [STDERR] at org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
      16:23:46,611 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      16:23:46,612 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,613 ERROR [STDERR] at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
      16:23:46,614 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      16:23:46,615 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,617 ERROR [STDERR] at org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
      16:23:46,618 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      16:23:46,619 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,620 ERROR [STDERR] at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)
      16:23:46,621 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      16:23:46,622 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,623 ERROR [STDERR] at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:246)
      16:23:46,624 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      16:23:46,625 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,626 ERROR [STDERR] at org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98)
      16:23:46,627 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      16:23:46,628 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,629 ERROR [STDERR] at org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
      16:23:46,630 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      16:23:46,631 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,632 ERROR [STDERR] at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
      16:23:46,633 ERROR [STDERR] at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
      16:23:46,635 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
      16:23:46,636 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)
      16:23:46,637 ERROR [STDERR] at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
      16:23:46,639 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
      16:23:46,640 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
      16:23:46,641 ERROR [STDERR] at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
      16:23:46,642 ERROR [STDERR] at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
      16:23:46,643 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      16:23:46,645 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,646 ERROR [STDERR] at org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69)
      16:23:46,646 ERROR [STDERR] at org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130)
      16:23:46,647 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
      16:23:46,648 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
      16:23:46,649 ERROR [STDERR] at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:250)
      16:23:46,650 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      16:23:46,651 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      16:23:46,652 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      16:23:46,653 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      16:23:46,654 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      16:23:46,655 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      16:23:46,656 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      16:23:46,657 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      16:23:46,659 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      16:23:46,660 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
      16:23:46,661 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      16:23:46,661 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      16:23:46,662 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      16:23:46,664 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      16:23:46,665 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      16:23:46,665 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      16:23:46,666 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      16:23:46,667 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      16:23:46,668 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      16:23:46,670 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)



      thanks.