[英]TomEE Intellij Idea: Remote deploy
I trying to deply my webapp on the remote server (VPS) using IDEA. 我试图使用IDEA在远程服务器(VPS)上部署我的Web应用程序。
I done the following: 我做了以下工作:
export JAVA_OPTS="-Dcom.sun.management.jmxremote=
-Dcom.sun.management.jmxremote.port=1099
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false"
And now it's fine, "Connected to server" 现在很好,“已连接到服务器”
But then I got exception: 但后来我得到了例外:
[2014-11-10 03:00:44,431] Artifact MavenChat:war: javax.ejb.EJBException: The bean encountered a non-application exception;
[2014-11-10 03:00:44,431]工件MavenChat:war:javax.ejb.EJBException:Bean遇到非应用程序异常; nested exception is:
嵌套的异常是:
org.apache.openejb.OpenEJBRuntimeException: java.io.FileNotFoundException: /home/denis/apache-tomee-webprofile-1.7.1/bin/C:\\Users\\Denis\\IdeaProjects\\MavenChat\\target\\MavenChat.war (No such file or directory)
org.apache.openejb.OpenEJBRuntimeException:java.io.FileNotFoundException:/home/denis/apache-tomee-webprofile-1.7.1/bin/C:\\Users\\Denis\\IdeaProjects\\MavenChat\\target\\MavenChat.war文件或目录)
How can I fix it? 我该如何解决?
When I manually deploy my app, I 当我手动部署我的应用程序时,
IDEA configuration screen: IDEA配置屏幕:
I'm sure I done it wrong "Staging" 我确定我做错了“分期”
Ok, I could not configure it, but I can deploy my app to my remote server using maven! 好的,我无法配置它,但是我可以使用maven将应用程序部署到我的远程服务器上! I followed this manual and it works!
我遵循了本手册 ,它起作用了!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.