[
https://issues.apache.org/jira/browse/ORCHESTRA-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574996#action_12574996
]
Codrin Bojan commented on ORCHESTRA-15:
---------------------------------------
I got some similar error in my environment when wanting to use orchestra jar.
By similar error I mean that the first 2 lines in my stack trace were the same.
"
at
org.apache.myfaces.orchestra.conversation.ConversationManager.getInstance(ConversationManager.java:90)
at
org.apache.myfaces.orchestra.conversation.ConversationManager.getInstance(ConversationManager.java:76)
"
I managed to get rid of this error by adding to my project the 'javaee.jar'.
Into orchestra package there is a reference to
'javax.persistence.EntityManager' class that it wasn't found into my jar
libraries.
On the
http://myfaces.apache.org/orchestra/myfaces-orchestra-core/installation.html
page there are not clear enough all the needed prerequisites.
Here some of the references are a little more detailed
http://myfaces.apache.org/orchestra/myfaces-orchestra-core15/dependencies.html
I hope this would help.
> Orchestra in Portal Environment
> -------------------------------
>
> Key: ORCHESTRA-15
> URL: https://issues.apache.org/jira/browse/ORCHESTRA-15
> Project: MyFaces Orchestra
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: myfaces1.1.5, liferay portal4.3.3, orchestra-core1.0,
> tomcat 5.5
> Reporter: Rashmi
> Priority: Blocker
> Attachments: orchestraPortlet.zip, stacktrace.txt
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.