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

EasyTravel for Linux

helpdesk
Inactive

Hi

I've just installed easyTravel on a Linux 64bit box. On this server there is an appMonitor running.

Is there any documentation about how to configure/start Linux easytravel version. Evey document I found was about Microsoft version. I'd like to know, after installation which are the shell scripts to run and the order... Thank in advance for help

Zaverio

4 REPLIES 4

jonathan_triole
Inactive

Hi Zaverio,

Typically when I am playing around with EasyTravel on Linux I will use a GUI and then run the web launcher. In order to do this, you need to go to the installation directory and launch EasyTravel. For me, I used the following code to run web interface:

cd /opt/easyTravel/weblauncher

sudo ./weblauncher.sh

Best Regards,

Jon

helpdesk
Inactive

Hi

Thank for your fast answer..

I tried it but... there something wrong. Just to be sure, after installation I don't need to run other .sh command (like cmdlauncher.sh or run easytravel.sh ) ??

I started weblauncher but I've any errors that I report below. I run it from root user. The sh does not end and stay frozen

weblauncher/weblauncher.sh
Mar 20, 2017 2:34:57 PM com.dynatrace.easytravel.launcher.httpd.CertificateGenerator executeCommand
INFO: COMMAND: openssl|genrsa|-out|/root/.dynaTrace/easyTravel 2.0.0/easyTravel/config/easytravel-san.key|2048
Mar 20, 2017 2:34:57 PM com.dynatrace.easytravel.launcher.httpd.CertificateGenerator executeCommand
INFO: OpenSSL: Generating RSA private key, 2048 bit long modulus
..+++
.................................+++
e is 65537 (0x10001)
null

Mar 20, 2017 2:34:57 PM com.dynatrace.easytravel.launcher.httpd.CertificateGenerator executeCommand
INFO: COMMAND: openssl|req|-config|/root/.dynaTrace/easyTravel 2.0.0/easyTravel/config/openssl-easytravel.cnf|-new|-out|/root/.dynaTrace/easyTravel 2.0.0/easyTravel/config/easytravel-san.req|-key|/root/.dynaTrace/easyTravel 2.0.0/easyTravel/config/easytravel-san.key
Mar 20, 2017 2:34:57 PM com.dynatrace.easytravel.launcher.httpd.CertificateGenerator executeCommand
INFO: OpenSSL: null

Mar 20, 2017 2:34:57 PM com.dynatrace.easytravel.launcher.httpd.CertificateGenerator executeCommand
INFO: COMMAND: openssl|x509|-req|-in|/root/.dynaTrace/easyTravel 2.0.0/easyTravel/config/easytravel-san.req|-out|/root/.dynaTrace/easyTravel 2.0.0/easyTravel/config/easytravel-san.crt|-CAkey|/data/easytravel-2.0.0-x64/weblauncher/../apache2.2/scripts/CA.key|-CA|/data/easytravel-2.0.0-x64/weblauncher/../apache2.2/scripts/CA.cer|-days|365|-CAcreateserial|-CAserial|/root/.dynaTrace/easyTravel 2.0.0/easyTravel/config/easytravel-CAserial|-extensions|v3_req|-extfile|/root/.dynaTrace/easyTravel 2.0.0/easyTravel/config/openssl-easytravel.cnf
Mar 20, 2017 2:34:57 PM com.dynatrace.easytravel.launcher.httpd.CertificateGenerator executeCommand
INFO: OpenSSL: Signature ok
subject=/CN=Dynatrace/OU=Dynatrace/emailAddress=webmaster@dynatrace.com/ST=Austria/L=Linz/O=Dynatrac...
Getting CA Private Key
null

