Could not as NIS client

hi
i have configured NIS master in one solaris machine and another as NIS client. i could login as switch user in master server but could not login as NIS client in client machine
error comes like this : invalid username
plz suggets this

hello there,
we are having a similiar error when we have our interfaces running...
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: error while processing the request to rfc-client: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: resource error: could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool RfcClient[XI_RFC_Receiver]21502d803b9e3f9d92fafc831576669a is exhausted. The current pool size limit (max connections) is 10 connections.</SAP:AdditionalText>
We know that XI_RFC_Receiver is a communication channel that is defined in the integration directory.  We see that there is a parameter Maximum connection on the RFC channel that is set to 10.  We are thinking of increasing this value to 12 or 15 or 20.  Do you know the the impact of changing this parameter?

Similar Messages

  • Could not find a client that is able to lunch the selection

    Hi
    I am new in j2ee. I am using eclipse 3.1 with tomcat 5.0.28 and jboss 3.2.3. I am trying to do application with bmp_ejb. I think my problem is in deploying. My ejb has got a entitybean(ViewVivendasBean) and two interfaces (ViewViviendasLocal and ViewViviendasHome). To deploy I have changed some files.
    In tomcat the file web.xml, I have appended this:
    <resource-ref>
         <description> Tabla de conexiones para aae
         </description>
         <res-ref-name>
              jdbc/XXXX
         </res-ref-name>
         <res-type>
              javax.sql.Datasource
         </res-type>          
         <res-auth>
              Container
         </res-auth>
    </resource-ref>In the file server.xml, I've appended
      <Context>
           <Resource name = "jdbc/XXXX" auth = "Container"
                       type = "javax.sql.DataSource"/>
         <ResourceParams name = "jdbc/XXXX">
              <parameter>
                   <name>username</name>
                   <value>USER</value>
              </parameter>>
              <parameter>
                   <name>password</name>
                   <value>11111</value>
              </parameter>
              <parameter>
                   <name>driverClassPath</name>
                   <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
              </parameter>
              <parameter>
                   <name>url</name>
                   <value>jdbc:microsoft:sqlserver://yyyy.com:1433/web</value>
              </parameter>
              <parameter>
                   <name>maxActive</name>
                   <value>20</value>
              </parameter>
              <parameter>
                   <name>maxIdle</name>
                   <value>5</value>
              </parameter>
         </ResourceParams>     
      </Context>In the file ejb-jar.xml, I've appended
    <ejb-jar>
             <description>Implementa ViewViviendas</description>
             <display-name>ViewViviendasEJB </display-name>
             <enterprise-beans>
         <entity>
              <description>Version 0.1</description>
              <display-name></display-name>
              <ejb-name>ViewViviendasBean</ejb-name>
              <home>ejb.ViewViviendasHome</home>
              <remote>ejb.ViewViviendasLocal</remote>
              <ejb-class>ejb.ViewViviendasBean</ejb-class>
              <persistence-type>Bean</persistence-type>
              <prim-key-class>java.lang.String</prim-key-class>
               <reentrant>False</reentrant>
             </entity>
         </enterprise-beans>
         <assembly-descriptor>
                  <container-transaction>
              <method>
                   <ejbname>ViewViviendasBean</ejb-name>
                   <method-name>"*"</method-name></method>
                  <trans-attribute>Required</trans-attribute>
                  </container-transaction>
           </assembly-descriptor>          
    </ejb-jar>After I create a file in format html "index.html" to test. And gime this error "Could not find a client that is able to lunch the selection"
    Perhaps , Do I have got to deploy also this file index.html?.
    Any Idea?
    thanks in advanced

    Hi
    A question. The deploy is right?
    thank you

  • Operation could not be completed. client error not possible.

    I have a mac mini running OS10.5.8. All of a sudden I can not print with my HP1315v all in one printer. I can print a test but that is all. I get this message. "Operation could not be completed, Client error no possible". I re-installed the HP software but that didn't help. I ran a permissions repair with Disk Untilities but that didn't correct the problem. Any help would be appreciated. :-) Dave

    I can't help, because I'm getting the same ERROR suddenly with my Samsung ML-2010 laser printer. NOTHING will print and the "Status" of the print job(s) all show "Stopped". It's driving me nuts!
    For some bizarre reason, I can still print to my other printer, a HP laserjet 2550L. It does not see to be affected in the least.
    Anyone got any ideas for a remedy?

  • TNS-12518: TNS:listener could not hand off client connection

    All,
    I am getting the below error while connecting the db from client.it is a shared server and also have enough free memory.
    The db version is : 9.2.0.6
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNSrotocol adapter error
    TNS-00517: Lost contact
    Solaris Error: 32: Broken pipe
    Please suggest me on this to avoid the issue.

    When was last time SQL*Net worked?
    What changed since then?
    Solaris Error: 32: Broken pipeError occurs at Operating System level & Oracle is the victim.
    What clues exist in the messages file?

  • 10.1.3 EA1: ORA-12518, TNS:listener could not hand off client connection

    Hi,
    Trying to connect to a remote database which worked in 10.1.3 developer preview gives now:
    Listener refused the connection with the following error:
    ORA-12518, TNS:listener could not hand off client connection
    The Connection descriptor used by the client was:
    From sqlplus I can connect. I don't have access to the remote database server/configuration. I tried the workarounds specified here
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=139775.1
    I deleted
    ojdbc14dms.jar ojdbc14.jar
    from jdeveloper and copied ojdbc14_g.jar from Oracle 10g release1 (renamed it to ojdbc14.jar). Then it worked.

    Hi,
    Can you please check the below link from the forum too.
    ORA-12518 Tns: Listener could not hand off client conenction
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com

  • ORA-12518: TNS:listener could not hand off client connection

    guys,
    i have a problem here with the connection between a client host and a server database, using a new non-default listener LISTENER_BKP_1. The error showed is:
    ORA-12518: TNS:listener could not hand off client connection
    i had learned about this error here before, and i toke some notes as follows:
    h2. listener.log
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 25-SEP-2009 01:23:49
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is C:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to C:\oracle\product\10.2.0\db_2\network\log\listener_bkp_1.log
    Trace information written to C:\oracle\product\10.2.0\db_2\network\trace\listener_bkp_1.trc
    Trace level is currently 0
    Started with pid=2212
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WINXP)(PORT=1523)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    25-SEP-2009 01:24:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=PAULO))(COMMAND=services)(ARGUMENTS=64)(SERVICE=listener_bkp_1)(VERSION=169869568)) * services * 0
    25-SEP-2009 01:24:49 * (CONNECT_DATA=(SERVICE_NAME=financeira.winxp)(CID=(PROGRAM=C:\ORACLE?instantclient_10_2\sqlplus.exe)(HOST=PAULO_NOTEBOOK)(USER=ORACLE_DBA))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.100)(PORT=51649)) * establish * financeira.winxp * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directory
    25-SEP-2009 01:24:53 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=PAULO))(COMMAND=services)(ARGUMENTS=64)(SERVICE=listener_bkp_1)(VERSION=169869568)) * services * 0
    h2. lsnrctl services
    C:\>lsnrctl services listener_bkp_1
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 25-SEP-2009 01:33:40
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=WINXP)(PORT=1523)))
    Services Summary...
    Service "FINANCEIRA.WINXP" has 1 instance(s).
    Instance "FINANCEI", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:1
    LOCAL SERVER
    The command completed successfully
    h2. listener.ora file
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = FINANCEIRA.WINXP)
    (SID_NAME = FINANCEI)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WINXP)(PORT = 1521))
    SID_LIST_LISTENER_BKP_1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = FINANCEIRA.WINXP)
    (SID_NAME = FINANCEI)
    LISTENER_BKP_1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WINXP)(PORT = 1523))
    h2. v$resource_limit
    RESOURCE_NAME ; CURRENT_UTILIZATION ; MAX_UTILIZATION ; INITIAL_ALLOCATION ; LIMIT_VALUE
    processes ; 26 ; 30 ; 150; 150
    sessions ; 30 ; 35 ; 170 ; 170
    2 rows selected
    this means that it didn't reach the resource limites yet. What i can do to solve the problem ???
    another important information is that connecting by the default listener LISTENER instead of the LISTENER_BKP_1 listener, the connection is completed successfully. There's enough SGA memory space too.
    Tks,

    Paulo_BR wrote:
    i have a problem here with the connection between a client host and a server database, using a new non-default listener LISTENER_BKP_1. The error showed is:
    ORA-12518: TNS:listener could not hand off client connectionDon't do Oracle on Windows, so I'm not sure how the following relates to the Listener dealing with a dedicated server connection request on Linux/Unix.
    On Linux/Unix, a dedicated server request means just that - a dedicated process has to be started to service that client. The Listener does it by using the parameters of the configured listener.ora service to execute +$ORACLE_HOME/bin/oracle+. This process then starts up, and the Listener hands off the client connection for this process for servicing.
    If there is a failure somewhere on this series of steps fail, the Listener throws the ORA-12518 exception. For example, the +$ORACLE_HOME+ has been incorrectly configured in listener.ora and it fails to execute and startup a dedicated server process.
    And this relates to the underlying error you are seeing:
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directoryI think that the Listener on Windows uses the CreateRemoteThread() Win32 call to start up the server process thread. However, it needs a valid process identifier (of the existing Oracle instance) for this call - and thus needs to first identify the Oracle instance process. Could be that this step uses a ORACLE_HOME reference. And if that directory path is not valid, it is unable to identify the process id of the Oracle instance and thus unable to spawn a dedicated thread to service that client.

  • ORA-12518: TNS:listener could not hand off client connection (DBD ERROR: OCIServerAttach)

    Hi again,
    I'm on my enterprise management console and Database Instance and Listener shows the green arrow, but the Agent Connection to Instance shows a red downward arrow and the error:
    Status: Failed
    Details: ORA-12518: TNS:listener could not hand off client connection (DBD ERROR: OCIServerAttach)
    My OraClrAgnt service is up and running (using winxp pro, oracle 11gR2), I'm on my home pc, all my ports are open (my machine's name is "abigail" and it is dmzhost)
    Any suggestions to resolve this error?
    My Tnsnames ora:
    ABIGAIL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ABIGAIL)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orcl.0.0.10)
    LISTENER_ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ABIGAIL)(PORT = 1521))
        (CONNECT_DATA =
          (SID = ORCL)
    RMAN =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ABIGAIL)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = rman.abigail)
    My listener.ora
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = E:\app\abigail\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:E:\app\abigail\product\11.2.0\dbhome_1\bin\oraclr11.dll")  
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = ABIGAIL)(PORT = 1521))
    ADR_BASE_LISTENER = E:\app\abigail
    My SQLNET.ORA
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES, LOCALHOST)
    NAMES.TRACE_LEVEL = ADMIN
    My alert file
    <msg time='2013-10-10T20:47:02.687-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='ABIGAIL'
    host_addr='::1'>
    <txt>10-OCT-2013 20:47:01 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=SYSTEM))(SERVICE_NAME=orcl.0.0.10)) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=38289)) * establish * orcl.0.0.10 * 12518
    </txt>
    </msg>
    <msg time='2013-10-10T20:47:02.687-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='ABIGAIL'
    host_addr='::1'>
    <txt>TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    </txt>
    </msg>
    My listener status and services
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                10-OCT-2013 22:47:58
    Uptime                    0 days 0 hr. 2 min. 1 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   E:\app\abigail\product\11.2.0\dbhome_1\network\admin\l
    istener.ora
    Listener Log File         e:\app\abigail\diag\tnslsnr\ABIGAIL\listener\ale
    rt\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.0.0.10" has 1 instance(s).
      Instance "orcl", status READY, has 8 handler(s) for this service...
    The command completed successfully
    LSNRCTL> services
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "orcl.0.0.10" has 1 instance(s).
      Instance "orcl", status READY, has 8 handler(s) for this service...
        Handler(s):
          "D006" established:0 refused:0 current:0 max:800 state:ready
             DISPATCHER <machine: ABIGAIL, pid: 1312>
             (ADDRESS=(PROTOCOL=tcps)(HOST=ABIGAIL)(PORT=1060))
          "D005" established:0 refused:12 current:0 max:800 state:ready
             DISPATCHER <machine: ABIGAIL, pid: 1288>
             (ADDRESS=(PROTOCOL=tcps)(HOST=ABIGAIL)(PORT=1061))
          "D004" established:0 refused:1 current:1 max:16383 state:ready
             DISPATCHER <machine: ABIGAIL, pid: 1260>
             (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1063))
          "D003" established:0 refused:1 current:1 max:16383 state:ready
             DISPATCHER <machine: ABIGAIL, pid: 1140>
             (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1062))
          "D002" established:0 refused:1 current:1 max:16383 state:ready
             DISPATCHER <machine: ABIGAIL, pid: 140>
             (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1059))
          "D001" established:0 refused:1 current:1 max:16383 state:ready
             DISPATCHER <machine: ABIGAIL, pid: 1072>
             (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1057))
          "D000" established:0 refused:1 current:1 max:16383 state:ready
             DISPATCHER <machine: ABIGAIL, pid: 748>
             (ADDRESS=(PROTOCOL=tcp)(HOST=ABIGAIL)(PORT=1058))
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    The command completed successfully

    I added this on my listener.ora
    DIRECT_HANDOFF_TTC_LISTENER=OFF
    Works now!
    Moral of the story, google is ur friend lol. Thanks for the reply tho!

  • TNS:listener could not hand off client connection

    while trying to select from dblink I got ORA-12518: TNS:listener could not hand off client connection
    What should I do?
    here is the listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = disater)(PORT = 1521))
    )

    What is the operating system and database version for remote and local machines.
    Are you using dedicated or threaded server on the remoted DB. More information is needed.
    output from error message search:-
    12518, 00000, "TNS:listener could not hand off client connection"
    // *Cause: The process of handing off a client connection to another process
    // failed.
    // *Action: Turn on listener tracing and re-execute the operation. Verify
    // that the listener and database instance are properly configured for
    // direct handoff. If problem persists, call Oracle Support.
    // *Comment: The problem can be worked around by configuring dispatcher(s)
    // to specifically handle the desired presentation(s), and connecting
    // directly to the dispatcher, bypassing the listener.

  • Server error:Could not find a client that is able to launch the selection.

    server error
    Hi all,
    When i try to run jsp file on server, RAD prompt me this error: Could not find a client that is able to launch the selection.
    Please help,
    thanks

    Hi
    A question. The deploy is right?
    thank you

  • ORA-12518 Tns: Listener could not hand off client conenction

    Sometimes I got ORA-12518 Tns: Listener could not hand off client conenction
    adding
    DIRECT_HANDOFF_TTC_LISTENER=OFF
    to listener.ora is suggested.
    Here is my listener.ora.
    Where should I add it?
    like this????????????????
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = disaster)(PORT = 1521))
    DIRECT_HANDOFF_TTC_LISTENER=OFF
    )

    like this????????????????No, like this
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = disaster)(PORT = 1521))
    DIRECT_HANDOFF_TTC_LISTENER=OFF

  • [HELP] 10g error TNS-12518: TNS:listener could not hand off client connecti

    Hi all,
    TNS-12518: TNS:listener could not hand off client connection
    (when I do a sqlplus, it hangs for one two minutes, then the error above shows)
    My oracle 10g is installed in a windows system. this error only happens when the database is heavily used for some time. After I restarted the Listoner, the connection is ok again. Does anyone has a solution for this? Thanks a lot.
    Jason

    Monitor your page file usage on Windows system (I assume its a 32 bit machine). When Windows starts to swap Oracle SGA into page file., you encounter TNS errors. Strange but we have observed this.
    If you can allocate more free physical memory on the server (by removing unwanted applications from the memory), then you can reduce these errors.
    Permanent solution would be to add more physical RAM (with 4GT on 32 bit) or switch to 64 bit architecture.
    Message was edited by:
    Satish Kandi
    Typo corrected and added following.
    You can set DIRECT_HANDOFF_TTC_LISTENER=OFF in listener.ora and restar the database as temporary solution. Check metalink Doc ID: 233747.1

  • TNS-12518: TNS:listener could not hand off client connection TNS-12547

    Hi guys,
    I have started my listener from 10.2.0.5 home , which was in 10.2.0.4.
    from that point am having issue connect to 10.2.0.4 databases which are in restricted session(DR db)
    when I try to connect to databases which are in restricted session it says TNS connection closed. databases which are open am able to connect.
    listener.log shows
    TNS-12518: TNS:listener could not hand off client connection TNS-12547: TNS:lost contact TNS-12560: TNS:protocol adapter error TNS-00517: Lost contact Solaris Error: 32: Broken pipe
    any idea why its happening.

    902988 wrote:
    Hi guys,
    I have started my listener from 10.2.0.5 home , which was in 10.2.0.4.
    from that point am having issue connect to 10.2.0.4 databases which are in restricted session(DR db)
    when I try to connect to databases which are in restricted session it says TNS connection closed. databases which are open am able to connect.
    listener.log shows
    TNS-12518: TNS:listener could not hand off client connection TNS-12547: TNS:lost contact TNS-12560: TNS:protocol adapter error TNS-00517: Lost contact
    Solaris Error: 32: Broken pipeOS/Networking misconfiguration.
    Oracle is victim; not culprit.
    Root cause & solution is external to Oracle
    How many different DB versions installed on this system?
    post results from following OS command
    env | sort
    Handle:     902988
    Status Level:     Newbie
    Registered:     Dec 17, 2011
    Total Posts:     7
    Total Questions:     4 (4 unresolved)
    Why post here when you NEVER get any answers?
    Edited by: sb92075 on Apr 13, 2012 1:12 PM

  • TNS-12518: TNS:listener could not hand off client connection, XE 10g/WinXP

    I've installed Oracle XE 10 on Windows XP. When I browse to the database homepage, I get this in listener.log:
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    08-FEB-2012 01:07:24 * service_register * xe * 0
    08-FEB-2012 01:07:24 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1702)) * handoff * http * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    I don't think it is shortage of resources (just rebooted). I put "DIRECT_HANDOFF_TTC_LISTENER=OFF" in listener.ora .. no luck. I removed the listener.ora file altogether ... ditto.
    What else could cause this?
    Steve

    I can connect from SQLPlus. Laptop has 3 GB RAM.
    ===== set =====
    C:\Documents and Settings\shawes>set
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\shawes\Application Data
    CLIENTNAME=Console
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=shawes-us
    ComSpec=C:\WINDOWS\system32\cmd.exe
    DEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\shawes
    JDEV_USER_DIR=D:\JDeveloper\mywork
    LOGONSERVER=\\shawes-us
    NUMBER_OF_PROCESSORS=4
    OS=Windows_NT
    Path=C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\
    ThinkPad\ConnectUtilities;C:\Program Files\TortoiseSVN\bin;C:\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 37 Stepping 2, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=2502
    ProgramFiles=C:\Program Files
    PROMPT=$P$G
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\shawes\LOCALS~1\Temp
    TMP=C:\DOCUME~1\shawes\LOCALS~1\Temp
    TPCCommon=C:\PROGRA~1\THINKV~1\PrdCtr
    TSMPATH=C:\Program Files\ThinkPad\UltraNav Utility
    USERDOMAIN=shawes-us
    USERNAME=shawes
    USERPROFILE=C:\Documents and Settings\shawes
    VSEDEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
    windir=C:\WINDOWS
    ===== lsnrctl stat =====
    C:\Documents and Settings\shawes>lsnrctl stat
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 08-FEB-2012 23:55:53
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date 08-FEB-2012 19:32:02
    Uptime 0 days 4 hr. 23 min. 53 sec
    Trace Level user
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
    Listener Trace File C:\oraclexe\app\oracle\product\10.2.0\server\network\trace\listener.trc
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SHAWES-US.us.oracle.com)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully

  • TNS-12518: listener could not hand off client connection

    We've recently upgraded to Oracle 9.2 (on Solaris 9) and are having intermittent problems. After being up several hours we approach around 250-300 active connections to the database. Then intermintantly all clients receive TNS-12518 errors or Error 0 or even other errors--all basically saying they can't connect. The problem sometimes comes and goes within seconds, other times sticks around for about 30 minutes. During this period if someone has an active connection they are absolutely fine and unaware of the problems. It's only new connections that get locked up.
    We've got three dispatchers running a max. of 500 connections each and we've validated we can get up to 500 connections without a problem using some simple scripts. We haven't seen any log entries or alerts other than the actual TNS error message.
    We're prepared today to turn on intensive logging if it happens again to see if that gives us a clue. I've seen only a very few messages on the Internet about this error but unfortunately no suggestions that have proven helpful.
    We're open to any and all suggestions as this has been crippling us for about a week now.
    Thanks in advance!
    GaryG

    We had a similar problem on one of our servers (not Sun). After much investigation, we found that it was a result of one of the UNIX level parameters. I do not recall the exact name, but it set a limit on the number of active processes that a particular O/S user could have active at the same time.
    Since all processes connecting to the database use the oracle userid, we solved the problem by upping the limit.
    One of our symptoms when we had the problem was that the user oracle was unable to even log on to the server.
    HTH
    John

  • Web service handler could not called in client web service

    Hi All,
    I have two web service ServiceA & ServiceB and both implemented in weblogic.
    The ServiceA is SSL enable and protocol is https which is not published by me.
    The ServieB is my web service(wls8.1) and act as client for ServiceA.
    My problem is when i hit my service, its not able set the handler when it call ServiceA but it is invoking the service and giving application exception like authentication error.
    My service file:
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.handler.HandlerInfo;
    import javax.xml.rpc.handler.HandlerRegistry;
    import javax.xml.rpc.handler.soap.SOAPMessageContext;
    import weblogic.webservice.client.SSLAdapterFactory;
    import weblogic.webservice.client.WLSSLAdapter;
    public class HelloService {
    String wsdl = "https://188.122.123.23/RemoetService?WSDL";
    static {
    SSLAdapterFactory factory = SSLAdapterFactory.getDefaultFactory();
    WLSSLAdapter adapter = (WLSSLAdapter) factory.getSSLAdapter();
    adapter.setTrustedCertificatesFile("D:\\lib\\certs
    cacerts");
    factory.setDefaultAdapter(adapter);
    System.setProperty("weblogic.xml.encryption.verbose","true");
    System.setProperty("weblogic.xml.signature.verbose","true");
    System.setProperty("weblogic.webservice.verbose","true");
    public String sayHello(String user) {
    RemoteService_Impl service = new RemoteService_Impl(wsdl);
    RemotePortType port = service.getRemoteServicePort1();
    String namespace = service.getServiceName()
    .getNamespaceURI();
    QName portName = new QName(namespace,
    "RemoteServicePortType");
    HandlerRegistry reg = service.getHandlerRegistry();
    List handlerList = new ArrayList();
    Map map = new HashMap();
    map.put("Username", "user1");
    map.put("Password", "pwd1");
    HandlerInfo info = new HandlerInfo();
    info.setHandlerClass(WSClientHandler .class);
    info.setHandlerConfig(map);
    handlerList.add(info);
    reg.setHandlerChain(portName,(List)handlerList);
    RemoteServiceResponse = port.callMe(name);
    My Handler file:
    package com.test;
    import java.util.Map;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.handler.Handler;
    import javax.xml.rpc.handler.HandlerInfo;
    import javax.xml.rpc.handler.MessageContext;
    import javax.xml.rpc.handler.soap.SOAPMessageContext;
    import javax.xml.soap.Name;
    import javax.xml.soap.SOAPElement;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPException;
    import javax.xml.soap.SOAPHeader;
    import javax.xml.soap.SOAPHeaderElement;
    public class WSClientHandler implements Handler {
    private HandlerInfo handlerInfo;
    public WSClientAuthenticateHandler(){}
    public void init(HandlerInfo hi) {
    System.out.println("Handler init");
    handlerInfo = hi;
    public void destroy() {
    System.out.println("Handler destroy method called");
    handlerInfo = null;
    public QName[] getHeaders() {
    System.out.println("Handler Header method called");
    try {
    Map map = handlerInfo.getHandlerConfig();
    QName[] headers = handlerInfo.getHeaders();
    System.out.println(" Config :"+map);
    for(int i=0;i<headers.length;i++) {
    System.out.println(headers.getLocalPart()+" "+
    headers.toString()+" "+headers.getNamespaceURI());
    }catch(Exception e) {
    e.printStackTrace();
    return handlerInfo.getHeaders();
    public boolean handleRequest(MessageContext mc) {
    SOAPMessageContext smc = (SOAPMessageContext) mc;
    System.out.println("Calling handler class.....................");
    try {
    SOAPEnvelope se = smc.getMessage().getSOAPPart().getEnvelope();
    System.out.println("Calling handler class.....................");
    SOAPHeader soapHeader = se.getHeader();
    Name headerName = se.createName("Security","wsse","http://schemas.xmlsoap.org/ws/2002/07/secext");
    SOAPHeaderElement headerElement = soapHeader.addHeaderElement(headerName);
    SOAPElement element = headerElement.addChildElement(se.createName("UsernameToken", "wsse", "http://schemas.xmlsoap.org/ws/2002/07/secext"));
    element.addChildElement(se.createName("Username", "wsse","http://schemas.xmlsoap.org/ws/2002/07/secext")).addTextNode("testuser");
    element.addChildElement(se.createName("Password", "wsse","http://schemas.xmlsoap.org/ws/2002/07/secext")).addTextNode("testpwd");
    System.out.println("Calling handler class.....................");
    System.out.println("** Request: \n "se.toString()"\n");
    }catch(SOAPException e) {
    e.printStackTrace();
    return true;
    /** * Specifies that the SOAP response message be logged to a
    * log file before the
    * * message is sent back to the client application
    * that invoked the Web service.
    public boolean handleResponse(MessageContext mc) {
    System.out.println("Handler Response method called");
    SOAPMessageContext messageContext = (SOAPMessageContext) mc;
    System.out.println("** Response: \n"messageContext.getMessage().toString()"\n");
    return true;
    /** * Specifies that a message be logged to the log file if a SOAP fault is
    * * thrown by the Handler instance.
    public boolean handleFault(MessageContext mc) {
    SOAPMessageContext messageContext = (SOAPMessageContext) mc;
    System.out.println("** Fault: \n"messageContext.getMessage().toString()"\n");
    return true;
    Please need help here.
    Thanks in Advance,
    pps

    I have tested static client calling using handler simple above service and found the issues.
    QName portName = new QName(namespace,
    "*RemoteServicePortType*");
    The above line code has created the issues,becuase in wsdl file ( given similar wsdl file).
    <?xml version="1.0"; encoding="UTF-8"?>
    <definitions name="HelloService"
    targetNamespace="http://www.ecerami.com/wsdl/HelloService.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://www.ecerami.com/wsdl/HelloService.wsdl"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <message name="SayHelloRequest">
    <part name="firstName" type="xsd:string"/>
    </message>
    <message name="SayHelloResponse">
    <part name="greeting" type="xsd:string"/>
    </message>
    *<portType name="RemoteServicePortType">*
    <operation name="sayHello">
    <input message="tns:SayHelloRequest"/>
    <output message="tns:SayHelloResponse"/>
    </operation>
    </portType>
    <binding name="Hello_Binding" type="tns:*RemoteServicePortType*">
    <soap:binding style="rpc"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="sayHello">
    <soap:operation soapAction="sayHello"/>
    <input>
    <soap:body
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:examples:helloservice"
    use="encoded"/>
    </input>
    <output>
    <soap:body
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:examples:helloservice"
    use="encoded"/>
    </output>
    </operation>
    </binding>
    <service name="Hello_Service">
    <port binding="tns:Hello_Binding" name="*RemoteServicePortType1*">
    <soap:address
    location="http://host1:8080/soap/servlet/rpcrouter"/>
    </port>
    <port binding="tns:Hello_Binding" name="*RemoteServicePortType2*">
    <soap:address
    location="http://host2:8080/soap/servlet/rpcrouter"/>
    </port>
    <port binding="tns:Hello_Binding" name="*RemoteServicePortType3*">
    <soap:address
    location="http://host3:8080/soap/servlet/rpcrouter"/>
    </port>
    <port binding="tns:Hello_Binding" name="*RemoteServicePortType4*">
    <soap:address
    location="http://host4:8080/soap/servlet/rpcrouter"/>
    </port>
    </service>
    </definitions>
    From the above WSDL, I have four port name (port binding="tns:Hello_Binding" name="*RemoteServicePortType1*) which is not matching with PortType (portType name="*RemoteServicePortType*")
    even i have iterated from getPorts() method and used to invoke the service.But handler was not calling when i invoke.
    Please guide me here how i specify correct portname which can call Handler class also.
    Thanks in advance,
    pps

Maybe you are looking for