Please help - after lucee/ubuntu server reboot... tomcat or lucee does not restart!!

353 views
Skip to first unread message

Glen Smale

unread,
Sep 27, 2016, 2:16:38 PM9/27/16
to Lucee
Please can someone assist with this, I am a total newb to deploying lucee on Ubuntu and I am having trouble getting lucee/tomcat/nginx to restart after a server reboot. 

So I installed lucee on Ubuntu 14.04 running nginx using the lucee-5.0.0.252-pl0-linux-x64-installer.run installer. I had a few 503 gateway timeouts when installing Mura as a test but nothing serious. The trouble began when I ran a server reboot, tomcat does not appear to restart. 

Any assistance will be really be appreciated as I am totally losing my marbles here!

I am running ubuntu 14.04, Nginx, Lucee, Tomcat. I installed using lucee-5.0.0.252-pl0-linux-x64-installer.run. A wild guess here... but could it be my JAVA_HOME variable not being set correctly.

I get the following outputs on status tests.

sudo service nginx status

 * nginx is running


sudo service lucee_ctl status

 * Lucee/Tomcat is running (PID: 1328)


socklist command outputs ports as follows:.

type  port      inode     uid    pid   fd  name

tcp   3306      11146     106   1303   10  mysqld

tcp     80      13386       0   1829    6  nginx

tcp     22      10834       0   1255    3  sshd

tcp     22      18242       0   2585    3  sshd

tcp     22      13480       0   1835    3  sshd






Jordan Michaels

unread,
Sep 27, 2016, 6:07:45 PM9/27/16
to lu...@googlegroups.com
If the status command reports running but nothing listening, it's probable that your tomcat thread crashed or was otherwise stopped. Check your catalina.out log file for details.

--
Kind regards,
Jordan Michaels
Vivio Technologies
--
Get 10% off of the regular price for this years CFCamp in Munich, Germany (Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp. 189€ instead of 210€. Visit https://ti.to/cfcamp/cfcamp-2016/discount/Lucee@cfcamp
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/22c711d9-4a1f-442a-a3d5-fcfcf1521541%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Glen Smale

unread,
Sep 27, 2016, 6:57:33 PM9/27/16
to Lucee
Hi Jordan,

Thanks for the advice, I checked the file and these are the warnings I am getting:

  • 26-Sep-2016 23:50:18.780 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

  • 27-Sep-2016 01:28:30.260 WARNING [127.0.0.1-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [FelixDispatchQueue] but has failed to stop it. This is very likely to create a memory leak. Stack trace 

  • log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
  • log4j:WARN Please initialize the log4j system properly.
Kind Regards,

Glen

Glen Smale

unread,
Sep 28, 2016, 3:14:51 AM9/28/16
to Lucee
Some additional info when I run /opt/lucee/tomcat/bin/version.sh I get the following:

/opt/lucee/tomcat/bin/catalina.sh: 553: /opt/lucee/tomcat/bin/catalina.sh: /opt/lucee/jdk/bin/java: not found


Does this mean that my JAVA_HOME is not set correctly and if so what is the location I should be setting. The only files I can find are /opt/lucee/jdk/jre...


Kind Regards Glen

Glen Smale

unread,
Sep 28, 2016, 3:28:15 AM9/28/16
to Lucee
Sorted the problem out, I had my JAVA_HOME as JAVA_HOME=/opt/lucee/jdk/jre/bin/ and not as JAVA_HOME=/opt/lucee/jdk/jre/

So now when I run /opt/lucee/tomcat/bin/version.sh it will output:

Server version: Apache Tomcat/8.0.35

Server built:   May 11 2016 21:57:08 UTC

Server number:  8.0.35.0

OS Name:        Linux

OS Version:     4.4.0-38-generic

Architecture:   amd64

JVM Version:    1.8.0_92-b14

JVM Vendor:     Oracle Corporation


Nice : )

Reply all
Reply to author
Forward
0 new messages