Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy Tomcat 10 on DEV-01 #161

Closed
cubap opened this issue Nov 2, 2020 · 6 comments
Closed

Deploy Tomcat 10 on DEV-01 #161

cubap opened this issue Nov 2, 2020 · 6 comments
Assignees

Comments

@cubap
Copy link
Member

cubap commented Nov 2, 2020

Implement Java 15 here, depends on #159 for deployment

@thehabes
Copy link
Member

thehabes commented Nov 3, 2020

Get OS version
cat /etc/*-release
Red Hat Enterprise Linux Server release 6.10 (Santiago)
Red Hat Enterprise Linux Server release 6.10 (Santiago)

Install guide being used
https://www.itzgeek.com/how-tos/linux/centos-how-tos/install-apache-tomcat-7-0-on-rhel-6-centos-6.html

Tomcat 9 Tar
https://mirrors.ocf.berkeley.edu/apache/tomcat/tomcat-9/v9.0.39/bin/apache-tomcat-9.0.39-deployer.tar.gz

Tomcat 10 tar
https://apache.osuosl.org/tomcat/tomcat-10/v10.0.0-M9/bin/apache-tomcat-10.0.0-M9.tar.gz

@thehabes
Copy link
Member

thehabes commented Nov 3, 2020

03-Nov-2020 11:14:57.360 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat10/webapps/examples]
03-Nov-2020 11:14:57.931 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat10/webapps/examples] has finished in [570
03-Nov-2020 11:14:57.931 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat10/webapps/host-manager]
03-Nov-2020 11:14:57.986 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat10/webapps/host-manager] has finished in
03-Nov-2020 11:14:57.987 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat10/webapps/manager]
03-Nov-2020 11:14:58.031 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat10/webapps/manager] has finished in [43]
03-Nov-2020 11:14:58.031 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat10/webapps/ROOT]
03-Nov-2020 11:14:58.059 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat10/webapps/ROOT] has finished in [27] ms
03-Nov-2020 11:14:58.066 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8282"]
03-Nov-2020 11:14:58.097 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [61090] milliseconds
03-Nov-2020 11:15:40.755 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
03-Nov-2020 11:15:40.757 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8282"]
03-Nov-2020 11:15:40.764 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
03-Nov-2020 11:15:40.812 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8282"]
03-Nov-2020 11:15:40.824 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8282"]
03-Nov-2020 11:15:54.894 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name:   Apache Tomcat/10.0.0-M9
03-Nov-2020 11:15:54.899 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Oct 6 2020 12:22:12 UTC
03-Nov-2020 11:15:54.900 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 10.0.0.0
03-Nov-2020 11:15:54.900 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
03-Nov-2020 11:15:54.900 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            2.6.32-754.27.1.el6.x86_64
03-Nov-2020 11:15:54.900 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
03-Nov-2020 11:15:54.901 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/java/jre1.8.0_151
03-Nov-2020 11:15:54.901 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_151-b12
03-Nov-2020 11:15:54.901 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
03-Nov-2020 11:15:54.901 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/tomcat10
03-Nov-2020 11:15:54.902 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/tomcat10
03-Nov-2020 11:15:54.904 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat10/conf/logging.properties
03-Nov-2020 11:15:54.904 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
03-Nov-2020 11:15:54.904 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
03-Nov-2020 11:15:54.904 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
03-Nov-2020 11:15:54.905 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
03-Nov-2020 11:15:54.905 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
03-Nov-2020 11:15:54.905 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat10
03-Nov-2020 11:15:54.905 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat10
03-Nov-2020 11:15:54.905 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat10/temp
03-Nov-2020 11:15:54.909 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
03-Nov-2020 11:15:55.600 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8282"]
03-Nov-2020 11:15:55.654 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1096] milliseconds
03-Nov-2020 11:15:55.702 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
03-Nov-2020 11:15:55.702 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.0.0-M9]
03-Nov-2020 11:15:55.719 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat10/webapps/docs]
03-Nov-2020 11:16:15.967 WARNING [main] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [19,816] milliseconds.
03-Nov-2020 11:16:16.014 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat10/webapps/docs] has finished in [20,294] ms
03-Nov-2020 11:16:16.015 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat10/webapps/examples]
03-Nov-2020 11:16:16.547 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat10/webapps/examples] has finished in [533] ms
03-Nov-2020 11:16:16.548 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat10/webapps/host-manager]
03-Nov-2020 11:16:16.598 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat10/webapps/host-manager] has finished in [50] ms
03-Nov-2020 11:16:16.599 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat10/webapps/manager]
03-Nov-2020 11:16:16.637 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat10/webapps/manager] has finished in [38] ms
03-Nov-2020 11:16:16.638 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat10/webapps/ROOT]
03-Nov-2020 11:16:16.664 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat10/webapps/ROOT] has finished in [26] ms
03-Nov-2020 11:16:16.672 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8282"]
03-Nov-2020 11:16:16.694 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [21040] milliseconds

@thehabes
Copy link
Member

thehabes commented Nov 3, 2020

@thehabes
Copy link
Member

thehabes commented Nov 3, 2020

user cdh has been prepared for the manager and status. It is the same credentials as the other tomcat deploys on dev-01. They work.

@thehabes
Copy link
Member

thehabes commented Nov 3, 2020

Java 8 Apps DO deploy

@thehabes
Copy link
Member

thehabes commented Nov 3, 2020

AJP connector stuff has changed, so I am trying to figure out the breaking change for the Tomcat version. Instead of ["ajp-nio-8309"] it keeps trying ["ajp-nio-127.0.0.1-8309"] so I can't register tomcat10 in the workers.properties file. The logs throw The AJP Connector is configured with secretRequired="true" but the secret attribute is either null or "". This combination is not valid. during startup with I define the connector in server.xml. If no connector is defined, there are no problems, but then I can't hook it up to DNS with the Apache workers. The answer lies somewhere around https://www.netiq.com/documentation/access-manager-45/install_upgrade/data/t4c4bkesyvcc.html

This is #172

@cubap cubap closed this as completed Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants