_session_factory = (SessionFactory)
ctx.lookup("java:/hibernate/GGGoMobileSessionFactory");
|
Is this lookup code in the same JVM as the JBoss AS? Or is it being looked up from some
standalone client? And also please post the entire console logs (not server.log) and the
entire exception stacktrace which will give us an idea as to what is going on.
And does the JNDIView show that the session factory is bound under that name
http://www.jboss.org/community/wiki/DisplayTheJDNITreeWithTheJMXConsole
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255639#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...