000035291 - WSDL Error when trying to deploy RSA Identity Governance and Lifecycle 7.0.x on a WebSphere application server

Document created by RSA Customer Support Employee on Jun 20, 2017Last modified by RSA Customer Support Employee on Jun 20, 2017
Version 4Show Document
  • View in full screen mode

Article Content

Article Number000035291
Applies ToRSA Product Set: RSA Identity Governance and Lifecycle 
RSA Product/Service Type: WebSphere
RSA Version/Condition: 7.0.x
 
IssueWhen attempting to install RSA Governance and Lifecycle 7.0.x on WebSphere, the UI says Success, but in the underlying stdout.log the following exception is thrown:
 
[5/15/17 16:14:25:221 EDT] 0002b6ea AppDataMgr A ADMA7101E: An unexpected error occurred for the EAR expansion process. The enterprise archive (EAR) file cells/prodCell/applications/aveksa.ear/aveksa.ear is not extracted in the following paths /opt/WebSphere/apps/WAS8/AVEKSA/aveksa.ear. On node: rsaNode01
[5/15/17 16:15:00:776 EDT] 0002b78e AppBinaryProc I ADMA0230I: Will retry to expand the application aveksa, which previously failed to expand.
[5/15/17 16:15:00:785 EDT] 0002b78e NodeSyncTask A ADMS0003I: The configuration synchronization completed successfully.
[5/15/17 16:15:23:944 EDT] 0002b78f WASWSDLGenera E WSWS7054E: The Web Services Description Language (WSDL) file could not be generated for the com.aveksa.server.ws.AccessRequestWebServiceProvider Web service implementation class because of the following error: java.lang.RuntimeException: com.ibm.jtc.jax.tools.ws.processor.modeler.ModelerException: [failed to localize] webserviceap.endpointinteface.plus.annotation(javax.jws.WebParam)
[5/15/17 16:15:23:945 EDT] 0002b78f WSModuleDescr E WSWS7027E: JAX-WS Service Descriptions could not be correctly built because of the following error: javax.xml.ws.WebServiceException: WSWS7054E: The Web Services Description Language (WSDL) file could not be generated for the com.aveksa.server.ws.AccessRequestWebServiceProvider Web service implementation class because of the following error: java.lang.RuntimeException: com.ibm.jtc.jax.tools.ws.processor.modeler.ModelerException: [failed to localize] webserviceap.endpointinteface.plus.annotation(javax.jws.WebParam)
     at com.ibm.ws.websvcs.wsdl.WASWSDLGenerator.generateWsdl(WASWSDLGenerator.java:280)
     at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.generateWSDL(EndpointDescriptionImpl.java:2102)    
     at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.<init>(EndpointDescriptionImpl.java:467)
     at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:401)
     at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:297)  
     at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescriptionFromDBCMap(DescriptionFactoryImpl.java:277)
     at org.apache.axis2.jaxws.description.DescriptionFactory.createServiceDescriptionFromDBCMap(DescriptionFactory.java:524)
     at com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.buildJAXWSServices(WSModuleDescriptorImpl.java:1389)
     at com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl._containsJAXWSWebServices(WSModuleDescriptorImpl.java:550)
     at com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.containsJAXWSWebServices(WSModuleDescriptorImpl.java:525)
     at com.ibm.ws.websvcs.deploy.WSCacheWriter.writeModuleCache(WSCacheWriter.java:571)
     at com.ibm.ws.websvcs.deploy.WSCacheWriter.writeApplicationCache(WSCacheWriter.java:242)
     at com.ibm.ws.websvcs.deploy.WSCacheWriter.writeApplicationCache(WSCacheWriter.java:167)
     at com.ibm.ws.websvcs.deploy.PersistentStorageInstallSaveTask.performTask(PersistentStorageInstallSaveTask.java:196)
     at com.ibm.ws.management.application.sync.AppBinaryProcessor$ExpandApp.expand(AppBinaryProcessor.java:1734)
     at com.ibm.ws.management.application.sync.AppBinaryProcessor$AppBinThread.run(AppBinaryProcessor.java:1239)
     at java.lang.Thread.run(Thread.java:798)
