MATLAB Web App Server service registration

5 Ansichten (letzte 30 Tage)
zapaiz
zapaiz am 22 Feb. 2019
Beantwortet: zapaiz am 22 Feb. 2019
I have installed succesfully "MATLAB Web App Server (R2018b)" in a virtual machine in my company server, registering the service with the default account (MwWebAppsGuestR2018b). I've created a few test WebApps and everything worked well (accessing the server via browswer from different PCs too) so I decide to go one step further implementing my work scripts as WebApps.
I've discovered that:
  1. my webapp was not working because it was not possible for it to access to a certain shared folder,
  2. I have inferred that probably the "MATLAB Web App Server" registered with MwWebAppsGuestR2018b does not have the necessary permissions to access to shared folders,
  3. furthermore I can navigate to this folder using my company domain account logged in the VM,
  4. I can run also my app within Matlab in the VM and it works well (probably because I run it using my full privileged domain account),
  5. so I tried to register the MATLAB Web App Server server using my domain user to inherit its privileges,
  6. BUT the user cannot be found,
  7. in the "Configure MATLAB Web App Server" guide here it is stated that you can "Register the web apps service using an existing local account". So, is my personal domain account useless?
  8. My company policy is that local accounts cannot access to shared folders
  9. IT guys proposed me to use a Managed Service Account but I think that this wil not work since MSAs are domain account too, I'm I right?
So, how can I solve this issue within matlab without subverting my company policies?

Antworten (1)

zapaiz
zapaiz am 22 Feb. 2019
It seems that the registration of the MATLAB Web App Server (R2018b) service using a domain account cannot be done using the MATLAB Web App Server GUI but it can be achieved using the Windows GUI, I'm using win server 2016.
Instructions:
  1. turn OFF the WebAppServer,
  2. turn ON the "Services" GUI of windows (services.msc),
  3. find "MATLAB Web Apps (R2018b)" among the services and double click on it,
  4. select the "Log On" section,
  5. delete the MwWebAppsGuestR2018b account and insert your domain credentials and click OK,
  6. turn ON the WebAppServer.
After this trick the WebServer started correctly and my WebApp was finally able to access to the shared folder.
After the previous procedure the Matlab WebAppServer GUI was still showing the MwWebAppsGuestR2018b user as the registered one. But using the task manager the service was "owned" by my domain account.

Kategorien

Mehr zu MATLAB Web App Server finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by