4

I'm currently trying to set up hot deployment on Wildfly 8.2.0 in IntelliJ IDEA 14.

My settings are:

Wildfly 8.2.0: Deployment scanners enabled, Auto-deploy Zipped and Auto-deploy Exploded set to true and scan interval is set to 2000

IntelliJ IDEA 14: On update action and On frame deactivation both set to Update classes and resources

But it's still not working. I have to redeploy the application to update the java files.

Edit:

[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" => false,
        "scan-enabled" => true,
        "scan-interval" => 2000
    }}}
Thomas Schmidt
  • 1,248
  • 2
  • 12
  • 37
  • Can you please show your `deployment-scanner` configuration and in which file it is configured? Are you running the server in standalone mode? – Magnilex Apr 22 '15 at 13:52
  • Updated the answer and added the output of `/subsystem=deployment-scanner:read-resource(recursive=true)` – Thomas Schmidt Apr 24 '15 at 19:20
  • Once again, are you running the server in standalone mode? Are you deploying to the path _jboss.server.base.dir/deployments_? – Magnilex Apr 27 '15 at 14:27

1 Answers1

3

I'm not familiar with IntelliJ, but what you want seems to be not possible to me out of the box (at the moment).
Atleast if you want to go the standard way. The standard JVM isn't capable of a full hot deploy feature yet, that's why there are products like JRebel or alternative JVM implementations or tools (HotSwap?), that may solve that problem.

See:

Community
  • 1
  • 1
Zhedar
  • 3,480
  • 1
  • 21
  • 44