essential_viewer as standalone install on ubuntu

Post Reply
salvorhardin
Posts: 1
Joined: 22 Mar 2021, 22:21

HI,

I just tried to install essential architect (standalone installation). And it worked until I copied the essential_viewer.war file (essential_viewer_6112.war) to the tomcat webapps directory and restarted tomcat.

The system responded

Mar 22 23:16:03 ubuntu tomcat9[9286]: Deploying web application archive [/var/lib/tomcat9/webapps/essential_viewer.war]
Mar 22 23:16:06 ubuntu tomcat9[9286]: Error deploying web application archive [/var/lib/tomcat9/webapps/essential_viewer.war]
Mar 22 23:16:06 ubuntu tomcat9[9286]: java.lang.IllegalStateException: Error starting child

Got the following information from the system

Mar 22 23:16:01 ubuntu tomcat9[9286]: Server version name: Apache Tomcat/9.0.31 (Ubuntu)
Mar 22 23:16:01 ubuntu tomcat9[9286]: Server built: Oct 20 2020 12:27:39 UTC
Mar 22 23:16:01 ubuntu tomcat9[9286]: Server version number: 9.0.31.0
Mar 22 23:16:01 ubuntu tomcat9[9286]: OS Name: Linux
Mar 22 23:16:01 ubuntu tomcat9[9286]: OS Version: 5.8.0-45-generic
Mar 22 23:16:01 ubuntu tomcat9[9286]: Architecture: amd64
Mar 22 23:16:01 ubuntu tomcat9[9286]: Java Home: /usr/lib/jvm/java-11-openjdk-amd64
Mar 22 23:16:01 ubuntu tomcat9[9286]: JVM Version: 11.0.10+9-Ubuntu-0ubuntu1.20.04

Any hint would be helpful.

regards
sh
User avatar
jonathan.carter
Posts: 1087
Joined: 04 Feb 2009, 15:44

Hi,

Thanks for your post.

It would be really helpful if you could post more from the Tomcat logs (e.g. /var/logs/tomcat9/catalina.out) that might help identify the reason for the message that you are receiving.

I think the simplest next step would be to try an alternative version of the Java JVM that you are using. I've tested Viewer on Tomcat 9 running on Java 8 with no issues. I note that you are using Java 11. Try installing Java 8 and configure Tomcat 9 to use that and see if that resolves the strange error that you are receiving.

You will need to restart Tomcat once you have installed Java 8 and configured Tomcat 9 to use that version. In addition, I recommend removing the "essential_viewer.war" from the webapps folder and re-deploying it.

Jonathan
Essential Project Team
Post Reply