#./lib 项目所需jar
#./bin 项目class文件部署位置
cp=./bin
for file in ./lib/*.jar
do
cp=$cp:$file
done
echo 正在启动test-demo 1.0.0.0版本......
echo $cp
nohup java -Xms1024m -Xmx3072m -XX:MaxPermSize=256m -XX:-UseGCOverheadLimit -XX:+HeapDumpOnOutOfMemoryError -Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.security.policy=jstatd.all.policy -classpath $cp com.demo.chat.chat.TestServer demo-chat >>/data/deploy/chat/log/sys.log & tail -f -n0 /data/deploy/stock/log/sys.log