-->
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.  [ 3 posts ] 
Author Message
 Post subject: how to share session factory among several ears
PostPosted: Mon Sep 10, 2007 3:36 am 
Beginner
Beginner

Joined: Sat Jan 14, 2006 10:05 am
Posts: 22
Location: spb.ru
Hi, all

What about subj?

I tried to bind SF by one applicaton and locate it from other ear. But it's unavailing way. Because of SessionFactoryObjectFactory.INSTANCES which used as singleton container for SFs (and implements JNDI bnding, in fact). I can't use this singleton beacuse hibernate.jar is putted into every ear, not into appserver libs.

Is such sharing usefull? possible? how to achieve it in weblogic?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 10, 2007 9:35 am 
Newbie

Joined: Fri Sep 07, 2007 4:16 am
Posts: 16
DEFINE IT AS JNDI BOUND SESSIONFACTORY

RATE ME


Top
 Profile  
 
 Post subject: Re: how to share session factory among several ears
PostPosted: Mon Sep 10, 2007 10:51 am 
Newbie

Joined: Wed Mar 14, 2007 12:08 pm
Posts: 3
expp wrote:
I can't use this singleton beacuse hibernate.jar is putted into every ear, not into appserver libs.

Is such sharing usefull? possible? how to achieve it in weblogic?

if this is WLS only then have you looked at using the APP-INF dir?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.