Spring Cloud 路由网关服务端

修改application.properties配置文件:服务端口号、本机名称;

启动注册中心:java -jar uap-register-server-1.0.jar --spring.config.location=D:\config\application.properties

 

修改application.properties配置文件:服务端口、注册中心及微服务项目相关信息;

启动注册中心:java -jar uap-apigateway-server-1.0.jar --spring.config.location=application.properties

 

java -XX:+PrintGCDetails -XX:+UseG1GC -jar uap-apigateway-server-1.0.jar --spring.config.location=application.properties

 

root@Andy-PC:/mnt/d/sg_uap/微服务/资料# find . -name "*uap*.jar"
./com.sgcc.uap.cubeframework_1.0.0.v201706120920.jar
./component/bpm/bpmIntegrated/lib/uap-data-handle.jar
./component/bpm/bpmIntegrated/lib/uap-redis-handle.jar
./component/bpm/bpmIntegrated/lib/uap-tools-1.0.jar
./component/configServer/uap-config-server-1.0.jar
./component/gateway/uap-apigateway-server-1.0.jar
./component/micmonitror/uap-monitor-server-1.0.jar
./component/register/uap-register-server-1.0.jar
./component/tracemonitor/uap-tracemonitor-server-1.0.jar

 

 

BTW:

jps,java版的linux下的ps。查进程ID。

jcmd,java版的windows下的cmd。查进程启动参数。

root@Andy-PC:/usr/lib/jvm/java-8-oracle/bin# ls
appletviewer  jar        javadoc         javapackager  jconsole  jhat   jmc         jsadebugd  jvisualvm     pack200     rmiregistry  tnameserv  xjc
ControlPanel  jarsigner  javafxpackager  java-rmi.cgi  jcontrol  jinfo  jmc.ini     jstack     keytool       policytool  schemagen    unpack200
extcheck      java       javah           javaws        jdb       jjs    jps         jstat      native2ascii  rmic        serialver    wsgen
idlj          javac      javap           jcmd          jdeps     jmap   jrunscript  jstatd     orbd          rmid        servertool   wsimport

 

posted @ 2018-05-31 18:10  任国强  阅读(262)  评论(0编辑  收藏  举报