Hi Satish,
On 5/15/07, satish viswanatham <[EMAIL PROTECTED]> wrote:
Hi All,
Having problems getting a spring bean from IoHandleAdaptor. I am using a
custom SpringBeanFactory which implements ApplicationContextAware, so that I
can save the ApplicationContext. Calling applicationContext.getBean(name)
fails and just hangs.
I followed the example to initialize the handler, acceptor etc using spring
http://mina.apache.org/report/1.1/apidocs/org/apache/mina/integration/spring/IoAcceptorFactoryBean.html
Any clue on why this is happening? Is it possible that the new threads do
not have "sping context"?
What do you mean by 'fails and hangs'? Does it mean that it throws
an exception, or it just freezes? If it hangs, you could provide a
full thread dump.
HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6