0


国产化-Tomcat替换——TongWeb的安装和使用

一、安装、启动、停止

    安装获取可能是以.bin结尾的可执行脚本如果是可执行脚本的话直接执行脚本就行本文主要描述绿色版的安装使用

1、安装

#将绿色版放置在指定的目录中
cd /usr/local/tongweb7049
tar xf TongWeb7.0.4.9_M3_Enterprise_Linux.tar.gz

2、授权

cd TongWeb7.0.4.9_M3_Enterprise_Linux
#将授权文件放置在本目录中即可完成授权

3、目录大致作用

[root@localhost TongWeb7.0.4.9_M3_Enterprise_Linux]# 
[root@localhost TongWeb7.0.4.9_M3_Enterprise_Linux]# ls -l 
总用量 20
drwxr-xr-x  9 root root   95 12月 25 09:12 Agent
drwxr-xr-x  6 root root   68 12月 25 09:07 applications
drwxr-xr-x  3 root root   31 12月 25 09:07 autodeploy
drwxr-xr-x  2 root root 4096 12月 25 09:21 bin         #可执行程序
drwxr-xr-x  6 root root 4096 12月 25 09:21 conf
drwxr-xr-x  2 root root   25 4月  14 13:14 deployment  #项目存放路径就是将war包放在这个目录中
drwxr-xr-x  2 root root   29 12月 25 09:21 doc         #使用手册
drwxr-xr-x  5 root root   40 12月 25 09:07 domain_template
drwxr-xr-x 12 root root 4096 12月 25 09:21 lib
-rw-r--r--  1 root root 2082 4月  14 13:14 license.dat
drwxr-xr-x  2 root root    6 12月 25 09:07 license_update
drwxr-xr-x  2 root root    6 12月 25 09:07 logs        #日志不用多说
drwxr-xr-x 20 root root  270 12月 25 09:07 samples
drwxr-xr-x  6 root root   71 12月 25 09:21 service
drwxr-xr-x  2 root root    6 12月 25 09:07 temp
drwxr-xr-x  4 root root   28 12月 25 09:07 TongDataGrid
drwxr-xr-x  5 root root   39 12月 25 09:12 tongweb-mq
drwxr-xr-x 10 root root  260 12月 25 09:21 tools

4、启动停止

4.1、前台启动

[root@localhost bin]# ./startserver.sh         #前台启动命令一般用于容器

[2024-04-14 13:27:49 042] [INFO] [main] [core] [
----------------License dat information------------------
Consumer_Name:    DFT
Project_Name:    测试
Product_Name:    TongWeb
Edition:    Enterprise
Version:    7.0
Expiry_Date:    2024-07-12
Max_Number:    -1
----------------License dat information------------------]

