blob: e96e6eb947f63120a2621a6ab7b0aaae9917e523 [file]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
<tars>
<application>
enableset=n
setdivision=NULL
<server>
node=tars.tarsnode.ServerObj@tcp -h 192.168.41.103 -p 19386 -t 60000
lognum=10
logLevel=DEBUG
deactivating-timeout=3000
app=ShenyuExampleServer
server=ShenyuExampleApp
localip=192.168.41.103
local=tcp -h 127.0.0.1 -p 21715 -t 3000
basepath=/usr/local/app/tars/tarsnode/data/ShenyuExampleServer.ShenyuExampleApp/bin/
datapath=/usr/local/app/tars/tarsnode/data/ShenyuExampleServer.ShenyuExampleApp/data/
logpath=/usr/local/app/tars/app_log/
loglevel=DEBUG
logsize=15M
log=tars.tarslog.LogObj
config=tars.tarsconfig.ConfigObj
notify=tars.tarsnotify.NotifyObj
classpath=/usr/local/app/tars/tarsnode/data/ShenyuExampleServer.ShenyuExampleApp/bin//conf:/usr/local/app/tars/tarsnode/data/ShenyuExampleServer.ShenyuExampleApp/bin//WEB-INF/classes:/usr/local/app/tars/tarsnode/data/ShenyuExampleServer.ShenyuExampleApp/bin//WEB-INF/lib
jvmparams=-Dcom.sun.management.jmxremote.ssl\=false -Dcom.sun.management.jmxremote.authenticate\=false -Xms2g -Xmx2g -Xmn1g -Xss1024k -XX:CMSInitiatingOccupancyFraction\=60 -XX:+CMSParallelRemarkEnabled -XX:+CMSScavengeBeforeRemark -verbosegc -XX:+PrintGCDetails -XX:ErrorFile\=/usr/local/app/tars/app_log/ShenyuExampleServer/ShenyuExampleApp/jvm_error.log
sessiontimeout=120000
sessioncheckinterval=60000
tcpnodelay=true
udpbuffersize=8192
charsetname=UTF-8
backupfiles=conf
packageFormat=jar
mainclass=-jar /usr/local/app/tars/tarsnode/data/ShenyuExampleServer.ShenyuExampleApp/bin/ShenyuExampleServer.ShenyuExampleApp.jar
<ShenyuExampleServer.ShenyuExampleApp.HelloObjAdapter>
allow
endpoint=tcp -h 192.168.41.103 -p 21715 -t 60000
handlegroup=ShenyuExampleServer.ShenyuExampleApp.HelloObjAdapter
maxconns=100000
protocol=tars
queuecap=50000
queuetimeout=20000
servant=ShenyuExampleServer.ShenyuExampleApp.HelloObj
threads=5
</ShenyuExampleServer.ShenyuExampleApp.HelloObjAdapter>
<ShenyuExampleServer.ShenyuExampleApp.OrderObjAdapter>
allow
endpoint=tcp -h 192.168.41.103 -p 21716 -t 60000
handlegroup=ShenyuExampleServer.ShenyuExampleApp.OrderObjAdapter
maxconns=100000
protocol=tars
queuecap=50000
queuetimeout=20000
servant=ShenyuExampleServer.ShenyuExampleApp.OrderObj
threads=5
</ShenyuExampleServer.ShenyuExampleApp.OrderObjAdapter>
<ShenyuExampleServer.ShenyuExampleApp.UserObjAdapter>
allow
endpoint=tcp -h 192.168.41.103 -p 21717 -t 60000
handlegroup=ShenyuExampleServer.ShenyuExampleApp.UserObjAdapter
maxconns=100000
protocol=tars
queuecap=50000
queuetimeout=20000
servant=ShenyuExampleServer.ShenyuExampleApp.UserObj
threads=5
</ShenyuExampleServer.ShenyuExampleApp.UserObjAdapter>
</server>
<client>
asyncthread=3
locator=tars.tarsregistry.QueryObj@tcp -h 192.168.41.103 -p 17890
sync-invoke-timeout=20000
async-invoke-timeout=20000
refresh-endpoint-interval=60000
stat=tars.tarsstat.StatObj
property=tars.tarsproperty.PropertyObj
report-interval=60000
modulename=ShenyuExampleServer.ShenyuExampleApp
sample-rate=100000
max-sample-count=50
</client>
</application>
</tars>