[jboss-user] [JNDI/Naming/Network] - Re: jboss4.2.2 HIBERNATE JNDI

2008-06-26 Thread paul_lmc
THANK YOU ! BUT I MODIFY APPLICATION LIKE THIS THE NEW EXCEPTION THROW LIKE THIS: public class HibernateBase { private static SessionFactory sf = null; public Session session = null; public void Begin(){ //在这里可以根据配置文件来使用,如果

[jboss-user] [JNDI/Naming/Network] - Re: jboss4.2.2 HIBERNATE JNDI

2008-06-26 Thread paul_lmc
ANYONE CAN HELP ME TO SOLVE THE QUESTION ? THANK YOU VERY MUCH! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160888#4160888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160888 __

[jboss-user] [JNDI/Naming/Network] - Re: jboss4.2.2 HIBERNATE JNDI

2008-06-26 Thread paul_lmc
WHTN THE WEB APPLICATION RUN THROW EXCEPTION LIKE THIS: 21:59:08,512 INFO [TomcatDeployer] deploy, ctxPath=/ejb3web, warUrl=.../deploy/ejb3web.war/ 21:59:09,113 INFO [STDOUT] 21:59:09,113 INFO [Environment] Hibernate 3.1.3 21:59:09,123 INFO [STDOUT] 21:59:09,123 INFO [Environment] hibernate

[jboss-user] [JNDI/Naming/Network] - Re: jboss4.2.2 HIBERNATE JNDI

2008-06-26 Thread paul_lmc
public class HibernateUtil { public static SessionFactory sf = null; public void Init(){ if(sf == null){ sf = new Configuration().configure().buildSessionFactory(); } } } public class StartUpServlet extends HttpServ

[jboss-user] [JNDI/Naming/Network] - Re: jboss4.2.2 HIBERNATE JNDI

2008-06-24 Thread jaikiran
What jar files are you including in your application? Do you have any jta related jar files in the application package? If yes, then remove those any try using your application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160173#4160173 Reply to the post