0 Replies Latest reply on Apr 16, 2012 4:16 PM by navi ghag

    java.lang.illegalStateException : No active application context

    navi ghag Newbie



      I am building a web service using jboss 4.2.2.


      I have the following web method


      public int processRequest()


      EntityManager entMan = (EntityManager) Component.getInstance("entityManager");


      //other code






      When there is a web request for this method, it gives me an exception : No active application context.


      I am new to seam ....and i have no ideas why i am getting this excpetion.


      I would highly appreciate your help if you can guide me through this.