[opencms-dev] install opencms 19 problem, opencms 18 works

Hein van der Kallen hvanderkallen at xs4all.nl
Tue Apr 15 12:49:51 CEST 2025


I tried to install opencms19 as ROOT.war

Running on jdk 11 and tomcat 9.0.102

Tried to access the setup on http:// <http://%3ctest.mysite.com%3e:%3cmyport%3e/setup/> <test.mysite.com>:<myport>/setup/

Where myport is the port number of my HTTP/1.1 connector in server.xml in my running tomcat instance:

    <Connector port="myport" protocol="HTTP/1.1" connectionTimeout="20000" maxParameterCount="1000" /> 

( and no ssl connector)

I cleared the caches in my browser (To prevent going to https) , but I got no response. So NO setup ☹

What went wrong ? 

 

I tried to install opencms 18 as ROOT.war

On the same tomcat instance and with the same http:// <http://%3ctest.mysite.com%3e:%3cmyport%3e/setup/> <test.mysite.com>:<myport>/setup/

It installs via http: as it should. 😊

 

The site uses apache as front end and connects to tomcat via a 

   <Connector port="myport2" protocol="AJP/1.3" address="::1" maxParameterCount="1000" secretRequired="false" />

 

See also: https://documentation.opencms.org/opencms-documentation/server-administration/apache-proxy-configuration/index.html 

 

So I will try out opencms18 now instead of opencms19. 

 

Ps : https://documentation.opencms.org/opencms-documentation/introduction/installation/ states

“Start the setup wizard by pointing your browser to http://localhost:8080/opencms/setup/.”

What in many cases is not right.

 

Ps2: https://documentation.opencms.org/opencms-documentation/server-administration/tomcat-configuration/index.html advises

“The connectors that are predefined by default, e.g., the connector for port 8080, should be removed or at least commented out.”

But if you remove the protocol="HTTP/1.1" connector you cannot run an install or update of opencms anymore ( as I did). 

 

Hein van der Kallen

 

 

 

 

 

 

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20250415/aaf698d9/attachment.htm>


More information about the opencms-dev mailing list