[jboss-user] [JBoss/Spring Integration] - Re: Jndi lookup on spring factory return 'null'

alesj do-not-reply at jboss.com
Thu Feb 28 05:36:34 EST 2008


"zumbiehl" wrote : 
  | The lookup returns me a null instance of the Spring context although lookups work fine from within the JBoss container.
  | 
I think this is expected behavior.
Since we put the bean factory into non-serializable JNDI context, there are no means of pulling it out from another VM.
http://docs.jboss.org/jbossas/javadoc/4.0.2/org/jboss/naming/NonSerializableFactory.java.html

We cannot expect that all beans are serializable, plus the bean factory impl itself is not serializable in some places.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132778#4132778

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132778



More information about the jboss-user mailing list