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)”
Tag Archives: jboss
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”
Creating Custom Login Modules In JBoss AS 7 (and Earlier)
JBoss AS 7 is neat but the documentation is still quite lacking (and error messages not as useful as they could be). This post summarizes how you can create your own JavaEE-compliant login module for authenticating users of your webapp deployed on JBoss AS. A working elementary username-password module provided.
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”
Access EJB on JBoss from outside
How to acces an enterprise java bean (EJB) running on JBoss from a standalone application running outside JBoss? In the code you must, among others: Set properties for a naming context and create one to be able to look the EJB up Authenticate by JBoss by means of JAAS To run the application: Set theContinue reading “Access EJB on JBoss from outside”