It's all about the answers!

Ask a question

How to fix SEVERE errors in Tomcat launch.


0
1
Drew Payette (111) | asked May 19 '15, 4:24 p.m.
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

One answer



permanent link
Don Yang (7.7k21114139) | answered May 19 '15, 7:03 p.m.
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.



Comments
Drew Payette commented May 20 '15, 2:48 p.m.

Thanks for the suggestion. I managed to solve the problem when configuring Tomcat to run as a windows service. I'm not 100% certain what the underlying issue was.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.