All,
I am using jboss4.2 with jdk 1.6.
I am trying to deploy a webservices with JAX-WS, I created a war file and tried to deploy in
jboss\server\default\deploy folder and have placed all the jar files related to the webservices in the
endorsed directory
jboss\lib\endorsed
When I start the
jboss it fails because one of the class which is inside a jar in jboss\lib\endorsed directory is not able to get the reference of servlet-api.jar (which is here jboss\server\default\deploy) and gives NoClassDefenitonFound error.
If I copy the servlet-api.jar inside the directory jboss\lib\endorsed the error disappears (NoClassDefenitonFound error) but doesn't find my .war file refernce.
My question is, is there a path settings which I need to do so the classes in the jboss\lib\endorsed directory can get refernce of classes in the deploy folder?