• 首页
  • 产品中心
    • 数式Oinone四大产品

      低代码开发平台无代码开发平台集成开发平台AI大模型开发
    • 数式Oinone体系能力

      用户与组织权限管理文件管理消息中心国际化业务审计
    • 数式Oinone核心产品特性

      低无一体面向软件公司场景无限制应用级扩容可分可合
  • 服务中心
    • 客户服务

      预约演示方案咨询私有部署找人定制
    • 开发者

      问答下载
    • Oinone学院

      社区学习

    《精讲面向软件公司的低代码平台——以Oinone为例》

  • 合作伙伴
    渠道申请伙伴名录专家库
  • 关于数式
0571-88757863

Environment Deployment:Deploying Oinone Projects on TongWeb and Tomcat


I. Scenario Description

Against the backdrop of localization and the trusted computing initiative, deploying projects on application servers like TongWeb (Oriental TongWeb) or Tomcat is often required for technical adaptation, security, and controllability. This article elaborates on the specific methods for deploying Oinone projects using TongWeb or Tomcat.

II. What You Need to Know

  • A deep understanding of Tomcat container-related knowledge is required. Notably, TongWeb operations are highly similar to those of Tomcat.
  • You should clarify the differences between packaging projects as WAR packages and JAR packages.

III. Packaging a Springboot Project as a WAR Package

For detailed steps, refer to: https://www.cnblogs.com/memoa/p/10250553.html

IV. Deploying WAR Packages on TongWeb and Tomcat

  • TongWeb typically provides official operation manuals for WAR package deployment, so details are not repeated here.
  • Sufficient and detailed reference materials for deploying WAR packages on Tomcat are already available online, so this article does not duplicate them.
  • This article focuses on explaining the unique aspects of deploying WAR packages generated from Oinone projects.

V. Deploying Oinone Project WAR Packages

(Ⅰ) Known Limitations

  • When deploying Oinone projects, specifying the lifecycle -Plifecycle=INSTALL is required.
  • TongWeb and Tomcat cannot set Program arguments in startup scripts.

(Ⅱ) Solution Approach

Parameters equivalent to -Plifecycle=INSTALL can be configured via YML file configuration:

pamirs:
  boot:
    init: true
    sync: true
    profile: AUTO
    install: AUTO
    upgrade: FORCE
    modules:

(Ⅲ) Configuration Reference

Refer to Module Startup Instructions for configuration.

ParameterNameDefault ValueDescription
-PlifecycleLifecycle Deployment InstructionRELOADOptions: None/INSTALL/PACKAGE/RELOAD/DDL

1. Installation (INSTALL)

  • install: With a value of AUTO, it indicates that the installation process will execute according to the system's preset automated流程 (process).
  • upgrade: With a value of FORCE, it means the upgrade operation will be carried out forcefully, overriding existing configurations or files.
  • profile: With a value of AUTO, it means configuration file-related operations follow automated settings.

2. Packaging (PACKAGE)

  • install: With a value of AUTO, it indicates that during the installation phase, the packaging operation will be completed according to automated rules.
  • upgrade: With a value of FORCE, it means the packaging during the upgrade will be enforced to ensure the new version is fully packaged.
  • profile: With a value of PACKAGE, it indicates that configuration file-related operations will be executed in packaging mode.

3. Reload (RELOAD)

  • install, upgrade, profile: All with a value of READONLY, meaning that whether for installation, upgrade, or configuration file operations, they are in a read-only state during the reload process, and no modification operations are allowed.

4. Print Change DDL (DDL)

  • install: With a value of AUTO, it means that during the installation process, the operation of printing change Data Definition Language (DDL) will be executed automatically.
  • upgrade: With a value of FORCE, it indicates that the upgrade will force the printing of change DDL to ensure the data structure changes during the upgrade are clearly presented.
  • profile: With a value of DDL, it means configuration file-related operations will focus on printing change DDL.
Edit this page
Last Updated:1/15/26, 4:02 AM
Prev
Environment Upgrade:Cache Connection Switched from Jedis to Lettuce
Next
Environment Deployment:Deploy Designer on NeoKylin (mips64 Architecture)
默认页脚
Copyright © 2026 Mr.Hope