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? 

6 REPLIES 6

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

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