0 Replies Latest reply on Aug 18, 2008 11:10 PM by Miloslav Vlach

    PersistenceManager is null

    Miloslav Vlach Novice

      I have a POJO component named WorkflowProcessor. This bean is initialized in components.xml and when this component is created I not get entityManager instance. Know somebody why ?

      In components.xml
      <component name="workflowProcessor" class="WorkflowProcessorImpl">
              <property name="workflowComponentNames">

      In  WorkflowProcessorImpl.java

              EntityManager entityManager;

      I have to say that in other class previous code works good.

      I think there is problem with hot deploy, because if I have this class in /action (hot deplyable directory) the classloader couldn't found this class. Now, I have moved this class to the /model directory.

      Know somebody where is problem ?

      Thanks Mila