Iam deploying an .ear file in the server\default\deploy location.This .ear contains some jar files which are not recognized by jboss and when server starts up it throws classnotfoundexception.I had tried many ways and set the classpath explicitily to the jars and still its not recognizing the jars.
But if i move the same jar files to server\default\lib directory, it recognizes the file and works fine.
Since these jars are specific to my .ear , i dont want to move them into the lib directory of jboss.
Can somebody please help me out to sort out this issue.
Can you print the stack trace of the exceptions.
That way someone can help you.