Indeed - that is what I thought as well (DNS).

But what about this (stacktrace below)?

Will see about the thread dumps (I'm in appointments for the rest of
the day, but can't wait to make it back and read responses and put
this one to bed).

I was reading that MySQL does some things with host bindings and
resolutions that might auto-resolve algorithmically, explaining this
behavior.  Will keep that in mind as I continue.

Thanks,

John



-----

[ERROR] 04-19-2018 13:16:50 onefortyfive.SMSNotificationPoller init –
Unable to initialize sms daemon.

org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (Could not create connection to database
server. Attempted reconnect 3 times. Giving up.)

        at 
org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)

        at 
org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)

        at 
org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)

        at 
digitalcnc.data.ConnectionFactory.getConnection(ConnectionFactory.java:56)

        at 
onefortyfive.SMSNotificationPoller.init(SMSNotificationPoller.java:146)

On Thu, Apr 19, 2018 at 2:29 PM, Christopher Schultz
<ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> John,
>
> On 4/19/18 4:06 PM, John Dale wrote:
>> String hostname = InetAddress.getLocalHost().getHostName();
>> InetAddress[] addresses = InetAddress.getAllByName(hostname);
>
> I'll bet that either or both of these lines are the ones hanging.
>
> Take a thread-dump during your waiting-period during startup and see
> if that's where you are stuck.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlrY/CgACgkQHPApP6U8
> pFg04w/9FqSFVAId63DcVCFe8zkYgw74rjv7BPuUgoEaG90wZv6ozbQJab9zXvA4
> csuTT01bjzs39lZDciB/1WhwJRWzvkzz1d9AexWOJgAv1tg1LtSV+TXPmxGJcuAV
> +bh8dNb1271iV1Cd62V7rkBhvprN9HKELsYp6FBvHctSvotEWweSLg4dwbJhjpzb
> owWR/iQ/67hpqkoqBfqzgfYyZtaE4jvP2tzSzU8eqyLPzaTAki54B1PZLTo79102
> 57YH8k85b32KM3eS3HYf0Bnz0WyN3RAoH4mnDEf8U3YWbAFKz8GKf7iElVI3Uujq
> f/UWMIiBR4vRgVUnYzYMH7JVVUBSXnNH5ND7DDarTb2F5KCjoyTsTpaqRgj0POeH
> skTcGz0epNJpxi74WD//AvmtRynfuFNaqH9ZwQGDFxzEnnV1V20Msu7cxlB+Ehxs
> G3QJCXmpL170BaVNIWP/PY6TWCTuZYydmDUkn1fpJABMN1UhvLnmGQvCRQaMtC+8
> KX6tgUy4jr+Z0MozGLeCTjx1yrrc16uCX2IrSuAxCDjsLtiZpNEweWZY66AB1e9h
> vkZKOdYqXAhRpJxej4cXNm73ZX7qFFkTDyafFV7h7z+i/xQO5wyF4w7G0gyaE4IO
> SBZMzWu40fCNQ3z8STUB8GP7dd+BoZFm4bmkDmuUBDraOKL8Nmo=
> =EKt1
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to