[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Disable JDBC from using DNS

tower23 do-not-reply at jboss.com
Tue Oct 17 12:54:24 EDT 2006

I am using a local Jboss and Oracle instance on an AIX box to run my application. I have configured my /etc/hosts file for localhost and loopback.  

I have also edited the /etc/netsvc.conf file to ensure it uses the local host file before looking at the DNS server:

hosts = local , bind , nis=auth

Lastly, I have verified all the configuration XML files in Jboss have DNS lookup disabled but whenever the primary DNS server goes down, the performance of my application degrades drastically.  The only thing I can think of is that teh JDBC is still trying to go through the DNS.  

Can you disable DNS completely in Jboss or add a secondary DNS?

Thanks in advance,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978841#3978841

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978841

More information about the jboss-user mailing list