Re: Question regarding running Tomcat 7.0.57 offline

2018-04-20 Thread Konstantin Kolinko
2018-04-19 23:34 GMT+03:00 John Dale : > > org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create > PoolableConnectionFactory (Could not create connection to database > server. Attempted reconnect 3 times. Giving up.) Are you using "127.0.0.1" in your JDBC url? Is the

Re: Question regarding running Tomcat 7.0.57 offline

2018-04-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 4/19/18 4:34 PM, John Dale wrote: > 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

Re: Question regarding running Tomcat 7.0.57 offline

2018-04-19 Thread John Dale
Tomcat 7.0.57 java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode) There are a couple of subsequent emails with more information .. I'm in meetings for a couple of hours, then I'll check back. Thanks! John

Question regarding running Tomcat 7.0.57 offline

2018-04-19 Thread Terence M. Bandoian
On 4/19/2018 12:37 PM, John Dale wrote: Greetings; I have a 2006 era macbook pro with the latest osx. I run MySQL, which binds to localhost just fine when the network cable is unplugged and wireless turned off. Tomcat makes it through most of its startup, but hangs before completion and

Re: Question regarding running Tomcat 7.0.57 offline

2018-04-19 Thread John Dale
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

Re: Question regarding running Tomcat 7.0.57 offline

2018-04-19 Thread John Dale
also .. no matter what, I can't seem to shut down tomcat normally unless network is plugged-in (have to kill it). I assure you ladies and gents .. tomcat is indeed running. :) Will see if I can double-back and look at the thread dumps in more detail .. I like that idea. Thanks! SEVERE: Could

Re: Question regarding running Tomcat 7.0.57 offline

2018-04-19 Thread Christopher Schultz
-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

Re: Question regarding running Tomcat 7.0.57 offline

2018-04-19 Thread John Dale
Greetings; So I have an update on this issue. YAY! :D I have a service that creates a little bit of metadata in the database for sending large amounts of emails/sms (for speed, the user doesn't have to wait for the population of the queue). I create a servlet on startup that polls the table,

Re: Question regarding running Tomcat 7.0.57 offline

2018-04-19 Thread Mark Thomas
On 19/04/18 18:37, John Dale wrote: > Greetings; > > I have a 2006 era macbook pro with the latest osx. > > I run MySQL, which binds to localhost just fine when the network cable > is unplugged and wireless turned off. > > Tomcat makes it through most of its startup, but hangs before >

Re: Question regarding running Tomcat 7.0.57 offline

2018-04-19 Thread Chris P.
Hi John, I'm not overly familiar with OSX, but does ifconfig show a loopback device when you're not connected? Can you not create a dummy NIC and statically assign some 10.0.0.10 address or something, then let tomcat bind to that? You may have to add something to the hosts file for it to work,

Question regarding running Tomcat 7.0.57 offline

2018-04-19 Thread John Dale
Greetings; I have a 2006 era macbook pro with the latest osx. I run MySQL, which binds to localhost just fine when the network cable is unplugged and wireless turned off. Tomcat makes it through most of its startup, but hangs before completion and requests from the browser hang and eventually