简体   繁体   English

部署Web应用程序OpenShift Eclipse JBoss工具

[英]Deploying web application OpenShift Eclipse JBoss Tools

For the first time I`m trying to deploy my web application on Openshift free hosting with JBoss Tools in Eclipse and nothing happens :) my domain: docs-velichko.rhcloud.com/ the end of my log when importing application: 我第一次尝试使用Eclipse中的JBoss Tools在Openshift免费托管上部署我的Web应用程序,但没有任何反应:)我的域:docs-velichko.rhcloud.com/导入应用程序时日志的结尾:

    http://mirror.ops.rhcloud.com/nexus/content/groups/public/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar (422 KB at 2600.6 KB/sec)
[INFO] Packaging webapp
[INFO] Assembling webapp [SpringMVC6] in [/var/lib/openshift/55644f6ee0b8cd41470000de/app-root/runtime/repo/target/Mazurov20]
[INFO] Processing war project
[INFO] Copying webapp resources [/var/lib/openshift/55644f6ee0b8cd41470000de/app-root/runtime/repo/src/main/webapp]
[INFO] Webapp assembled in [391 msecs]
[INFO] Building war: /var/lib/openshift/55644f6ee0b8cd41470000de/app-root/runtime/repo/deployments/ROOT.war
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.069s
[INFO] Finished at: Tue May 26 07:22:48 EDT 2015
[INFO] Final Memory: 15M/131M
[INFO] ------------------------------------------------------------------------
Preparing build for deployment
Deployment id is ae0b5aa5
Activating deployment
Starting MySQL 5.5 cartridge
Starting PHPMyAdmin cartridge
Starting jbossews cartridge
Found 127.10.169.129:8080 listening port
-------------------------
Git Post-Receive Result: success
Activation status: success
Deployment completed with status: success

when I`m trying to enter docs-velichko.rhcloud.com/, I see the wonderful "Welcome to your JBossEWS..." instead of my application. 当我尝试输入docs-velichko.rhcloud.com/时,看到的是美妙的“欢迎使用JBossEWS ...”而不是我的应用程序。 In localhost my application works fine. 在本地主机中,我的应用程序运行正常。 I hope somebody will help me. 我希望有人能帮助我。 If this information is not enough, I will give you all information you need very quick! 如果这些信息还不够,我会很快为您提供所有您需要的信息!

Your maven build output shows that the war was deployed to /deployments which isnt the right folder. 您的maven构建输出显示战争已部署到/ deployments,该文件夹不是正确的文件夹。 Deployment is the folder that wildfly app-servers pick their webapp-wars from. 部署是Wildfly应用程序服务器从中选择WebApp Wars的文件夹。 Tomcat/JBossEWS expect wars in webapps. Tomcat / JBossEWS期望Web应用程序发生战争。 We had a bug in older jboss tools versions where this error was occurring: 我们在较旧的jboss工具版本中存在一个错误,该错误会发生:

https://issues.jboss.org/browse/JBIDE-15665 https://issues.jboss.org/browse/JBIDE-15665

What version are you running? 您正在运行什么版本? The above bug was fixed in JBoss Developer Studio 8 aka JBoss Tools 4.2.0.Final. 上述错误已在JBoss Developer Studio 8(也称为JBoss Tools 4.2.0.Final)中修复。 Is this maybe causing your problem? 这可能引起您的问题吗? Tomcat manager, which is available at :8080/manager/html should list you the deployed webapps and reflect your error, it should miss your webapp. Tomcat管理器(可从:8080 / manager / html获取)应该列出已部署的Web应用程序并反映您的错误,它应该错过您的Web应用程序。

Cheers, André 干杯,安德烈

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM