Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: How to access MC pojo beans from a RAP app"

To view the discussion, visit: http://community.jboss.org/message/594232#594232

--------------------------------------------------------------
> The runtime type of the ServletContext instance is 
> org.eclipse.equinox.http.servlet.internal.ServletContextAdaptor.So that must 
> be the cause the valid() method gives false.
Perhaps see if you can then tie this ServletContextAdaptor with MC.
e.g. putting the same Kernel and DeploymentUnit attributes in
(or at least Kernel, as that's what you need)

Then your code wouldn't need any change. :-)
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/594232#594232]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to