Troubleshooting
Problem
WebSphere Knowledge Center doesn't provide information on how to disable Web Service cache generation for JAX-WS based implementation generated during deployment of Web Service applications.
Symptom
There can be multiple symptoms of the issue which can contribute to the incorrect generation of web service cache during deployment, For example
1) Following error
***********
java.lang.NullPointerException
at
com.ibm.ws.websvcs.wsdl.WASWSDLGenerator.generateWsdl(WASWSDLGenerator.java:238)
java.lang.NullPointerException
at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.reportAvailableServices(WebServicesServlet.java:955)
***************
2) After deployment of Web Service application request fails with 404 error or
javax.servlet.UnavailableException: SRVE0201E: Servlet [com.xxx.services.cccc.xxxxxxx2WS]: not a servlet class |
3) Modules fails to start with WSWS3142E: Error: Could not find Web services engine.
Cause
Incorrect generation of Web Service cache during deployment
Resolving The Problem
Use below JVM custom property as work around under critical situations or as advised by IBM support
Create a JVM custom property with following name / value pair
Name: WSFP_DISABLE_CACHE
Value: true
Refer below URL on how set JVM custom property
Java virtual machine custom properties
http://www-01.ibm.com/support/knowledgecenter/SSAW57_7.0.0/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/xrun_jvm.html?cp=SSAW57_7.0.0%2F3-16-5-448
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21688167