[jboss-user] [JBoss Microcontainer] - Re: How to access MC pojo beans from a RAP app
Ales Justin
do-not-reply at jboss.com
Sat Mar 19 10:06:09 EDT 2011
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110319/c741842a/attachment-0001.html
More information about the jboss-user
mailing list