Why is my URL vacant?
Asked by Diana Bianco:

Hi, so I've revisited the writing a space-admin screen tutorial which can be found here: <https://developer.atlassian.com/server/confluence/writing-a-space-admin-screen/>

I'm getting this new error which basically says that my url is vacant. The error I'm having can be found here [https://confluence.atlassian.com/confkb/confluence-states-there-is-no-action-mapped-for-namespace-x-and-action-name-x-296911093.html?utm_medium=logScan\&utm_source=STP](https://confluence.atlassian.com/confkb/confluence-states-there-is-no-action-mapped-for-namespace-x-and-action-name-x-296911093.html?utm_medium=logScan&utm_source=STP)

Below is an excerpt of my atlassian-confluence.log with what I believe is the error:

```
2020-07-17 10:40:43,649 DEBUG [361:StdOutHandler [C:\Program Files\Java\jdk1.8.0_251\jre\bin\java.exe]] [plugins.synchrony.bootstrap.LoggingOutputHandler] processLine 2020-07-17 14:40:43,649 ERROR [main] [synchrony.logging] uncaught exception {:throwable #error {
2020-07-17 10:40:43,650 DEBUG [361:StdOutHandler [C:\Program Files\Java\jdk1.8.0_251\jre\bin\java.exe]] [plugins.synchrony.bootstrap.LoggingOutputHandler] processLine :cause "Address already in use: bind"
2020-07-17 10:40:43,650 DEBUG [361:StdOutHandler [C:\Program Files\Java\jdk1.8.0_251\jre\bin\java.exe]] [plugins.synchrony.bootstrap.LoggingOutputHandler] processLine :via
2020-07-17 10:40:43,650 DEBUG [361:StdOutHandler [C:\Program Files\Java\jdk1.8.0_251\jre\bin\java.exe]] [plugins.synchrony.bootstrap.LoggingOutputHandler] processLine [{:type clojure.lang.ExceptionInfo
2020-07-17 10:40:43,650 DEBUG [361:StdOutHandler [C:\Program Files\Java\jdk1.8.0_251\jre\bin\java.exe]] [plugins.synchrony.bootstrap.LoggingOutputHandler] processLine :message "error while starting state #'synchrony.server.http-server/http-server"
2020-07-17 10:40:43,650 DEBUG [361:StdOutHandler [C:\Program Files\Java\jdk1.8.0_251\jre\bin\java.exe]] [plugins.synchrony.bootstrap.LoggingOutputHandler] processLine :data {:var #'synchrony.server.http-server/http-server}
2020-07-17 10:40:43,650 DEBUG [361:StdOutHandler [C:\Program Files\Java\jdk1.8.0_251\jre\bin\java.exe]] [plugins.synchrony.bootstrap.LoggingOutputHandler] processLine :at [mount.lite$start$fn__24142 invoke "lite.clj" 153]}
2020-07-17 10:40:43,650 DEBUG [361:StdOutHandler [C:\Program Files\Java\jdk1.8.0_251\jre\bin\java.exe]] [plugins.synchrony.bootstrap.LoggingOutputHandler] processLine {:type java.net.BindException
2020-07-17 10:40:43,650 DEBUG [361:StdOutHandler [C:\Program Files\Java\jdk1.8.0_251\jre\bin\java.exe]] [plugins.synchrony.bootstrap.LoggingOutputHandler] processLine :message "Address already in use: bind"
2020-07-17 10:40:43,650 DEBUG [361:StdOutHandler [C:\Program Files\Java\jdk1.8.0_251\jre\bin\java.exe]] [plugins.synchrony.bootstrap.LoggingOutputHandler] processLine :at [sun.nio.ch.Net bind0 "Net.java" -2]}]
2020-07-17 10:40:43,650 DEBUG [361:StdOutHandler [C:\Program Files\Java\jdk1.8.0_251\jre\bin\java.exe]] [plugins.synchrony.bootstrap.LoggingOutputHandler] processLine :trace
```

I am so very confused.

Below I've also included my atlassian-plugin.xml which I think might help.

```
<atlassian-plugin key="${atlassian.plugin.key}" name="${project.name}" plugins-version="2">
<plugin-info>
<description>${project.description}</description>
<version>${project.version}</version>
<vendor name="${project.organization.name}" url="${project.organization.url}" />
<param name="plugin-icon">images/pluginIcon.png</param>
<param name="plugin-logo">images/pluginLogo.png</param>
</plugin-info>

<!-- add our i18n resource -->
<resource type="i18n" name="i18n" location="sdkversiontest"/>

<!-- add our web resources -->
<web-resource key="sdkversiontest-resources" name="sdkversiontest Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>

<resource type="download" name="sdkversiontest.css" location="/css/sdkversiontest.css"/>
<resource type="download" name="sdkversiontest.js" location="/js/sdkversiontest.js"/>
<resource type="download" name="images/" location="/images"/>

<context>sdkversiontest</context>
</web-resource>

<!-- Item in Space Tools -->
<web-item key="space-admin-quick-link-manager" name="Quick Link Manager in Space Admin" section="system.space.tools/addons" weight="100">
<label key="space.admin.quick.link.manager" />
<link linkId="space-admin-quick-link-manager-id">/plugins/${project.artifactId}/add-link.action?key=$generalUtil.urlEncode($helper.spaceKey)</link>
</web-item>

<xwork name="Example Actions" key="example-actions">
<description>Examples of actions</description>
<package name="space-links-xwork-package" extends="default" namespace="/plugins/${project.artifactId}">
<default-interceptor-ref name="validatingStack"/>

<action name="add-link" class="com.atlassian.examples.MyAction" method="doCreate">
<result name="input" type="velocity">/templates/add-link-action.vm</result>
<result name="success" type="velocity">/templates/add-link-action.vm</result>
</action>

<action name="mixed" class="com.atlassian.examples.MixedAction" method="doDefault">
<result name="input" type="velocity">/templates/mixed-space-screen.vm</result>
</action>
</package>
</xwork>

</atlassian-plugin>
```


Answers:
author: Italo Qualisoni [e-Core]
body: Hi [@Diana Bianco](/t5/user/viewprofilepage/user-id/3975424) ,

I understand this is a development topic and this might not be the best forum to this question.

Looking at your logs, it seems that you are trying to start your application using a port that is already being used. For example if you have Confluence running on port 8090 , this port will not be available for any other application and if you try to start Confluence again you will receive this exact same error saying that the port is in use.

```
 processLine :cause "Address already in use: bind"
```

I recommend you to try this forum for further development questions:

<https://community.developer.atlassian.com/>

comments: author: Diana Bianco
body: Thank you


Tags: confluence-server

server