Handling Deployments When Provisioning JBoss domain.xml (With Ansible)

It is tricky to manage JBoss with a provisioner such as Puppet or Ansible because its domain.xml contains not only rather static configuration but also sections that change quite often such as deployments. So how can we manage the static parts of domain.xml with f.ex. Ansible while still enabling developers to deploy at will viaContinue reading “Handling Deployments When Provisioning JBoss domain.xml (With Ansible)”

JBoss Modules Suck, It’s Impossible To Use Custom Resteasy/JAX-RS Under JBoss 7

Since JBoss EAP 6.1 / AS 7.2.0 is modular and you can exclude what modules are visible to your webapp, you would expect it to be easy to ignore the built-in implementation of JAX-RS (Rest Easy 2.3.6) and use a custom one (3.0.6). However, sadly, this is not the case. You are stuck with whatContinue reading “JBoss Modules Suck, It’s Impossible To Use Custom Resteasy/JAX-RS Under JBoss 7”

How I managed to deploy a JSF/Seam portlet to JBoss after all

Deploying a custom JSF/Seam portlet to JBoss Portal Server isn’t as easy as you’d expect, either manually or using Eclipse with JBoss Tools. I’ll share with you what I learned about this. Introduction See the previous Seam Tutorial 1.1 and 1.2 to learn what SW versions I use, how to configure a server in EclipseContinue reading “How I managed to deploy a JSF/Seam portlet to JBoss after all”

Redeploy an application (ear/war/…) on JBoss

A) Via JMX-console find jboss.system:service=MainDeployer invoke listDeployed – find something like: org.jboss.deployment.DeploymentInfo@d78e875f { url=file:/C:/jboss-3.2.3/server/default/deploy/tap.ear }   copy the url, go back and invoke Redeploy with the url (file:/C:/…) as the parameter. B) From the command line The operations that can be invoked via the JBoss JMX console can also be invoked by the cmd lineContinue reading “Redeploy an application (ear/war/…) on JBoss”