Caused by: java.lang.RuntimeException: com.ibm.jtc.jax.tools.ws.processor.modeler.ModelerException: [failed to localize]         webserviceap.endpointinteface.plus.annotation(javax.jws.WebParam) at com.sun.tools.javac.main.Main.compile(Main.java:482)
     at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:145) at com.ibm.jtc.jax.tools.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:219)
     at com.ibm.jtc.jax.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:135) at com.ibm.jtc.jax.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:66)
     at com.ibm.jtc.jax.tools.ws.spi.WSToolsObjectFactory.wsgen(WSToolsObjectFactory.java:112) at com.ibm.ws.websvcs.wsdl.WASWSDLGenerator.wsgen(WASWSDLGenerator.java:640)
     at com.ibm.ws.websvcs.wsdl.WASWSDLGenerator.generateWsdl(WASWSDLGenerator.java:257)
... 16 more
Caused by: com.ibm.jtc.jax.tools.ws.processor.modeler.ModelerException: [failed to localize] webserviceap.endpointinteface.plus.annotation(javax.jws.WebParam)
     at com.ibm.jtc.jax.tools.ws.processor.modeler.annotation.WebServiceAp.processError(WebServiceAp.java:311)
     at com.ibm.jtc.jax.tools.ws.processor.modeler.annotation.WebServiceVisitor.checkForInvalidImplAnnotation(WebServiceVisitor.java:203)
     at com.ibm.jtc.jax.tools.ws.processor.modeler.annotation.WebServiceVisitor.verifyImplAnnotations(WebServiceVisitor.java:187)
     at com.ibm.jtc.jax.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitType(WebServiceVisitor.java:147)
     at com.ibm.jtc.jax.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitType(WebServiceVisitor.java:82)
     at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:905) at com.ibm.jtc.jax.tools.ws.processor.modeler.annotation.WebServiceAp.process(WebServiceAp.java:252)
     at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:806)
     at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:735)
     at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:110)
     at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1042)
     at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)
     at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1121) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:837)
     at com.sun.tools.javac.main.Main.compile(Main.java:452)
... 23 more

The following errors may also be seen:
 
[5/15/17 16:28:06:728 EDT] 00000155 wtp W org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ZipStreamSaveStrategyImpl save(File, InputStream) ENTRY/RETURN Entry Name [ WEB-INF/classes/patch-version.properties ] is already written into a ZipFile while saving the parent archive. Another ZipEntry with the same name was detected, but will not be written to disk since this is an invalid ZIP structure.
[5/15/17 16:28:06:728 EDT] 00000155 wtp W org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ZipStreamSaveStrategyImpl save(File, InputStream) ENTRY/RETURN Entry Name [ WEB-INF/LocalAgent/common/lib/sqljdbc4.jar ] is already written into a ZipFile while saving the parent archive. Another ZipEntry with the same name was detected, but will not be written to disk since this is an invalid ZIP structure.

 
CauseThe failure is caused by the existence of a legacy webservice that is no longer utilized in the product.
ResolutionFuture versions and patches of RSA Governance and Lifecycle will have the unnecessary webservice classes removed from the product and will not throw this exception.
At the time of this writing, 7.0.1 Patch 4 and 7.0.2 Patch 2 have incorporated the fix for this issue.
WorkaroundHere are steps for working around this error with existing aveksa.ear files that have the unneeded webservice classes:  This procedure makes a backup of the original aveksa.ear application, creates a few temporary directories, unpacks the contents, deletes the unneeded pieces, and reconstitutes the application as 701-aveksa.ear.  This file name can be replaced with the version of software being used. For instance, 701p1-aveksa.ear could be used for 7.0.1 Patch 1.
Perform these steps in a directory that contains the aveksa.ear  after it has been moved to a temporary work area:

mv aveksa.ear aveksa.ear.orig
mkdir unpack
cd unpack
jar xvf ../aveksa.ear.orig
mkdir jardir wardir
cd jardir
jar xvf ../server.jar
rm -rf com/aveksa/server/ws
cd ../wardir
jar xvf ../aveksa.war
cd ..
rm aveksa.war server.jar
jar cvf server.jar -C jardir .
jar cvf aveksa.war -C wardir .
rm -rf jardir wardir
cd ..
jar cvf 701-aveksa.ear -C unpack .
rm -rf unpack

Attachments

    Outcomes