Can't instal Confluence 4.3.1
Asked by Anton Mir:

Please help to solve the problem!

I try to install WAR package of confluence at the server with Tomcat 6. After careful configuration and doing all that described in installation guide at the step 'Choose a Database Configuration'(Embedded Database) I receive following error (after 3-4 minutes of waiting):

URL:http://world-box.org.ua/confluence/setup/setupembeddeddb-default.action

ERROR:

------------------------------

Proxy Error

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request POST /confluence/setup/setupembeddeddb-default.action.

Reason: Error reading from remote server

Apache/2.2.8 (Unix) PHP/5.2.5 Server at world-box.org.ua Port 80

-----------------------------

FROM THE LOG FILE(catalina.2012-09-30.log):

WARNING: Error unregistering MBeanServerDelegate

java.lang.NullPointerException

at org.apache.catalina.connector.MapperListener.destroy(Unknown Source)

at org.apache.catalina.connector.Connector.stop(Unknown Source)

at org.apache.catalina.core.StandardService.stop(Unknown Source)

at org.apache.catalina.core.StandardServer.stop(Unknown Source)

at org.apache.catalina.startup.Catalina.stop(Unknown Source)

at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Unknown Source)

Sep 30, 2012 3:10:43 PM org.apache.coyote.http11.Http11Protocol destroy

INFO: Stopping Coyote HTTP/1.1 on http-195.234.4.27-50206

Sep 30, 2012 3:11:11 PM org.apache.catalina.core.AprLifecycleListener init

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/sun-jdk-1.6.0.07/jre/lib/amd64/server:/opt/sun-jdk-1.6.0.07/jre/lib/amd64:/opt/sun-jdk-1.6.0.07/jre/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib

Sep 30, 2012 3:11:11 PM org.apache.coyote.http11.Http11Protocol init

SEVERE: Error initializing endpoint

java.net.BindException: Address already in use /195.234.4.27:50206

at org.apache.tomcat.util.net.JIoEndpoint.init(Unknown Source)

at org.apache.coyote.http11.Http11Protocol.init(Unknown Source)

at org.apache.catalina.connector.Connector.initialize(Unknown Source)

at org.apache.catalina.core.StandardService.initialize(Unknown Source)

at org.apache.catalina.core.StandardServer.initialize(Unknown Source)

at org.apache.catalina.startup.Catalina.load(Unknown Source)

