Jul 30th, 2007, 10:42 AM
Getting Null Objects in MDB
We are using Websphere 6.1 and we have some message driven beans that are part of the EAR. In our MDB, we have a method that grabs the bean from our application context and processes the message. For some reason, this is now starting to return null objects. We can't seem to figure out why the beanfactory would return null beans, as it has previously worked fine.
We speculated that the MDB might be receiving a message and accessing the beanfactory before the appcontext isfinished loading, but it happens well after the app has started up, so the app context should be there and loaded.
Any thoughts, or if more info is needed, I can post it. Thanks.