Camunda tomcat not working

Hey everyone so I’ve made a camunda project in spring tool suite using maven and I’m trying to open it up in camunda local host: 8080. I’ve put the war file for the project in the web apps folder and deployed it but when I start camunda 2 cmd’s opens up and it has a lot of text but then it closes and only one is left open and when I go to the local host 8080 it shows the home screen but if I click on task list or anything it doesn’t work anymore and says the site can’t be reached. I also changed the port to 8085 in the server.xml file and typed that on the web browser but still doesn’t work. I’ve looked in the log files and this is what it says:

02-Jun-2022 12:26:03.052 SEVERE [main] org.apache.catalina.core.StandardServer.await Failed to create server shutdown socket on address [localhost] and port [8005] (base port [8005] and offset [0])
	java.net.BindException: Address already in use: bind
		at java.base/sun.nio.ch.Net.bind0(Native Method)
		at java.base/sun.nio.ch.Net.bind(Net.java:555)
		at java.base/sun.nio.ch.Net.bind(Net.java:544)
		at java.base/sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:640)
		at java.base/java.net.ServerSocket.bind(ServerSocket.java:392)
		at java.base/java.net.ServerSocket.<init>(ServerSocket.java:274)
		at org.apache.catalina.core.StandardServer.await(StandardServer.java:577)
		at org.apache.catalina.startup.Catalina.await(Catalina.java:864)
		at org.apache.catalina.startup.Catalina.start(Catalina.java:810)
		at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
		at java.base/java.lang.reflect.Method.invoke(Method.java:577)
		at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
		at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)

So what’s the problem?? and how can I get it to work??

Hi @cherlloydfan

From the output, it appears that you are trying to start the service on a port (8005) that is being used for something else. Have you checked that you have no services running on that port already?

Best Regards,
dg

1 Like