Deployed "tutorialApp" as Web App does not work correctly.

조회 수: 8 (최근 30일)
Aaron Price
Aaron Price 2020년 11월 19일
댓글: Solam 2023년 7월 7일
I created a simple app following the prefab tutorial here: https://www.mathworks.com/help/matlab/creating_guis/create-a-simple-app-or-gui-using-app-designer.html. The app works as expected.
Then I followed the instructions here to compile the same app using the Web App Compiler, and deploy the resulting .ctf file on my locally running Web App Server. https://www.mathworks.com/help/compiler/webapps/create-and-deploy-a-web-app.html
The Server home page displays the tile for my app, but when I click the app it displays the app incorrectly. Specifically, the slider is not displayed. Refreshing the app, if you are lucky, results in the app displaying and functioning correctly.
This image shows what typically loads when I start the web app. The "Amplitude" slider label is present, but the slider ui element itself is absent.
If you are lucky, and refresh enough, the app displays and functions correctly, as shown below.
Does anyone know why the bsaic tutorial app is not functioning correctly when deployed as a web app?
web app log file:
00000002 2020-11-19 15:07:33 0x00000730 cppmicroservices::install W file not found: C:\Program Files\MATLAB\MATLAB Runtime\v99\bin\win64\spf\servicedependencies
00000003 2020-11-19 15:07:33 0x00000730 agent::agentcore V Core framework services started.
00000004 2020-11-19 15:07:33 0x00000730 agent::agentcore V Registering agentmdwas_9_9 using lockroot C:\ProgramData\MathWorks\webapps\R2020b\USR\locks
00000005 2020-11-19 15:07:33 0x00000730 agent::agentcore V Registration complete.
00000006 2020-11-19 15:07:33 0x00000730 cppmicroservices::install W file not found: C:\Program Files\MATLAB\MATLAB Runtime\v99\bin\win64\spf\inprocessdiscovery
00000007 2020-11-19 15:07:33 0x00000730 agent::agentcore E Failed to setup InProcessDiscovery
00000008 2020-11-19 15:07:33 0x00000730 agent::agentcore V Exception caught: Dynamic exception type: class std::runtime_error
std::exception::what: Could not get InProcessDiscovery microservice
00000009 2020-11-19 15:07:33 0x00000730 cppmicroservices::install W file not found: C:\Program Files\MATLAB\MATLAB Runtime\v99\bin\win64\spf\externalprocessdiscovery
00000010 2020-11-19 15:07:33 0x00000730 cppmicroservices::install W file not found: C:\Program Files\MATLAB\MATLAB Runtime\v99\bin\win64\agent_plugins\http_authenticators
00000011 2020-11-19 15:07:33 0x00000da4 agent::staticcontent W Attempted re-registration of stem /default(folder: /html/, service instance: 52edaf18-f9b1-4a71-aa63-a13b15ebea37)
00000012 2020-11-19 15:07:33 0x00000730 cppmicroservices::install W file not found: C:\Program Files\MATLAB\MATLAB Runtime\v99\bin\win64\agent_plugins\http_authenticators
00000013 2020-11-19 15:07:33 0x00000730 agent::mdwas V Config path: C:\ProgramData\MathWorks\webapps\R2020b\config\webapps.config
00000014 2020-11-19 15:07:33 0x00000730 agent::mdwas V Configured Runtimes:
Version: 9.9, Path: C:\Program Files\MATLAB\MATLAB Runtime\v99, MaxPrewarmedWorkers: 6
00000015 2020-11-19 15:07:33 0x00000730 agent::agentcore V All services started.
00000016 2020-11-19 15:07:36 0x00002edc agent::mdwas V Service started: processcontrol
00000017 2020-11-19 15:07:36 0x00002edc agent::mdwas V Starting initial prewarming of workers
00000018 2020-11-19 15:07:36 0x00001ab8 agent::connectorproxy V OpenEmbeddedConnectorChannel received
00000019 2020-11-19 15:07:36 0x00000da4 agent::connectorproxy V OpenEmbeddedConnectorChannel received
00000020 2020-11-19 15:07:36 0x00003cc8 agent::connectorproxy V OpenEmbeddedConnectorChannel received
00000021 2020-11-19 15:07:36 0x00003cc8 agent::connectorproxy V OpenEmbeddedConnectorChannel received
00000022 2020-11-19 15:07:36 0x00000da4 agent::connectorproxy V OpenEmbeddedConnectorChannel received
00000023 2020-11-19 15:07:36 0x00000da4 agent::connectorproxy V OpenEmbeddedConnectorChannel received
00000024 2020-11-19 15:07:43 0x00001f50 agent::httpserver V Incoming connection: 127.0.0.1:50564, on 127.0.0.1:27182/connectorproxy/control
00000025 2020-11-19 15:07:44 0x00001d6c agent::httpserver V Incoming connection: 127.0.0.1:50565, on 127.0.0.1:27182/connectorproxy/control
00000026 2020-11-19 15:07:44 0x000012b4 agent::httpserver V Incoming connection: 127.0.0.1:50566, on 127.0.0.1:27182/connectorproxy/control
00000027 2020-11-19 15:07:44 0x000012b4 agent::httpserver V Incoming connection: 127.0.0.1:50581, on 127.0.0.1:27182/connectorproxy/control
00000028 2020-11-19 15:07:44 0x00001f50 agent::httpserver V Incoming connection: 127.0.0.1:50583, on 127.0.0.1:27182/connectorproxy/control
00000029 2020-11-19 15:07:44 0x00001d6c agent::httpserver V Incoming connection: 127.0.0.1:50585, on 127.0.0.1:27182/connectorproxy/control
00000030 2020-11-19 15:07:48 0x00001d5c agent::httpserver V Incoming connection: 192.168.1.96:50587, on 192.168.1.96:9988/webapps/home/
00000031 2020-11-19 15:07:48 0x00001d5c agent::httpserver V Incoming connection: 192.168.1.96:50587, on 192.168.1.96:9988/webapps/home/basic/release/clientmdwas-basic/css/main.css
00000033 2020-11-19 15:07:48 0x00002f40 agent::httpserver V Incoming connection: 192.168.1.96:50589, on 192.168.1.96:9988/webapps/home/basic/release/clientmdwas-basic/dojoConfig-release-global.js
00000032 2020-11-19 15:07:48 0x00004a8c agent::httpserver V Incoming connection: 192.168.1.96:50588, on 192.168.1.96:9988/webapps/home/basic/release/clientmdwas-basic/css/index.css
00000034 2020-11-19 15:07:48 0x00002d74 agent::httpserver V Incoming connection: 192.168.1.96:50591, on 192.168.1.96:9988/webapps/home/basic/release/dojo/dojo.js
00000035 2020-11-19 15:07:48 0x00002d74 agent::httpserver V Incoming connection: 192.168.1.96:50591, on 192.168.1.96:9988/webapps/home/basic/release/clientmdwas-basic/browsercheck.js
00000036 2020-11-19 15:07:48 0x00002d74 agent::httpserver V Incoming connection: 192.168.1.96:50591, on 192.168.1.96:9988/webapps/home/basic/release/clientmdwas-basic/nls/browsercheck_en-us.js
00000037 2020-11-19 15:07:48 0x00002d74 agent::httpserver V Incoming connection: 192.168.1.96:50591, on 192.168.1.96:9988/webapps/home/basic/release/clientmdwas-basic/clientmdwas-basic.js
00000038 2020-11-19 15:07:48 0x00002d74 agent::httpserver V Incoming connection: 192.168.1.96:50591, on 192.168.1.96:9988/webapps/home/basic/release/clientmdwas-basic/nls/clientmdwas-basic_en-us.js
00000039 2020-11-19 15:07:48 0x00002d74 agent::httpserver V Incoming connection: 192.168.1.96:50591, on 192.168.1.96:9988/webapps/home/basic/release/clientmdwas-common/images/errorIcon.svg
00000040 2020-11-19 15:07:48 0x00002d74 agent::httpserver V Incoming connection: 192.168.1.96:50591, on 192.168.1.96:9988/webapps/commands
00000041 2020-11-19 15:07:48 0x00002d74 agent::httpserver V Incoming connection: 192.168.1.96:50591, on 192.168.1.96:9988/webapps/commands
00000042 2020-11-19 15:07:48 0x00002d74 agent::httpserver V Incoming connection: 192.168.1.96:50591, on 192.168.1.96:9988/webapps/home/basic/release/clientmdwas-common/images/diagnostics.svg
00000043 2020-11-19 15:07:48 0x00002f40 agent::httpserver V Incoming connection: 192.168.1.96:50589, on 192.168.1.96:9988/webapps/screenshots/tutorialApp.png
  댓글 수: 1
Solam
Solam 2023년 7월 7일
up
I have the same issue with the 2022a. Some files are not found like C:\Program Files\MATLAB\MATLAB Runtime\v912\bin\win64\spf\externalprocessdiscovery, the last folder externalprocessdiscovery doesn't exist.... I don't understand. I call Mathworks, I wait for answers.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Web App Server에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by