cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (4)

Answers (4)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Former Member
0 Kudos

Hi Siddharth,

I have traced log file. Following is the error dump.

RFC 2318 CONVID 04760691

  • CMRC=20 DATA=0 STATUS=0 SAPRC=236 ThSAPCMINIT

RFC> ABAP Programm: /BDL/SAPLBDL11 (Transaction: )

RFC> User: SUSER (Client: 110)

RFC> Destination: SM_SM1CLNT100_BACK (handle: 5, , {5B4557E0-78E0-F1F4-A0A9-00145E190D9D})

RFC> Called function module: RFC_PING

RFC SERVER> RFC Server Session (handle: 1, 04711456, {3F4557E0-7D20-F1C9-A0A9-00145E190D9D})

RFC SERVER> Caller host:

RFC SERVER> Caller transaction code: (Caller Program: /BDL/SAPLBDL11)

RFC SERVER> Called function module: /BDL/RFC_CHECK

TH VERBOSE LEVEL FULL

      • RABAX: end RX_GET_MESSAGE*

at Mar 26 07:11:04 2011

GENER request remote generation: /1BCDWB/SAPLSF00000013.

at Mar 26 07:21:14 2011

Disconnected from connection con_da={+DBO+0010,5711,1}

at Mar 26 07:21:17 2011

Connect to +DBO+0010 as with MSSQL_SERVER=ASAP1 MSSQL_DBNAME=DV1 OBJECT_SOURCE=dv1

Thread ID:2024

dbmssslib.dll patch info

patchlevel 0

patchno 110

patchcomment MSSQL: Connect error handling (1053754)

np:(local) connection used on ASAP1

Connected to db server : [ASAP1] server_used : [np:(local)], dbname: DV1, dbuser: dbo

pn_id:ASAP1_DV1_DV1

Connection 1 opened (DBSL handle 1)

Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost

000 000 R/3 000000000 ACTIVE YES YES NO 000 255 255 20110323 153218 ASAP1

000 001 +DBO+0010 000005712 ACTIVE NO NO NO 004 255 255 20110326 072117 ASAP1

000 002 R/3*INACT_PACK 000005520 DISCONNECTED NO NO NO 000 255 255 20110325 164614 ASAP1

000 003 R/3*EXPRESSPOPUP 000005272 DISCONNECTED NO NO NO 000 255 255 20110324 203114 ASAP1

000 004 R/3*WFCONTAINER 000005531 DISCONNECTED NO NO NO 000 255 255 20110325 174114 ASAP1

regards,

Sree.

Former Member
0 Kudos

HI,

Thank you for your support.

Issue got resolved with restart of r3 Server.

regards,

Sree.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos
pramod_gopisetty1
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Lukas_Weigelt
Active Contributor
0 Kudos

Hi,

maybe these threads can help:

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

Former Member
0 Kudos

Hi Lukas,

I have checked all threads, tried all options.

But still no luck. And i have checked in /nwa. It is giving "No records to display". It is not showing old traces also. What could be the reason for this strange behaviour.

Please provide me any other solution.

regards,

Ushasree P

Lukas_Weigelt
Active Contributor
0 Kudos

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