Sunday, October 5, 2008

axis2 in web sphere

recently we got some problem in the BLF project, which I took part in and finished the web service module.
The issue is it works well in tomcat but not in the web shpere 6 which is required by client.
after research I found that exception: NoSuchMethodError: javax/wsdl/Operation.getExtensibilityElements

and the really reason is the jar conflict.

so the solution is:

configure web sphere , in application details properties, chose class loading and update details,
  • Classes loaded with application class loader first

  • Single class loader for application
then restart application.

and ,after that change , if you get "class is not servlet" error. just remove the servlet-api jar in you war.

No comments: