Hello All,
I have a VC 7 Modell that uses a BAPI. The BAPI returns a table with time pairs and an additional output port with two time fields. The BAPI uses the logon id of the currently logged on user as an input.
The modell outputs the information returned by the BAPI in an iView. This iView normally works just beautiful.
My problem is, whenever I schedule a test with say 100 people I receive errors in my portal. The users see al sort of errors but they all conclude to connections beeing turned down or stating that no backend connection was possibel. In my defaulttrace I can see errors like this:
Exception com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot get connection for 60 seconds. Possible reasons: 1) Connections are cached within SystemThread (can be any server service or any code invoked within SystemThread in the SAP J2EE Engine), 2) The pool size of adapter "SAPFactory" is not enough according to the current load of the system or 3) The specified time to wait for connection is not enough according to the pool size and current load of the system. In case 1) the solution is to check for cached connections using the Connector Service list-conns command, in case 2) to increase the size of the pool and in case 3) to increase the time to wait for connection property. In case of application thread, there is an automatic mechanism which detects unclosed connections and unfinished transactions.
or this one:
The Timelimit for this iView wqas exceedet and no data from backend was received...
I tried to change nearly all parameter that I know of have something to do with number of connections to solve this issue:
I set
> rdisp/appc_ca_blk_no = 2000
> rdisp/wp_ca_blk_no = 2000
> rdisp/max_arq and rdisp/max_comm_entries = 2000
> gw/max_conn = 2000
> gw/max_sys = 2000
I increased the number of JCo connections in the system connection used by the BAPI from 100 to 1000
I increased the maximum number of JDBC connections from 50 to 100
I increased the value of icm/HTTP/j2ee_0 in system profile from 500 connections to 1000
Finally I increased the number of concurrent JMS Connections (with Visual Admin) from 100 to 200 and this first seemed to have solve the problem.
But now I receive a new error from the portal stating that the iView could not be displayed because the backend did not respond Image may be NSFW.
Clik here to view.
I have 2 dialog instances with 2 Java server processes and 6 dialog work processes each and all are configured to use 2GB roll area and 2 GB heap - according to SAP notes. Overall system performance is good and the mentioned errors only happen in case 100 people access my system simultaneously.
I am stuck - can anyone point me to a direction which parameter to check or where to look for more info?
Thanks in advance,
Christian
Edited by: Christian Guenther on Sep 29, 2008 5:30 PM