-->
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.  [ 1 post ] 
Author Message
 Post subject: Specifying Source IP Address/Interface
PostPosted: Tue Jan 10, 2012 11:08 am 
Newbie

Joined: Wed Sep 28, 2011 11:27 am
Posts: 3
Hi there,

I am working on a project that uses JBoss and Hibernate with a MySQL Database on a dedicated database server.

What I would like to do is to physically separate Database & http network traffic. Unfortunately both the MySQL Server and the Application Server are in the same network.
That means on the app server I have 2 Interfaces that point to the same subnet.

So now I have the problem, that when I tell Hibernate to connect to the MySQL server, the connection will work on both interfaces, and the source interface is chose randomly (I guess).
Therefore my question:
Is there any way to tell hibernate which network interface should be used as "source interface" when opening the connection to the MySQL Server?

I'm sorry if my explanation is confusing, I'm happy to clarify if necessary.

Thanks a lot


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

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.