如何在Openshift v3上使用Jboss工具部署应用程序?

问题描述 投票:1回答:1

这些图片显示了我在openhift v3上使用jboss-tools进行Web应用程序部署的过程。我的参考网站是

https://tools.jboss.org/documentation/howto/os3_startusing.html#deploy_app

enter image description here

enter image description here

我将Context Directory值保留为空。

enter image description here

我检查重用现有存储库选项。

我的wildfly pod已成功创建。

enter image description here

但是示例Web应用程序的部署失败了。

enter image description here

enter image description here

enter image description here

我不知道错过了哪个过程。如何使用eclipse jboss-tools部署Web应用程序?

更新

Wildfly部署文件夹中没有应用程序。在pod日志中,我看不到任何部署。

[0m[0m08:06:03,846 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
[0m[0m08:06:03,963 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) WFLYDS0013: Started FileSystemDeploymentService for directory /wildfly/standalone/deployments

在Web控制台终端中,我发现部署war文件位于不适当的文件夹中。

sh-4.2$ pwd                                                                         
/opt/app-root/src/deploy 
sh-4.2$ ls 
README.md  ROOT.war  ROOT.war.dodeploy  WebContent 

sh-4.2$ pwd
/wildfly/standalone/deployments
sh-4.2$ ls –l 
total 12 -rw-rw-r--. 1 default root 8870 Aug 19  2016 README.txt

我想我错过了将我的war项目部署到Wildfly应用程序的任何过程。

eclipse openshift jboss-tools
1个回答
0
投票

(代表作者提问)。

我解决了看这张图:

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.