ATLAS-DEBUG - ERROR: transport error 202: bind failed: Address already in use

Hi Guys,

So, when I execute the atlas-debug command to start a jira product occurs the message ERROR: transport error 202: bind failed: Address already in use, but the 5005 port are open by the same java process.

What could be happening?!

Thanks a lot!

[INFO] Reusing unpacked container ‘tomcat8x’ from C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools\target\container\tomcat8x
[INFO] Starting jira on the tomcat8x container on ports 2990 (http), 61402 (rmi) and 8009 (ajp)
[INFO] using codehaus cargo v1.6.10
[INFO] [2.ContainerStartMojo] Resolved container artifact org.codehaus.cargo:cargo-core-container-tomcat:jar:1.6.10 for container tomcat8x
[INFO] [talledLocalContainer] Tomcat 8.x starting…
[INFO] [stalledLocalDeployer] Deploying [C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools\target\jira\jira.war] to [C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools\target\container\tomcat8x\cargo-jira-home\webapps]…
[INFO] [talledLocalContainer] Listening for transport dt_socket at address: 5005
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Server version: Apache Tomcat/8.5.35
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Server built: Nov 3 2018 17:39:20 UTC
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Server number: 8.5.35.0
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: OS Name: Windows 10
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: OS Version: 10.0
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Architecture: x86
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Java Home: C:\Program Files (x86)\Java\jdk1.8.0_181\jre
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: JVM Version: 1.8.0_181-b13
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: JVM Vendor: Oracle Corporation
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: CATALINA_BASE: C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools\target\container\tomcat8x\cargo-jira-home
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: CATALINA_HOME: C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools\target\container\tomcat8x\apache-tomcat-8.5.35
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Xmx768m
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Xms384m
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Xdebug
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Xrunjdwp:transport=dt_socket,address=5005,suspend=n,server=y
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Dproduct=jira
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Dplugin.root.directories=C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Dcom.atlassian.jira.startup.LauncherContextListener.SYNCHRONOUS=true
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Djira.home=C:/Users/Alexandre/Documents/MMSTECH/Newcon/fontes/newcon-tools/target/jira/home
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Dcargo.datasource.datasource=cargo.datasource.url=jdbc:h2:file:C:/Users/Alexandre/Documents/MMSTECH/Newcon/fontes/newcon-tools/target/jira/home/database/h2db|cargo.datasource.driver=org.h2.Driver|cargo.datasource.username=sa|cargo.datasource.password=|cargo.datasource.jndi=jdbc/JiraDS
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Dbaseurl=http://ntb-agmachado:2990/ROOT
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Dcargo.servlet.uriencoding=UTF-8
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Dplugin.resource.directories=C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools\src\main\resources,C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools\src\test\resources
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Datlassian.dev.mode=true
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -DjarsToSkip=xapool*.jar,${tomcat.util.scan.StandardJarScanFilter.jarsToSkip},jotm*.jar
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Djava.awt.headless=true
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Dcontext.path=ROOT
[INFO] [talledLocalContainer] fev 25, 2019 5:17:09 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Datlassian.sdk.version=8.0.0
[INFO] [talledLocalContainer] fev 25, 2019 5:17:10 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Dcatalina.home=C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools\target\container\tomcat8x\apache-tomcat-8.5.35
[INFO] [talledLocalContainer] fev 25, 2019 5:17:10 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Dcatalina.base=C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools\target\container\tomcat8x\cargo-jira-home
[INFO] [talledLocalContainer] fev 25, 2019 5:17:10 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Djava.io.tmpdir=C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools\target\container\tomcat8x\cargo-jira-home\temp
[INFO] [talledLocalContainer] fev 25, 2019 5:17:10 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
[INFO] [talledLocalContainer] fev 25, 2019 5:17:10 PM org.apache.catalina.startup.VersionLoggerListener log
[INFO] [talledLocalContainer] INFORMAÇÕES: Command line argument: -Djava.util.logging.config.file=C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools\target\container\tomcat8x\cargo-jira-home\conf/logging.properties
[INFO] [talledLocalContainer] fev 25, 2019 5:17:10 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
[INFO] [talledLocalContainer] INFORMAÇÕES: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files (x86)\Java\jdk1.8.0_181\jre\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files\Microsoft MPI\Bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Java\jdk1.8.0_181\bin;C:\Projetos\Software\AtlassianSDK\8.0.7\bin;C:\Projetos\Software\AtlassianSDK\8.0.7\apache-maven-3.5.4\bin;C:\Projetos\Software\Apache\Ant\1.9.6\bin;C:\Projetos\Software\Android\SDK\tools;C:\Projetos\Software\Android\SDK\platform-tools;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\110\DTS\Binn;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;C:\Program Files\PostgreSQL\pg93\bin;C:\Program Files (x86)\WinMerge;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\OpenVPN\bin;C:\Program Files\MongoDB\Server\3.4\bin;C:\Program Files\Git\cmd;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\Yarn\bin;C:\Program
Files\nodejs;C:\Program Files\dotnet;C:\Program Files\Microsoft VS Code\bin;C:\Users\Alexandre\scoop\shims;C:\Users\Alexandre\AppData\Local\Programs\Python\Python36\Scripts;C:\Users\Alexandre\AppData\Local\Programs\Python\Python36;C:\Users\Alexandre\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Docker Toolbox;C:\Users\Alexandre\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Alexandre\AppData\Local\Yarn\bin;C:\Users\Alexandre\AppData\Roaming\npm;C:\Users\Alexandre\AppData\Local\Microsoft\WindowsApps;;.]
[INFO] [talledLocalContainer] fev 25, 2019 5:17:11 PM org.apache.coyote.AbstractProtocol init
[INFO] [talledLocalContainer] INFORMAÇÕES: Initializing ProtocolHandler [“http-nio-2990”]
[INFO] [talledLocalContainer] fev 25, 2019 5:17:16 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
[INFO] [talledLocalContainer] INFORMAÇÕES: Using a shared selector for servlet write/read
[INFO] [talledLocalContainer] fev 25, 2019 5:17:16 PM org.apache.coyote.AbstractProtocol init
[INFO] [talledLocalContainer] INFORMAÇÕES: Initializing ProtocolHandler [“ajp-nio-8009”]
[INFO] [talledLocalContainer] fev 25, 2019 5:17:16 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
[INFO] [talledLocalContainer] INFORMAÇÕES: Using a shared selector for servlet write/read
[INFO] [talledLocalContainer] fev 25, 2019 5:17:16 PM org.apache.catalina.startup.Catalina load
[INFO] [talledLocalContainer] INFORMAÇÕES: Initialization processed in 7921 ms
[INFO] [talledLocalContainer] fev 25, 2019 5:17:16 PM org.apache.catalina.core.StandardService startInternal
[INFO] [talledLocalContainer] INFORMAÇÕES: Starting service [Catalina]
[INFO] [talledLocalContainer] fev 25, 2019 5:17:16 PM org.apache.catalina.core.StandardEngine startInternal
[INFO] [talledLocalContainer] INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/8.5.35
[INFO] [talledLocalContainer] fev 25, 2019 5:17:16 PM org.apache.catalina.startup.HostConfig deployWAR
[INFO] [talledLocalContainer] INFORMAÇÕES: Deploying web application archive [C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools\target\container\tomcat8x\cargo-jira-home\webapps\cargocpc.war]
[INFO] [talledLocalContainer] fev 25, 2019 5:17:45 PM org.apache.jasper.servlet.TldScanner scanJars
[INFO] [talledLocalContainer] INFORMAÇÕES: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
[INFO] [talledLocalContainer] fev 25, 2019 5:17:45 PM org.apache.catalina.startup.HostConfig deployWAR
[INFO] [talledLocalContainer] INFORMAÇÕES: Deployment of web application archive [C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools\target\container\tomcat8x\cargo-jira-home\webapps\cargocpc.war] has finished in [29,011] ms
[INFO] [talledLocalContainer] fev 25, 2019 5:17:45 PM org.apache.catalina.startup.HostConfig deployWAR
[INFO] [talledLocalContainer] INFORMAÇÕES: Deploying web application archive [C:\Users\Alexandre\Documents\MMSTECH\Newcon\fontes\newcon-tools\target\container\tomcat8x\cargo-jira-home\webapps\ROOT.war]
[INFO] [yer.DeployerWatchdog] Deployable [http://localhost:2990/cargocpc/index.html] failed to finish deploying within the timeout period [600000]. The Deployable state is
thus unknown.
[WARNING] [talledLocalContainer] org.codehaus.cargo.container.ContainerException: Deployable [http://localhost:2990/cargocpc/index.html] failed to finish deploying within the timeout period [600000]. The Deployable state is thus unknown.
[ERROR] Starting container [org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer@1847d9e] failed, now stopping container
[INFO] [talledLocalContainer] Tomcat 8.x is stopping…
[WARNING] [talledLocalContainer] ERROR: transport error 202: bind failed: Address already in use
[WARNING] [talledLocalContainer] ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
[WARNING] [talledLocalContainer] JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
[INFO] [talledLocalContainer] 2019-02-25 17:30:02,032 localhost-startStop-1 INFO [c.a.jira.startup.JiraStartupLogger]
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] ****************
[INFO] [talledLocalContainer] JIRA starting…
[INFO] [talledLocalContainer] ****************

[INFO] [talledLocalContainer] Tomcat 8.x is stopped
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19:32 min
[INFO] Finished at: 2019-02-25T17:31:11-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:amps-dispatcher-maven-plugin:8.0.0:debug (default-cli) on project newcon-tools: Cannot start container [org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer@1847d9e]: Deployable [http:/ /localhost:2990/cargocpc/index.html] failed to finish deploying within the timeout period [600000]. The Deployable state is thus unknown. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http:/ /cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Generally you run into this because you have an existing process running. Kill the existing process or restart your computer.

1 Like

I tried this, but it didn’t solve!

Monitoring the ports, I saw that is the same java process that use the port 5005. Maybe before to start application some thing are using the same port.

Thanks!