Hi, I have a mbean that creates hibernate sessions. I can create the session from a
session bean:
SessionFactory sf = (SessionFactory)ctx.lookup("java:/hibernate/SessionFactory");
The probleam: if I try to make in a Servlet in a webapp published in one .WAR inside
of one .EAR, I receive the exception:
javax.naming.NameNotFoundException: hibernate not bound
Please, why the servlet can't locate the mbean ? It correctly appears in the JMX
Console with its name.
[]s
Ary Junior
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848225#3848225
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848225
-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user