Re: Exception thrown while starting tomcat on Mac OS
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kalyan, On 9/19/13 12:46 PM, Kalyan Vavilapalli wrote: I did follow all the links and did not find any answers. The answer that was awarded 250 reputation points is fairly in-depth. Is there a specific link you are referring to that I am overlooking? If you've read the answer I refer to above, then that's all I can think of. Sounds like there is a JVM bug on Mac OS. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJSQK0sAAoJEBzwKT+lPKRYebUP/i5Gg+y51xFE8ufdUcFJxTzh Od+N/pXaEO/TttgwysWyHpsRVtjCOoeyzuAolY2z3BoBUWED32/i99ysadjxvK9P 1bfG1Je7FONs8wg9d4+GfJLPeuTRgUtir+LPIQ07NrWGF1wVUDP4XNTB7B6tw50x 4RVrTtKQSuJ8QeqfezpNwWl+EjoQw38GmjxXP4Jn3qG9TKgFR/Pii3DrskijnJb6 xfdvzskUFFI2PTTyKMcXk9QkWnmGjS2Grvf7WfbJE6GigNhIYY/Xd1iBfWZEbYwR JRGa+Jktu52+iJuJEZl+Xka3K53p4i3cp7anyw9Y0gvc/Umiiwh34EskFtVZc7y4 POZQvyfJTB8/KaJWWfh7ymRCX11BqmacSSwWe2yJpeLVbmwxnin+CIT5Jwt8EJaI dAWATcfb3Z7gGQ3tBFD2I7VjNyxutsi+krTANmhhCZmucPDhVG7ELPtKP2z1xTWr nUuoNg68O9Q9+vrnZfKzY9ZYDrf4EQKsEAgTzJSqYkeSR+zhE9CWFzA3WpUyOQts C0XR3o6bd7yNznq5zTKwYQmFkLx+pU16DhUONvtWVxgcaiTGwNO1EpTNOuoXcjZ+ xrhle7CDiSmr7pmgzOyofAEDwmEOvs4g0nBjNrtAKALYwto4JRepJhKJLhSMBoS6 1k++D6atGxR6C29X6zce =RLfX -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Exception thrown while starting tomcat on Mac OS
I am on a Mac version 10.8.4 using tomcat 6.0.37 and Oracle JDK7. Recently upgraded from JDK6 to JDK 7. When I try to start tomcat the exceptions below are thrown at the very end. I searched all over the internet for solutions to this, but nothing seems to work. I tried adding these parameters to the start-up script like some suggested and that did not work either. -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false One thing to note, it does not fail every timeabout 60% of the time it fails to start correctly. Any pointers would be appreciated very much. There is a thread about this on Stack Exchange with some information, but no answer :) http://stackoverflow.com/questions/18883209/tomcat-startup-java-net-socketexception-invalid-argument-mac-os-x SEVERE: StandardServer.await: accept: java.net.SocketException: Invalid argument at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398) at java.net.ServerSocket.implAccept(ServerSocket.java:530) at java.net.ServerSocket.accept(ServerSocket.java:498) at org.apache.catalina.core.StandardServer.await(StandardServer.java:431) at org.apache.catalina.startup.Catalina.await(Catalina.java:676) at org.apache.catalina.startup.Catalina.start(Catalina.java:628) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Sep 18, 2013 11:03:31 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Sep 18, 2013 11:04:48 AM org.apache.catalina.connector.Connector pause SEVERE: Protocol handler pause failed java.net.ConnectException: Operation timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) at java.net.Socket.init(Socket.java:425) at java.net.Socket.init(Socket.java:241) at org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:492) at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:288) at org.apache.jk.server.JkMain.pause(JkMain.java:739) at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153) at org.apache.catalina.connector.Connector.pause(Connector.java:1138) at org.apache.catalina.core.StandardService.stop(StandardService.java:578) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:788) at org.apache.catalina.startup.Catalina.stop(Catalina.java:662) at org.apache.catalina.startup.Catalina.start(Catalina.java:629) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Sep 18, 2013 11:04:49 AM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina 09/18 11:04:49 Information [main] - Stopping Event Gateways. 09/18 11:04:54 Information [main] - ColdFusion stopped Thanks Kalyan
Re: Exception thrown while starting tomcat on Mac OS
On 19/09/2013 15:04, Kalyan Vavilapalli wrote: I am on a Mac version 10.8.4 using tomcat 6.0.37 and Oracle JDK7. Recently upgraded from JDK6 to JDK 7. When I try to start tomcat the exceptions below are thrown at the very end. I searched all over the internet for solutions to this, but nothing seems to work. I tried adding these parameters to the start-up script like some suggested and that did not work either. -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false One thing to note, it does not fail every timeabout 60% of the time it fails to start correctly. Any pointers would be appreciated very much. There is a thread about this on Stack Exchange with some information, but no answer :) http://stackoverflow.com/questions/18883209/tomcat-startup-java-net-socketexception-invalid-argument-mac-os-x Try following the links in that question to the one it duplicates where you.ll find a lot more information including the answer. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Exception thrown while starting tomcat on Mac OS
Mark, I did follow all the links and did not find any answers. Is there a specific link you are referring to that I am overlooking? Appreciate you help. Thanks Kalyan On 9/19/13 9:37 AM, Mark Thomas ma...@apache.org wrote: On 19/09/2013 15:04, Kalyan Vavilapalli wrote: I am on a Mac version 10.8.4 using tomcat 6.0.37 and Oracle JDK7. Recently upgraded from JDK6 to JDK 7. When I try to start tomcat the exceptions below are thrown at the very end. I searched all over the internet for solutions to this, but nothing seems to work. I tried adding these parameters to the start-up script like some suggested and that did not work either. -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false One thing to note, it does not fail every timeabout 60% of the time it fails to start correctly. Any pointers would be appreciated very much. There is a thread about this on Stack Exchange with some information, but no answer :) http://stackoverflow.com/questions/18883209/tomcat-startup-java-net-socke texception-invalid-argument-mac-os-x Try following the links in that question to the one it duplicates where you.ll find a lot more information including the answer. Mark - 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