-->
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: hibernate configuration question (proxool.xml)
PostPosted: Wed Sep 17, 2003 12:16 pm 
Beginner
Beginner

Joined: Tue Sep 02, 2003 12:15 pm
Posts: 33
I use the
<property name="proxool.xml">path/to/some.proxool.ds.xml</property>
This works fine when I manually run my junit tests on my dao's and such, but when I deploy to jboss, it can't seem to find my proxool config file. I've tried may different ways to give it the path, but no luck. How exactly does hibernate lookup the proxool xml file? I have put it in the filesystem as well as in my jar file. Do I need to add a reference in the descriptor for the jar or something?

Thanks in advance

Nic


Top
 Profile  
 
 Post subject: Found a good solution
PostPosted: Tue Sep 23, 2003 1:19 pm 
Beginner
Beginner

Joined: Tue Sep 02, 2003 12:15 pm
Posts: 33
I just keep my existing proxool pools as they are and added these lines to my hibernate xml file.

<property name="proxool.existing_pool">true</property>
<property name="proxool.pool_alias">NameOfDS</property>

Works great and I can leave my original proxool config files alone.


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.