"Address already in use" on Amazon Linux

"Mickish, Andrew (NDR)" <[email protected]> Thu, 1 Oct 2020 18:35:24 +0000
Newsgroups gmane.text.xml.cocoon.user
Message-ID <VI1PR0702MB3551B60C140968C63D8C5F4996300@VI1PR0702MB3551.eurprd07.prod.outlook.com>
--_000_VI1PR0702MB3551B60C140968C63D8C5F4996300VI1PR0702MB3551_
Content-Type: text/plain; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable

I'm moving an old cocoon 2.1 installation from CentOS 7 to Amazon Linux 2, =
and getting a an "Address already in use" error on Amazon Linux.

To isolate the problem, I initialized two AWS EC2 instances from the latest=
 CentOS7 and Amazon Linux images.  They have the same apache-tomcat-8.5.56,=
 installed in the same place on each server, with the same application in /=
opt/tomcat/munch5/webapps/cocoon.war.

Both servers are configured with hsqldb on port 9002.  (Changing the port h=
asn't helped.)

  /opt/tomcat/munch5/webapps/cocoon/WEB-INF/cocoon.xconf
  <hsqldb-server class=3D"org.apache.cocoon.components.hsqldb.ServerImpl" l=
ogger=3D"core.hsqldb-server" pool-max=3D"1" pool-min=3D"1">
     <parameter name=3D"port" value=3D"9002"/>
     <parameter name=3D"silent" value=3D"true"/>
     <parameter name=3D"trace" value=3D"trace"/>
  </hsqldb-server>

Do you think that something is trying to start for a second time, when it i=
s already running?

Both servers start OK, and seem to be listening on reasonable ports:

# netstat -an | grep LISTEN | sort | more
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:942             0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
tcp6       0      0 127.0.0.1:8030          :::*                    LISTEN
tcp6       0      0 :::111                  :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
tcp6       0      0 :::8080                 :::*                    LISTEN
tcp6       0      0 :::8888                 :::*                    LISTEN
tcp6       0      0 :::9002                 :::*                    LISTEN
...

but when I make my first request (http://10.104.48.33:8080/cocoon/Masticato=
rLog), I get this error in the logs on Amazon Linux:

10.104.48.33:/opt/tomcat/munch5/logs/catalina.out (Amazon Linux)
30-Sep-2020 21:44:30.544 INFO [main] org.apache.catalina.startup.Catalina.s=
tart Server startup in 5942 ms
Wed Sep 30 21:44:33 EDT 2020 Listening for connections ...
- No configuration file specified, going with the default configuration
- The database configuration file is not specified and there was no xindice=
.db.home property set, so Xindice was unable to determine a database locati=
on. Database will be created relative to the current directory.
server.properties not found, using command line or default properties
Opening database: /opt/apache-tomcat-8.5.56/munch5/webapps/cocoon/WEB-INF/d=
b/cocoondb
HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
Server.run/init: java.net.BindException: Address already in use (Bind faile=
d)
java.net.BindException: Address already in use (Bind failed)
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.ja=
va:387)
        at java.net.ServerSocket.bind(ServerSocket.java:390)
        at java.net.ServerSocket.<init>(ServerSocket.java:252)
        at java.net.ServerSocket.<init>(ServerSocket.java:143)
        at org.hsqldb.Server.run(Unknown Source)
        at org.hsqldb.Server.main(Unknown Source)
        at org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.ja=
va:199)
        at java.lang.Thread.run(Thread.java:748)

The installation on CentOS 7 works:

10.104.48.34:/opt/tomcat/munch5/logs/catalina.out (CentOS 7)
- No configuration file specified, going with the default configuration
- The database configuration file is not specified and there was no xindice=
.db.home property set, so Xindice was unable to determine a database locati=
on. Database will be created relative to the current directory.
- Database points to /opt/apache-tomcat-8.5.56/munch5/db
- No configuration file specified, going with the default configuration
- The database configuration file is not specified and there was no xindice=
.db.home property set, so Xindice was unable to determine a database locati=
on. Database will be created relative to the current directory.
server.properties not found, using command line or default properties
Opening database: /opt/apache-tomcat-8.5.56/munch5/webapps/cocoon/WEB-INF/d=
b/cocoondb
HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
Wed Sep 30 22:02:36 EDT 2020 Listening for connections ...
context: /opt/apache-tomcat-8.5.56/munch5/webapps/cocoon/
- Quartz scheduler 'Cocoon
- Quartz scheduler version: 1.2.3
- Scheduler Cocoon_$_Wed_Sep_30_22:02:37_EDT_2020 started.
WARN! *** JMS block is installed but jms client library not found. ***
- For the jms block to work you must install and start a JMS server and pla=
ce the client jar in WEB-INF/lib.
- The default server, OpenJMS is configured in cocoon.xconf but is not bund=
led with Cocoon.
30-Sep-2020 22:02:37.475 INFO [localhost-startStop-1] org.apache.catalina.s=
tartup.HostConfig.deployWAR Deployment of web application archive [/opt/apa=
che-tomcat-8.5.56/munch5/webapps/cocoon.war] has finished in [6,240] ms


