navi ghag [
https://community.jboss.org/people/navighag] created the discussion
"java.lang.illegalStateException : No active application context"
To view the discussion, visit:
https://community.jboss.org/message/730404#730404
--------------------------------------------------------------
Hi
I am building a web service using jboss 4.2.2.
I have the following web method
@WebMethod
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.
thanks
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/730404#730404]
Start a new discussion in JBoss Web Services Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]