JCO connections hanged in SMGW transaction at SAP

Hi ,
I have deployed an ear application in SAP WAS 7.0 which basically talks to my SAP backend using JCO 2.1 connectors. The application will fetch the data from SAP backend calling FM using JCO 2.1.
I m using JCO pool manager and set to default 100 connections and taken care of release connections after every RFC call in finally block. The connections released successfully in  Dev and QA landscapes. In prod environment of customer, we are facing connections hang issues when it reaches to peak state of 100. It is due to max conversations reached at SAP backend, but the connections should eventually drop in SMGW which is not happening. There are some lost connections got hanged and remains for days and even they are not re-used. When i run method to release the pool, all connections are focibly returned back to pool, but lost connections still remain there.
Can somebody has similar situation ?
if connections reached to max in SMGW, will the connections from external client applications will get hanged ?
Does the JCO have control on the hanged connections if it reaches to max number?
Any help is appreciated!!!
Regards,
Ravi.

The relevant SAP note here is [549268|https://service.sap.com/sap/support/notes/549268].
But in this context there is big difference between the terms "not supported" and "does not work".
When SAP speaks of "not supported" this means that there won't be any SAP support for this configuration but this does not say anything about if this works technically. "Not supported" is more a legal issue than a technical one. SAP did not test this configuration and therefore also cannot guarantee to work.
Regarding JCo 2.1 I can say that technically it works with all Windows 32- and 64-bit versions. In contrast to that it really does not work with JRE releases >= 1.5 when using BCD types (type P) within your function modules.
From my point of view the connection issues don't have anything to do with the Windows version here.
And it is still not clear to me, if the maximum number of CPIC connections is reached at the AS ABAP/gateway side or the Java side. Furthermore it is not clear if these "hanging connections" were opened with your application at all or if they belong to another application.

Similar Messages

  • JCO connection tab in disabled mode in sap J2EE engine/webdynpro/local/proj

    Dear all,
    I'm developing the simple webdynpro object using netweaver developer studio, but when i deploy it to sap J2ee engine and go there to set the JCO connection, I find the jco connectiuon tab in the diabled mode. I need to configure the new jco connection in order to run the project. Please suggest.
    thanks,
    Anup.

    Hi Anup,
    You can find service "SLD data supplier" under server->services list.
    Refer following links for configuring SLD and JCO connections:
    Re: Web Dynpro - Problem with (SLD) JCO Connection
    Re: Configuration of SLD
    Regards,
    Bhavik

  • Jco connection Test error

    Hi Exports,
      When I test the Jco connection below error message getting,
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=csslecc GROUP=SPACE R3NAME=ECC MSSERV=sapmsECC PCS=1 ERROR       service 'sapmsECC' unknown TIME        Fri Aug 28 04:38:05 200 RELEASE     700 COMPONENT   NI (network interface) VERSION     38 RC          -3 MODULE      ninti.c LINE        530 DETAIL      NiPGetServByName2: service 'sapmsECC' not found SYSTEM CALL getservbyname_r COUNTER     1
    Kindly help me to solve this problem.
    Thanks
    Jibin.

    Hi Jibin
    This is mostly likely due to JCO or network setup rather than the ESS/MSS application
    Please see the following link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
    In particular check network services as per note
    Note 52959 - sapms..., sapdp.., sapgw.. unknown (or not found)   
    Please check JCO connection settings as well  as per
    Note 723562 - SAP Java Connector: Configuration and Requirements 
    Please check availability of message server and that user terminal can ping Portal server
    and Portal server can ping ECC server
    Hope this helps
    Best wishes
    Stuart

  • Cockpit doesnu0092t work (SAP AII 4.0) - Error in JCO connection

    Hi all,
    After some days working with the "Cockpit" in AII 4.0, today we can not access to it and we don’t know why.
    When we execute the transaction “/AIN/DTUIURL - Auto-ID Cockpit”, we do logon and after that it appears the error:
    "Failed to process the request. Please contact your system administrator.” Pressing on “Show Details”, in “Error stacktrace” we can see the following:
    "com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type com.sap.ain.model.utility.types.Syuname could not be loaded: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection."
    In fact, we have the same problem (an error in JCO connection) when IDOCs try to be sent from R3 to AII or vice versa. We can see in transaction sxmb_moni of XI system this error.
    Does anybody know where the problem could be?
    Thanks in advance,
    Xavier

    Hi,
    Thank you for this question. What you are reporting looks to me like a bug. The channel for such questions is the Service Marketplace http://service.sap.com/. Please post it there.
    Best regards,
    Steve

  • Sap jco connection

    hi everyone,
             Here 2 problems are there:...............
    1)   http://localhost:50000/index.html
           in browser i got this message
        404   Not Found
                             SAP NetWeaver Application Server 7.10 / AS Java 7.10 
    The requested resource does not exist.
    Details: Go to main page of this application!
    2) I just taken web moudle project in that i have taken one java class
       I written this program to connect to sap via jco
    import com.sap.mw.jco.*;
    public class Testing extends Object{
                JCO.Client mConnection;
                 public Testing() {
                       try {
                      // Change the logon information to your own system/user
                      System.out.println("1");
                       mConnection =
                 JCO.createClient("001", "userid", "password","language","localhost", "00");
                          System.out.println("2");
                      mConnection.connect();
                      System.out.println("3");
                      System.out.println(mConnection.getAttributes());
                      mConnection.disconnect();
                   catch (Exception ex) { ex.printStackTrace(); System.exit(1);}
                public static void main (String args[]) {
                   Testing app = new Testing();
    while i run this java file it get error message: shown in below..............................
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Connect_PM  GWHOST=localhost, GWSERV=sapgw00, ASHOST=localhost, SYSNR=00
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host 127.0.0.1, service 3300)
    TIME        Wed Jan 31 16:56:55 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r.cpp
    LINE        8716
    DETAIL      NiPConnect2
    SYSTEM CALL SiPeekPendConn
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER     1
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1123)
         at com.sap.mw.jco.JCO$Client.connect(JCO.java:3113)
         at com.Testing.<init>(Testing.java:27)
         at com.Testing.main(Testing.java:35)
    what parameters should i pass to JCO.createClient("................"); here
      where should i get this information..................to test connection to sap via jco
    thanks,
    tony

    hi prince,
      here j2ee engine is running in sapMMC ,it comes in green color....
       plz send me ........
    thanks,
    tony

  • SLD configuration - JCO connection with SAP Router

    Hi,
    I installed the new Sneak Preview SP11 Java Edition including SAP Portal. I tried to run an own Web Dynpro Application with RFC-Access on a R/3 System.
    Unfortunately I was not able to get the JCO Connection to run. The R/3 System is reached via SAP Router. I am a little bit confused, because with the last Sneak Preview (SP6 or SP7) this application was running without problems. Of course I thought that this can't be. So I uninstalled SP11 and installed the old version (SP7). I configured the JCO-connection, no problems.
    Now I know that this is not my mistake (hopefully ).
    If I configured a JCO-connection in SP11 and tried to PING, the first PING was ok. After testing the connection with user, the PING failed. The testing with user returns something like "user or password are not accepted".
    Any ideas?
    Best regards
    Renald

    In your SLD configuration,  what do you have as your Logon Group under the message server config.  Is it "PUBLIC".  if so, then the user id needs to belong to that Logon Group in the system.
    Regards,
    Rich Heilman

  • Error while creating  jco connection for metadata?

    Hi all,
    we are using ep 6 sp 16.
    I could create the  JCO connection for application data  but i am not able to create the jco connection for metadata for the same  r3 server .
    while creating  the   the connection
    system name and  logon group  and disable
    and when i click finish
    it is giving  following error
    Failed to create new JCO client connection testmetadata: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection. at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:150) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.createJCOClientConnection(SystemLandscapeFactory.java:356) at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.createJCOClientConnection(WDSystemLandscape.java:107) at com.sap.tc.webdynpro.tools.sld.ButtonBar.onActionFinish(ButtonBar.java:224) at com.sap.tc.webdynpro.tools.sld.wdp.InternalButtonBar.wdInvokeEventHandler(InternalButtonBar.java:265) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:659) 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.doPost(DispatcherServlet.java:55) 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: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(AccessController.java:180) 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.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve connection parameter for testmetadata at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter4MsgServerJCODestination(JCOClientConnection.java:670) at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:486) at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:252) at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:226) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:148) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.createJCOClientConnection(SystemLandscapeFactory.java:356) at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.createJCOClientConnection(WDSystemLandscape.java:107) at com.sap.tc.webdynpro.tools.sld.ButtonBar.onActionFinish(ButtonBar.java:224) at com.sap.tc.webdynpro.tools.sld.wdp.InternalButtonBar.wdInvokeEventHandler(InternalButtonBar.java:265) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:659) 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.doPost(DispatcherServlet.java:55) 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: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(AccessController.java:180) 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: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:606) at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter4MsgServerJCODestination(JCOClientConnection.java:564) at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:486) at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:252) at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:226) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:148) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.createJCOClientConnection(SystemLandscapeFactory.java:356) at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.createJCOClientConnection(WDSystemLandscape.java:107) at com.sap.tc.webdynpro.tools.sld.ButtonBar.onActionFinish(ButtonBar.java:224) at com.sap.tc.webdynpro.tools.sld.wdp.InternalButtonBar.wdInvokeEventHandler(InternalButtonBar.java:265) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:659) 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.doPost(DispatcherServlet.java:55) 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: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(AccessController.java:180) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) 
    Thanking.
    Rajendra

    Hello Rajendra,
    Good to hear from u. Let me try to give a soln for this problem of yours.
    I think probably the logon group has not been specified in the backend.If thats the case then do the following:
    Connect to the backend server for which you are trying to create the JCO. Run the transaction SMLG. It will show u the existing logon groups. carry out the following steps if the 'PUBLIC' group is not present in the list of logon groups.
    Click on the create button. In the pop-up, type the logon as 'PUBLIC'. For the instance, select the F4 help and choose the existing instance number. Click on copy and click save. Try running the transaction /nsmlg and now it should show the logon group 'PUBLIC'.
    When you create the JCO connection, it should now show the logon group 'PUBLIC'.
    Regards,
    Prathamesh.

  • Error while obtaining JCO connection.

    Hi I'm trying to put in place since BW-SEM RSPLAN the transaction, I'm pointing at my portal from the transaction RSPLSA
    But when it signs the user gets the message Error while obtaining JCO connection.
    I was reviewing my WebDynpro on my site by following these steps:
    1 I will http://portal:port
    2 I clicked Webdynpro
    3 I click on Content Administrator
    I clicked on 4 Maintain JCO destinations
    and then I log shows the following:
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.NullPointerException
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:991)
        at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:485)
        at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.updateJCOClientStatus(JCOConnectionsDetails.java:480)
        at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.addJCOClientToList(JCOConnectionsDetails.java:699)
        at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.addJCOClientToList(JCOConnectionsDetails.java:663)
        ... 39 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type     HTML Client
    User agent     Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
    Version     null
    DOM version     null
    Client Type     ns7
    Client Type Profile     nn7
    ActiveX     disabled
    Cookies     enabled
    Frames     enabled
    Java Applets     enabled
    JavaScript     enabled
    Tables     enabled
    VB Script     enabled
    Server
    Web Dynpro Runtime     Vendor: SAP, build ID: 7.0014.20071210061512.0000 (release=645_VAL_REL, buildtime=2007-12-10:05:23:29[UTC], changelist=470565, host=pwdfm101), build date: Wed Oct 01 12:15:02 CDT 2008
    J2EE Engine     7.00 patchlevel 109886.44
    Java VM     IBM J9 VM, version:2.3, vendor: IBM Corporation
    Operating system     AIX, version: 5.3, architecture: ppc64
    Session & Other
    Session Locale     en_US
    Time of Failure     Thu Nov 06 16:00:23 CST 2008 (Java Time: 1226008823202)
    Web Dynpro Code Generation Infos
    sap.com/tcwdtools
    No information available     null
    sap.com/tcwddispwda
    No information available     null
    sap.com/tcwdcorecomp
    No information available     null
    Detailed Error Information
    Detailed Exception Chain
    java.lang.NullPointerException
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:991)
         at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:485)
         at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.updateJCOClientStatus(JCOConnectionsDetails.java:480)
         at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.addJCOClientToList(JCOConnectionsDetails.java:699)
         at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.addJCOClientToList(JCOConnectionsDetails.java:663)
         at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.wdDoInit(JCOConnectionsDetails.java:121)
         at com.sap.tc.webdynpro.tools.explorer.wdp.InternalJCOConnectionsDetails.wdDoInit(InternalJCOConnectionsDetails.java:262)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:789)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         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(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    What should I do??

    Hi Antonio,
    Follow the below note for Jco related troubleshooting.
    https://service.sap.com/sap/support/notes/919850
    Are you able to see the 4 Jco connections green?
    Regards,
    Debasis.

  • Error while trying to creat a RFC_METADATA JCo Connection to R/3 system

    hi,
    i have installed the EP . when i am trying to maintain the JCo connection for RFC_METADATA i am getting an error.
    the error states : "com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=esuides GROUP=PUBLIC R3NAME=ESR MSSERV=sapmsESR PCS=1 ERROR       Group PUBLIC not found TIME        Fri Aug 26 14:46:24 2005 RELEASE     640 COMPONENT   LG VERSION     5 RC          -6 MODULE      lgxx.c LINE        3515 DETAIL      LgIGroup COUNTER     1"
    cna you please tell me how to resolve this error.
    thanks
    -uday

    Hi Uday,
    you have to create a logon Group named PUBLIC with Transaction SMLG in your Backend system. Also don't forget to add the line:
    sapmsXYZ   <port_number on which XYZ listens>/tcp <For ex: 3600>
    to your services file in C:\winNT\system32\drivers\etc (for the Windows 2000 system). XYZ means your Instance Name.
    Regards
    Gregor

  • JCO - Get meta data - Grey status in JCO connections tab

    Hi all,
    I read many post on this topics within this forum but I didn't succeed to get meta data required and to set correctly my connection.
    Let's start quickly to give you my conf
    In the j2ee admin
    -> Services > SLD Data Supplier > CIM Client Generation Settings
    I set fields with : SLD7000 / 50000 and my logon info
    Save and test -> result is ok !
    In my web dynpro application, I am able to get correct BAPI from BCE system using my logon info. And I map my view to display data from the corresponding BAPI called.
    So at this time, in my IDE, the connection to the SAP Backend system SAP works because I can get the list of BAPIs from the BCE SAP Backend System as well.
    Build and deploy my application.
    Now, let's go to webdynpro welcome page on my j2ee server : http://<host>:<port>/webdynpro/welcome
    -> content administration
    -> I select from the left tree browser my application, and open the "JCO Connections" Tab. I can see my connections previously I set in my webdynpro application. But I CAN'T use the button "Create" to configure new JCO connection. ??
    Last thing:
    in the BCE backend system
    transaction : RZ70
    I have, host = sldmain and service = sapgw47
    Also, in the list of data collection programs, everything is checked as active except the program "_SLD_RFC"
    I don't know if it is important....?
    Finally, I give you from the exception I got in my browser only lines "Caused by"....
    Caused by: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.
    Caused by: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection.
    Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create J2EE cluster node in SLD for 'J2E.SystemHome.localhost': com.sap.lcr.api.cimclient.LcrException: CIM_ERR_NOT_FOUND: No such instance: SAP_J2EEEngineCluster.CreationClassName="SAP_J2EEEngineCluster",Name="J2E.SystemHome.localhost"
    Thanks a lot for your support and help,
    Best regards,
    Emmanuel.

    Hi Emmanuel
    You said
    " I select from the left tree browser my application, and open the "JCO Connections" Tab. I can see my connections previously I set in my webdynpro application. But I CAN'T use the button "Create" to configure new JCO connection. ??"
    What is their status ? Is it green on red? Usually create is greyed out if it is green.  What about Edit?
    Try creating a new Web Dynpro component with another destination name ,deploy and then check the Content administrator if these new destinations have Create enabled
    After running RZ70 did you check the Technical System in SLD administration to see if the technical details have been propogated ?
    Regards
    Pran

  • JCO connection problem at web dyn pro

    HI all,
    I was installed sneak preview of Net weaver 6.4,
      I want to do some web dynpro (java) programs which connect to back end systems.(R/3 system).
      The R/3 system which I want to connect is at remote place, i have connectivity to that R/3 system using VPN connectivity. With this I am not having any problem. Since I am able to connect using User name and password, and able to do some transactions like RZ70, etc.
       I developed an application which calls COMPANY_CODE_GET_LIST (BAPI function).
    for the above requirement what I did was
       (1)I created SLD setting.
           (a)Web as Java (I am not having any problem to
              Create this.
           (b) Web as ABAP.
              When i am trying to create
              This, there are some steps like i need to go to SAP log in and I need to run the transaction RZ70. For this i need to create an enter in visual administrator>JCO RFC Provider>runtime-->Bundles i need to create an entry for RFC destination as well as Repository.
          under <b>RFC destination </b> there are some fields which i need to enter those are  (a)Program ID as <b>mySLD</b>  (b) Gateway Host as <b>10.10.10.125</b> (c)Gateway service as <b>sapgw00</b>  (d)Number of processes as <b>1</b>
          Under <b>Repository</b>  (a) Application server host <b>10.10.10.125</b> (b)system number as <b>00</b> (c)Client number as <b>100</b> (d)Language as <b>en</b> (e)user as <b>ABCD</b>  (f)password as <b>1234</b>
      I haven't choosed the check boxes <b> Local bundle </b> and <b> Unicode </b> and pressed the set button. So like this i created the RFC destinations. under the <b>properties</b> tab  there is a property called <b>RFC_DEFAULT_DESTINATION</b> by default it was false so i made it as <b>true.</b> .
    I also went to <b>SLD Data Supplier</b>,under <b>Runtime</b> tab , HTTP  Settings , I mentioned
               (a)Host: pava-vis75
               (b) Port: 50000
               (c) user: administrator
               (d) password: abcd1234
               RFC Settings, I mentioned as
               (a)Gateway Host: 10.10.10.125 (which is SAP R/3 system)
                (b)Gateway Service/Host: sapgw00
               CIM Client Generation settings, as
               (a)Host: pava-vis75
               (b)Port (http/https):50000
               (c) user: administrator
               (d) Password : abcd1234
        I tested the CIMClient Test by click the the button. I got the successful message.
        Then I came back to HTTP settings and clicked the button with tilted arrow mark [This triggers data transfer to system landscape directory], for this also I got a successfully message.[data transferred successfully]
        Next I been to SAPLOGON and went to RFC Destinations by using <b> sm59 </b> transaction. There under TCP/IP connections i been to <b> SLD_NUC </b>, opened this by double clicking that and under Technical settings for <b> Program ID </b> I had given the ID which I created at visual administrator [JCO RFC Provider] which is <b>mySLD </b>, under gateway options for Gateway Host as <b>10.10.10.125</b>and Gateway service as <b> sapgw00 </b> then i tested the connection, it was also successfully.
    Then I opened the SLDAPICUST and i created a new entry for maintaining the SLD Access Data by giving some couple of entries as
                (a)Alias: vissldtest
                (b)Host Name: pava-vis75
                (c)Port: 50000
                (d) user: administrator
                (e) password: abcd1234
    Then saved it.
    Next I created <b>sapmsUV0         3600/tcp </b> entry at
    <b>WINDOWS\system32\drivers\etc</b>\services file, and also there are some required entries which are already existing those are <b>sapgw00</b> <b>3300/tcp</b> to <b>sapgw99</b> <b>3399/tcp</b> , another entry starts from  <b>sapdp00s</b> <b>4700/tcp</b> to <b>sapdp99s</b> <b>4799/tcp</b> , next entry starts from  <b>sapgw00s</b> <b>4800/tcp</b> to <b>sapgw99s         4899/tcp</b> and <b>sapmsJ2E      3601/tcp </b> .
    I restarted the system, as well as server.
    Now my problem is when I was trying to create JCO destination at web dynpro content administrator. For that I navigated as “create JCO Destination &#61664;Deployed Content&#61664;local-&#61664;local/CompanyCodeGetList-&#61664;Applications&#61664; CompanyCodeGetList
    I Choosed the JCO Connections tab-&#61664; there are 2 entries those are
                (1) COMPANY_CODE_MODEL
                (2) COMPANY_CODE_RFC_METADATA
    So I started creating connection for COMPANY_CODE_RFC_METADATA.
      First one is
                   General data <b> Name </b>: COMPANY_CODE_RFC_METADATA
                                        <b> Client </b> : 100
                                        I didn’t changed any default JCo pool configuration.
                     J2EE Cluster
                                        There is a check box called “Use Local J2EE engine J2E on pava-vis75’ so I choosed that.
                  Connection Type
                                       <b>Dictionary Meta Data</b> and <b>application Data </b>
                            I choosed the first one.
                 Then
                           Msg. Server Connection
                            Security
                            After these, I tried to test the connection by clicking the ‘Test Connection.
             It is saying the error as
         First time
            com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=v011 GROUP=DEFAULT R3NAME=UV0 MSSERV=sapmsUV0 PCS=1 ERROR service 'sapmsUVO' unknown TIME Fri Jul 01 07:20:41 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -3 COUNTER 1                                      
    second time
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=v011 GROUP=DEFAULT R3NAME=UV0 MSSERV=sapmsUV0 PCS=1 ERROR service '?' unknown TIME Fri Jul 01 07:20:41 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -3 COUNTER 1
    Can any body please help me to solve this problem.
    From past 1 week on wards I have been trying to resolve this. But in vain.

    answer in your other thread on the same topic
    problem in connecting JCO destination in web dynpro
    (Kindly avoid double posting)
    Regards
    Raja

  • Credential Alias in JCO connection - xMII 12.1.4

    Hi All,
    We are using SAP xMII of version 12.1.4 Build (46).
    We are trying to add SAP server details over system configuration editor under data services.
    While adding entries for JCO connection, we didn't find any place to update login credentials for SAP server.
    Created connection successfully, we opened a new transaction and add SAP JCO interface as an action block.
    When we try to configure, there is drop down named "Credentail Alias".
    We could not see any data gets populated in drop down.
    On clicking "Get List" button, we got an error saying "JCO Proxy Error : No Credential Alias Defined".
    Kindly help us to overcome the error.
    Thanks.
    Rajesh.S

    Rajesh,
    you can define the Credential Alias under the MII Admin Menu -> Security Services  -> Credential Editor .
    After defining a New entry go back to your TRX and open again the Configuration of your JCO Action Block.
    Now you will find in the Credential Alias dropdown box the Alias that you created before.
    BR
    Pedro Iglseias

  • Disconnect JCO Connection

    Hi,
    In WebdynPro Application without using Adaptive RFC, we are able to disconnect a connection after few seconds as we using disconnect() method for that.
    But for a WebdynPro Application using Adaptive RFC, we are not able to disconnect a connection as fast as we were able to do in first case.
    We are using following to disconnect:
    wdContext.currentInputElement().modelObject().modelInstance().disconnectIfAlive();
    In SM04 transaction, we observed that the connection(Adaptive RFC) is taking more time to close than it is taking for without Adaptive RFC WD application. The connection still exists even the memory utilized becomes 0 MB.
    Also, when we are not disconnecting in Adaptive RFC WD application, then memory is utilized as long as connection exists. But, when we are disconnecting the connection, the memory utilized is 0 MB though the connection still exists.
    While creating the JCo connection for metadata and modeldata we gave:
    Max pool size : 5
    Max connection: 1000
    Connection Timout (msec.) : 1000
    Maximum Waiting Time (msec.): 5000
    Can anybody suggest how to disconnect the connection to overcome above problem?
    Thanks and Regards,
    Vaibhav

    Hi
    Check this URL
    Actually The Connection will be Terminated when it is inactive for particular time
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/85a483cb-0d01-0010-2990-c5168f01ce8a">Jco Connection Pools</a>
    Regards
    Chandran S

  • Inefficient usage of JCO connections

    Hi,
    SAP did a review on the portal that I mantain and wrote:
    "Inefficient usage of JCo connections:
    With the help of Wily Transaction Traces we could identify that for the initial startpage of a user (MSS) two JCo connections are opened within the same pool to the same backend. This is re-dundant as the data could be received over one connection. The effect is the double amount of JCo connections which means an additional usage of resources.
    Each login consists of two connections into the backend. We observed when refreshing the page hitting either the F5 key or the enter key on the URL, the user is logged out of the portal and the backend system to be logged in again immediately.
    This behaviour consumes J2EE and Backend resources unnecessarily. This behaviour was also observed in the productive environment."
    I don't understand this point, can you help me ?
    Thanks in advance.

    Hello Sir,
    I am a student who is pursuing a project that deals with JCo 3.
    I read your question on the forum and think that you have done the JCo stuff and can answer my questions.
    Kindly, try to shed some light on following question:
    Q1: I simply want to start with connecting my SAP system. I have a user ID and password for the same.
    I saw some examples where they use "JCo.createClient(....)" and "JCo.client.connect()" to simply connect the client but
    when I type in the code it shows me an error, because they are using package "com.sap.mw.jco" but since I am using JCo3,
    I don't have that package instead I have "com.sap.conn.jco" which do not have createClient function.
    Q2: By setting the classpath for "sapjco.jar" I was able to compile one of the sample programs but could not run it. Do you
    know how to run the SAP JCo program.
    Your guidance will be highly appreciated
    -Thanks
    -Dmukhi

  • MII 12.1 time out for JCo Connection

    I'm running this MII transaction that, is using a JCO connection to run a Function Module in SAP.
    The problem we have is, that function module takes more than 60 seconds to run an return the values, that is correct because we are gathering a big amount of data, so if we run the function Module inside SAP it works ok, BUT, if we run the transaction from MII we receive a time out after exactly 60
    seconds.
    We have already modified several time out parameters inside MII
    but those changes are not making any difference.
    Do you know where that JCo time out parameter is inside MII 12.1?

    Hi Salvador,
    Try to increase the session timeout to 300 in SAP Menu --> System Properties. Initial it will be 60 sec only.
    And increase MII workbench Read Timeout as well. Help --> Setting --> Read Timeout
    If it doesn't solved your problem, go through below post
    How to set timeout for each level in MII?
    Regards,
    Praveen Reddy

Maybe you are looking for

  • Junk mail not automatically moved to Junk folder

    Hello. I'm using an IMAP account and have configured Mail to move junk mail to the chosen junk mail folder (junk is not filtered on the server but on my client). Since the junk mail filter is still learning sometimes junk mail is not detected and sti

  • Having problems with opening IIOP session

    i have a Oracle JServer and i have a listener for IIOP connection configured at 2481 port . If i use JDeveloper to create a connection , then it throws me an error as Unknow service x , this x value is increment everytime I try again. Is there some b

  • Issue in opening NI MAX.

    I am facing problem in opening NI MAX software and I am unable to detect the hardware in it. When I open the software, following message appears in the dialog box. I am using MAX version 5.4 and LabVIEW (FDS 2012 SP1). The niGPIBsys.dll plug-in cause

  • Error message: java.lang.NoClassDefFoundError: netg/InterNETg

    java.lang.NoClassDefFoundError: netg/InterNETg Could you tell me what to do about the above error message please. I am using Java 2 v 1.4.0_01. e-mail [email protected]

  • CHAGES IN STANDARD REPORT

    HI, RAGITT01 IS THE STANDARD REPORT WHERE I MODIFIED SOMTHING LIKE BELOW THERE IS A PARAMETER<b> REPORTING DATE</b> IN SELECTION SCREEN NOW I MADE THIS TO SELECT-OPTION USING THE LOGICAL DATABASE NOW MY REQUIRMENTS IS CORESPONDING CODE SHOULD MODIFIE