I am having a problem with the hot deploy. When I touch the applicaion.xml file in the myapp.ear directory(I use exploded deplyment) , the jboss start to re-deploy the application. But at sometime I get an exception. The reason for the exception is that Someclass.class.getResourceAsStream(someFile) method return null. When I restart jboss all work fine and the deployment is completed. Can somebody help me?
NEVER try to describe an exception, just post the exception stack trace and message.