cancel
Showing results for 
Search instead for 
Did you mean: 

JCO Connection Problem - (103) RFC_ERROR_LOGON_FAILURE

Former Member
0 Kudos
420

Hi all,

I create a WD Java Application with RFC connection. The JCO configured with "User Defined". When I launch this application with my user, its work. However, when other user launch this application, the error RFC_ERROR_LOGON_FAILURE occurs.

My user not equals to the user configured in JCO.

I get this Exception:

 com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: 
User or password id wrong (repeat logon)
	at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:455)
	at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1025)
	at com.sap.mw.jco.JCO$Client.connect(JCO.java:3255)
	at com.sap.mw.jco.JCO$Client.execute(JCO.java:3916)
	at com.sap.mw.jco.JCO$Client.execute(JCO.java:3416)
	at com.sap.mdi.ddtypes.DDFactory.execute(DDFactory.java:173)
	at com.sap.mdi.ddtypes.DDFactory.execute(DDFactory.java:164)
	at com.sap.mdi.ddtypes.DDFactory.getDDObject(DDFactory.java:412)
	at com.sap.dictionary.runtime.mdi.DataProvider.getDataType(DataProvider.java:283)
	at com.sap.dictionary.runtime.DdDictionary.getDataType(DdDictionary.java:94)
	at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:164)
	at com.sap.dictionary.runtime.DdBroker.getStructure(DdBroker.java:180)
	at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:303)
	at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:234)
	at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
	at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
	at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
	at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
	at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
	at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
	at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
	at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
	at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
	at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
	at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
	at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
	at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
	at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
	at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
	at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
	at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1288)
	at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
	at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:548)
	at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:192)
	at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
	at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
	at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
	at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
	at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
	at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
	at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
	at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
	at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
	at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
	at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
	at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
	at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
	at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
	at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
	at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
	at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
	at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
	at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
	at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
	at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
	at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
	at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
	at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
	at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

Any suggestions?!?!?

Thanks,

Yuri

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

My connection isn't SSO based. I use "User Defined" login (I define user and pwd for connect to the backend). This user isn't locked, because when I launch the application, its work! However, other user launch the same application, and get the RFC_ERROR_LOGON_FAILURE error message.

I try to login into the backend with the user defined in the JCO connection, and its work.

Any suggestions?

Thanks for all,

Yuri

former_member192434
Active Contributor
0 Kudos

Hi

Check out these forum link

/message/3801982#3801982 [original link is broken]

http://help.sap.com/Business_Packages/EN/ca/115e4088dc0272e10000000a155106/frameset.htm

Thanks

sureshmandalapu6
Active Contributor
0 Kudos

Hi,

Just check the SSO connections

bye

suresh

former_member192434
Active Contributor
0 Kudos

Hi

This is an error due to passorwd getting locked

your backend SAP user id got locked due to too many failed

attempts. Ask your basis or security admin to unlock the user

id you are using and reset the password. Please note -

SAP has a security mechanism which locks a userid if you

try with a wrong password for more than a certain number of times (3 most likely)

If not then

RFC_ERROR_LOGON_FAILURE is coming directly from R/3.

Try to login directly to R/3, there u will get the message

"Password logon no longer possible- Too many failed attempts".

Reset the password, this will work...

Thanks

Former Member
0 Kudos

Hi,

Is JCo conncection SSO based?

Do you have a user id password in the back end?

Are you able to connect to the backend with this credentials?

Regards

Ayyapparaj