Tomcat does not start

14 views
Skip to first unread message

swissmerlin

unread,
Mar 4, 2019, 6:24:52 AM3/4/19
to mod_cfml
Hello

My question is completely of-topic, but hopefully somebody here can help me. I asked in several forums and lists, but i never got a real response.
I'm really running of options.

I can not start Tomcat (Version 9 on CentOS) by hitting ./startup.sh. I get this in return:

Using CATALINA_BASE:   /opt/tomcat
Using CATALINA_HOME:   /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME:        /usr/lib/jvm/jre
Using CLASSPATH:       /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar
Using CATALINA_PID:    /opt/tomcat/temp/tomcat.pid
Tomcat started.

Tomcat was not started and an zero-byte length catalina.out was generated. That's all i got, no additional errors or entries in system logs files.

The script startup.sh does call catalina.sh with the option start, which starts tomcat in a separate window. If y try to start Tomcat with ./catalina.sh run, it works. Tomcat starts in the same window.

And now the real weard thing: If i run ./startup.sh and Midnight Commander is running, it works!

I'm logged in as root.

Any idea, what is going on here?

I appreciate any help, thank you.

Cheers

Martin

Jordan Michaels

unread,
Mar 4, 2019, 1:46:25 PM3/4/19
to mod cfml
I've seen similar errors to this when building the installers. Most of them were environment-based. The installers control this by launching Tomcat in a subshell where the environment variables are what we set them to, which reduces errors across different installations. This is the lucee_ctl file that gets created during the install process.

Can't say for sure what the system's issue might be, but it sounds environmental as well.

Hope this helps.

--
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: "swissmerlin" <martin.sc...@gmail.com>
To: "mod cfml" <mod_...@googlegroups.com>
Sent: Monday, 4 March, 2019 03:24:51
Subject: [mod_cfml] Tomcat does not start

Hello

My question is completely of-topic, but hopefully somebody here can help
me. I asked in several forums and lists, but i never got a real response.
I'm really running of options.

I can not start Tomcat (Version 9 on CentOS) by hitting *./startup.sh*. I
get this in return:

Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/jre
Using CLASSPATH: /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-
juli.jar
Using CATALINA_PID: /opt/tomcat/temp/tomcat.pid
Tomcat started.

Tomcat was *not started* and an zero-byte length catalina.out was
generated. That's all i got, no additional errors or entries in system logs
files.

The script *startup.sh* does call *catalina.sh* with the option *start*,
which starts tomcat in a *separate window*. If y try to start Tomcat with *./catalina.sh
run*, it works. Tomcat starts in the same window.

And now the real weard thing: If i run *./startup.sh* and *Midnight
Commander* is running, it works
*!*
I'm logged in as root.

Any idea, what is going on here?

I appreciate any help, thank you.

Cheers

Martin

--
You received this message because you are subscribed to the Google Groups "mod_cfml" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod_cfml+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

swissmerlin

unread,
Mar 4, 2019, 2:00:50 PM3/4/19
to mod_cfml
This was an installation without any exotic installers ;-).
That's why  it is so strange.


Jordan Michaels

unread,
Mar 4, 2019, 2:17:16 PM3/4/19
to mod cfml
Ha. The installers just do all the manual stuff in a scripted way so that it's consistent and easy to support. They really don't do anything unusual. Hosting providers need that so their employees can be trained to support it easier.

I gotcha though. Just trying to share my experiences.

--
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: "swissmerlin" <martin.sc...@gmail.com>
To: "mod cfml" <mod_...@googlegroups.com>
Reply all
Reply to author
Forward
0 new messages