IBM Support

IBM Connections 6.0 Metrics with Cognos and WebSphere Application Server 8.5.5.14

Preventive Service Planning


Abstract

When a Cognos server is upgraded to WebSphere Application Server 8.5.5.14 the following errors will be encountered:

In Community metrics, top contributors and most active content report can not be displayed.

On the Cognos server, the WebSphere SystemErr.log/SystemOut.log file contains the following error:
java.lang.LinkageError: loading constraint violation when overriding method "javax/xml/soap/AttachmentPart.getDataHandler()Ljavax/activation/DataHandler;" during creation of class "org/apache/axis/attachments/AttachmentPart": loader "com/cognos/pogo/isolation/ParanoidClassLoader@ad6434f" of class "org/apache/axis/attachments/AttachmentPart" and loader "com/ibm/oti/vm/BootstrapClassLoader@27d079f5" of class "javax/xml/soap/AttachmentPart" have different types for the method signature

Content

Issue:

When a Cognos server is upgraded to WebSphere Application Server 8.5.5.14 the following errors will be encountered:

  • In Community metrics, the top contributors and most active content reports can not be displayed.
  • On the Cognos server, the WebSphere SystemErr.log/SystemOut.log file contains the following error:

java.lang.LinkageError: loading constraint violation when overriding method "javax/xml/soap/AttachmentPart.getDataHandler()Ljavax/activation/DataHandler;" during creation of class "org/apache/axis/attachments/AttachmentPart": loader "com/cognos/pogo/isolation/ParanoidClassLoader@ad6434f" of class "org/apache/axis/attachments/AttachmentPart" and loader "com/ibm/oti/vm/BootstrapClassLoader@27d079f5" of class "javax/xml/soap/AttachmentPart" have different types for the method signature

Solution:

The upgrade for WAS 8.5.5.14 forces JDK 8,  so your Cognos WAS profile is using JDK 8.  To workaround the problem the the WAS server needs to be configured to use JDK 7.
 

  • Download and install JDK 1.7
  • List available SDK, note down name of jdk7

C:\IBM\WebSphere\AppServer\bin>managesdk.bat -listAvailable
CWSDK1003I: Available SDKs :
CWSDK1005I: SDK name: 1.7_64
CWSDK1005I: SDK name: 1.8_64
CWSDK1005I: SDK name: 1.8_64_bundled
CWSDK1001I: Successfully performed the requested managesdk task.

  • Start DMGR
  • Start node agent for the Cognos server
  • Enable the Cognos profile to use the JDK 7 by running the following managesdk for the Cognos profile:

C:\IBM\WebSphere\AppServer\bin>managesdk.bat -enableProfile -sdkname 1.7_64 -profileName <cognosProfile> -enableServers -user <admin> -password <pwd>
CWSDK1024I: The node default SDK setting for federated profile cognosProfile has
 been saved in the master configuration repository.
CWSDK1025I: A synchronization operation is required before configuration changes
 to federated profile <cognosProfile> can be used.
CWSDK1017I: Profile <cognosProfile> now enabled to use SDK 1.7_64.
CWSDK1001I: Successfully performed the requested managesdk task.

  • Start the Cognos server with the startServer command. If starting the Cognos server from the WebSphere Integrated Solutions Console, make sure that the node synchronization has completed.

Document information

More support for: IBM Connections

Software version: IBM Connections 6.0 CR3

Operating system(s): AIX, Linux, Windows

Reference #: 0732489

Modified date: 31 October 2018