2017-03-20 14:34:57 WebLaun INFO [Init] -----------------------------------------------------------------------------
2017-03-20 14:34:57 WebLaun INFO [Init] easyTravel Demo Application - Copyright (C) 2010-2017 dynaTrace software GmbH
2017-03-20 14:34:57 WebLaun INFO [Init] -----------------------------------------------------------------------------
2017-03-20 14:34:57 WebLaun INFO [Init] Version: 2.0.0.2542
2017-03-20 14:34:57 WebLaun INFO [Init] Build Date: null
2017-03-20 14:34:57 WebLaun INFO [Init] Platform: Linux 3.10.0-514.6.1.el7.x86_64, amd64
2017-03-20 14:34:58 WebLaun INFO [Tomcat7Starter] Directory does not exist: /data/easytravel-2.0.0-x64/weblauncher/tomcat
2017-03-20 14:34:58 WebLaun INFO [Tomcat7Starter] starting from webDir=/root/.dynaTrace/easyTravel 2.0.0/easyTravel/tmp/webapp, tomcatDir=/data/easytravel-2.0.0-x64/weblauncher/tomcat, workDir=/root/.dynaTrace/easyTravel 2.0.0/easyTravel/tmp/8094
2017-03-20 14:34:58 WebLaun WARNING [PluginFinder] Specified classpath directory 'C:\Program Files\IBM\WebSphere MQ\java\lib' not found or is not a directory.
2017-03-20 14:34:58 WebLaun INFO [Tomcat7Starter] Listen to shutdown command at port 8095
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_6.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-app_3_0.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-common_3_0.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-fragment_3_0.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_1_2.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_1_3.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_client_1_3.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_6.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-app_3_0.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-common_3_0.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-fragment_3_0.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_1_2.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_1_3.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_client_1_3.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_6.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-app_3_0.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-common_3_0.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/web-fragment_3_0.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_1_2.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_1_3.xsd
2017-03-20 14:34:59 WebLaun WARNING [DigesterFactory] Could not get url for /javax/servlet/resources/javaee_web_services_client_1_3.xsd
2017-03-20 14:35:08 WebLaun INFO [Tomcat7Starter] Disabling persisting to file: SESSIONS.ser
2017-03-20 14:35:08 WebLaun INFO [Tomcat7Starter] Tomcat instance will not be registered in the spring contex.
2017-03-20 14:35:08 WebLaun INFO [Init] -----------------------------------------------------------------------------
2017-03-20 14:35:08 WebLaun INFO [Init] easyTravel Demo Application - Copyright (C) 2010-2017 dynaTrace software GmbH
2017-03-20 14:35:08 WebLaun INFO [Init] -----------------------------------------------------------------------------
2017-03-20 14:35:08 WebLaun INFO [Init] Version: 2.0.0.2542
2017-03-20 14:35:08 WebLaun INFO [Init] Build Date: null
2017-03-20 14:35:08 WebLaun INFO [Init] Platform: Linux 3.10.0-514.6.1.el7.x86_64, amd64
2017-03-20 14:35:10 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:1047)
at java.lang.Runtime.exec(Runtime.java:617)
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:125)
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:187)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
... 6 more

Exception in thread "main" java.lang.IllegalArgumentException: Exception occurred while opening URL: http://localhost:8094/
at com.dynatrace.easytravel.launcher.misc.DocumentStarter.openURL(DocumentStarter.java:105)
at com.dynatrace.easytravel.weblauncher.RunLauncherTomcat.main(RunLauncherTomcat.java:125)
Caused by: java.io.IOException: Cannot run program "firefox": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
at java.lang.Runtime.exec(Runtime.java:617)
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)
... 1 more
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:187)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
... 6 more

duncan_gillingw
Dynatrace Participant
Dynatrace Participant

I'm trying it for the first time now, I just ran:

sh ./runEasyTravel.sh

and that brought up the EasyTravel UI

helpdesk
Inactive

Hi

I run ./weblauncher.sh like suggested and, after a while.... it finally started.

I had the error reported but it seems to work. I succesfully connected my browser

with 8094 port. I succesfully imported system profile and now I can see "easytravel"

in my appMonitor client intefaces !!!

Now, simple question... I think that is now necessary to install the license, how can I do ??

Thank

Zaverio