-
1. Re: JVM or JBoss cache of DNS? trying to configure mysql-ds.
peterj Jun 24, 2008 6:26 PM (in response to stevejb)Not sure if this will work, but stop JBossAS and delete the server/xxx/data, server/xxx/tmp and server/xxx/work directories and restart JBossAS.
If the problem still persists, then the old IP address is not being cached by JBossAS, in which case either the JVM or the operating system is caching the name. Given that you can ping correctly (I assume you did the ping from the same machine running JBossAS), you can probably rule out the OS, which leaves you with the JVM as the culprit.
Let me know how it goes. -
2. Re: JVM or JBoss cache of DNS? trying to configure mysql-ds.
stevejb Jun 24, 2008 7:23 PM (in response to stevejb)Thanks for the response Peter. I tried doing what you said, and we are still getting the same error. Therefore, it must be the JVM. Any ideas on how to get the JVM to behave correctly in this regard?
Thanks,
-steve -
3. Re: JVM or JBoss cache of DNS? trying to configure mysql-ds.
peterj Jun 25, 2008 5:42 PM (in response to stevejb)Do you have the latest 1.5 JDK? If not, install it, set JAVA_HOME to there, and try again. If you have the latest 1.5 JDK, uninstall it, wipe the directory, and reinstall it.
What is in your /etc/hosts file?
If the above does not do it, grep your files for the host name or old IP address. IT has to be configured somewhere.
If that doesn't yield anything, it could be the DNS. Using a network sniffer should be able to uncover that.