Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,622
Community Members
 
Community Events
168
Community Groups

start-jira.sh fails

I am using JIRA CORE trial version on my local machine. JIRA fails to start when I attempt to launch it using start-jira.sh script. Specific error:

16-Dec-2019 17:00:44.506 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]

16-Dec-2019 17:00:44.517 SEVERE [main] org.apache.catalina.core.StandardService.startInternal Failed to start connector [Connector[HTTP/1.1-8080]]

org.apache.catalina.LifecycleException: Failed to start component [Connector[HTTP/1.1-8080]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)

at org.apache.catalina.core.StandardService.startInternal(StandardService.java:440)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.startup.Catalina.start(Catalina.java:688)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:566)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)

Caused by: org.apache.catalina.LifecycleException: Protocol handler start failed

at org.apache.catalina.connector.Connector.startInternal(Connector.java:1020)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

... 11 more

Caused by: java.net.BindException: Address already in use

at java.base/sun.nio.ch.Net.bind0(Native Method)

at java.base/sun.nio.ch.Net.bind(Net.java:461)

at java.base/sun.nio.ch.Net.bind(Net.java:453)

at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)

at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80)

at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:219)

at org.apache.tomcat.util.net.AbstractEndpoint.start(AbstractEndpoint.java:1191)

at org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:591)

at org.apache.catalina.connector.Connector.startInternal(Connector.java:1018)

... 12 more

 

1 answer

1 accepted

0 votes
Answer accepted
brbojorque Community Leader Dec 17, 2019

Based on the error it looks like the port 8080 is already in use.

There are two things you can do.

  • Kill the current process where the port 8080 is currently utilizing.
  • By default Jira uses port 8080, what you can do is change it to another port it can be 8081

I would also suggest that you can put the script in the systemd or initscript so it is easy to monitor and use.

That worked - thank you!

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events