amarbajric / EBUSA-AIM17

BPMaaS. Platform for buying, selling and reviewing processes
MIT License
2 stars 3 forks source link

Update of README and both startup scripts #55

Closed amarbajric closed 6 years ago

amarbajric commented 6 years ago

resolves #2

DONE:

ToDo:

Read README in the associated branch for further information.

amarbajric commented 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)?

tortmann commented 6 years ago

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)?

I executed start.bat in both modes and get the following result in the main shell
Start ProcessModelStorage
##########################################################

##########################################################
Start Gateway
##########################################################

##########################################################
Start ProcessEngine
##########################################################

##########################################################
Start ExternalCommunicator
##########################################################

##########################################################
Start EventLogger
##########################################################

##########################################################
Start GUI
##########################################################

##########################################################
Start ModellingPlatform
##########################################################

##########################################################
Installation and boot finished
##########################################################

Drücken Sie eine beliebige Taste . . .
Additionally the individual command shells opened for each script that was executed like so:
Start Gateway
##########################################################

Drücken Sie eine beliebige Taste . . .
When navigating to http://localhost:3000 as instructed I can not establish a connection (Firefox, Chrome, IE)

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.

image

image

Do you have any suggestions what I should do differently or what you did differently when you executed it on windows?

amarbajric commented 6 years ago

@tortmann

I have switched to my windows machine in order to check back on your issues. Here are the results.

1.) Docker mysql container set-up

2.) Execution of all services with start.bat (Windows)

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:

tortmann commented 6 years ago

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 will keep you updated
tortmann commented 6 years ago

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

amarbajric commented 6 years ago

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.