at org.apache.catalina.startup.Catalina.load(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.catalina.startup.Bootstrap.load(Unknown Source)

at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

Sep 30, 2012 3:11:11 PM org.apache.catalina.startup.Catalina load

SEVERE: Catalina.start

LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use /195.234.4.27:50206

at org.apache.catalina.connector.Connector.initialize(Unknown Source)

at org.apache.catalina.core.StandardService.initialize(Unknown Source)

at org.apache.catalina.core.StandardServer.initialize(Unknown Source)

at org.apache.catalina.startup.Catalina.load(Unknown Source)

at org.apache.catalina.startup.Catalina.load(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.catalina.startup.Bootstrap.load(Unknown Source)

at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

Sep 30, 2012 3:11:11 PM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 459 ms

Sep 30, 2012 3:11:11 PM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

Sep 30, 2012 3:11:11 PM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/6.0.18

Sep 30, 2012 3:11:11 PM org.apache.catalina.startup.HostConfig deployDescriptor

WARNING: A docBase /home/virtwww/w_world-box_362775bc/http/webapps/manager inside the host appBase has been specified, and will be ignored

Sep 30, 2012 3:11:13 PM org.apache.catalina.core.AprLifecycleListener init

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/sun-jdk-1.6.0.07/jre/lib/amd64/server:/opt/sun-jdk-1.6.0.07/jre/lib/amd64:/opt/sun-jdk-1.6.0.07/jre/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib

Sep 30, 2012 3:11:13 PM org.apache.coyote.http11.Http11Protocol init

SEVERE: Error initializing endpoint

java.net.BindException: Address already in use /195.234.4.27:50206

at org.apache.tomcat.util.net.JIoEndpoint.init(Unknown Source)

at org.apache.coyote.http11.Http11Protocol.init(Unknown Source)

at org.apache.catalina.connector.Connector.initialize(Unknown Source)

at org.apache.catalina.core.StandardService.initialize(Unknown Source)

at org.apache.catalina.core.StandardServer.initialize(Unknown Source)

at org.apache.catalina.startup.Catalina.load(Unknown Source)

at org.apache.catalina.startup.Catalina.load(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.catalina.startup.Bootstrap.load(Unknown Source)

at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

Sep 30, 2012 3:11:13 PM org.apache.catalina.startup.Catalina load

SEVERE: Catalina.start

LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use /195.234.4.27:50206

at org.apache.catalina.connector.Connector.initialize(Unknown Source)

at org.apache.catalina.core.StandardService.initialize(Unknown Source)

at org.apache.catalina.core.StandardServer.initialize(Unknown Source)

at org.apache.catalina.startup.Catalina.load(Unknown Source)

at org.apache.catalina.startup.Catalina.load(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.catalina.startup.Bootstrap.load(Unknown Source)

at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

Sep 30, 2012 3:11:13 PM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 438 ms

Sep 30, 2012 3:11:13 PM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

Sep 30, 2012 3:11:13 PM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/6.0.18

Sep 30, 2012 3:11:13 PM org.apache.catalina.startup.HostConfig deployDescriptor

WARNING: A docBase /home/virtwww/w_world-box_362775bc/http/webapps/manager inside the host appBase has been specified, and will be ignored

Sep 30, 2012 3:11:40 PM org.apache.coyote.http11.Http11Protocol start

SEVERE: Error starting endpoint

java.net.BindException: Address already in use /195.234.4.27:50206

at org.apache.tomcat.util.net.JIoEndpoint.init(Unknown Source)

at org.apache.tomcat.util.net.JIoEndpoint.start(Unknown Source)

at org.apache.coyote.http11.Http11Protocol.start(Unknown Source)

at org.apache.catalina.connector.Connector.start(Unknown Source)

at org.apache.catalina.core.StandardService.start(Unknown Source)

at org.apache.catalina.core.StandardServer.start(Unknown Source)

at org.apache.catalina.startup.Catalina.start(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.catalina.startup.Bootstrap.start(Unknown Source)

at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

Sep 30, 2012 3:11:40 PM org.apache.catalina.startup.Catalina start

SEVERE: Catalina.start:

LifecycleException: service.getName(): Catalina; Protocol handler start failed: java.net.BindException: Address already in use /195.234.4.27:50206

at org.apache.catalina.connector.Connector.start(Unknown Source)

at org.apache.catalina.core.StandardService.start(Unknown Source)

at org.apache.catalina.core.StandardServer.start(Unknown Source)

at org.apache.catalina.startup.Catalina.start(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.catalina.startup.Bootstrap.start(Unknown Source)

at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

Sep 30, 2012 3:11:40 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 26658 ms

Sep 30, 2012 3:11:40 PM org.apache.catalina.core.StandardServer await

SEVERE: StandardServer.await: create 50206 :

java.net.BindException: Address already in use

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)

at java.net.ServerSocket.bind(ServerSocket.java:319)

at java.net.ServerSocket.\<init\>(ServerSocket.java:185)

at org.apache.catalina.core.StandardServer.await(Unknown Source)

at org.apache.catalina.startup.Catalina.await(Unknown Source)

at org.apache.catalina.startup.Catalina.start(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.catalina.startup.Bootstrap.start(Unknown Source)

at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

Sep 30, 2012 3:11:40 PM org.apache.coyote.http11.Http11Protocol pause

INFO: Pausing Coyote HTTP/1.1 on http-195.234.4.27-50206

Sep 30, 2012 3:11:41 PM org.apache.catalina.core.StandardService stop

INFO: Stopping service Catalina

Sep 30, 2012 3:11:42 PM org.apache.catalina.connector.MapperListener destroy


Answers:
author: Anton Miroshnichenko
body: Thank you

I finally installed [Confluence 4.3.1 - Standalone (TAR.GZ Archive)](http://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-4.3.1.tar.gz)

And everythink is OK now

Good luck!


author: Anton Miroshnichenko
body: Thank you


author: Rodrigo Girardi Adami
body: Hi,

I believe that Dennis may be right stating that the problem is the port being used by another application.

<https://confluence.atlassian.com/x/roG7Cw>

Try to change to another port as the `50206` one is probably being used by another application.

hope that helps!


author: Dennis Kromhout van der Meer
body: Judging from the logs, it fails because the address is already in use:

```
SEVERE: Error initializing endpointjava.net.BindException: Address already in use /195.234.4.27:50206
```

This usually happens if you want to bind a service to a port that has already been used. Have you tried configuring Confluence on a different port? Also, please give the output of ***netstat -lnptu***


Tags: error

install