-->
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.cfg.xml connecto to a database behind a proxy
PostPosted: Wed Oct 14, 2009 4:09 am 
Newbie

Joined: Wed Jul 29, 2009 9:25 am
Posts: 9
Hello all, I have been looking for a parameter to add to my hibernate.cfg.xml just to be able to connect to my database though a proxy, and I cant find it any where!

I can connect when the database is at localhost and everything works fine, but when I build the database in a computer out of my network, and I try to connect from a computer inside the network, It does not connect because we are behind the companie's proxy. How can i tell hibernate that I am behind a proxy?

I have tried this, but it did not work:
<property name="http.proxy.url">xxx.xxx.xxx.xxx</property>
<property name="http.proxy.port">xx</property>

Any ideas??

Thank you!


Top
 Profile  
 
 Post subject: Re: hibernate.cfg.xml connecto to a database behind a proxy
PostPosted: Wed Oct 14, 2009 5:05 am 
Newbie

Joined: Wed Jul 29, 2009 9:25 am
Posts: 9
Sorry for the question and my ignorance, I didnt know the proxy only works for web connections, and not for postgres connections. So, it must be the firewall, and not the proxy, who is blocking my connections.


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.