Troubleshoot: Error WSW0012E when deploying an EJB module that contains Web services
When deploying an EJB module that contains Web services, you may see the WSWS0012E error messageWSWS0012E: Failed while looking in the application EAR file's application.xml for a Web module whose name is Router Module Name.war. Perhaps the EndpointEnabler has not been run on the application.EJB modules that contain Web services have a corresponding router Web module. WAS assumes that both the router module and the EJB module are deployed at the same time. However, this is not possible when using the WAS Application management tooling. The WAS tools only allow you to add one module to the application at a time. Here are the procedures use to work around this problem:
- Install the WAS APAR PK39487.
- Deploy the router module (Web module) as a module update.
- Deploy the EJB module as an entire module update. Ensure that you use the parameter -custom com.ibm.ws.webservices.validateEJBJAR=false
- Save the new configuration.