I am late to this conversation, and I did not read all the thread. But, I had something similar to this, about six months ago. The solution to get Tomcat running was to "enter" the directory that tomcat is housed in: eg; c:\program files\apache tomcat...... simply opening the directory helped to get tomcat running. I had a Tomcat-Eclipse-JavaJDK issue, and opening that directory was the key. I hope that this helps.
On Wed, Sep 27, 2023 at 10:19 AM Christopher Bland <ch...@fdu.edu> wrote: > Hi Chris, > > I didn’t get the error message. Tomcat still isn’t starting > > # ./catalina.sh run > Using CATALINA_BASE: /usr/local/tomcat > Using CATALINA_HOME: /usr/local/tomcat > Using CATALINA_TMPDIR: /usr/local/tomcat/temp > Using JRE_HOME: /usr/lib/jvm/java-17-openjdk-17.0.8.0.7-2.el8.x86_64 > Using CLASSPATH: > > /usr/local/tomcat/bin/*:/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar > Using CATALINA_OPTS: -XX:+UseG1GC -Xmx3000m > > # ps -ef | grep tomc > root 104975 104815 0 13:08 pts/0 00:00:00 grep --color=auto tomc > > @Darryl > > Hi Darryl, > > Just checked, permissions look correct > > # ls -ld /var/log/tomcat/ /usr/local/tomcat/logs/ > drwxr-x---. 2 tomcat tomcat 26 Sep 26 20:14 /usr/local/tomcat/logs/ > drwxr-xr-x. 2 tomcat tomcat 6 Sep 26 19:48 /var/log/tomcat/ > > > -Chris > > > From: Darryl Baker <darryl.ba...@northwestern.edu> > Date: Wednesday, September 27, 2023 at 12:59 PM > To: Tomcat Users List <users@tomcat.apache.org> > Subject: [External]Re: Tomcat 10 on RHEL 8 with Java 17 > [You don't often get email from darryl.ba...@northwestern.edu. Learn why > this is important at https://aka.ms/LearnAboutSenderIdentification ] > > Chris, > With no logs at all check the permissions on the log directories > and make sure that the user Tomcat is running as has write permissions > there. This sounds very much like what I ran into my first time setting up > Tomcat from scratch. > > Darryl Baker, GSEC, GCLD (he/him/his) > Sr. System Administrator > Distributed Application Platform Services > Northwestern University > 4th Floor > 2020 Ridge Avenue > Evanston, IL 60208-0801 > darryl.ba...@northwestern.edu <mailto:darryl.ba...@northwestern.edu> > (847) 467-6674 <tel:+18474676674> > > > > > On 9/27/23, 9:31 AM, "Christopher Bland" <ch...@fdu.edu <mailto: > ch...@fdu.edu>> wrote: > > > Hi All, > > > I just deployed Tomcat v10.1.13 on a new machine. When I start Tomcat it > says it has started but I don’t see the daemon running and I don’t have any > logs. I tried running Catalina.sh directly. > > > # ./catalina.sh start > Using CATALINA_BASE: /usr/local/tomcat > Using CATALINA_HOME: /usr/local/tomcat > Using CATALINA_TMPDIR: /usr/local/tomcat/temp > Using JRE_HOME: /usr/lib/jvm/java-17-openjdk-17.0.8.0.7-2.el8.x86_64 > Using CLASSPATH: > /usr/local/tomcat/bin/*:/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar > Using CATALINA_OPTS: -XX:+UseG1GC -Xmx3000m > Tomcat started. > > > Not running – No Daemon + No Logs > > > # ./catalina.sh debug > Using CATALINA_BASE: /usr/local/tomcat > Using CATALINA_HOME: /usr/local/tomcat > Using CATALINA_TMPDIR: /usr/local/tomcat/temp > Using JAVA_HOME: /usr/lib/jvm/java-17-openjdk-17.0.8.0.7-2.el8.x86_64 > Using CLASSPATH: > /usr/local/tomcat/bin/*:/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar > Using CATALINA_OPTS: -XX:+UseG1GC -Xmx3000m > invalid option: --add-opens=java.base/java.lang=ALL-UNNAMED > > > Usage: jdb <options> <class> <arguments> > > > where options include: > > > There are several of the --add-opens statements that cause startup to fail > in catalina.sh > > > # Add the module start-up parameters required by Tomcat > JAVA_OPTS="$JAVA_OPTS --add-opens=java.base/java.lang=ALL-UNNAMED" > JAVA_OPTS="$JAVA_OPTS --add-opens=java.base/java.io=ALL-UNNAMED" > JAVA_OPTS="$JAVA_OPTS --add-opens=java.base/java.util=ALL-UNNAMED" > JAVA_OPTS="$JAVA_OPTS > --add-opens=java.base/java.util.concurrent=ALL-UNNAMED" > JAVA_OPTS="$JAVA_OPTS --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED" > > > > > Not sure what to do. > > > -Chris > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >