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

install easytravel app on Linux

AguinagaCSI
Helper

Hi. Iḿ trying to install easytravel app on Ubuntu 20.04 VM and It is not starting. I got some errors: 

 

vagrant@ubuntu:~/easytravel/easytravel-2.0.0-x64/weblauncher$ ./weblauncher.sh
Feb 02, 2022 6:54:55 PM com.dynatrace.diagnostics.uemload.utils.RentalCarsGenerator generateUserFile
INFO: Creating files with Rental Cars.
Feb 02, 2022 6:54:55 PM com.dynatrace.easytravel.spring.PluginNotificationConfigFileGenerator generateConfigFile
INFO: Creating pluginNotificationConfig.json file.
2022-02-02 18:54:55 WebLaunche INFO [Init] -----------------------------------------------------------------------------
2022-02-02 18:54:55 WebLaunche INFO [Init] easyTravel Demo Application - Copyright (C) 2010-2022 dynaTrace software GmbH
2022-02-02 18:54:55 WebLaunche INFO [Init] -----------------------------------------------------------------------------
2022-02-02 18:54:55 WebLaunche INFO [Init] Procedure: WebLauncher
2022-02-02 18:54:55 WebLaunche INFO [Init] Version: 2.0.0.3373
2022-02-02 18:54:55 WebLaunche INFO [Init] Build Date: Fri Jan 21 09:38:55 BRT 2022
2022-02-02 18:54:55 WebLaunche INFO [Init] Platform: Linux 5.4.0-96-generic, amd64
2022-02-02 18:54:55 WebLaunche WARN [PluginFinder] Specified classpath directory 'C:\Program Files\IBM\WebSphere MQ\java\lib' not found or is not a directory.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase$1 (file:/home/vagrant/easytravel/easytravel-2.0.0-x64/lib/catalina.jar) to method java.lang.ClassLoader.registerAsParallelCapable()
WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2022-02-02 18:54:57 WebLaunche WARN [DocumentStarter] Exception occurred while opening URL: http://localhost:8094/ . Exception: Cannot run program "firefox": error=2, No such file or directory
^CStopping HTTP Service Thread and Engine because scenario is not executing any more or a shutdown request was received.
Checking Linux headless processes are not left in memory
looking for
[/home/vagrant/easytravel/easytravel-2.0.0-x64/weblauncher/../chrome/chromium-browser]
or [/home/vagrant/easytravel/easytravel-2.0.0-x64/chrome/chromium-browser]]
or [/home/vagrant/easytravel/easytravel-2.0.0-x64/weblauncher/../chrome/driver/chromedriver_linux64]]
or [/home/vagrant/easytravel/easytravel-2.0.0-x64/chrome/driver/chromedriver_linux64]
Linux Process check complete
Killing Chrome processes finished

 

 

Why Linux app is mapping paths from Windows like this one: 

022-02-02 18:54:55 WebLaunche WARN [PluginFinder] Specified classpath directory 'C:\Program Files\IBM\WebSphere MQ\java\lib' not found or is not a directory.

 

I installed java 11. It is not well explained what dependencies it needs. Can someone installed it on Ubuntu 20.04? 

12 REPLIES 12

AguinagaCSI
Helper

Why I got this error: 

 

2022-02-02 19:06:29 WebLaunche WARN [DocumentStarter] Exception occurred while opening URL: http://localhost:8094/. Exception: Cannot run program "firefox": error=2, No such file or directory

Hi Everyone

I had the same error: "WebLaunche WARN [DocumentStarter] Exception occurred while opening URL: http://localhost:8094/. Exception: Cannot run program "firefox": error=2, No such file or directory"

My Fix:

I figured that firefox was not install on my VM. I ran "yum install firefox" (as root) then relaunched my weblauncher "./weblauncher.sh" and the error stopped popping up. Hope that helps

Hello,

I have installed the Easy travel app in windows 10 but i can't find the link for Dynatrace .exe file for download and install, could you please share link for me to download and use.

 

AguinagaCSI
Helper

It worked. 😉

