bz51 / SpringBoot-Dubbo-Docker-Jenkins

基于SpringBoot+Dubbo的微服务框架(借助Docker+Jenkins实现自动化、容器化部署)
Apache License 2.0
2.24k stars 938 forks source link

不能访问dubbo-admin #13

Open wruixue opened 5 years ago

wruixue commented 5 years ago

拉取到zookeeper的镜像之后,不能用访问到http://localhost:设置端口号/dubbo-admin-2.8.4/,求解答,页面显示"该网页无法正常运作".

wruixue commented 5 years ago

问题解决了,因为zookeeper镜像中的dubbo-admin没有默认启动,要手动启动

Akemon commented 5 years ago

怎么个手动启动法呀

Jaraxuss commented 5 years ago

@Akemon 参考以下命令

docker exec -it zookeeper-debug bash # 进入zookeeper容器
bash /zookeeper-3.4.10/tomcat/apache-tomcat-8.5.23/bin/startup.sh # 启动tomcat

用户名密码在 /zookeeper-3.4.10/tomcat/apache-tomcat-8.5.23/webapps/dubbo-admin-2.8.4/WEB-INF/dubbo.properties

dubbo.registry.address=zookeeper://127.0.0.1:2181
dubbo.admin.root.password=jishimen2019
dubbo.admin.guest.password=jishimen2019
wang2021300 commented 5 years ago

@Jaraxuss 按你的方式手动启动显示Tomcat已启动,但是依旧访问不到

Using CATALINA_BASE: /zookeeper-3.4.10/tomcat/apache-tomcat-8.5.23 Using CATALINA_HOME: /zookeeper-3.4.10/tomcat/apache-tomcat-8.5.23 Using CATALINA_TMPDIR: /zookeeper-3.4.10/tomcat/apache-tomcat-8.5.23/temp Using JRE_HOME: /usr/lib/jvm/java-1.8-openjdk/jre Using CLASSPATH: /zookeeper-3.4.10/tomcat/apache-tomcat-8.5.23/bin/bootstrap.jar:/zookeeper-3.4.10/tomcat/apache-tomcat-8.5.23/bin/tomcat-juli.jar Tomcat started.

goodBoy-tiger commented 3 years ago

大佬,你要到sql了吗。如果有麻烦发我一份775134046@qq.com 谢谢

goodBoy-tiger commented 3 years ago

大佬,你要到sql了吗。如果有麻烦发我一份775134046@qq.com 谢谢

goodBoy-tiger commented 3 years ago

大佬,你要到sql了吗。如果有麻烦发我一份775134046@qq.com 谢谢