cancel
Showing results for 
Search instead for 
Did you mean: 

Role Migration Error in EP6SP2_P4_HF7

palani_aravazhi
Participant
0 Kudos

We are looking to migrate Roles from R/3 (4.7) to Portals. When we try the Role Upload utility we get the following Java error. I greatly appreciate any help.

- PK

com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component

Component : portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration/com.sap.portal.transport/com.sap.portal.roleUpload

Component class : com.sap.portal.pcd.admintools.roleMigration.DefaultMain

.........

.........

..........

Caused by: java.lang.NoClassDefFoundError: com/sap/mdi/ddtypes/DDObject

at com.sapportals.connectors.SAPCFConnector.execution.structures.RecordSetMetaDataWrapper.getColumnType

....................

....................

Accepted Solutions (1)

Accepted Solutions (1)

palani_aravazhi
Participant
0 Kudos

Aviad,

I follwed your suggestion to change the reference.txt. But in our setup it worked by changing the reference.txt in the directory.

\usr\sap\...\j2ee\.....\cluster\server\managers

Thanks.

- PK

AviadRivlin
Employee
Employee
0 Kudos

Hi PK,

It depend on which J2EE Patch Level you are working - if it is PL > 21, you should change it on the state directory, if you are working with PL < 21 it should be done on the server directory.

Best regards, and if the answer helped you, you are more than welcomed to reward points

Aviad

Answers (1)

Answers (1)

darren_hague
Contributor
0 Kudos

Is com.sap.mdi listed in your J2EE server's references.txt? That might be the problem.

Cheers,

Darren

Former Member
0 Kudos

Hi,

reference library:com.sap.mdi library:jco exists in reference.txt file located in C:\usr\sap\PRAV\j2ee\j2ee_01\cluster\server\manager of EP6,Sp2 server. Kindly suggest, how to resolve the errors? The latest hotfixes for EP6,SP2 is already applied and portal plugin is installed on R/3 system, but we are still getting the errors.

Thanks

Rajendra Adhikari

AviadRivlin
Employee
Employee
0 Kudos

Hi,

Please refer to the installation manual where it is explained how to add the com.sap.mdi reference.

In general you should do the following:

1. With a text editor, open the file:

\usr\sap\<SAP_J2EE_instance_name>\j2ee\<instance_number>\cluster\state\services\file\work\managers\reference.txt

2. Look for the line:

reference service:eisconnector library:jco

3. After the line mentioned in previous step, add the following in a new line:

<b>reference service:eisconnector library:com.sap.mdi</b>

4. Save your changes and close the file.

5. Restart the SAP J2EE Engine.

Please be careful and have a look at the installation manual before changing it.

If you still have problems, please also specify the exact Portal version and J2EE version.

Regards,

Aviad