Hi all,

IÃÂm using JBoss 3.2.3 with Hibernate 2.0.2, Oracle 8.1.7.

I created a .sar that contains the beans and the jboss-service.xml.
I put this .sar into ../default/deploy and the arq.war too.

But when I start the jBoss the following exception occurs:

javax.naming.NameNotFoundException: hibernate not bound.

When I go to the jmx-console to verify the jndi, the jndiName
is java:/hibernate/HibernateFactory.

IÃÂm using HibernatePlugin.java to get the SessionFactory:


  | InitialContext ctx = new InitialContext(); 
  | this.factory = (SessionFactory)ctx.lookup("java:/hibernate/HibernateFactory"); 
  | 
  | 

but this code returns the exception above.

What is the error?

thank you very much

[]ÃÂs

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to