May you explain how you did it?

 

im having the same issues:

 

sudo ./weblauncher.sh
[sudo] senha para mardata:
fev 11, 2022 10:55:45 DA MANHÃ com.dynatrace.diagnostics.uemload.utils.RentalCarsGenerator generateUserFile
INFO: Creating files with Rental Cars.
fev 11, 2022 10:55:45 DA MANHÃ com.dynatrace.easytravel.spring.PluginNotificationConfigFileGenerator generateConfigFile
INFO: Creating pluginNotificationConfig.json file.
2022-02-11 10:55:46 WebLaunche INFO [Init] -----------------------------------------------------------------------------
2022-02-11 10:55:46 WebLaunche INFO [Init] easyTravel Demo Application - Copyright (C) 2010-2022 dynaTrace software GmbH
2022-02-11 10:55:46 WebLaunche INFO [Init] -----------------------------------------------------------------------------
2022-02-11 10:55:46 WebLaunche INFO [Init] Procedure: WebLauncher
2022-02-11 10:55:46 WebLaunche INFO [Init] Version: 2.0.0.3373
2022-02-11 10:55:46 WebLaunche INFO [Init] Build Date: Fri Jan 21 09:38:55 WAT 2022
2022-02-11 10:55:46 WebLaunche INFO [Init] Platform: Linux 5.13.0-28-generic, amd64
2022-02-11 10:55:47 WebLaunche WARN [PluginFinder] Specified classpath directory 'C:\Program Files\IBM\WebSphere MQ\java\lib' not found or is not a directory.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase$1 (file:/home/mardata/easytravel-2.0.0-x64/lib/catalina.jar) to method java.lang.ClassLoader.registerAsParallelCapable()
WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

 

 

 

 

 

^CStopping HTTP Service Thread and Engine because scenario is not executing any more or a shutdown request was received.
Checking Linux headless processes are not left in memory
looking for
[/home/mardata/easytravel-2.0.0-x64/weblauncher/../chrome/chromium-browser]
or [/home/mardata/easytravel-2.0.0-x64/chrome/chromium-browser]]
or [/home/mardata/easytravel-2.0.0-x64/weblauncher/../chrome/driver/chromedriver_linux64]]
or [/home/mardata/easytravel-2.0.0-x64/chrome/driver/chromedriver_linux64]
Linux Process check complete
Killing Chrome processes finished

Try to remove extracted folder and repeat installation again.

 

I am getting problem on "credit card C app whatever" complaining about one lost log. I removed app folder and extracted again and it works. 

 

 

I removed extracted folder and repeat installation, and same problem:

 

./runEasyTravel.sh
starting easyTravel
===================

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2022-02-11 16:09:33 Launcher INFO [Init] -----------------------------------------------------------------------------
2022-02-11 16:09:33 Launcher INFO [Init] easyTravel Demo Application - Copyright (C) 2010-2022 dynaTrace software GmbH
2022-02-11 16:09:33 Launcher INFO [Init] -----------------------------------------------------------------------------
2022-02-11 16:09:33 Launcher INFO [Init] Procedure: Launcher
2022-02-11 16:09:33 Launcher INFO [Init] Version: 2.0.0.3373
2022-02-11 16:09:33 Launcher INFO [Init] Build Date: Fri Jan 21 09:38:55 WAT 2022
2022-02-11 16:09:33 Launcher INFO [Init] Platform: Linux 5.13.0-28-generic, amd64
Unable to init server: impossível ligar: Ligação recusada
Exception in thread "main" org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(SWT.java:4725)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:1040)
at org.eclipse.swt.widgets.Display.create(Display.java:1020)
at org.eclipse.swt.graphics.Device.<init>(Device.java:175)
at org.eclipse.swt.widgets.Display.<init>(Display.java:586)
at org.eclipse.swt.widgets.Display.<init>(Display.java:577)
at com.dynatrace.easytravel.launcher.LauncherUI.init(LauncherUI.java:74)
at com.dynatrace.easytravel.launcher.Launcher.run(Launcher.java:194)
at com.dynatrace.easytravel.launcher.Launcher.main(Launcher.java:159)
Stopping Engine because shutdown request was received.
Checking Linux headless processes are not left in memory
looking for
[/home/mardata/easytravel-2.0.0-x64/chrome/chromium-browser]
or [/home/mardata/easytravel-2.0.0-x64/chrome/chromium-browser]]
or [/home/mardata/easytravel-2.0.0-x64/chrome/driver/chromedriver_linux64]]
or [/home/mardata/easytravel-2.0.0-x64/chrome/driver/chromedriver_linux64]
Linux Process check complete
Killing Chrome processes finished

