Uploaded image for project: 'MyFaces Orchestra'
  1. MyFaces Orchestra
  2. ORCHESTRA-15

Orchestra in Portal Environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.0
    • 1.4
    • None
    • None
    • myfaces1.1.5, liferay portal4.3.3, orchestra-core1.0, tomcat 5.5

    Description

      In the portlet environment ConversationManager is not getting initialized. The FrameworkAdapter.getCurrentInstance() is as well NULL.
      The part of the exception is as follows:
      Caused by: java.lang.NullPointerException
      at org.apache.myfaces.orchestra.conversation.ConversationManager.getInstance(ConversationManager.java:90)
      at org.apache.myfaces.orchestra.conversation.ConversationManager.getInstance(ConversationManager.java:76)
      at org.apache.myfaces.orchestra.conversation.spring.AbstractSpringOrchestraScope.getBean(AbstractSpringOrchestraScope.java:125)
      at org.apache.myfaces.orchestra.conversation.spring.AbstractSpringOrchestraScope.get(AbstractSpringOrchestraScope.java:117)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:285)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
      at org.springframework.aop.target.SimpleBeanTargetSource.getTarget(SimpleBeanTargetSource.java:33)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.getTarget(Cglib2AopProxy.java:661)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:611)
      at de.seat.mitarbeiterinfo.view.mitarbeiterlist$$EnhancerByCGLIB$$4f90561b.getMitarbeiterListModel(<generated>)
      ... 125 more

      The filter is not working as expected in Portlet environment but works perfetly well in norman Servlet container.

      Can myfaces-portlet-bridge be used in someway to configure the filter to run in portlet environment?

      Thanks and Regards,
      Rashmi

      Attachments

        1. stacktrace.txt
          233 kB
          Rashmi
        2. ORCHESTRA-Portlet-2.patch
          61 kB
          Leonardo Uribe
        3. orchestraPortlet.zip
          1.53 MB
          Rashmi

        Activity

          People

            lu4242 Leonardo Uribe
            rashmii Rashmi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: