resin相關問題

在部署 resin 過程中,遇到很多問題,總結如下:

1.

錯誤:

# sh  */bin/resin.sh restart
Resin/4.0.37 can't restart -server 'app-0'.
com.caucho.bam.RemoteConnectionFailedException: BamError[type=cancel,group=remote-connection-failed,text=Cannot connect to http://127.0.0.1:6615/hmtp
  java.net.ConnectException: 拒絕連接]

原因:

​watchdog沒有啓動,resin無法正常連接watchdog

解決:

# echo $JAVA_HOME
/data/program/jdk1.8.0_101

在 resin 主目錄下執行:

# /data/program/jdk1.8.0_101/bin/java -jar lib/resin.jar start

Resin/4.0.37 launching watchdog at 127.0.0.1:6615
Resin/4.0.37 started -server 'app-0' with watchdog at 127.0.0.1:6615

解決。

 

2. 防火牆沒關;關閉命令:service iptables stop

    機器莫名其妙重啓了,重啓後沒有關閉防火牆。導致服務訪問不了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章