RA BusinessObjects: Agent stops with "java.lang.NoSuchMethodError"

book

Article ID: 143276

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic Workload Automation - Automation Engine

Issue/Introduction

The RA BusinessObjects Agent can't be started with the following kind of error in the trace log:

 java.lang.NoSuchMethodError: com.businessobjects.dsws.impl.DSWSExceptionDocumentImpl.generatedSetterHelperImpl(Lorg/apache/xmlbeans/XmlObject;Ljavax/xml/namespace/QName;IS)Lorg/apache/xmlbeans/XmlObject;

 

Cause

With newer Business Objects version like 4.2 and also 4.1, SAP switched the xmlbeans-2.3.0.jar to the newer xmlbeans-2.6.0.jar

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Subcomponent: RA Business Objects Agent 4.0

External Application: SAP Business Object 4.1 and 4.2

 

Resolution

In order to properly install / configure the RA BusinessObjects Agent please follow the steps indicated in the documentation, specially:

1. All third-party jar files need to be copied to the lib folder of the agent

2. Before starting the agent, a BusinessObjects Connection Object needs to be created and filled it properly and be attached to the  RA BusinessObjects Agent.

3. For SAP Business Object version 4.1 and 4.2 ( and possibly higher versions), SAP switched the xmlbeans-2.3.0.jar to the newer xmlbeans-2.6.0.jar.


In the RA agent's lib directory, remove the xmlbeans-2.3.0.jar and copy instead the newer xmlbeans-2.6.0.jar.

This file can be found in SAP Business Objects installation:

C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\web services\en\dsws_consumer\data\dswsJavaApi\external