I've got a small issue with JBoss but I can't figure out how to do. I'm working on the jboss-as-kitchensink-ear example that is provided in the quickstart.
So there are two files: EAR file and WAR file. When I deploy it like it is, it works perfectly!
But I want to delpoy this application as ROOT. So I found out a solution on http://docs.jboss.org/jbossas/guides/webguide/r2/en/html/ch06.html with the jboss-web.xml file:
<?xml version="1.0" encoding="UTF-8"?>
The application is deployed as localhosts:8080/ which is great but I can't add user... It looks EAR is not detected. I also add a web module in application.xml in the EAR file:
Unfortunately, it does not work either... Has anyone an idea?
wow... That's crazy... I worked on that for 1-2 hours and I just need to post on the forum to figure out the solution.
I should have read more precisely documentation! Anyway, here is the solution: if you have an application that is deployed inside a EAR file, you don't need jboss-web.xml. You just need to add a web-module in application.xml (EAR file).
Thanks and sorry!