Skip to Content
avatar image
Former Member

com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE

Hi SDN,

I am getting following exception while testing JCOs.

com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Client 180 is not available in this system

It was working fine earlier. Suddenly it is giving this exception. I have tested RFC connection and SLD check and SSO, Everything is working fine.

Please provide me solution.

regards,

Sree.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Mar 23, 2011 at 10:45 AM

    Hi,

    maybe these threads can help:

    SMD - RFC_ERROR_LOGON_FAILURE

    JCO Connection Problem

    Also:

    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/f6/daea401675752ae10000000a155106/content.htm

    Check your NWA monitoring tracelog for more detailed information on your error as well.

    regards, Lukas

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      NWA isn't even showing tracelogs for standard view "default trace"? This is very unprobable....

      Stupid question, although you wrote, you already checked it: Does the business system under which you created the communication channel points to client 180 in SLD?

      apart from that, I'm really out of ideas here. Restart portal maybe..

      regards, Lukas

  • Mar 23, 2011 at 02:26 PM

    Hi,

    In the R/3 system can you go to t.code SCC4 and see if the client in discussion is existing there?

    Ensure the client exists and try testing the JCO connection again.

    SCC4 would give you all the clients defined. If you are not seeing the client, it will give you an error.

    Your Basis team can help you in resolving this issue.

    Hope this helps.

    Cheers-

    Pramod

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Lukas,

      Client 180 is available in SLD Communication Channels and i have restarted portal server.

      Pramod,

      I have checked scc4 t-code. client is available there.

      Below is the dump it is giving , when accessing ESS role from portal.

      Root Cause

      The initial exception that caused the request to fail, was:

      com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Client 180 is not available in this system

      at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:516)

      at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1087)

      at com.sap.mw.jco.JCO$Client.connect(JCO.java:3276)

      at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:91)

      at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:108)

      ... 74 more

      Detailed Exception Chain

      com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type com.sap.pcuigp.xssfpm.wd.model.types.Ext_Service could not be loaded: com.sap.dictionary.runtime.DdException: failed to create provider: Client 180 is not available in this system{jco.client.lang=EN, jco.client.client=180, jco.client.passwd=XXXXXXXXXX, jco.client.user=essuser, jco.client.mshost=asap1, jco.client.group=PUBLIC, jco.client.r3name=DV1}

      at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:268)

      at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:231)

      at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:318)

      at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java:687)

      at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:238)

      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.Context.init(Context.java:40)

      at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)

      at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:450)

      at com.sap.tc.webdynpro.progmodel.controller.Component.getController(Component.java:379)

      at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.getPublicInterface(DelegatingComponent.java:181)

      at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdGetBackendConnectionsController(InternalFPMComponent.java:209)

      at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:182)

      at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)

      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:783)

      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)

      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)

      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)

      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)

      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:876)

      at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:222)

      at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1355)

      at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:357)

      at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:551)

      at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:194)

      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:783)

      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)

      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)

      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)

      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)

      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:104)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

      Caused by: com.sap.dictionary.runtime.DdException: failed to create provider: Client 180 is not available in this system{jco.client.lang=EN, jco.client.client=180, jco.client.passwd=XXXXXXXXXX, jco.client.user=essuser, jco.client.mshost=asap1, jco.client.group=PUBLIC, jco.client.r3name=DV1}

      at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:291)

      at com.sap.dictionary.runtime.ProviderFactory.getProvider(ProviderFactory.java:161)

      at com.sap.dictionary.runtime.DdDictionaryPool.getProvider(DdDictionaryPool.java:97)

      at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:79)

      at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:48)

      at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:149)

      at com.sap.dictionary.runtime.DdBroker.getSimpleType(DdBroker.java:170)

      at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:260)

      ... 62 more

      Caused by: java.lang.reflect.InvocationTargetException

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

      at java.lang.reflect.Constructor.newInstance(Constructor.java:282)

      at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:271)

      ... 69 more

      Caused by: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Client 180 is not available in this system

      at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:516)

      at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1087)

      at com.sap.mw.jco.JCO$Client.connect(JCO.java:3276)

      at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:91)

      at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:108)

      ... 74 more

      regards,

      Sree.

  • Mar 23, 2011 at 02:44 PM
    Add comment
    10|10000 characters needed characters exceeded

  • Mar 24, 2011 at 08:21 PM

    you can do a trace

    please record a trace on ABAP backend as described in note 495911:

    1. Call transaction SM50 (process list):

    2. Key combination: F5 (select all), CTRL-Shift-F7 => Dialog box;

    3. Set trace level=2 and only check the "Security" component;

    - reproducde the issue

    - stop tracing

    a test JCo connection

    is entry in logon group configuration done?

    As the application connects to the backend ABAP system via

    defined JCO, so could you please check the relevant JCO definition

    from your side via this way?

    http://<hostname>:<port>/index.html

    -> Web Dynpro Tools

    -> Content Administrator

    -> Maintain JCO Destination

    so check again the steps

    http://help.sap.com/saphelp_nw70/helpdata/EN/44/45a04028f40160e10000000a

    1550b0/frameset.htm

    Add comment
    10|10000 characters needed characters exceeded