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 not contact localhost:8005. Tomcat may not be running. Apr 19, 2018 2:26:04 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:211) at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:498) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:370) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:457) On Thu, Apr 19, 2018 at 1:13 PM, Mark Thomas <ma...@apache.org> wrote: > 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 >> completion > > If you take 3 thread dumps ~5 seconds apart you should be able to see > where it is hanging. If you can tell us that we might be able to provide > you with some ideas to fix it or additional debug options to try. > > For the record I have an OSX development laptop and I've never seen this > issue. Admittedly the hardware is rather newer. > > Mark > > > >> and requests from the browser hang and eventually timeout. >> >> I've tried 127.0.0.1, 0.0.0.0, and omitted for the "address" attribute >> of the connector. >> >> With no network, Tomcat successfully makes a connection to MySQL to >> creates the connection pool, but hangs. There are no errors. >> >> I am running debugging transport. >> >> My hosts file is stock, fine. >> >> As soon as I plug in a network cable or connect to wireless, the >> server comes-up fine and I can access it on 127.0.0.1 or the static ip >> assigned to either the wireless interface or the hard LAN. >> >> I. am. stumped. Please help. I need to be able to demo my project >> without being connected to the network. >> >> :\ >> >> I've been dealing with this issue for awhile, and I'm finally fed-up with it. >> >> We want offline and we want it .. NOW! ;) >> >> Thanks folks. >> >> Sincerely, >> >> John from Spearfish, SD >> >> --------------------------------------------------------------------- >> 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org