you must run linux app using sudo ./weblauncher.sh.

Locate this script in webapp folder.

 

chmod a+x sudo weblauncher.sh

sudo ./weblauncher.sh

Hi Sir ,

I run sudo ./weblauncher.shand still run into the same issue .

First of all why does it look for Websphere in my local (C:\Program Files\IBM\WebSphere MQ\java\lib) . Please see the exception below . (Note :I have installed the EasyTravel on Ubuntu 20 linux ). Appreciate your help. Thanks 


2023-02-17 18:51:02 WebLaunche WARN [PluginFinder] Specified classpath directory 'C:\Program Files\IBM\WebSphere MQ\java\lib' not found or is not a directory.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase$1 (file:/home/ubuntu/easyTravel/easytravel-2.0.0-x64/lib/catalina.jar) to method java.lang.ClassLoader.registerAsParallelCapable()
WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2023-02-17 18:51:05 WebLaunche WARN [DocumentStarter] Exception occurred while opening URL: http://localhost:8094/. Exception: Cannot run program "firefox": error=2, No such file or directory

 

 

Hi there.  I know this is an old thread to dust off, but I am having the same error as the person who you replied to (Walter2) and I would appreciate any help I can get.

My scenario is effectively identical.  I am on Ubuntu Server 22.04.  The installation of easyTravel worked perfectly on a fresh build with java 11.  After extracting the .jar file without issue, I did "/bin/bash installChromeDeps.sh" in the RESOURCES directory.  Again, no problem.

It's when I attempt to invoke ./weblauncher.sh that I get I get the same failure as above:

root@ubuntuserver22-04:/home/bmuniz/easytravel-2.0.0-x64/weblauncher# ./weblauncher.sh
2024-06-18 01:38:11 WebLaunche INFO [Init] -----------------------------------------------------------------------------
2024-06-18 01:38:11 WebLaunche INFO [Init] easyTravel Demo Application - Copyright (C) 2010-2024 dynaTrace software GmbH
2024-06-18 01:38:11 WebLaunche INFO [Init] -----------------------------------------------------------------------------
2024-06-18 01:38:11 WebLaunche INFO [Init] Procedure: WebLauncher
2024-06-18 01:38:11 WebLaunche INFO [Init] Version: 2.0.0.3644
2024-06-18 01:38:11 WebLaunche INFO [Init] Build Date: Mon Mar 25 22:14:55 UTC 2024
2024-06-18 01:38:11 WebLaunche INFO [Init] Platform: Linux 5.15.0-112-generic, amd64
2024-06-18 01:38:11 WebLaunche WARN [PluginFinder] Specified classpath directory 'C:\Program Files\IBM\WebSphere MQ\java\lib' not found or is not a directory.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase$1 (file:/home/bmuniz/easytravel-2.0.0-x64/lib/catalina.jar) to method java.lang.ClassLoader.registerAsParallelCapable()
WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Hi for your issue you will need to keep the terminal runing on weblauch command and open the browser on your easytravel machine then access  the link localhost:8094 if you are logged from another machine use the specific ip address of your easytravel machine with the port 8094.

be aware to allow the ports used on your easytravel machine such 9080 8079 8080 8094

A-HAMILOU
Visitor

EasyTravel Installation: Step-by-Step Guide, the guide provide steps to deploy easy travel using ubuntu 22.04 and java 8.

the steps show you the command to use and already tested.

Featured Posts