cancel
Showing results for 
Search instead for 
Did you mean: 

Error while Role Upload

Former Member
0 Kudos
89

Hello,

We have Enterprise Portal connected to the Backend SRM System and while trying to do a Role Upload from SRM to Portal ,I get the following error as below:

com.sap.portal.pcd.rolemigration.RoleMigrationConnectionException: Connection Failed: Nested Exception. Physical connection was not initialized. - message at com.sap.portal.pcd.rolemigration.util.Connector.callFunction(System,en,userid,TWPN_GET_URL,SERVICE_TABLE,{ENABLE_LOGGING= , ROLENAME=<Rolename>OBJECT_ID=00000102}): Connection not available for system ''Connection Failed: Nested Exception. Physical connection was not initialized. at com.sap.portal.pcd.rolemigration.util.Connector.callFunction(Connector.java:114) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.migrate(RoleMigrationObject.java:1328) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.doDependentObjects(RoleMigrationObject.java:4974) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.save(RoleMigrationObject.java:4734) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.save(RoleMigrationObject.java:4303) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.migrate(RoleMigrationObject.java:1497) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.migrate(RoleMigrationObject.java:686) at com.sap.portal.pcd.rolemigration.RoleMigrationThread.run(RoleMigrationThread.java:525) Original exception: com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: Nested Exception. Physical connection was not initialized. at com.sapportals.connectors.SAPCFConnector.SAPConnectorException.getNewConnectionFailedException(SAPConnectorException.java:107) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnectionFactory.createManagedConnection(SAPCFConnectorManagedConnectionFactory.java:133) at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:371) at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:262) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorConnectionFactory.getConnectionEx(SAPCFConnectorConnectionFactory.java:156) at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:295) at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:256) at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:446) at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:84) at com.sap.portal.pcd.rolemigration.util.Connector.callFunction(Connector.java:79) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.migrate(RoleMigrationObject.java:1328) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.doDependentObjects(RoleMigrationObject.java:4974) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.save(RoleMigrationObject.java:4734) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.save(RoleMigrationObject.java:4303) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.migrate(RoleMigrationObject.java:1497) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.migrate(RoleMigrationObject.java:686) at com.sap.portal.pcd.rolemigration.RoleMigrationThread.run(RoleMigrationThread.java:525) Caused by: com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: Nested Exception. Failed in creating the JCO Connection. at com.sapportals.connectors.SAPCFConnector.SAPConnectorException.getNewConnectionFailedException(SAPConnectorException.java:107) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.connectWithJCO(SAPCFConnectorManagedConnection.java:456) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.establishInitialConnection(SAPCFConnectorManagedConnection.java:204) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.init(SAPCFConnectorManagedConnection.java:183) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnectionFactory.createManagedConnection(SAPCFConnectorManagedConnectionFactory.java:129) ... 15 more Caused by: com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: 'user' missing at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:518) at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1086) at com.sap.mw.jco.JCO$Client.connect(JCO.java:3296) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.connectWithJCO(SAPCFConnectorManagedConnection.java:429) ... 18 more

Any help would be highly Appreciated.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

p330068
Active Contributor
0 Kudos

Hi,

Please check the SRM system object connection in the SAP Portal. GO to system administration > system configuration > system landscape and search for SRM system object and test the connection. If connection test successful then try to upload the roles.

Hope it will helps

Best Regards

Arun Jaiswal

Former Member
0 Kudos

Resolved.

Thanks

Answers (0)