What happens if JCO.Client object not disconnected?

Hi All,
Can anyone tell me what happens if a JCO.Client( which is connected to SAP) is not disconnected? Will it be connected? or JCO disconnects it after sometime? or SAP itself disconnects it?
  JCO.Client client = JCO.createClient(....);
  client.connect();
If I run this simple code and leave it, what will happen to the connection opened?
Thanks in advance.

We are using JCO with SAP J2EE and have found something strange.  We are setting the idle_timeout property and the SAP user is logging off, however we accumulate DISCONNECTED sessions in the SAP gateway.  If the gateway limit is reached, additional connections fail.  We used a modified version of the sample program to isolate the problem.
Test Program:
import java.io.IOException;
import com.sap.mw.jco.*;
public class Test {
    public static void main(String args[]) {
        byte instring[] = new byte[20];
        JCO.Client jcoClient = JCO.createClient("200", "user", "password", "EN",
                "bhha.na.pg.com", "00");
        jcoClient.setProperty("idle_timeout","60");    
        jcoClient.connect();
        System.out.print("Read:");
        System.out.flush();
        try {
            System.in.read(instring);
        } catch (IOException e) {
            e.printStackTrace();
During 60 second period, transaction smgw shows the following information as expected.  There is also a logged in user in SM04.
   44  7BWGF21  javaw    t0331        CONNECTED    <unknown 99703871 INT  15:13:10 0    0
After 60 seconds, the user disappears from SM04, however the smgw connection goes to a disconnect state as follows.
   44  7BWGF21  javaw    t0331        DISCONNECT   <unknown 99703871 INT  15:14:44 0    0
This session stays in this state until the enter key is pressed and the java app terminates.  This is problem with a J2EE server app were the java process does not terminate.
Thanks,
Harry

Similar Messages

  • What happened to dhcp clients log?

    Not sure when but now I only have one log menu. Under advanced, Logging & SNMP,Logs and Statistics there used to be 3 log menus. Now I only have "Logs". What happened to dhcp clients?
    Version - 7.3.2 running DHCP(Share a public IP address)
    Tx

    Not sure about the XF camera.  I have a Canon DSLR (7D) that I shoot video with.  Here's what I've discovered so far.
    I had the Canon plug-in that allowed me to bring clips directly in through the Log and Transfer interface.
    However, when I plug my Flash card into the computer, the Flash card shows up as another drive.  So in FCP-X, I just import the file right off the Flash card and it comes right into Final Cut Pro.
    You don't even need to go through the Log and Transfer window.  You just import the file.
    Now whether this works on an XF Camera, I don't know.  I'm not familiar with them.
    Do they have memory cards?  Or are they strictly tape?  If it's a memory card, you ought to be able to simply import whatever file you want right off the card.

  • Running latest version on OS X and mail.  What happened to the icon labeled "not junk?"  Is there any way to brink it back?

    Running latest version on OS X and mail.  What happened to the icon labeled "not junk?"  Is there any way to bring it back?  Thanks in advance!

    Make sure your Junk Mail settings are properly set up, right now neither of those messages are marked as Junk Mail.  When Mail identifies an item as Junk Mail or you manually do, it will add the text "Mail thinks this message is Junk Mail" or "You marked this message as Junk Mail" to the message.  Right now this just looks like regular SPAM that you might get that hasn't been properly identified as Junk Mail or when Junk Mail Filtering is no enabled.  Remember Mail needs to learn what is and is not Junk Mail over time, so if you have recently reset your mail settings through a reinstall or the like, it may still be learning.
    1.  Do you have a Junk folder (system created) as one of your mailboxes?  If there is none, it means that Junk Mail filtering is not enabled or has been enabled but the system has yet to identify any mail as Junk.
    2.  If you do have a Junk folder, try dragging a piece of mail into the folder to see if the banner I am referring to appears.  It should.  You should be able to unmark the mail and drag it it back in your inbox.
    3.  If you manually mark the mail as Junk, does it move into the Junk folder and have the banner I am referring to?  It should.
    4.  If any of the above is not happening, first check your mail settings using the guides below:
    Mail (Yosemite): Reduce junk mail in your inbox
    Mail (Yosemite): If junk mail filters aren’t working correctly
    If all seems correct and it's still not working right, try rebuilding your mailbox:
    Mail (Yosemite): Rebuild mailboxes
    If none of these help you, please post back and we'll try something else.  Oh, and clear out your Previous Recipients window of any unwanted email addresses.  Anything listed in there is usually ignored by the Junk Mail filters.

  • HT201210 May i know what happening if my Iphone, can not power On (black-out) same like battery totally flat but actually the battery is fully charged. All information in Iphone all lose & can not restore

    Anybody know what happen if iphone can not power On (black-out)? only connected external power source then it will show connect to itune. 
    all information lost & software can not be restored (Error 1611). Thanks.

    error 1611 http://support.apple.com/kb/TS3694#error1611

  • What happens after a CORBA object is destroyed?

    Hi,
    How do we get to know when the object gets destroyed? What happens if I try to reference it after it gets destroyed?
    Thanks.

    POA.deactivate_object() is called. You can define your own POA.

  • Trim (SSD) in 10.6.7 - ? and what happens to the SSD if not?

    Am I up to date in assuming that there is no way to know when 10.6.7 will be released or whether it'll allow for using the trim function on SSDs (for all, not bizarrely just for new MacBooks)? And, second question, if 10.7 will indeed provide this function for all who's hardware permits it (like all MacPro, I guess)—what will happen to an SSD when in use for, say, 4 months without trimming? Will it degrade irreversibly, or will the use of that trim function then set it to the state it would have been in when trimming for 4 months constantly?
    thanks a lot

    There are a number of users, and threads, about using SSDs.
    TRIM is an OS level feature.
    OWC switched to Sand Force and the SF controllers have their own background garbage collection. I haven't seen much about the newest SF-2000s yet.
    Allow for over provisioning (when I formatted a couple SSDs, Disk Utility seem to 'map' 5GB or 10%, not sure which, so maybe it sets aside some). I just would get a drive that has extra space.
    You'll find Wikipedia has excellent articles on SSD, TRIM, write amplification and more. And Diskeeper blog has an article on the inner workings of SSD.
    http://en.wikipedia.org/wiki/Write_amplification
    No it won't be irreversible if there is some. Just keep a backup clone though. And keep SSD to just OS and apps, or if using for scratch, but use a standard mechanical drive for all your data and other purposes.
    http://macperformanceguide.com/Storage-SSD-Reconditioning.html
    There is a whole section devoted to SSD (70% down the page)
    http://macperformanceguide.com/index_topics.html
    The rest deals in speculation. Old axiom, we'll know when it gets there, not until.

  • What happen of"The operation could not be complete...

    i have a serius problem of this kind of stuff...
    What the meaning of"The operation could not be completed"
    when i perform update of my phone massage in nokia pc suite, it came out of this kind of error...
    so that i cant get any massage form my phone, who can help me in this problem? i was in a urgen. Thank you very much!

    You can try to execute PC Suite Cleaner with option "Problem using Nokia PC Suite". It is told (http://europe.nokia.com/A4144912) that that should fix this kind of problem.
    BTW, what model of phone you are using and how many messages you have in Inbox?

  • What happens if OD Master does not contain the most up-to-date information than the OD Replica

    I have a Mac OS X Server v10.6 OD Master on a VMWare Fusion virtual machine and an OD Replica on a Parallels Bare Metal instance. One evening the volume containing the OD Master virtual machine just unmounted itself, when I manually remounted it Fusion now refuses to start the OD Master virtual machine so my only recourse was to restore the VM from an earlier snapshot. The OD Replica in the meantime was running smoothly containing an up-to-date LDAP data than the OD Master. What will now happen when a master-replica sync is attempted? Will it overwrite the data in the Replica with the older information from the mMaster? Or will it update the Master so that it will have the more up-to-date data from the Replica?

    Hi
    http://manuals.info.apple.com/en_US/OpenDirAdmin_v10.6.pdf
    Page 60.
    Replicas have read only access to the Master and they can't write data 'back up' to the Master. The relationship is top-down only. Master and Replica(s) must all be exactly the same OS as well as using the same NTP Server. If the Master is 10.6.5 and the Replica is 10.6.7 the Master/Replica relationship will be broken. The relationship is also broken if the Replica's LDAP database is newer than the Master's.
    You should seriously consider promoting the existing Replica to an OD Master role. This will ensure the most current LDAP database is preserved. The old Master should be demoted and re-promoted to become the new Master's Replica.
    Consult the Admin Manual (as linked above) as it does give relevant guidance on what to do in situations like yours.
    HTH?
    Tony

  • Backing up External drives to Time Machine - what happens if the drives are not connected at the same time?

    I have 2 x 1 TB drive that I use interchangeably. 1 holds Video and the other Photos. I only have 1 connected when I'm working (using Premiere or Lightroom). I have a 2 TB NAS for making redundant copy of the other 2 drives.So far I've been doing the copying manually.
    I'm considering of using Time Machine to make proper backup sets (though I'm always only interested in the latest set). I know that I can set Time Machine to backup to Nas over the network and include any external drives connected to the mac at the time.
    The questions now are:
    Will Time Machine fails if it can't find any of the external drives?
    Does Time Machine handle backing up the external drives one at a time - only when it's connected - without thinking the files on the "missing" (or disconnected) volume had been deleted?
    Thanks

    Hi Ronald,
    I can't answer the TM question, but Tri-Backup handles those situations perfectly...
    http://www.tri-edre.com/english/tribackup.html

  • How does the VCA-DCV online exam work? What happens if I got disconnected?

    Hello guys,
    How does the online exam work?
    What happens if I my internet got disconnected in the middle of the exam? Does it pause / can I resume it later? Or is it gone forever and I am considered as "failed" ?

    You can take the exam from any location that has the required internet access, and from any system that meets the system requirements:
    VMware Certification
    You could email [email protected] if you have further concerns.

  • [solved] sshd not disconnecting clients on close

    When I shut down my sshd, either restarting the machine or manually, currently connected clients are not disconnected. Their ssh sessions just hang, and the terminal has to be closed. How can I make "/etc/rc.d/sshd stop" actually boot clients off?
    Last edited by rezza (2011-02-08 14:45:13)

    Their ssh sessions just hang, and the terminal has to be closed.
    You don't have to close the terminal. The OpenSSH client (i.e. ssh) supports 'escape sequences', and you can force the disconnect between the client and the server by pressing '~' and then '.'. That said, you must have entered a newline just before, so the sequence if often '<enter>', '~', '.'.
    If you want more info about this, look at the 'ESCAPE CHARACTERS' sections of the ssh man page.

  • Good morning, I upgraded my mac to the lions and the My Music folder does not show the covers of CDs, anyone know what happens?

    goor morning , i upgraded my mac to the lios and the music folder does not show de the covers of cds,anyone know what happens ?

    *the phone is not blocked in anyway

  • Load balancing - what happens if a server goes down?

    Hi, Just an academic question.
    Assume I have 2 DA servers behind a BIG-IP load balancer, named DA1 and DA2.
    If I enable Load Balancing (BIG-IP in my case), what happens to the clients already Connected to DA1 when IP-HTTPS is used?
    For example:
    Client1 is connected to BIG-IP, which in turn redirect this client to DA1-Server. Assume that DA1-server goes down, what happens with the client then? I assume the Client will be redirected to DA2-server by BIG-IP after some time, meaning it will have to establish
    the connection from scratch. Is this correct and roughly how long does it take for the clients to connect to the DA2-Server?
    Since IP-HTTPS is using it's own pool and IPv6 prefix per DA server, I assume this will happen? And the DA client1 will receive a new IPv6 address from DA2 ?
    Thanks!

    Hi,
    It depends of the way your Big-IP is checking the servers in your pool.
    The client will try to reconnect to the HTTPS interface and still be redirected to server1 until your Big-IP validate that the server1 is not responding and disable it.
    And yes, you'll receive a new IPv6 address because each server in a DirectAccess NLB cluster has a specific IPv6 range for the clients.
    Gerald

  • E61 GPRS connection not disconnecting

    Hello,
    I have recently updated my E61 to the latest firmware 3.xxx
    Now I have noticed a strange thing where built in email client does not disconnect from GPRS at all, unless I manually disconnect it.
    With previous firmware 2.xxx and my settings of "Check every 30 minutes" it would start connection, check email, then disconnect. Now, connection is always ON even though the setting is still set to every 30 minutes.
    Does anyone know why this is happening and how to make it behave as before, disconnecting after checking email?
    Any help will be appreciate it.
    Thanks

    This is simply an educated guess as I'm short on time right now, but will look into the issue in more depth later.
    Have you checked your connection options (tools, settings, connection)? There is an option for GPRS connectivity there. The available options will be 'When Available', and 'When Needed'. I'd start by checking the firmware update hasn't changed this option to When Available.
    If that is not the answer, I'll research the problem more thoroughly.
    All the best,
    Damion.

  • What happens when NAC Server License Exceeds ?

    Hi all,
    Got a simple question for which I could not find the explanations ?
    I know that licensing is run by the endpoints which are in Online User (posture assessed) list.
    Lets say I purchased a NAC server with 100 License. What happens if a client connects to the network as the 101th user ? Is there a flexible licensing option as in other security products of Cisco ?
    Also anyone has any info about the roadmap of licensing for Cisco NAC products ? Such as central management of licenses, license pools or etc. ?
    Thanks in advance.
    Any comments appreciated.
    Dumlu

    Thanks a lot.
    You said "BPEL developer should make sure unique value is supplied for correlation..",but I am confused,
    "BPEL developer" means business process developer(process caller) or bpel engine developer(process runtime enviroment developer) ?
    This afternoon,I installed oracle PM and did some tests. The bpel server creates two process instances which have the same correlation data.

Maybe you are looking for

  • Firewire problem on MacBook Pro

    I have a 15" MacBook pro. I use it with a variety of firewrie devices, camera, video camera, hard drives and it has always worked flawlessly. Until two days ago. I woke it up from sleep and tried to mount a hard drive. The drive got power but the dri

  • Boot camp error "Your disk could not be partitioned" Yosemite iMac

    I been trying to boot camp windows 7 on my iMac for 2 days now. I tried several online suggestions but with no success. Everything will work fine until I get to Macintosh HD will be partitioned as, I pick the size and click install. BCA will start pa

  • Cannot load previous purchases in iTunes 10.3

    In iTunes 10.3.1 I cannot download anything from the cloud. Whenever I go to the "download previous purchases" section it always tells me " temporarily unable to load your purchased items". It's been like this since 10.3 beta was released. Is there s

  • Setting the DTD in the JAXB generated Java Classes

    Hi All, I have generated the Java Source file for a DTD using the xjc tool that comes with JAXB . Now from the Class files i can unmarshall and get the XML file . But in the generated XML output file we don't have the <!DOCTYPE > Element which binds

  • Cant scroll in itunes store

    since the 10.4.0.80 update i occasionally cant scroll up or down the page. if i go back and forwards to the page again it will work fine. no clue why this is happening. probably just a bug but if anyone can provide any help on possible solutions to t