Reputation: 1378
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
}}}
Upvotes: 4
Views: 1779
Reputation: 3510
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:
Upvotes: 3