on 02-10-2009 10:39 AM
Hi all,
We have a problem when use Web Services (stateless session bean) in Web Dynpro.
When two users calls the same web dynpro in the same time we have this error:
Errore in: it.sap.mdm.pdcmodelcomponent.wdp.InternalLookUpModelController getLookUpTable:
Class___: com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException Additional Info:
Message_: Exception on execution of web service on destination 'FS_MDM_PDC' for operation 'getLookupTable' in interface 'ZMDM_FS_PDCVi_Document'
Causa__:
Error while processing document security. The error was class com.sap.engine.frame.core.configuration.ConfigurationException Configuration webservices/proxies/sap.com/ mapping is not valid - configuration is closed.. See trace entry [no trace for com.sap.security.core.client.ws.DeployableSecurityProtocol (severity above PATH)].; nested exception is: com.sap.engine.services.webservices.jaxrpc.wsdl2java.ClientProtocolException: Error while processing document security. The error was class com.sap.engine.frame.core.configuration.ConfigurationException Configuration webservices/proxies/sap.com/ mapping is not valid - configuration is closed.. See trace entry [no trace for com.sap.security.core.client.ws.DeployableSecurityProtocol (severity above PATH)].
If I call the same web dynpro ,without other user, it's ok.
Where is the problem?
I have to congigure some parameter in J2ee???
Hi Rocco,
Looks Like, you application needs threading. What you can do is lock the call to the service method , per user. So when one user is using ur service other user needs to wait, there are plenty of ways in java to ensure this MUTAUL EXCLUSION via Threads.
Greetings
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use this pdf to implement Mutual Exclusion
http://java.sun.com/developer/Books/performance2/chap3.pdf
http://navet.ics.hawaii.edu/~casanova/courses/ics432_fall08/slides/ics432_jmonitors.ppt#313,10,Synch... on Multiple Objects
thanks
Hi,
thanks for your help but I have asked you a wrong question...sorry..
The my question is:
In my scenario (user Web Service model in Web Dynpro for Java) which is the best way for to implement the MUTUAL EXCLUSION ?
I knew SYNCRONIZED but I have to syncronized the code in web dynpro or in web service? Or exist some settings in the web service wizard?
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.