How to fix SEVERE errors in Tomcat launch.
Hi,
I'm having roughly the same issue (complete NOOB here), but Tomcat seems to start up however I cannot hit https://localhost:9443/jts/setup to complete the express setup.
There were some key lines in the log file that caught my eye:
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-9443"]
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-9443]]
INFO: Server startup in 12911 ms
I'm having roughly the same issue (complete NOOB here), but Tomcat seems to start up however I cannot hit https://localhost:9443/jts/setup to complete the express setup.
There were some key lines in the log file that caught my eye:
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-9443"]
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-9443]]
INFO: Server startup in 12911 ms
One answer
First see the below discussions and check if the suggestions there help:
https://jazz.net/forum/questions/180076/how-fix-severe-failed-to-initialize-end-point-associated-with-protocolhandler-http-apr-9443
There are some other possible causes.
1) The memory allocation settings for the JVM are too large for the actual amount of physical memory available on the server. you would have to use a server with more physical memory or adjust the amount of memory allocated to the JVM at startup.
(installed dir/server/server.startup.xx : set JAVA_OPTS=%JAVA_OPTS% -Xmx4G
set JAVA_OPTS=%JAVA_OPTS% -Xms4G): 4G is default heap size
2) if there are plenty of physical memory, you can try set heap size for Xmx and Xms to 2G and see if it works, it yes, it means the jvm can not allocate a continuous block of memory for the heap starting at the base heap, the jvm will not
be able to start due to that. you will then try to edit server.startup script with the parameters,
-Xcompressedrefs -Xgc:preferredHeapBase=0x200000000 and the -Xmx4G and
-Xms4G.
Hopefully this helps.
https://jazz.net/forum/questions/180076/how-fix-severe-failed-to-initialize-end-point-associated-with-protocolhandler-http-apr-9443
There are some other possible causes.
1) The memory allocation settings for the JVM are too large for the actual amount of physical memory available on the server. you would have to use a server with more physical memory or adjust the amount of memory allocated to the JVM at startup.
(installed dir/server/server.startup.xx : set JAVA_OPTS=%JAVA_OPTS% -Xmx4G
set JAVA_OPTS=%JAVA_OPTS% -Xms4G): 4G is default heap size
2) if there are plenty of physical memory, you can try set heap size for Xmx and Xms to 2G and see if it works, it yes, it means the jvm can not allocate a continuous block of memory for the heap starting at the base heap, the jvm will not
be able to start due to that. you will then try to edit server.startup script with the parameters,
-Xcompressedrefs -Xgc:preferredHeapBase=0x200000000 and the -Xmx4G and
-Xms4G.
Hopefully this helps.