I'm generating a .ear file using Maven and deploying at JBoss 4.0.3RC1. This file contains all .jar and .war files needed for my application, and for now I basically have to access one of the web-applications (defined at security.war, inside security.ear) located at http://localhost:8080/security. It works, I can access the published site at the "security" context, but it doesn't work when I try to access the HttpInvoker Spring's service for example (I'm getting rid of EJB).
So, the problem seems ridiculous: apparently the web-app can't find other resources like spring.jar's classes, and so on. I'm getting a lot of ClassNotFoundException. I don't know what's wrong with this, it works when I get rid of the .ear and copy all libraries in /lib directory, but of course I did that just for testing.
Can anybody help me?
Thanks in advance.