I have an issue where sometimes when I start my application, it works as planned, but other times I have an issue with the EntityManager showing up as null. This only seems to resolve itself by shutting down and restarting JBoss AS, some times multiple times before it works right.
I don't think it's anything in the code, at this point it's one click to get to the page.
Are there known issues of this happening with JBoss 5? Is there anything I can do to prevent this? Could I have lingering conversations that are causing this? I'm rather at a loss to understand why it's doing this.
It looks like it was my fault. I was shutting down JBoss AS via the
Terminate button instead of the
shutdown at the top. Using shutdown has cut down on the problems pretty significantly.