--_000_VI1PR0702MB3551B60C140968C63D8C5F4996300VI1PR0702MB3551_
Content-Type: text/html; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
=09{font-family:"Cambria Math";
=09panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
=09{font-family:Calibri;
=09panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
=09{margin:0in;
=09margin-bottom:.0001pt;
=09font-size:11.0pt;
=09font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
=09{mso-style-priority:99;
=09color:#0563C1;
=09text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
=09{mso-style-priority:99;
=09color:#954F72;
=09text-decoration:underline;}
span.EmailStyle17
=09{mso-style-type:personal-compose;
=09font-family:"Calibri",sans-serif;
=09color:windowtext;}
.MsoChpDefault
=09{mso-style-type:export-only;
=09font-family:"Calibri",sans-serif;}
@page WordSection1
=09{size:8.5in 11.0in;
=09margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
=09{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">I'm moving an old cocoon 2.1 installation from CentO=
S 7 to Amazon Linux 2, and getting a an
<span style=3D"color:black">&quot;Address already in use&quot; error on Ama=
zon Linux.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">To isolate the problem, I initialized two AWS EC2 in=
stances from the latest CentOS7 and Amazon Linux images.&nbsp; They have th=
e same apache-tomcat-8.5.56, installed in the same place on each server, wi=
th the same application in /opt/tomcat/munch5/webapps/cocoon.war.<o:p></o:p=
></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Both servers are configured with hsqldb on port 9002=
.&nbsp; (Changing the port hasn't helped.)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:8.0pt;font-family:&quot;Cou=
rier New&quot;">&nbsp; <b>
/opt/tomcat/munch5/webapps/cocoon/WEB-INF/cocoon.xconf<o:p></o:p></b></span=
></p>
<p class=3D"MsoNormal"><span style=3D"font-size:8.0pt;font-family:&quot;Cou=
rier New&quot;">&nbsp; &lt;hsqldb-server class=3D&quot;org.apache.cocoon.co=
mponents.hsqldb.ServerImpl&quot; logger=3D&quot;core.hsqldb-server&quot; po=
ol-max=3D&quot;1&quot; pool-min=3D&quot;1&quot;&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:8.0pt;font-family:&quot;Cou=
rier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter name=3D&quot;port&qu=
ot; value=3D&quot;9002&quot;/&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:8.0pt;font-family:&quot;Cou=
rier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter name=3D&quot;silent&=
quot; value=3D&quot;true&quot;/&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:8.0pt;font-family:&quot;Cou=
rier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter name=3D&quot;trace&q=
uot; value=3D&quot;trace&quot;/&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:8.0pt;font-family:&quot;Cou=
rier New&quot;">&nbsp; &lt;/hsqldb-server&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Do you think that something is trying to start for a=
 second time, when it is already running?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Both servers start OK, and seem to be listening on r=
easonable ports:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:22.5pt"><b><span style=3D"font-=
size:8.0pt;font-family:&quot;Courier New&quot;"># netstat -an | grep LISTEN=
 | sort | more<o:p></o:p></span></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:22.5pt"><span style=3D"font-siz=
e:8.0pt;font-family:&quot;Courier New&quot;">tcp&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 0.0.0.0:111&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0.0.0:*&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; LISTEN<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:22.5pt"><span style=3D"font-siz=
e:8.0pt;font-family:&quot;Courier New&quot;">tcp&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 0.0.0.0:22&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0.0.0:*&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; LISTEN<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:22.5pt"><span style=3D"font-siz=
e:8.0pt;font-family:&quot;Courier New&quot;">tcp&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 0.0.0.0:942&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0.0.0:*&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; LISTEN<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:22.5pt"><span style=3D"font-siz=
e:8.0pt;font-family:&quot;Courier New&quot;">tcp&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 127.0.0.1:25&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;0.0.0.0:*&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LI=
STEN<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:22.5pt"><span style=3D"font-siz=
e:8.0pt;font-family:&quot;Courier New&quot;">tcp6&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 127.0.0.1:8030&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :::*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; LISTEN<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:22.5pt"><span style=3D"font-siz=
e:8.0pt;font-family:&quot;Courier New&quot;">tcp6&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 :::111&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; :::*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LISTEN<o:p></o:p></span></p=
>
<p class=3D"MsoNormal" style=3D"margin-left:22.5pt"><span style=3D"font-siz=
e:8.0pt;font-family:&quot;Courier New&quot;">tcp6&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 :::22&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; :::*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LISTEN<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal" style=3D"margin-left:22.5pt"><span style=3D"font-siz=
e:8.0pt;font-family:&quot;Courier New&quot;">tcp6&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 :::8080&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=
::*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LISTEN<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:22.5pt"><span style=3D"font-siz=
e:8.0pt;font-family:&quot;Courier New&quot;">tcp6&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 :::8888&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=
::*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LISTEN<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:22.5pt"><span style=3D"font-siz=
e:8.0pt;font-family:&quot;Courier New&quot;">tcp6&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 :::9002&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=
::*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LISTEN<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:22.5pt"><span style=3D"font-siz=
e:8.0pt;font-family:&quot;Courier New&quot;">...<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">but when I make my first request (<a href=3D"http://=
10.104.48.33:8080/cocoon/MasticatorLog">http://10.104.48.33:8080/cocoon/Mas=
ticatorLog</a>), I get this error in the logs on Amazon Linux:<o:p></o:p></=
p>
<p class=3D"MsoNormal"><span style=3D"color:black"><o:p>&nbsp;</o:p></span>=
</p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><b><span style=3D"font-s=
ize:8.0pt;font-family:&quot;Courier New&quot;;color:black">10.104.48.33:/op=
t/tomcat/munch5/logs/catalina.out (Amazon Linux)<o:p></o:p></span></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">30-Sep-2020 21:44:3=
0.544 INFO [main] org.apache.catalina.startup.Catalina.start Server startup=
 in 5942 ms<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">Wed Sep 30 21:44:33=
 EDT 2020 Listening for connections ...<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">- No configuration =
file specified, going with the default configuration<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">- The database conf=
iguration file is not specified and there was no xindice.db.home property s=
et, so Xindice was unable to determine a database
 location. Database will be created relative to the current directory.<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">server.properties n=
ot found, using command line or default properties<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">Opening database: /=
opt/apache-tomcat-8.5.56/munch5/webapps/cocoon/WEB-INF/db/cocoondb<o:p></o:=
p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">HSQLDB server 1.7.1=
 is running<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">Use SHUTDOWN to clo=
se normally. Use [Ctrl]+[C] to abort abruptly<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">Server.run/init: ja=
va.net.BindException: Address already in use (Bind failed)<o:p></o:p></span=
></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">java.net.BindExcept=
ion: Address already in use (Bind failed)<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; at java.net.PlainSocketImpl.socketBind(Native Metho=
d)<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; at java.net.AbstractPlainSocketImpl.bind(AbstractPl=
ainSocketImpl.java:387)<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; at java.net.ServerSocket.bind(ServerSocket.java:390=
)<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; at java.net.ServerSocket.&lt;init&gt;(ServerSocket.=
java:252)<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; at java.net.ServerSocket.&lt;init&gt;(ServerSocket.=
java:143)<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; at org.hsqldb.Server.run(Unknown Source)<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; at org.hsqldb.Server.main(Unknown Source)<o:p></o:p=
></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; &nbsp;&nbsp;at org.apache.cocoon.components.hsqldb.ServerImpl.r=
un(ServerImpl.java:199)<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Thread.run(Thread.java:748)<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"color:black"><o:p>&nbsp;</o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"color:black">The installation on Cent=
OS 7 works:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:black"><o:p>&nbsp;</o:p></span>=
</p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><b><span style=3D"font-s=
ize:8.0pt;font-family:&quot;Courier New&quot;;color:black">10.104.48.34:/op=
t/tomcat/munch5/logs/catalina.out (CentOS 7)<o:p></o:p></span></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">- No configuration =
file specified, going with the default configuration<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">- The database conf=
iguration file is not specified and there was no xindice.db.home property s=
et, so Xindice was unable to determine a database
 location. Database will be created relative to the current directory.<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">- Database points t=
o /opt/apache-tomcat-8.5.56/munch5/db<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">- No configuration =
file specified, going with the default configuration<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">- The database conf=
iguration file is not specified and there was no xindice.db.home property s=
et, so Xindice was unable to determine a database
 location. Database will be created relative to the current directory.<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">server.properties n=
ot found, using command line or default properties<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">Opening database: /=
opt/apache-tomcat-8.5.56/munch5/webapps/cocoon/WEB-INF/db/cocoondb<o:p></o:=
p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">HSQLDB server 1.7.1=
 is running<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">Use SHUTDOWN to clo=
se normally. Use [Ctrl]+[C] to abort abruptly<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black;background:yellow;ms=
o-highlight:yellow">Wed Sep 30 22:02:36 EDT 2020 Listening for connections =
...</span><span style=3D"font-size:8.0pt;font-family:&quot;Courier New&quot=
;;color:black"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">context: /opt/apach=
e-tomcat-8.5.56/munch5/webapps/cocoon/<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">- Quartz scheduler =
'Cocoon<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">- Quartz scheduler =
version: 1.2.3<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">- Scheduler Cocoon_=
$_Wed_Sep_30_22:02:37_EDT_2020 started.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">WARN! *** JMS block=
 is installed but jms client library not found. ***<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">- For the jms block=
 to work you must install and start a JMS server and place the client jar i=
n WEB-INF/lib.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">- The default serve=
r, OpenJMS is configured in cocoon.xconf but is not bundled with Cocoon.<o:=
p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.25in"><span style=3D"font-size=
:8.0pt;font-family:&quot;Courier New&quot;;color:black">30-Sep-2020 22:02:3=
7.475 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.d=
eployWAR Deployment of web application archive [/opt/apache-tomcat-8.5.56/m=
unch5/webapps/cocoon.war]
 has finished in [6,240] ms</span><span style=3D"color:black"><o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_VI1PR0702MB3551B60C140968C63D8C5F4996300VI1PR0702MB3551_--