-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: obtaining sessionfactory from a different VM
PostPosted: Thu Feb 23, 2006 5:40 am 
Newbie

Joined: Wed Oct 06, 2004 4:15 am
Posts: 16
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:
3.1

Hi All,

Is it possible to obtain a SessionFactory from a different VM that the one the sessionFactory was created?.

We're running JBoss4 and exporting the SessionFactory to the JNDI tree. If we try to obtain the sessionfactory reference from WITHIN the container, this works OK, but when we try to obtain the given reference from outside the container, we obtain a null reference (we can see the reference key, but the reference value is null).

Any hints or guidelines?

TIA,

Carlos


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 23, 2006 7:44 am 
Newbie

Joined: Thu Feb 02, 2006 10:42 am
Posts: 5
Location: Slovenia
I'm having the same problem.

Were you able to solve the problem or find any workarrounds?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.