cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

Easytravel Webinterface on headless linux

pahofmann
DynaMight Leader
DynaMight Leader

I wan't to use a demo dynatrace instance with easytravel on a hosted headless server in the cloud (digitalocean).

The dynatrace server works fine but I can't get the easytravel configuration webinterface to work, it is not responding on port 8094. Netstat also shows nothing listening on this port.

I'm using the weblauncher.sh and don't see any critical errors in the WebLauncher.log:

(The Firefox exception is expected on a headless Server but shouldn't hinder the webinterface)

2016-09-23 10:28:42 WebLaun INFO    [Init]         -----------------------------------------------------------------------------
2016-09-23 10:28:42 WebLaun INFO [Init] easyTravel Demo Application - Copyright (C) 2010-2016 dynaTrace software GmbH
2016-09-23 10:28:42 WebLaun INFO [Init] -----------------------------------------------------------------------------
2016-09-23 10:28:42 WebLaun INFO [Init] Version: 2.0.0.2173
2016-09-23 10:28:42 WebLaun INFO [Init] Build Date: null
2016-09-23 10:28:42 WebLaun INFO [Init] Platform: Linux 4.4.0-38-generic, amd64
2016-09-23 10:28:42 WebLaun INFO [Tomcat7Starter] Directory does not exist: /opt/easytravel/weblauncher/tomcat
2016-09-23 10:28:42 WebLaun INFO [Tomcat7Starter] starting from webDir=/root/.dynaTrace/easyTravel 2.0.0/easyTravel/tmp/webapp, tomcatDir=/opt/easytravel/weblauncher/tomcat, workDir=/root/.dynaTrace/easyTravel 2.0.0/easyTravel/tmp/8094
2016-09-23 10:28:42 WebLaun WARNING [PluginFinder] Specified classpath directory 'C:\Program Files\IBM\WebSphere MQ\java\lib' not found or is not a directory.
2016-09-23 10:28:42 WebLaun INFO [Tomcat7Starter] Listen to shutdown command at port 8095
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_6.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-app_3_0.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-common_3_0.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-fragment_3_0.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_1_2.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_1_3.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_client_1_3.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_6.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-app_3_0.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-common_3_0.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-fragment_3_0.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_1_2.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_1_3.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_client_1_3.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_6.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-app_3_0.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-common_3_0.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-fragment_3_0.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_1_2.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_1_3.xsd
2016-09-23 10:28:43 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_client_1_3.xsd
2016-09-23 10:35:16 WebLaun INFO [Tomcat7Starter] Disabling persisting to file: SESSIONS.ser
2016-09-23 10:35:16 WebLaun INFO [Tomcat7Starter] Tomcat instance will not be registered in the spring contex.
2016-09-23 10:35:16 WebLaun INFO [Init] -----------------------------------------------------------------------------
2016-09-23 10:35:16 WebLaun INFO [Init] easyTravel Demo Application - Copyright (C) 2010-2016 dynaTrace software GmbH
2016-09-23 10:35:16 WebLaun INFO [Init] -----------------------------------------------------------------------------
2016-09-23 10:35:16 WebLaun INFO [Init] Version: 2.0.0.2173
2016-09-23 10:35:16 WebLaun INFO [Init] Build Date: null
2016-09-23 10:35:16 WebLaun INFO [Init] Platform: Linux 4.4.0-38-generic, amd64
2016-09-23 10:35:18 WebLaun WARNING [DocumentStarter] Exception occurred while opening URL: http://localhost:8094/: com.dynatrace.easytravel.launcher.misc.DocumentStarter openURL
java.io.IOException: Cannot run program "firefox": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:450)
at java.lang.Runtime.exec(Runtime.java:347)
at com.dynatrace.easytravel.launcher.misc.DocumentStarter.openWebBrowser(DocumentStarter.java:192)
at com.dynatrace.easytravel.launcher.misc.DocumentStarter.openURL(DocumentStarter.java:89)
at com.dynatrace.easytravel.weblauncher.RunLauncherTomcat.main(RunLauncherTomcat.java:123)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 6 more

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net
3 REPLIES 3

gabriel_casella
Dynatrace Pro
Dynatrace Pro

It sounds like a bug at the easytravel where the exception of not having a xdg-handler (that calls firefox) is not being treated.

I would suggest opening a case support and letting us know the ticket number here.

thun
Advisor

my colleague opened a support case some days ago: SUPDT-25285

pahofmann
DynaMight Leader
DynaMight Leader

The problem was AppArmor. After deactivating it easytravel runs fine.

So check your AppArmor/SElinux if you run into this problem.

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net