已通过" .dodeploy"进行部署在Wildfly 11中文件消失了吗?

时间:2017-11-28 20:18:42

标签: web-applications deployment jboss wildfly webdeploy

我刚刚在Amazon Linux上使用Java 8安装了Wildfly 11.0.0.Final(Java EE7 Full& Web Distribution)。我的Java和Linux版本低于......

[myuser@mydomain ~]$ java -version
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)
[myuser@mydomain ~]$ uname -a
Linux mydomain.mycoonline.org 4.9.43-17.38.amzn1.x86_64 #1 SMP Thu Aug 17 00:20:39 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

通过创建" .dodeploy"进行部署。文件在Wildfly 11中消失了?我创建了一个名为" myproject.war.dodeploy"的空白文件。在我的部署目录中,但没有发生任何事情(例如,未部署应用程序)。以下是烫发...

[myuser@mymachine ~]$ ls -al /usr/java/jboss/standalone/deployments
total 24
drwxrwxr-x  3 deploy evotext 4096 Nov 28 20:05 .
drwxrwxr-x  8 jboss  jboss   4096 Nov 28 19:27 ..
drwxr-xr-x 11 jboss  jboss   4096 Nov 28 19:59 myproject.war
-rw-r--r--  1 jboss  jboss      0 Nov 28 20:12 myproject.war.dodeploy
-rwxrwxr-x  1 deploy evotext 8888 Nov 28 19:24 README.txt

自述文件说我应该这样做,但文档可能很旧。部署我的应用程序还需要做什么?日志什么也没透露。请注意,我将我的应用部署为爆炸战。

编辑:这里是每个jboss-cli.sh的子系统配置...

[myuser@mymachine bin]$ ./jboss-cli.sh
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /] connect
[standalone@localhost:9990 /] /subsystem=deployment-scanner:read-resource(recursive=true)
{
    "outcome" => "success",
    "result" => {"scanner" => {"default" => {
        "auto-deploy-exploded" => true,
        "auto-deploy-xml" => true,
        "auto-deploy-zipped" => true,
        "deployment-timeout" => 600,
        "path" => "deployments",
        "relative-to" => "jboss.server.base.dir",
        "runtime-failure-causes-rollback" => expression "${jboss.deployment.scanner.rollback.on.failure:false}",
        "scan-enabled" => true,
        "scan-interval" => 5000
    }}}
}

0 个答案:

没有答案