Hola a todos.
Trato de ejecutar el programa de acuerdo a las instrucciones proporcionadas. Tengo instalado jdk8:
extra/jdk8-openjdk 8.345.u01-1 [installed]
OpenJDK Java 8 development kit
extra/jre-openjdk 18.0.2.1.u0-1 [installed]
Ejecuto la línea
sudo -u lincebi /opt/lincebi/start-pentaho.sh
Y obtengo lo siguiente, con lo que asumo que tomcat está ya funcionando:
WARNING: Using Java from PATH
DEBUG: _PENTAHO_JAVA_HOME=
DEBUG: _PENTAHO_JAVA=java
Using CATALINA_BASE: /opt/lincebi/tomcat
Using CATALINA_HOME: /opt/lincebi/tomcat
Using CATALINA_TMPDIR: /opt/lincebi/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/lincebi/tomcat/bin/bootstrap.jar:/opt/lincebi/tomcat/bin/tomcat-juli.jar
Using CATALINA_OPTS: -Xms1024m -Xmx4096m -Dfile.encoding=utf8 -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dlog4j2.formatMsgNoLookups=true -DDI_HOME='/opt/lincebi/pentaho-solutions/system/kettle'
Tomcat started.
Y solo obtengo el error 404 Not Found de Apache
Si es necesario, subo los logs catalina.out
y catalina.2022-10-17.log
Por curiosidad, ejecute un par de scripts de tomcat que me encontré en la carpeta correspondiente. Pongo lo que hice y lo que obtuve. Este es el primer script:
$ sh /opt/lincebi/tomcat/bin/version.sh
Using CATALINA_BASE: /opt/lincebi/tomcat
Using CATALINA_HOME: /opt/lincebi/tomcat
Using CATALINA_TMPDIR: /opt/lincebi/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/lincebi/tomcat/bin/bootstrap.jar:/opt/lincebi/tomcat/bin/tomcat-juli.jar
Using CATALINA_OPTS:
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Server version: Apache Tomcat/9.0.67
Server built: Sep 23 2022 11:22:29 UTC
Server number: 9.0.67.0
OS Name: Linux
OS Version: 5.15.74-3-MANJARO
Architecture: amd64
JVM Version: 18.0.2+0
JVM Vendor: Oracle Corporation
Este es el otro script:
$ sh /opt/lincebi/tomcat/bin/configtest.sh
Using CATALINA_BASE: /opt/lincebi/tomcat
Using CATALINA_HOME: /opt/lincebi/tomcat
Using CATALINA_TMPDIR: /opt/lincebi/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/lincebi/tomcat/bin/bootstrap.jar:/opt/lincebi/tomcat/bin/tomcat-juli.jar
Using CATALINA_OPTS:
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version name: Apache Tomcat
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Sep 23 2022 11:22:29 UTC
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version number: 9.0.67.0
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Linux
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 5.15.74-3-MANJARO
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: amd64
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: /usr/lib/jvm/java-18-openjdk
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 18.0.2+0
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: /opt/lincebi/tomcat
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: /opt/lincebi/tomcat
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dignore.endorsed.dirs=
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=/opt/lincebi/tomcat
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=/opt/lincebi/tomcat
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.io.tmpdir=/opt/lincebi/tomcat/temp
Oct 17, 2022 2:01:02 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib]
Oct 17, 2022 2:01:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Oct 17, 2022 2:01:02 PM org.apache.catalina.util.LifecycleBase handleSubClassException
SEVERE: Failed to initialize component [Connector[HTTP/1.1-8080]]
org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:1051)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:556)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:1045)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.startup.Catalina.load(Catalina.java:724)
at org.apache.catalina.startup.Catalina.load(Catalina.java:746)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:305)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:483)
Caused by: java.net.BindException: Address already in use
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:555)
at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294)
at org.apache.tomcat.util.net.NioEndpoint.initServerSocket(NioEndpoint.java:275)
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:230)
at org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup(AbstractEndpoint.java:1227)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1240)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:606)
at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:77)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:1048)
... 11 more
Oct 17, 2022 2:01:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-127.0.0.1-8009"]
Oct 17, 2022 2:01:02 PM org.apache.catalina.util.LifecycleBase handleSubClassException
SEVERE: Failed to initialize component [Connector[AJP/1.3-8009]]
org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:1051)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:556)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:1045)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.startup.Catalina.load(Catalina.java:724)
at org.apache.catalina.startup.Catalina.load(Catalina.java:746)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:305)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:483)
Caused by: java.net.BindException: Address already in use
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:555)
at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294)
at org.apache.tomcat.util.net.NioEndpoint.initServerSocket(NioEndpoint.java:275)
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:230)
at org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup(AbstractEndpoint.java:1227)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1240)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:606)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:1048)
... 11 more
Oct 17, 2022 2:01:02 PM org.apache.catalina.startup.Catalina load
INFO: Server initialization in [412] milliseconds
¿Qué me falta hacer o activar para que pueda ver la pantalla de login?