洗了shuan了 2023-08-10 12:16 采纳率: 0%
浏览 15
已结题

matlab web app server默认注册时卷标语法错误

img

在启动matlab web app server 使用默认注册时出现了卷标语法错误 ,路径和文件名感觉都没有错,环境变量也配置好了,
runtime是在官网下的R2022a版本
matlab版本是R2022a的

webapps.config


<?xml version="1.0" encoding="utf-8"?>
<settings>
    <!-- please keep alphabetized -->
    <!-- Allow HTML content generated by this server to be embedded as an IFRAME on the following sites. See frame-ancestors HTTP header for more info. 
         Should look like "*.acme.com:* dev.local:*" . Empty string means default value, which allows current host only.  -->
    <AllowedFrameAncestors></AllowedFrameAncestors>
    <!-- autodeploy folder location, default is <UserStorageRoot>/apps -->
    <AppsPath></AppsPath>
    <!-- Settings for running code in containers (Linux only) -->
    <!-- Containers.DockerPath - location of docker executable --> 
    <!-- Containers.UseForWorkers - whether to run workers in containers or regular process --> 
    <!-- Containers.WorkerImage - name of docker image that will be used to run workers. Runtime will be mapped to it --> 
    <!-- Containers.WorkerExtraParams - additional command line to pass to docker for running worker. May contain things like CPU limits, network bindings, etc --> 
    <Containers DockerPath="" UseForWorkers="0" WorkerImage="" WorkerExtraParams="" />
    <!-- Number of ms to wait for orderly shutdown function to run -->
    <FevalTimeoutMs>5000</FevalTimeoutMs>
    <!-- Where factory configuration for this product is stored. Default is <WebAppsExePath>/resources/spfres -->
    <FactoryStorageRoot></FactoryStorageRoot>
    <!-- Logs.Path - Location for logs, default is <UserStorageRoot>/logs -->
    <!-- Logs.MaxLogSizeMB - Maximum size of individual log, before it will roll over into another file -->
    <!-- Logs.MaxTotalSizeMB - Maximum size of all logs in a directory. Logs over this size will get lost -->
    <!-- Logs.Level - one of verbose, normal, minimal -->
    <Logs Path="" MaxLogSizeMB="10" MaxTotalSizeMB="50" Level="normal" />
    <!-- Allows having multiple instances with the same version number running on different ports -->
    <InstanceName></InstanceName>
    <!-- If empty or "auto", 1 per GB of RAM -->
    <MaxWorkers></MaxWorkers>
    <!-- Time to wait before new session start failure will be issued -->
    <NewSessionTimeoutSec>60</NewSessionTimeoutSec>
    <!-- only one runtime allowed in basic version -->
    <!-- If Runtime.Path is not set, assume runtime is where webapps executable resides <WebAppsExePath> -->
    <!-- If Runtime.MaxPrewarmedWorkers is not set, assume 1/3 of MaxWorkers -->
    <Runtimes>
        <Runtime Path="" MaxPrewarmedWorkers="" />
    </Runtimes>
    <!-- HTTPS: Contains the path to the private key file used for encryption. Can be empty if no private key 
         file is used. -->
    <SecPrivateKeyFile></SecPrivateKeyFile>
    <!-- HTTPS: Contains the path to the certificate file (in PEM format). If the private key and the 
         certificate are stored in the same file, this can be empty if privateKeyFile is given. -->
    <SecCertFile></SecCertFile>
    <!-- The port for the HTTP/HTTPS traffic used by server -->
    <ServerSitePort>9988</ServerSitePort>
    <!-- Session timeout, in min. If session stops communicating to server after this period it will get terminated -->
    <SessionTimeoutMin>5</SessionTimeoutMin>
    <!-- Installation-related settings -->
    <Setup ServerAccount="" 
        ServerAccountCreated="" 
        WorkerAccount="" 
        WorkerAccountGroup="" 
        WorkerAccountCreated="" 
        AuthorsGroup=""/>
    <!-- Start in SSL mode. Default is OFF. Set to 1 to turn ON -->
    <UseSSL></UseSSL>
    <!-- Sessions to communicate over web sockets protocol (faster). Default is ON.  OFF means more compatibility. Set to 1 to turn ON -->
    <UseWebSockets></UseWebSockets>
    <!-- UserStorageRoot == where user configuration info is stored (platform-specific location of local application data that is writeable to current user) 
    On Windows, it is %LOCALAPPDATA%\MathWorks\webapps\<serverVersion> -->
    <UserStorageRoot></UserStorageRoot>
</settings>

webapps_launcher.config

<?xml version="1.0" encoding="utf-8"?>
<settings>
    <!-- Allows having multiple instances with the same version number running on different ports -->
    <InstanceName></InstanceName>
    <!-- Logs.Path - Location for logs, default is <UserStorageRoot>/logs -->
    <!-- Logs.MaxLogSizeMB - Maximum size of individual log, before it will roll over into another file -->
    <!-- Logs.MaxTotalSizeMB - Maximum size of all logs in a directory. Logs over this size will get lost -->
    <!-- Logs.Level - one of verbose, normal, minimal -->
    <Logs Path="" MaxLogSizeMB="10" MaxTotalSizeMB="50" Level="normal" />
    <!-- UserStorageRoot == where user configuration info is stored (platform-specific location of local application data that is writeable to current user) 
    On Windows, it is %LOCALAPPDATA%\MathWorks\webapps\<serverVersion> -->
    <UserStorageRoot></UserStorageRoot>
</settings>

求解决方案

  • 写回答

4条回答 默认 最新

  • Leodong. 2023-08-10 14:07
    关注
    获得1.80元问题酬金

    看这个图片上的报错信息,可能是:
    1、你先检查下webapps_launcher.config这个文件是否在D:\Program Files\MatlabRuntimelv912\binlwin64目录下。
    2、可能是权限问题,重启一下,你右键点击matlab,以管理员身份运行一下。


    如果以上回答对您有所帮助,点击一下采纳该答案~谢谢

    评论

报告相同问题?

问题事件

  • 系统已结题 8月18日
  • 创建了问题 8月10日

悬赏问题

  • ¥15 mysql将查询的结果作为动态列名怎么实现
  • ¥50 python自动地图截图脚本
  • ¥15 悬赏一本书(内含Matlab代码)的书名、作者
  • ¥20 瑞萨RA4M1芯片刷写为arduino r4 minima
  • ¥15 前端vue跟后端java服务部署在线上阿里云服务器
  • ¥15 fastreport怎么判断当前页数
  • ¥15 Kylin-Desktop-V10-GFB-Release-JICAI_02- 2207-Build14-ARM64.iso有没有这个版本的系统啊
  • ¥15 能不能通过蓝牙将传感器数据传送到手机上
  • ¥20 100元python和数据科学实验项目
  • ¥15 根据时间在调用出列表