[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: hibernate SessionFactory lookup return null

2008-01-10 Thread goodidea
One very important addition. On serverside InitialContext ctx=new InitialContext(); | Object obj=ctx.lookup("java:/hibernate/SessionFactory"); this code works fine! Issue on client side when I am trying to use it from my swing application. So in order to be more precise client side can not us

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - hibernate SessionFactory lookup return null

2008-01-09 Thread goodidea
My hibernate-service.xml | | | jboss:service=Naming | jboss:service=TransactionManager | java:/reqDS | org.hibernate.dialect.MySQL5InnoDBDialect | true | hibernate/SessionFactory | | | req.har successfully loaded. In my swing client I am trying to lookup "SessionFactor