RackSpace Cloud Server Ubuntu-12.04,Intellij Idea-11.1.2,Windows-8,Tomcat-7.0.26,JDK-6。Tomcat Intellij想法:遠程部署
在IntelliJ IDEA的,當我嘗試我的遠程的Tomcat 7服務器時,它運行JSF項目說:
錯誤運行服務器名:無法連接到IP地址:1099
似乎問題是關於JNDI端口是1099,但我不能激活它我猜。 Tomcat配置是。這樣的:
我沒試過嗎?
設置CATALINA_OPTS或JAVA_OPTS在服務器端使用:
CATALINA_OPTS=-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=1099
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
和
JAVA_OPTS=-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=1099
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
但是這一次沒有工作,任何想法?
這些參數用於與JConsole/VisualVM連接到正在運行的應用程序。百分號可能不需要? –
不行不行 –
或者;我關閉從神器選項構建它不需要JNDI端口,但現在我必須把戰爭爆炸或戰爭文件放入我的遠程服務器,但問題是我應該把它放在哪裏? –