cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.security.core.persistence.datasource.PersistenceException: Connect

Former Member
0 Kudos

Hi All,

I am doing a Homogeneous system copy of portal and SRM. Both system are successfully installed.

SRM system is running fine. But when I try to portal server, it getting failed. When I checked the error log,

13.562: [GC 13.563: [DefNew: 196661K->30363K(261888K), 0.2133204 secs] 196661K->30363K(2009856K), 0.2135221 secs]

Sep 13, 2011 5:39:50 AM com.sap.security.core.persistence [SAPEngine_System_Thread[impl:5]_71] Fatal: Initialization of ABAP data source (com.sap.security.core.persistence.datasource.imp.R3Persistence)failed: "Connect to SAP gateway failed

Connect_PM TYPE=A ASHOST=s2pserver02 SYSNR=01 GWHOST=s2pserver02 GWSERV=sapgw01 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR partner '172.21.15.189:sapgw01' not reached

TIME Tue Sep 13 05:39:50 2011

RELEASE 701

COMPONENT NI (network interface)

VERSION 38

RC -10

MODULE nixxi.cpp

LINE 2835

DETAIL NiPConnect2

SYSTEM CALL connect

ERRNO 10061

ERRNO TEXT WSAECONNREFUSED: Connection refused

COUNTER 1

". This message is critical if it appears during the startup of the AS Java.

Sep 13, 2011 5:39:50 AM ...re.server.ume.service.UMEServiceFrame [SAPEngine_System_Thread[impl:5]_71] Fatal:

service com.sap.security.core.ume.service ================= ERROR =================

Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.

com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details: Connect to SAP gateway failed

Connect_PM TYPE=A ASHOST=s2pserver02 SYSNR=01 GWHOST=s2pserver02 GWSERV=sapgw01 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR partner '172.21.15.189:sapgw01' not reached

TIME Tue Sep 13 05:39:50 2011

RELEASE 701

COMPONENT NI (network interface)

VERSION 38

RC -10

MODULE nixxi.cpp

LINE 2835

DETAIL NiPConnect2

SYSTEM CALL connect

ERRNO 10061

ERRNO TEXT WSAECONNREFUSED: Connection refused

COUNTER 1

at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)

at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)

at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)

at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)

at com.sap.engine.frame.core.thread.Task.run(Task.java:64)

at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:83)

at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:109)

Caused by: com.sap.security.core.persistence.datasource.PersistenceException: Connect to SAP gateway failed

Connect_PM TYPE=A ASHOST=s2pserver02 SYSNR=01 GWHOST=s2pserver02 GWSERV=sapgw01 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR partner '172.21.15.189:sapgw01' not reached

TIME Tue Sep 13 05:39:50 2011

RELEASE 701

COMPONENT NI (network interface)

VERSION 38

RC -10

MODULE nixxi.cpp

LINE 2835

DETAIL NiPConnect2

SYSTEM CALL connect

ERRNO 10061

ERRNO TEXT WSAECONNREFUSED: Connection refused

COUNTER 1

at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:236)

at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:491)

at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:446)

at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)

at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)

at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)

at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)

at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:287)

... 6 more

Regards

Ponnusamy

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Issue is due to sytem number not updated correctly

former_member682089
Participant
0 Kudos

Hi,

Please check the UME setting in configtool.

The error shows that Portal is not able to connect to ABAP side.

Sandeep

Former Member
0 Kudos

Hi All,

Here are some steps I tried

1. I changed Datasource Configuration file

to "DatabaseConfiguration_Database_only.xml" and the server started

fine.

2. But when I tried with Administrator login, I could be able to login,

it was giving authenication failed error.

3. Activated Emergency user and login to visual admin and changed the

administrator passord and decactivated the emergency user and tried

login with the administrator user, but still failed.

4. Created new admin user from visual administrator and assigned

administrator group and tried login and again authenication failed.

5. Again I changed the datsource configuration file to ABAP_only (as

our original system from where we did system copy is pointing to ABAP

datasource) and tried to start the server, got the error like as

attached in teh server logs amd the server is not starting. Even the

ABAP is running fine and able to login to the ABAP System.

Regards

Ponnusamy

Former Member
0 Kudos

Hello. This IP are your ABAP server IP ?

ERROR partner '172.21.15.189:sapgw01' not reached

Connect_PM TYPE=A ASHOST=s2pserver02 SYSNR=01 GWHOST=s2pserver02 GWSERV=sapgw01 PCS=1

? Are you able to do this command from your portal server : telnet 172.21.15.189 3301

telnet s2pserver02 3301

Regards.