cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: 'password' missing

hadar_morchi
Participant
0 Kudos

Hi all,

I've created a web dynpro app. --> defined JCO and tested them [Both meta and model data] , i use SSO in the Model data and user\pass in the meta data.

The Test connection works fine .

in the portal I get this error :

com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: 'password' missing

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

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

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

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

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

Can someone help ?

Hadar

full exception chain :

-


com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type il.co.strausselite.biusermenu.model.r3.types.Menu_Flag could not be loaded: com.sap.dictionary.runtime.DdException: failed to create provider: 'password' missing

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

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

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

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initAttributes(NodeInfo.java:674)

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

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:659)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:662)

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

at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:374)

at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:403)

at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:79)

at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initMapping(MappingInfo.java:121)

at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:117)

at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.doInit(MappedNodeInfo.java:212)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:659)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:662)

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.view.ViewManager.getView(ViewManager.java:539)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:421)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)

at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)

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

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:135)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:404)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:618)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)

at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

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

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

Caused by: com.sap.dictionary.runtime.DdException: failed to create provider: 'password' missing

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

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

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

... 48 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:274)

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

... 55 more

Caused by: com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: 'password' missing

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

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

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

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

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

... 60 more

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi hadar,

the Exeption is ' '<b>password' missing</b>' . check the username and password you have given for the metadata. i think password might have been changed or you have given the wrong password.

Regards,

Gopi

hadar_morchi
Participant
0 Kudos

In that case ... the Test connection should faild .... but it did'nt...

Former Member
0 Kudos

Are you using your own JCO connections or are you in a XSS scenario for example with predefined JCO connections?

Also try to connect by using user/password for both connections (application and meta).

Regards,

Christophe

achim_hauck2
Active Contributor
0 Kudos

Hadar, the problem is the metadata connection. if you're sure, you're looking at the correct one, delete and recreate it. be sure to use metadata und username/password authentication.

sometimes the jcos aren't stored/updated correctly in the SLD. When I receive the error password missing, this workaround works for me.

kr, achim

hadar_morchi
Participant
0 Kudos

Hi Christophe and Achim,

I'm using my own JCO setting,

already tried to recreate them several times ...

The solution was to use an old JCO definition I have found in another Application ... I didn't solve my problem ... but this is my workaround ...

Thanks 4 your help.

Hadar

Former Member
0 Kudos

Hi Hadar,

Check this thread it might help you.

Regards,

Jhansi

hadar_morchi
Participant
0 Kudos

Been there, tried that

10x man

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Hadar,

Please check your connections again.

I can't explain that the test work OK.

The connection test the run time connections.

I Know that this mistake is due to ticket problem.

If what i think is correct then the connection must work OK with user mapping.

Regards Nir

former_member184154
Active Contributor
0 Kudos

Hi Everybody,

This is just to confirm that for me (at least) the solution was to <b>delete the standard MODELDATA destination and recreate it</b> with the same name and same values except for security, of course, which is set to useSSO.

<i>My <b>scenario</b> is:

WebAS 7.0 SP10 (double stack): J2EE stack issueing logon ticket to ABAP stack</i>

Regards,

Alex

Former Member
0 Kudos

Just to add to what Alex already suggested above. I face the same problem and as per suggestion, I deleted and recreated JCo's from Application Server. But that didnt work, I have to delete the JCo from the SLD and then recreate it on Application Server and that worked !!!

Point to Note: DELETE the JCo from the SLD.

Former Member
0 Kudos

Hi Hadar,

I think that you have a problem with SSO Ticket.

If It is correct then the connection that work OK used user mapping .

Please try to use user mapping if it work OK than you have to create new Ticket in your back end system.

Regards Nir

hadar_morchi
Participant
0 Kudos

Hi Nir,

Appreciate your Reply,

I also think you are right ... but how can you explain that the Test connection [both meta and model data that were configured with the user mapping and with the ticket] works Fine ?

Hadar