Friday, September 11, 2015

An internal error occurred during: "Starting Tomcat v8.0 Server at localhost". Could not initialize class java.net.SocksSocketImpl

Got this error at server start up:

An internal error occurred during: "Starting Tomcat v8.0 Server at localhost".
Could not initialize class java.net.SocksSocketImpl

Possible reason : issue with default HTTP port 8080

Solution : Change the HTTP port to some other value like 8087, and restart the server

This might solve the problem

Example Server configuration file :

F:\Eclipse-wks\Servers\Tomcat v8.0 Server at localhost-config\server.xml (if you are using Eclipse IDE )

F:\WebAppServers\apache-tomcat-8.0.24\conf\server.xml

   <Connector connectionTimeout="20000" port="8087" protocol="HTTP/1.1" redirectPort="8443"/>

1 comment :