Closed amarbajric closed 6 years ago
1.)
please add to readme for reference
I would highly advise against putting solutions and other references referring to errors, issues and workarounds for used technologies, libraries or frameworks in the README. As there can occur numerous errors on different operating systems, it should be avoided. Also to mention, that this issue did not occur on my machine (macOS 12.6), nor on a Linux(Ubuntu) set-up. The associated docker installations can be found here #36.
2.)
execution of start.bat should NOT be made as administrator on windows since it throws an error because the other scripts cannot be executed as admin by the first script (probably the reason)
please add to readme
I have updated the README and added a hint, where the execution of the start.bat
with admin privileges is not recommended.
HOWEVER starting the Execution Platform as described in the readme does not work for me. (even if done in the exact order as mentioned in the readme) the same thing happens(nothing) when starting the modelling platform via gradlew bootRun
If you refer to the manual execution, where all services are started manually, I can confirm that the manual execution is working on macOS 12.6 without any problems. I can also confirm, that at the beginning of the project, the manual execution worked on my windows machine. Can you provide further steps on how you tried to execute the services manually and what the output was (if any generated)?
1)
I would highly advise against putting solutions and other references referring to errors, issues and workarounds for used technologies, libraries or frameworks in the README
you are definitely correct about that and we should rather include this in our internal documentation. this issue will most likely only occur on some windows machines. thank you very much for the suggestion.
2)
I have updated the README and added a hint
Thank you!
Can you provide further steps on how you tried to execute the services manually and what the output was (if any generated)?
start.bat
in both modes and get the following result in the main shellStart ProcessModelStorage
##########################################################
##########################################################
Start Gateway
##########################################################
##########################################################
Start ProcessEngine
##########################################################
##########################################################
Start ExternalCommunicator
##########################################################
##########################################################
Start EventLogger
##########################################################
##########################################################
Start GUI
##########################################################
##########################################################
Start ModellingPlatform
##########################################################
##########################################################
Installation and boot finished
##########################################################
Drücken Sie eine beliebige Taste . . .
Start Gateway
##########################################################
Drücken Sie eine beliebige Taste . . .
Furthermore I executed each script manually (in the order mentioned in the readme
) and got the same result - no connection to localhost:3000
or localhost:4000
(when executing this respective script for the Modelling Platform)
However when I run the .jar files
by using the command in the readme java -jar ModellingPlatform-0.0.1-SNAPSHOT.jar
Spring starts up as expected and I have access to the S-BPM Modeller.
Do you have any suggestions what I should do differently or what you did differently when you executed it on windows?
@tortmann
I have switched to my windows machine in order to check back on your issues. Here are the results.
docker-compose.yml
file residesdocker-compose up
$ docker-compose up
Creating network "mysqldocker_default" with the default driver
Building mysql
Step 1/5 : FROM mysql:latest
latest: Pulling from library/mysql
Digest: sha256:691c55aabb3c4e3b89b953dd2f022f7ea845e5443954767d321d5f5fa394e28c
Status: Downloaded newer image for mysql:latest
---> 5195076672a7
Step 2/5 : MAINTAINER Bajric (amar.bajric@edu.fh-joanneum.at)
---> Running in 1043d5aef4f9
Removing intermediate container 1043d5aef4f9
---> 1c0586d7fc47
Step 3/5 : ENV MYSQL_ROOT_PASSWORD="Pa$$w0rd"
---> Running in 14e9d765cf3f
Removing intermediate container 14e9d765cf3f
---> e56c9bf9b5ab
Step 4/5 : RUN apt-get update
This output is truncated.
start.bat
(Windows)/Setup/start_windows
directorystart.bat
(start without admin privileges)NO service has thrown any errors. All services ran without any problems and I was also able to access the platform and the modeler.
It seems like these issues are (at the moment) related to your machine and set-up/configuration.
Suggestions:
start.bat
again AND wait for 2-5 min. Maybe the services need some time to start up on your machine? Thank you for the feedback I will try again on a different machine aswell. I do not get any startup(loading) feedback after start.sh has executed in the individual shells for a yet unknown reason. I will provide feedback after I implemented all your suggestions. (I do not get any errors either however - that is why I didn't post any)
reinstall Java? (idk if Java could cause these issues)
shouldn't be the problem since running the .jar files works just fine
I followed the same procedure on my laptop and now it works like it's supposed to. I will try to troubleshoot the issue on the other pc tomorrow to see what is causing it since it may be relevant for other windows users
Very good!
As @loete is not available this week, I would appreciate if you could approve the changes made in this PR.
Tab Files Changed
> Click on Review Changes
> Select Radio Button Approve
> Submit
.
You can also merge it then, by clicking on Squash and merge
.
Deleting the branch is not necessary as it will be done at a later stage during the project.
resolves #2
DONE:
README.md
.start.bat
orstart.sh
scriptsstart.sh
andstart.bat
scripts:ConfigurationService
to use the example processes.ToDo:
start.sh
script on Linux with dev mode and without dev modestart.bat
script on Windows with dev mode and without dev mode (normal mode)