127.0.0.1
for the following reasons:each service has at least one obj to serve foreign clients;
each service has a obj for administration, it binds to ip 127.0.0.1
and the same port which servant obj binds to.
The RPC framework supports C++ and Java. Each language has its related baselib, idl generate-code tools, and implementation of client's and server's code.
The C++ stuff only supports run on linux, the Java's supports run on linux & windows.
The basic framework is developed by C++, on linux.
/usr/local/mysql/
by default .If mysql is installed in different path, please modify the CMakeLists.txt (framework/tarscpp/CMakeLists.txt
, framework/CMakeLists.txt
) before compiling.
ps -ef|grep tars
to check that the core service processes of Tars are alive, ie, tarsregistry, tarsAdminRegistry, tarsnode, tarsconfig and tarspatch.Deploy failed! Contact admin please.
.The core services:
|-tarsAdminRegistry
|-tarsregistry
|-tarsnode
|-tarsconfig
|-tarspatch
The general services:
|-tarsstat
|-tarsproperty
|-tarsnotify
|-tarslog
|-tarsquerystat
|-tarsqueryproperty
The command make framework-tar
pack core services, the core services can't be seen on management system except tarsconfig and tarspatch.
When you deploy general services via web management platform, be care of selection of the name and protocol of the obj.
Log file path: /usr/local/app/tars/app_log/${Application}/${ServiceName}/
, such as
/usr/local/app/tars/app_log/Test/HelloServer/
Executable file path: /usr/local/app/tars/tarsnode/data/${Application}.${ServiceName}/bin/
, such as
/usr/local/app/tars/tarsnode/data/Test.HelloServer/bin/
Template config file path: /usr/local/app/tars/tarsnode/data/${Application}.${ServiceName}/conf/
, such as
/usr/local/app/tars/tarsnode/data/Test.HelloServer/conf/
Cache file path: /usr/local/app/tars/tarsnode/data/${Application}.${ServiceName}/data/
, such as
/usr/local/app/tars/tarsnode/data/Test.HelloServer/data/
For example, there will be a log file named Test.HelloServer.log
in directory /usr/local/app/tars/app_log/Test/HelloServer/
. If something failed, please check it.
The source path is web/src/main/resources/conf-spring, deploy path is WEB-INF/classes.
No such problem in English environment.
Compile framework first.
Check the core services are alive, ie, tarsregistry、tarsAdminRegistry、tarsnode、tarsconfig、tarspatch. Such as use the command to check:
ps -ef|grep tars
If any of them is not exist, check the db configuration.
Then check whether rsync process exists.
Finally check error logs of tarsnode.
Check section 4.3 of Install.md about web management system installation, the correct configuration is as following:
one of the error configurations is as following:
check if the machine installed unzip
change the 的maxUploadSize
in src/main/resources/conf-spring/spring-context-mvc.xml
and restart resein
Execute the following update script,and make sure that the password od database is right
TarsFramework/sql/upgrade2IPv6.sh
Please restart tarsnode after install jdk
/usr/local/app/tars/tarsnode/util/start.sh