I need to know how to configure web.xml & jboss-web.xml for my application. I created cmp that must work with rmi and soap clients, so I've got two jsp as clients. I put them in the same war archive, rmi is working fine, but when I launch the soap jsp client, it's the rmi which is executed. I don't know why and how to solve this problem. Thanks.