[2024-04-14 13:27:52 605] [INFO] [main] [jca] [Creating JCA thread pool (id=default-thread-pool)]
[2024-04-14 13:27:52 766] [INFO] [main] [ejb-container] [Using directory /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/temp for stateful session passivation]
[2024-04-14 13:27:53 467] [INFO] [main] [core] [Starting TongWeb Server...]
[2024-04-14 13:27:53 577] [INFO] [main] [core] [Standard JMXConnectorServer : (service:jmx:rmi://192.168.1.20:7200/jndi/rmi://192.168.1.20:7200/jmxrmi) started]
[2024-04-14 13:27:53 599] [INFO] [main] [core] [Starting service TONGWEB]
[2024-04-14 13:27:53 600] [INFO] [main] [core] [Starting Servlet Engine: TongWeb]
[2024-04-14 13:27:53 625] [INFO] [main] [web-container] [Starting ProtocolHandler [http-nio2-0.0.0.0-9060]]
[2024-04-14 13:27:53 627] [INFO] [main] [web-container] [Starting ProtocolHandler [http-nio2-8088]]
[2024-04-14 13:27:53 628] [INFO] [main] [web-container] [Starting ProtocolHandler [http-nio-5100]]
[2024-04-14 13:27:53 831] [INFO] [Thread-32] [deployment] [------------------------- admin -> /console]
[2024-04-14 13:27:54 649] [INFO] [Thread-32] [deployment] [Configuring enterprise application: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/console]
[2024-04-14 13:27:54 854] [INFO] [Thread-32] [deployment] [Auto-creating a container for bean console.Comp1864902136: Container(type=MANAGED, id=Default Managed Container)]
[2024-04-14 13:27:54 862] [INFO] [Thread-32] [ejb-container] [Using directory /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/temp for stateful session passivation]
[2024-04-14 13:27:54 884] [INFO] [Thread-32] [deployment] [Enterprise application "/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/console" loaded.]
[2024-04-14 13:27:54 890] [INFO] [Thread-32] [deployment] [Assembling app: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/console]
[2024-04-14 13:27:54 963] [INFO] [Thread-32] [deployment] [Deployed Application(path=/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/console)]
[2024-04-14 13:27:54 971] [INFO] [Thread-32] [deployment] [------the application console loaded successfully in 974 ms.------]
[2024-04-14 13:27:55 760] [INFO] [Thread-32] [core] [At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.]
[2024-04-14 13:27:55 795] [INFO] [Thread-32] [core] [No Spring WebApplicationInitializer types detected on classpath]
[2024-04-14 13:27:56 085] [INFO] [Thread-32] [core] [Initializing Spring FrameworkServlet 'springmvc']
[2024-04-14 13:27:58 852] [INFO] [Thread-37] [deployment] [------------------------- admin -> /heimdall]
[2024-04-14 13:27:59 321] [INFO] [Thread-37] [deployment] [Configuring enterprise application: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/heimdall]
[2024-04-14 13:27:59 424] [INFO] [Thread-37] [deployment] [Enterprise application "/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/heimdall" loaded.]
[2024-04-14 13:27:59 425] [INFO] [Thread-37] [deployment] [Assembling app: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/heimdall]
[2024-04-14 13:27:59 437] [INFO] [Thread-37] [deployment] [Deployed Application(path=/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/heimdall)]
[2024-04-14 13:27:59 440] [INFO] [Thread-37] [deployment] [------the application heimdall loaded successfully in 514 ms.------]
[2024-04-14 13:27:59 806] [INFO] [Thread-37] [core] [At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.]
[2024-04-14 13:27:59 814] [INFO] [Thread-37] [core] [No Spring WebApplicationInitializer types detected on classpath]
[2024-04-14 13:28:00 245] [INFO] [Thread-37] [core] [Initializing Spring FrameworkServlet 'springmvc']

4.2、后台启动

[root@localhost bin]# ./startservernohup.sh                        #后台启动

[root@localhost bin]# tail -f -n 100000 ../logs/server.log         #查看日志
[2024-04-14 13:27:49 042] [INFO] [main] [core] [
----------------License dat information------------------
Consumer_Name:    DFT
Project_Name:    测试
Product_Name:    TongWeb
Edition:    Enterprise
Version:    7.0
Expiry_Date:    2024-07-12
Max_Number:    -1
----------------License dat information------------------]
[2024-04-14 13:27:52 605] [INFO] [main] [jca] [Creating JCA thread pool (id=default-thread-pool)]
[2024-04-14 13:27:52 766] [INFO] [main] [ejb-container] [Using directory /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/temp for stateful session passivation]
[2024-04-14 13:27:53 467] [INFO] [main] [core] [Starting TongWeb Server...]
[2024-04-14 13:27:53 577] [INFO] [main] [core] [Standard JMXConnectorServer : (service:jmx:rmi://192.168.1.20:7200/jndi/rmi://192.168.1.20:7200/jmxrmi) started]
[2024-04-14 13:27:53 599] [INFO] [main] [core] [Starting service TONGWEB]
[2024-04-14 13:27:53 600] [INFO] [main] [core] [Starting Servlet Engine: TongWeb]
[2024-04-14 13:27:53 625] [INFO] [main] [web-container] [Starting ProtocolHandler [http-nio2-0.0.0.0-9060]]
[2024-04-14 13:27:53 627] [INFO] [main] [web-container] [Starting ProtocolHandler [http-nio2-8088]]
[2024-04-14 13:27:53 628] [INFO] [main] [web-container] [Starting ProtocolHandler [http-nio-5100]]
[2024-04-14 13:27:53 831] [INFO] [Thread-32] [deployment] [------------------------- admin -> /console]
[2024-04-14 13:27:54 649] [INFO] [Thread-32] [deployment] [Configuring enterprise application: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/console]
[2024-04-14 13:27:54 854] [INFO] [Thread-32] [deployment] [Auto-creating a container for bean console.Comp1864902136: Container(type=MANAGED, id=Default Managed Container)]
[2024-04-14 13:27:54 862] [INFO] [Thread-32] [ejb-container] [Using directory /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/temp for stateful session passivation]
[2024-04-14 13:27:54 884] [INFO] [Thread-32] [deployment] [Enterprise application "/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/console" loaded.]
[2024-04-14 13:27:54 890] [INFO] [Thread-32] [deployment] [Assembling app: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/console]
[2024-04-14 13:27:54 963] [INFO] [Thread-32] [deployment] [Deployed Application(path=/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/console)]
[2024-04-14 13:27:54 971] [INFO] [Thread-32] [deployment] [------the application console loaded successfully in 974 ms.------]
[2024-04-14 13:27:55 760] [INFO] [Thread-32] [core] [At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.]
[2024-04-14 13:27:55 795] [INFO] [Thread-32] [core] [No Spring WebApplicationInitializer types detected on classpath]
[2024-04-14 13:27:56 085] [INFO] [Thread-32] [core] [Initializing Spring FrameworkServlet 'springmvc']
[2024-04-14 13:27:58 852] [INFO] [Thread-37] [deployment] [------------------------- admin -> /heimdall]
[2024-04-14 13:27:59 321] [INFO] [Thread-37] [deployment] [Configuring enterprise application: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/heimdall]
[2024-04-14 13:27:59 424] [INFO] [Thread-37] [deployment] [Enterprise application "/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/heimdall" loaded.]
[2024-04-14 13:27:59 425] [INFO] [Thread-37] [deployment] [Assembling app: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/heimdall]
[2024-04-14 13:27:59 437] [INFO] [Thread-37] [deployment] [Deployed Application(path=/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/heimdall)]
[2024-04-14 13:27:59 440] [INFO] [Thread-37] [deployment] [------the application heimdall loaded successfully in 514 ms.------]
[2024-04-14 13:27:59 806] [INFO] [Thread-37] [core] [At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.]
[2024-04-14 13:27:59 814] [INFO] [Thread-37] [core] [No Spring WebApplicationInitializer types detected on classpath]
[2024-04-14 13:28:00 245] [INFO] [Thread-37] [core] [Initializing Spring FrameworkServlet 'springmvc']
[2024-04-14 13:28:11 688] [INFO] [Thread-42] [deployment] [------------------------- admin -> /sysweb]
[2024-04-14 13:28:11 787] [INFO] [Thread-42] [deployment] [Configuring enterprise application: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/sysweb]
[2024-04-14 13:28:11 814] [INFO] [Thread-42] [deployment] [Enterprise application "/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/sysweb" loaded.]
[2024-04-14 13:28:11 815] [INFO] [Thread-42] [deployment] [Assembling app: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/sysweb]
[2024-04-14 13:28:11 824] [INFO] [Thread-42] [deployment] [Deployed Application(path=/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/sysweb)]
[2024-04-14 13:28:11 827] [INFO] [Thread-42] [deployment] [------the application sysweb loaded successfully in 71 ms.------]
[2024-04-14 13:28:12 114] [INFO] [Thread-42] [core] [At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.]
[2024-04-14 13:28:12 234] [INFO] [Thread-46] [deployment] [Configuring enterprise application: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/genericra]
[2024-04-14 13:28:12 271] [INFO] [Thread-46] [deployment] [Dumping Generated ra.xml to: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/temp/ra-7441187612184983111genericra.xml]
[2024-04-14 13:28:12 275] [INFO] [Thread-46] [deployment] [Enterprise application "/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/genericra" loaded.]
[2024-04-14 13:28:12 279] [INFO] [Thread-46] [deployment] [Creating dedicated application classloader for genericra]
[2024-04-14 13:28:12 279] [INFO] [Thread-46] [deployment] [Assembling app: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/genericra]
[2024-04-14 13:28:12 330] [INFO] [Thread-46] [deployment] [Deployed Application(path=/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/genericra)]
[2024-04-14 13:28:12 331] [INFO] [Thread-46] [deployment] [------the application genericra loaded successfully in 186 ms.------]
[2024-04-14 13:28:12 663] [INFO] [main] [core] [TongWeb server startup complete in 23609 ms.]
[2024-04-14 13:28:12 669] [INFO] [main] [systemout] [System.out is closed!]
[2024-04-14 13:29:44 054] [INFO] [Thread-48] [web-container] [Pausing ProtocolHandler ["http-nio2-0.0.0.0-9060"]]
[2024-04-14 13:29:44 108] [INFO] [Thread-48] [web-container] [Pausing ProtocolHandler ["http-nio2-8088"]]
[2024-04-14 13:29:44 160] [INFO] [Thread-48] [web-container] [Pausing ProtocolHandler ["http-nio-5100"]]
[2024-04-14 13:29:44 211] [INFO] [Thread-48] [core] [Stopping service TONGWEB]
[2024-04-14 13:29:44 235] [INFO] [admin-startStop-1] [core] [Destroying Spring FrameworkServlet 'springmvc']
[2024-04-14 13:29:44 235] [INFO] [admin-startStop-2] [core] [Destroying Spring FrameworkServlet 'springmvc']
[2024-04-14 13:29:44 250] [INFO] [admin-startStop-3] [deployment] [Undeploying app: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/sysweb]
[2024-04-14 13:29:44 584] [INFO] [admin-startStop-1] [deployment] [Undeploying app: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/console]
[2024-04-14 13:29:44 782] [INFO] [admin-startStop-2] [deployment] [Undeploying app: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/heimdall]
[2024-04-14 13:29:45 014] [INFO] [Thread-48] [web-container] [Stopping ProtocolHandler ["http-nio2-0.0.0.0-9060"]]
[2024-04-14 13:29:45 016] [INFO] [Thread-48] [web-container] [Stopping ProtocolHandler ["http-nio2-8088"]]
[2024-04-14 13:29:45 016] [INFO] [Thread-48] [web-container] [Stopping ProtocolHandler ["http-nio-5100"]]
[2024-04-14 13:29:45 023] [INFO] [Thread-48] [rmi-service] [Stopping server services]
[2024-04-14 13:29:45 031] [INFO] [Thread-48] [deployment] [Undeploying app: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/genericra]
[2024-04-14 13:29:45 036] [INFO] [Thread-48] [deployment] [Stopping ResourceAdapter: genericraRA]
[2024-04-14 13:29:45 413] [INFO] [Thread-48] [web-container] [Destroying ProtocolHandler ["http-nio2-0.0.0.0-9060"]]
[2024-04-14 13:29:45 416] [INFO] [Thread-48] [web-container] [Destroying ProtocolHandler ["http-nio2-8088"]]
[2024-04-14 13:29:45 418] [INFO] [Thread-48] [web-container] [Destroying ProtocolHandler ["http-nio-5100"]]
[2024-04-14 13:29:55 614] [INFO] [main] [core] [
----------------License dat information------------------
Consumer_Name:    DFT
Project_Name:    测试
Product_Name:    TongWeb
Edition:    Enterprise
Version:    7.0
Expiry_Date:    2024-07-12
Max_Number:    -1
----------------License dat information------------------]
[2024-04-14 13:29:58 860] [INFO] [main] [jca] [Creating JCA thread pool (id=default-thread-pool)]
[2024-04-14 13:29:59 020] [INFO] [main] [ejb-container] [Using directory /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/temp for stateful session passivation]
[2024-04-14 13:29:59 120] [INFO] [main] [core] [Starting TongWeb Server...]
[2024-04-14 13:29:59 352] [INFO] [main] [core] [Standard JMXConnectorServer : (service:jmx:rmi://192.168.1.20:7200/jndi/rmi://192.168.1.20:7200/jmxrmi) started]
[2024-04-14 13:29:59 377] [INFO] [main] [core] [Starting service TONGWEB]
[2024-04-14 13:29:59 377] [INFO] [main] [core] [Starting Servlet Engine: TongWeb]
[2024-04-14 13:29:59 412] [INFO] [main] [web-container] [Starting ProtocolHandler [http-nio2-0.0.0.0-9060]]
[2024-04-14 13:29:59 414] [INFO] [main] [web-container] [Starting ProtocolHandler [http-nio2-8088]]
[2024-04-14 13:29:59 415] [INFO] [main] [web-container] [Starting ProtocolHandler [http-nio-5100]]
[2024-04-14 13:29:59 642] [INFO] [Thread-32] [deployment] [------------------------- admin -> /console]
[2024-04-14 13:30:00 508] [INFO] [Thread-32] [deployment] [Configuring enterprise application: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/console]
[2024-04-14 13:30:00 720] [INFO] [Thread-32] [deployment] [Auto-creating a container for bean console.Comp789201413: Container(type=MANAGED, id=Default Managed Container)]
[2024-04-14 13:30:00 727] [INFO] [Thread-32] [ejb-container] [Using directory /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/temp for stateful session passivation]
[2024-04-14 13:30:00 751] [INFO] [Thread-32] [deployment] [Enterprise application "/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/console" loaded.]
[2024-04-14 13:30:00 759] [INFO] [Thread-32] [deployment] [Assembling app: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/console]
[2024-04-14 13:30:00 833] [INFO] [Thread-32] [deployment] [Deployed Application(path=/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/console)]
[2024-04-14 13:30:00 844] [INFO] [Thread-32] [deployment] [------the application console loaded successfully in 1053 ms.------]
[2024-04-14 13:30:01 689] [INFO] [Thread-32] [core] [At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.]
[2024-04-14 13:30:01 723] [INFO] [Thread-32] [core] [No Spring WebApplicationInitializer types detected on classpath]
[2024-04-14 13:30:02 020] [INFO] [Thread-32] [core] [Initializing Spring FrameworkServlet 'springmvc']
[2024-04-14 13:30:04 641] [INFO] [Thread-37] [deployment] [------------------------- admin -> /heimdall]
[2024-04-14 13:30:05 186] [INFO] [Thread-37] [deployment] [Configuring enterprise application: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/heimdall]
[2024-04-14 13:30:05 283] [INFO] [Thread-37] [deployment] [Enterprise application "/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/heimdall" loaded.]
[2024-04-14 13:30:05 284] [INFO] [Thread-37] [deployment] [Assembling app: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/heimdall]
[2024-04-14 13:30:05 290] [INFO] [Thread-37] [deployment] [Deployed Application(path=/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/heimdall)]
[2024-04-14 13:30:05 292] [INFO] [Thread-37] [deployment] [------the application heimdall loaded successfully in 577 ms.------]
[2024-04-14 13:30:05 639] [INFO] [Thread-37] [core] [At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.]
[2024-04-14 13:30:05 648] [INFO] [Thread-37] [core] [No Spring WebApplicationInitializer types detected on classpath]
[2024-04-14 13:30:05 833] [INFO] [Thread-37] [core] [Initializing Spring FrameworkServlet 'springmvc']
[2024-04-14 13:30:18 080] [INFO] [Thread-42] [deployment] [------------------------- admin -> /sysweb]
[2024-04-14 13:30:18 162] [INFO] [Thread-42] [deployment] [Configuring enterprise application: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/sysweb]
[2024-04-14 13:30:18 182] [INFO] [Thread-42] [deployment] [Enterprise application "/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/sysweb" loaded.]
[2024-04-14 13:30:18 182] [INFO] [Thread-42] [deployment] [Assembling app: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/sysweb]
[2024-04-14 13:30:18 188] [INFO] [Thread-42] [deployment] [Deployed Application(path=/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/sysweb)]
[2024-04-14 13:30:18 191] [INFO] [Thread-42] [deployment] [------the application sysweb loaded successfully in 57 ms.------]
[2024-04-14 13:30:18 395] [INFO] [Thread-42] [core] [At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.]
[2024-04-14 13:30:18 504] [INFO] [Thread-46] [deployment] [Configuring enterprise application: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/genericra]
[2024-04-14 13:30:18 544] [INFO] [Thread-46] [deployment] [Dumping Generated ra.xml to: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/temp/ra-5883658716066114612genericra.xml]
[2024-04-14 13:30:18 548] [INFO] [Thread-46] [deployment] [Enterprise application "/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/genericra" loaded.]
[2024-04-14 13:30:18 552] [INFO] [Thread-46] [deployment] [Creating dedicated application classloader for genericra]
[2024-04-14 13:30:18 553] [INFO] [Thread-46] [deployment] [Assembling app: /usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/genericra]
[2024-04-14 13:30:18 607] [INFO] [Thread-46] [deployment] [Deployed Application(path=/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/applications/genericra)]
[2024-04-14 13:30:18 609] [INFO] [Thread-46] [deployment] [------the application genericra loaded successfully in 191 ms.------]
[2024-04-14 13:30:18 921] [INFO] [main] [core] [TongWeb server startup complete in 23297  ms.]            #启动完成之后会输出这个信息
[2024-04-14 13:30:18 930] [INFO] [main] [systemout] [System.out is closed!]

二、参数配置

1、登录控制台

http://部署服务的IP地址:9060/console        #浏览器搜索这个地址
默认用户名字:thanos
默认密码:thanos123.com

首次登录需要修改密码

2、配置JVM参数

2.1、此处修改堆内存大小

2.2、此处编写JVM参数

3、修改web容器的编码

4、修改http全部通道编码

5、通道含义

6、修改web通道端口号

三、应用部署

1、创建应用服务存放目录本次创建的为

/usr/local/tongweb7049/TongWeb7.0.4.9_M3_Enterprise_Linux/webapps

2、将应用服务放入到该目录中进行如下配置

此时再去测试访问即可部署完成

四、JDBC连接池的配置

1、填写信息

2、编写配置

3、JDBC配置完成

五、日常运维

1、监视概括

2、监视慢线程

2.1查看慢线程

3、保存故障快照

设置阈值如有故障检测超过阈值立即报错故障快照

标签: tomcat 服务器 linux

本文转载自: https://blog.csdn.net/weixin_45053774/article/details/137742586
版权归原作者 无言行者 所有, 如有侵权,请联系我们删除。

“国产化-Tomcat替换——TongWeb的安装和使用”的评论:

还没有评论