JCO client creation without hardcoding user id /password

Hi All,
II need to execute BAPI in java DC code,for that i need to create jco client.Is  there any way so that i need not hardcode userid and password in the code.
Any pointers?
Regards
Radhika

I think this should be possible by using JCoCustomDestination, but as you can see in this thread Re: SAP JCo 3 - cannot connect to repository using custom destination it's not working as expected.

Similar Messages

  • Link to folder with user and password

    Hi all!
    From my action I want to redirect to a file in order to download it but the problem is that this file is in a web folder with user/password
    How can I redirect to it to downlad it directly without introducing user and password manually by the customer?
    Thanks!
    T

    Do you understand where this user/password restriction comes from? It look like just a HTTP based authentication. A Servlet can access the local file system directly without issueing a new HTTP request for that. Or is that file located at another server?

  • RFC client connect without giving password

    Hi,
    I wrote a JCo client, get connected to SAP and called an rfc enabled function.
    This is all working fine, but I have to give user and password in the JCO.createClient method.
    Is there any possibility to avoid giving password and user?
    Is it possible to use first something like an R/3 connection (created via SM59) and then call the rfc function?
    I tried JCO.createClient with a param_list with parameter "alias_user" or "saplogon_id", but it didn't work.
    Do you have any hints to solve this issue?
    Thank you in advance!

    Hallo Oli,
    what I normally do is create a little text file and save it as conn.properties containing the login information. Then I just read the conn.properties for the connection information in my Java program like the IP, username, password, etc.
    This way you don't need to change your complete program for just the simple login data. Logging in without the username and password is not possible as far as I know, with the properties file you can have multiple users who can change their login information and run the program.
    Hope that helps,
    Sameer

  • Linking to an OBIEE report without showing the user and password

    Hi!
    we are trying to access to an obiee report from an external portal (coded with php).
    The idea is that the user clicks on a link an gets the report in pdf format. For that purpose we are using this url:
    http://ttivobiee01:7001/analytics/saw.dll?Go&Path=/shared/Prueba/ogp_obi&Action=Print&P0=1&P1=eq&P2="Criteria"."Key"&P3=1402&NQuser=user&NQPassword=pass&format=pdf
    But this url is expossing OBIEE's user and password.
    In order to avoid this security issue we tried to do an wget of the url but it doesn't return the report. Instead we get an html, which seams to download the report chunk by chunk (using javaScript).
    The question is, is there any way that we could let our portal ussers access to an obbie report without expossing the user and password?
    I have been looking into oracle forums and have found this: OBIEE Go URL with password protected
    but we couldn't use this aproach due to security issues.
    Thanks!
    Nuria

    Hi!
    We have finally done this (and it works!)
    <?php
    $urlInforme='http://obi:7001/analytics/saw.dll?Go&Path=/shared/Prueba/ogp_obi&Action=Print&P0=1&P1=eq&P2="Criterios"."Clave oficial"&P3=1402&NQuser=user&NQPassword=pass&format=pdf';
    $ch = curl_init($urlInforme);
    $ckfile = tempnam ("./", "CURLCOOKIE");
    $ch = curl_init ($urlInforme);
    curl_setopt ($ch, CURLOPT_COOKIEJAR, $ckfile);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $output = curl_exec ($ch);
    $ch = curl_init ($urlInforme);
    curl_setopt ($ch, CURLOPT_COOKIEFILE, $ckfile);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $fp = fopen("salida.pdf", "w");
    curl_setopt($ch, CURLOPT_FILE, $fp);
    $output = curl_exec ($ch);
    curl_close($ch);
    fclose($fp);

  • Have a company based itunes account, trying to share itunes on bank owned devices. can't get all devices to keep our shared password on them without requesting user to enter password (which i am not giving them)

    i am an IT manager for a bank.  we have several company owned iphones. WE have also implemented a mobile device management system to manage our iphones. 
    We setup acompany based itunes account, trying to share itunes on bank owned devices.  This way i can add bank approved apps to the devices through our itunes account and push out to the iphones, and no one can download any other non bank approved apps.
    it has been working ok. but recently i had one user who came in.  He went to enter in his itunes account on the phone and didn't work. So then came back and my staff and myself have (as much as we can see) removed his email account itunes login from all sections in settings. and entered in our itunes account information, but when you go to the app store, and hit upgrade, it still shows his email account for itunes.  I feel like i can't get all devices to keep our shared password on them without requesting user to enter password (which i am not giving them)
    How can i troubleshoot his device. i tried changing password 5 times today, rebooted device, and no change.
    Jenn McGlynn

    i have an MDM application, and i push out the apps i want them to have with our IT apple id account. for some reason when two approved apps needed updating last week, they prompted him for our password. (which i told him to bring phone in and i would enter password).
    but somehow he went to try to enter his personal to make it work (don't know why)
    somewhere it's keeping his personal email. i went into itunes/apps and our apple id is in there.
    there is nothing in icloud b/c we do not allow icloud, so that's clear.

  • Creating NEW CLIENT,USER and PASSWORD Please

    Hi ..
    I am having this problem ,I am from SD-module. I am trying to work with sending and receiving IDOC's . Here i have problem with creating another logical system.could u please assist me in creating another client/user/password on my existed system.so that i can be able to send an idoc from one logical system to another logical system.i would appreciate your efforts.
    regards,
    SURIYA.

    Hi
    You can create a client using transaction code SCC4. Then you need to perform a client copy, use transcation SCCL to perform a local client copy from client 000 using SAP_ALL/SAP_CUST profile.
    Once you are done with you need to check whether the parameter login/no_automatic_user_sapstar is set to false (0). This can be achived in transaction code RZ10. You will have to restart the SAP server if the parameter value is altered(if not already 0).
    Once the parameter is set then u can login to the client using user SAP* and password "pass". For performing client copy u will log into the destination client that is the client newly created and using SCCL perform the client copy.
    Using BD54 u can create a logical system and in transaction SCC4 you can assign this logical system to the new client.
    Once you are done with client copy then DDIC user will also be there with the master password given during installation time.
    Using transaction SU01 you can create new users according to ur need and assign the roles/profiles as required.
    Once this is done you can peform the IDOC sending and recieveing activity in between those clients.
    If any more queries feel free to ask.
    Regards
    Sumit Jain
    [reward with points if the answer is useful]

  • Dynamic User Name & Password Creation

    Hello,
    In My Project I want to create no. of dynamic username & password as per user enters no of user he/she want to create.
    For that i used database table's last auto-increment value and increment it to 1 & append it to 'st' for student(st+01)
    so i am creating User name & Password Like st02 & st02 etc.
    now my problem is when maxium limit of auto increment number is reached Usernmae & password repeats,so unique usernmae & Password creation not possible?
    Is there any other way to do this other than using databse table's auto-increment field

    Make sure the ID doesn't loop? An int(11) should provide MORE than enough possibilities. Be sure to use a long on the java side to hold the ID.

  • As DBA, how to know user's password without changing it?

    HI,
    a quick question,
    how do I know user's password?
    I mean I don't need to use 'alter user identified by new_password.'
    just want to know current user's password, is there a quick way???
    thanks a lot

    Not sure what the intention is but it is possible to change a users password and and then change it back to what it was originally, without knowing what it ever was.
    select username, password from dba_users;
    make note of the encrypted password.
    Now change the password to something else
    alter user <username> identified by <new_password>;
    Connect as that user, do whatever etc.
    Now, to change it back
    alter user <username> identified by values '<original_password>';
    Note the single quotes.

  • Automated vendor block on creation without user inputs

    Hi All,
    I want to block the vendor in creation without user inputs:
    Not in T-code mk01<extras<blocked data, and definiately not after creating the vendor and using t-code MK05.
    How i can change a field in table LFA1 while creating the vendor.
    the field that i want to set is LFA1-SPERM (for all purchasing Org).
    Please suggest if you have any ideas how this can be done.
    Thanks,
    Mamta

    Hi,
    Not sure your issue was solved already.
    However, if not resolved already try this
    create an explicit enhancement in include MF02KFV0
    ENHANCEMENT 3  ZFI_VENDOR_CREATE.  
    IF SY-TCODE = 'MK01''.
    LFA1-SPERM = `X`.
    ENDIF.
    ENDENHANCEMENT.
    Enhancement Spot :ES_MF02KFV0   
    Program: MF02KFV0  
    Enhancement Implementation type: Dynamic Enhancement Point
    Enhancement Implementation POint:  \IC:MF02KFV0\EX:VERBUCHUNGSAUFRUF_02\EI
    Regards
    Raja

  • Creation of support message in SolMan without having user id in SolMan

    Hi Everyone,
    Need your help in this issue.
    I have solution manager configured to create a service desk message from satellite system.
    We dont want everyone (Users from satellite system) to have an SOLMAN user id to create a service desk message. We want that the users from the satellite system create a support message seamlessley without touching the solution manager.
    What roles and authorization do we need to assign to each users in satellite system to create a suppport message in solution manager ( without having User id in SOLMAN).
    Any help is greatly appreciated.
    Thanks in Advance.

    Hi Kuldeep Thakur,
    the role is : SAP_SV_FDB_NOTIF_BC_CREATE to be able to create message from satellite system to Solman.
    That you will get the Reported by in the service desk message itself, you need to create the Business Partner (BP transaction) for this user and assign the BP to the user ID in transaction BP under Employee section indification.
    BR,
    Markus

  • How to reset user and password on MacBook Pro without CD

    I recently bought a MacBook Pro, 15" with Lion on Ebay.
    There are times when I am asked for a password. I have asked the person who I bpught it from, but he does not remember.
    I do not have the original disk, so I need a method to reset the user and password.
    Thanks

    Thank you for your input.
    I received an e-mail from a computer tech that thought the following would work; please let me know what you think:
    ResetLion password with Single User mode
    Anyone running Mac OS X Lion cantake advantage of this method:
    Shut down your Mac and turn it back on while holding     down the Command and S keys at the same time until your see     a black screen with white text. This is known as Single User mode.
    You can skip this step, but it’s recommended that you     don’t because it will check the consistency of your hard drive. At the     prompt, type fsck -fy and press Enter.
    Once the disk check is complete and the prompt returns,     type mount -uw / and press Enter.
    Type launchctl load     /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist and press     Enter.
    Type ls /Users and press Enter. All of the     usernames on the computer will be listed, which is helpful if you don’t     know or remember what these are.
    Type dscl . passwd /Users/username password     while replacing username with one of the users displayed in     the previous step and replacing password with the new password     of your choice. Press Enter. You will likely get an error message about a     file or directory not being found – it’s safe to ignore this.
    Type reboot and press Enter.

  • How can I Change a User's password remotely

    Hi all
    I setup an iChat Server. I need to allow the users the ability to change their password without physically accessing the server (including via Remote Managment)
    Thow some iChat(jabber) Clients support changing the password, the iChat Server does not appear to have this option.
    Is there any way to remotely change a user's password ?
    A possible solution would be to setup a Webpage allowing the user to logon and change the Password.
    Is there any web managment tool on OS X Server for this ?
    Any other sugestions?
    Thanks,
    Best regards

    This is getting depressing. I've just speand most of a day getting the OID to support ldaps SSL protocol, since I read that a number of active directory services only allow password change if the connection is encrypted. Finally got my ldaps connection, but the NoPermissionException is still there. The user I'm signing on as is definitely has user security management permissions. I can't seem to modify attributes at all. I added my own optional attribute to the schema, but JNDI can't set it.
    Perhaps the oracle LDAP library in jpdk might help, but I'm not hopeful. If I could find any API documentation I might be more moved to try, but I see no setPassword methods in the relavant classes. This just looks like a fairly thin wrapper for JNDI anyway.
    Does anyone know where the API doc for oracle.ldap.* is? Has anyone got a password to change other than by the SSO's built in change password dialog?
    I'm not hopeful. On these boards I've found many questions along these lines but, thus far, no answers.

  • Irregular failure to authenticate OpenDirectory users via password-based ssh

    TL;DR - my Yosemite Open Directory server irregularly fails to properly authenticate users (via password-based ssh). 
    I recently moved an Open Directory server from an Xserve running 10.6 to a new Mini running 10.10.  I archived the OD config on the Xserve and then took it offline.  Then I brought the Mini online using the same hostname/IP address, created a new OD master using the archived configuration.  Everything seemed to work well, however sometimes the server will not authenticate users via password when logging in with ssh/sftp/scp.  This is also true of a few OS X machines that bind to the OD server (i.e. they usually authenticate users properly, but sometimes fail for no discernable reason). 
    The failures are only for password authentication using ssh.  Other mechanisms do not exhibit the auth failures.  For instance, AFP and SMB user auth never fails (with proper credentials).  Nor do users to a FileMaker Server machine that authenticate via the OD server have problems.  Public key based ssh authentication never fails.  Local accounts (non-OD, aka "Local Network Accounts") also do not fail using password-based authentication.
    The failures are irregular.  The only pattern that I can find at all is that sometimes when the failures start happening, they keep happening continuously until...at some point they work properly again.  That is, they may fail from 11:15 am to 2:01 pm, and if so, then all of them fail in that time range.  Sometimes that time range lasts seconds, sometimes it lasts hours.
    The time range failure pattern is host specific.  For instance, if password authentication is failing on the main OD server, authentication may be fine on the other bound machines.  If authentication is failing on one of the bound machines, then it may be fine on all others and fine on the OD server itself.
    The failure pattern does not seem to correlate to any other events or activity on the server (even remotely).  CPU utilization never gets above about 15%.  Memory utilization is similarly very low.  Network traffic is occasionally high, but it does not seem in any way related to the auth failures.  There are not other log messages that occur before or after the failures with any consistency.
    I've been monitoring the auth failures by attempting to login to the OD server and two other bound hosts once per minute so that I can tell when the auth is failing (before getting calls from the users). 
    The adaptive firewall is not running on the OD server.  Nor is any other firewall.
    Below are a comparison of the system.log entries for a failed and successful auth (I've stripped out those lines that are identical in both instances).  The log entries have been sanatized as described.
    Rebooting the OD server does not affect the bound clients' authentication.  Rebooting the OD server is problematic, and I cannot do it often.  When I do, sometimes failures start soon after reboot, and sometimes that don't come back for many hours - again, no discernable pattern.
    If anyone has any ideas what I can do to discover the source of this problem and come up with a solution, I'd very much appreciate it.  Note that I'm aware that I can export all users and group and reconstruct a new, clean OD master, but without the ability to save the passwords, this becomes a large logisitcal problem, and I'm saving it as a last resort (particularly since if it doesn't solve my problem, I will have inconvenienced many users and be right back in the same place).
    Thanks for reading.
    First failure:
        Feb 11 00:00:20 odserver.myorg.gov kdc[67]: TGS-REQ [email protected] from 127.0.0.1:65373 for host/[email protected] [canonicalize, forwardable]
        Feb 11 00:00:20 odserver.myorg.gov opendirectoryd[67268]: GSSAPI Error:  Miscellaneous failure (see text (unable to reach any KDC in realm ODSERVER.MYORG.GOV, tried 2 KDCs (negative cache))
        Feb 11 00:00:20 odserver.myorg.gov sshd[72974]: error: PAM: authentication error for myusername from clienthost.myorg.gov via 10.50.50.50
        Feb 11 00:00:20 odserver.myorg.gov sshd[72974]: Connection closed by 10.50.50.99 [preauth]
    Now successful auth:
        Feb 11 01:03:20 odserver.myorg.gov kdc[67]: TGS-REQ [email protected] from 127.0.0.1:63978 for host/[email protected] [canonicalize, forwardable]
        Feb 11 01:03:20 odserver.myorg.gov kdc[67]: TGS-REQ [email protected] from 127.0.0.1:62346 for ldap/[email protected] [canonicalize, forwardable]
        Feb 11 01:03:20 odserver.myorg.gov sshd[73786]: Accepted keyboard-interactive/pam for myusername from 10.50.50.99 port 53361 ssh2
        Feb 11 01:03:20 odserver.myorg.gov NetAuthSysAgent[73789]: GetStatus: connecting to self not allowed
       Feb 11 01:03:20 odserver.myorg.gov NetAuthSysAgent[73789]: ERROR: AFP_GetServerInfo - connect failed 62
    I've sanitized the entries as follows, replacing...
    My username by myusername
    The ssh source host IP address by 10.50.50.99
    The ssh source hostname by clienthost.myorg.gov
    The server hostname by odserver.myorg.gov
    The server hostname (in caps) by ODSERVER.MYORG.GOV
    The server IP address by 10.50.50.50

    Hello James,
    I have not had a chance to look for the Router configuration document, however, for one of my certificate exams I did configure Authentication Proxy on an IOS router. The config for that lab was:
    aaa new-model
    aaa authentication login default group tacacs+ local
    aaa authorization auth-proxy default group tacacs+ local
    aaa session-id common
    ip auth-proxy name AUTHPROXY http inactivity-time 60
    interface FastEthernet0/0
    ip address 192.168.250.19 255.255.255.0
    ip nat outside
    ip virtual-reassembly
    duplex auto
    speed auto
    interface FastEthernet0/1
    ip address 192.168.200.120 255.255.255.0
    ip access-group 110 in
    ip nat inside
    ip virtual-reassembly
    ip auth-proxy AUTHPROXY
    duplex auto
    speed auto
    ip route 0.0.0.0 0.0.0.0 192.168.250.1
    ip http server
    ip http authentication aaa
    no ip http secure-server
    ip nat inside source list nat interface FastEthernet0/0 overload
    ip access-list extended nat
    permit ip 192.168.200.0 0.0.0.255 any
    access-list 110 permit ip any any
    tacacs-server host 192.168.250.20
    tacacs-server key cisco123
    end
    Please check if the commands are supported on your router as well.
    If this ws helpful please rate.
    Regards.

  • Fresh install of 11.1 and "sqlplus user@instance/password" does not work

    new server, windows server 2008, fresh install of 11.1.0.7 with local instance.
    can connect to the instance using "sqlplus user/password" since ORACLE_SID is set,
    can connect to a 9.2 remote instance using "sqlplus user@remoteinstance/password".
    can't connect using "sqlplus user@localinstance/password".
    <command>
    l:path>set oracle_sid=localinstance
    l:path>sqlplus username/password
    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Nov 8 13:11:02 2010
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.1.0.7.0 - Production
    SQL> exit
    Disconnected from Oracle Database 11g Release 11.1.0.7.0 - Production
    l:\path>sqlplus username@localinstance/password
    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Nov 8 13:11:21 2010
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    l:\path>
    l:\path>sqlplus username@remoteinstance/password
    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Nov 8 13:11:45 2010
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    SQL> exit
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    l:\path>
    </command>
    what am i doing wrong?
    many thanks in advance,
    stephen.

    =================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Additional notes on the listener: One listener is capable of listening on multiple ports. But please notice that it is the listener using these ports, not the database instance. You can't bind a specific listener port to a specific db instance. Similarly, one listener is capable of listnening on multiple IP addresses (in the case of a server with multiple NICs) But just like the port, you can't bind a specific ip address to a specific db instance.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    Third: If the client is on the same machine as the db instance, it is possible to connect without referencing tnsnames and without going through the listener.
    Now, when you issue a connect, say like this:
    $> sqlplus scott/tigertns will attempt to establish an IPC connection to the db instance. How does it know the name of the instance? It uses the current value of the enviornment variable ORACLE_SID. So...
    $> export ORACLE_SID=fred
    $> sqlplus scott/tigerIt will attempt to connect to the instance known as "fred". If there is no such instance, it will, of course, fail. Also, if there is no value set for ORACLE_SID, the connect will fail.
    check executing instances to get the SID
    [oracle@vmlnx01 ~]$ ps -ef|grep pmon|grep -v grep
    oracle    4236     1  0 10:30 ?        00:00:00 ora_pmon_vlnxora1set ORACLE_SID appropriately, and connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID='vlnxora1
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:37 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNow set ORACLE_SID to a bogus value, and try to connect
    SQL> exit
    [oracle@vmlnx01 ~]$ export ORACLE_SID=FUBAR
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:57 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Enter user-name: Now set ORACLE_SID to null, and try to connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID=
    [oracle@vmlnx01 ~]$ sqlplus /scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:43:24 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specifiedOk, that is how we get from the client connection request to the listener. What about the listener's part of all this?
    The listener is very simple. It's job is to listen for connection requests and make the connection (server process) between the client and the database instance. Once that connection is made, the listener is out of the picture. If you were to kill the listener, all existing connections would continue. The listener is configured with the listener.ora file, but if that file doesn't exist, the listener is quite capable of starting up with all default values. One common mistake with the listner configuration is to specify "HOST=localhost" or "HOST=127.0.01". This is a NONROUTABLE ip address. LOCALHOST and ip address 127.0.0.1 always mean "this machine on which I am sitting". So, all computers are known as "localhost" or "127.0.0.1". If you specify this address, the listener will only be capable of receiving requests from the machine on which it is running. If you specified that address in your tnsnames file - on a remote client machine - the request would be routed to the machine on which the requesting client resides. Probably not what you want.
    =====================================

  • JCO Client idel timeout

    Hi,
    Do anyone know how to set the jco.client.idle_timeout value for a ESS WebDynpro application.
    Thanks
    Kiran

    Hi Gena,
    so, it's now clear, the jco client simply uses the dialog processes and not something smarter/more flexible
    Well, that's a feature of the underlying RFC protocol: All RFC calls are executed in dialog work processes, thus also the runtime limitations for dialog processes apply.
    My question is, ho to entice the jco client call to run without runtime timeout and take as long time as necessary. If the only possibility is, to use the tRFC, does anybody have an example for tRFC usage from JCo Client?
    The JCo client cannot do anything about it, it's a profile parameter in SAP, i.e. rdisp/max_wprun_time. But as this parameter applies to all dialog processes (so dialog users and RFC calls), so it shouldn't be changed to make a single RFC application work. Anyhow, tRFC won't help you in this case, because all RFC calls are processed in a dialog process no matter of the type of RFC.
    Once again, we want to run the JCo client calls unlimited time (as long as needed) without the annoying dialog process timeout.
    Impossible without making any changes in SAP. In theory one could modify the RFC function so that it resets the "runtime counter" and thus having the capability to run longer than rdisp/max_wprun_time. I'd recommend though not to do that, especially since a very long running RFC seems rather questionable. Long running tasks should be processed in background.
    Cheers, harald

Maybe you are looking for