Sybase odbc driver client unable to establish a connection

Please some one help me at this. I am new to sysbase.
I am try to create dsn name for sysbase.
While connecting sysbase i gave sa as user name and administrator as password.
Its connecting and show master db and some other db.
After that i am trying to create dsn. While i creating dsn i gave
1) Hostname as my system hostname.
2) Database name as master db
3) Logon Id as sa (sa is my user name i gave)
4) Port : 5000
When i click test connection it asked password. i gave as administrator.
After few seconds it show sybase odbc driver client unable to establish a connection error.
I provide screenshot what i did and what error is occured.
Please guide me at this.

Hi Srinivasan,
This is the first thing I noticed. You have a Windows 2012 R2 box. Make sure you install the SDK 15.7 SP130 or later or SDK 16.0 PL04 or later. We just got the SDK certified with the R2 box so the installation runs correctly.
Second thing, when you run the odbc manager if you are creating a system dsn you need to start the Windows odbc manager as administrator on a Windows 2012 or Windows 8 box or you get permission issues on this system.
Third thing you should pay attention to is if the application is a 32 or 64 bit application. This decides if you run the 32 or 64 bit Windows odbc manager.
If your still having problems please tell me and I will investigate. I got a Windows 2012 R2 box with SDK 15.7 SP130 and it seems to be working fine.
Thanks,
Dawn Kim

Similar Messages

  • [Sybase][ODBC Driver]Null ini

    Hi,
    I have issue with connecting to Sybase ASE after upgrading from base IQ 16 to SP03.
    Unable to connect to server 'SYBASE_ASE': [Sybase][ODBC Driver]Null ini
    file or ini file not found in $SYBASE or current directory
    SQLCODE=-656, ODBC 3 State="HY000"
    Valid .odbc.ini file exists in $SYBASE as well as in $HOME or in current directory.
    Does anyone have same issue with SP03?
    Driver used is libsybdrvodb.so which is pointing to Sybase ASE DataAccess64/lib and is properly loaded with LD_LIBRARY_PATH.
    Thanks,

    The IQ SP03 install does not contain any ASE ODBC driver components.  Most likely you have a path conflict.
    When you install, do you use a different $SYBASE home directory for the IQ installation vs. the ASE installation?  If so, check which $SYBASE is in use, as that points to the 'interfaces' file in use.  Your DSN my be using the interfaces name of the ASE and not the host/port.
    i.e. the IQ.sh script in the $SYBASE used by IQ will call the $SYBASE/SYBASE.sh when it runs.  If you install to a different $SYBASE directory for IQ, then this $SYBASE does not contain an interfaces file.
    Correct your paths or copy the interfaces file from the ASE $SYBASE directory to the IQ $SYBASE directory.
    Chris

  • Client unable to establish connection; 08001;

    Hello,
    My SSAS multidimensional cube processing fails with the following error:
    "OLE DB error: OLE DB or ODBC error: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to
    allow remote connections. For more information see SQL Server Books Online.; 08001; Client unable to establish connection; 08001; Encryption not supported on the client.; 08001"
    It was running fine with no errors till yesterday. Does anyone know what may be wrong?
    Could it be because of a new firewall rule on the server that host the SQL server?
    Appreciate your help!
    Thanks!

    Hi Nihcas,
    Based on the error message, it seems that the account cannot connect to the data source of the SQL Server Analysis Services database. And you said that a new firewall rule on the server that host the SQL server, then this issue can be caused by this firewall.
    To access an instance of the SQL Server through a firewall, you must configure the firewall on the computer that is running SQL Server to allow access. The firewall is a component of Microsoft Windows. In your scenario, please try to configure the Windows
    Firewall to Allow SQL Server Access and check if the issue is persists or not.
    http://msdn.microsoft.com/en-us/library/cc646023(v=sql.105).aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • VMware SQL 2008R2 bcp error - SQLState = 08001, NativeError = 0 Error = [Microsoft][SQL Server Client 10.0] Client unable to establish connection due to prelogin failure

    Can someone help me resolve this error?   Thanks  
    Windows Server 2008 R2  Standard SP1 64-bit -  SQL Server 2008R2 Standard 64-bit 
    VMware vCenter Server Version 5.1.0
    SQLState = 08001, NativeError = 0
    Error = [Microsoft][SQL Server Native Client 10.0]Client unable to establish connection due to prelogin failure
    bcp program: 
    bcp SYM.dbo.ACCOUNT in "D:\Data\SQLExtract\EXTRACT.ACCOUNT" -f"D:\Data\SQLCommands\FMT.ACCOUNT" -S DEV-DATA\TEST\ -T -oSYMLOAD.LOG Type SYMLOAD.LOG >> SYMLOAD.LOG.CUMULATIVE
    The bcp program executes successfully on a local instance of SQL Server.

    The error has nothing to do with BCP as such, but it is a connection problem. That is, for some reason you cannot connect to your instance from the VM. I would exect that you face a similar problem if you tried SSMS.
    It could be a firewall issue, but prelogin suggests that you reach the instance. But possibly you don't come far enough for the login failure to be recorded. Possibly the instance is not configured to audit login failures.
    The message you would see would be similar to
    2010-08-18 14:11:30.91 Logon       Error: 17809, Severity: 20, State: 3
    Possibly followed by a a line that details the message. The error number may be different.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Sybase ODBC driver - numeric or decimal datatype problem

    Hello!
    I have Sybase Adaptive Server Enterprise 15.0.2 and Oracle 10.2.0 ("show release" in SQL*plus prints 1002000100) on the same machine (OS = Windows XP, name = Workstation). I wanna load correct information from the table in Sybase via Oracle database link.
    Well, I've edited tnsnames.ora, listener.ora. Also I've created initmysybase.ora in hs\admin directory. And, of course, set up DSN (using Sybase ODBC driver) via odbcad32.exe - and named it "mysybase".
    Table ("test", user = guest) definition in Sybase is:
    column "id" - int, column "data_num" - numeric(10, 5), column "data_dec" - decimal(10, 5). And it's content is: (1, 1.12345, 5.54321). I've set up a database link.
    My problem is that whenever I do the SELECT statement (SELECT * FROM "guest.test"@mysybase) I get 0 (zero) for both data_num and data_dec columns.
    Status of investigation:
    The "describe" command in SQL*plus returns:
    id NOT NULL NUMBER(10)
    data_num NUMBER(10,5)
    data_dec NUMBER(10,5)
    UPDATE statement works perfectly.
    I've downloaded a trial version of ODBC drivers from www.datadirect.com and all works fine.
    So, I believe that maybe there are some bugs in ODBC driver from Sybase, or maybe I should configure smth.
    My initmysybase.ora:
    HS_FDS_CONNECT_INFO = mysybase
    # HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_TRACE_LEVEL = ON
    HS_NLS_NUMERIC_CHARACTER = ",."
    HS_LANGUAGE = American
    tnsnames.ora:
    mysybase =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WORKSTATION)(PORT = 1521))
    (CONNECT_DATA =
    (SID = mysybase)
    (HS = OK)
    listener.ora:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = WORKSTATION)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = mysybase)
    (SID_NAME = mysybase)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = hsodbc)
    So, maybe anybody know how to solve this problem?
    Thanks,
    Yury

    I've played with HS_LANGUAGE option but without success.
    Well, this is the export from the registry:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\mysybase]
    "Driver"="C:\\sybase\\DataAccess\\ODBC\\dll\\sybdrvodb.dll"
    "dsprincipal"=""
    "secondaryport"=""
    "logintimeout"="10"
    "dsn"="mysybase"
    "restrictmaximumpacketsize"="0"
    "initializationstring"=""
    "database"=""
    "packetsize"=""
    "ignoreerrorsifrspending"="0"
    "dsservicename"=""
    "server"="WORKSTATION"
    "serverinitiatedtransactions"="1"
    "quotedidentifier"="0"
    "charset"="ServerDefault"
    "ansinull"="0"
    "encryptpassword"="0"
    "fetcharraysize"="25"
    "language"=""
    "buffercachesize"="20"
    "trustedfile"=""
    "port"="5000"
    "userid"="sa"
    "hasession"="0"
    "tightlycoupledtransaction"="0"
    "serverprincipal"=""
    "enableserverpacketsize"="1"
    "applicationname"=""
    "description"=""
    "dsurl"=""
    "userprincipal"=""
    "dynamicprepare"="0"
    "crc"="0"
    "secondaryserver"=""
    "textsize"=""
    "clienthostproc"=""
    "clienthostname"=""
    "codepagetype"="oem"

  • N70 Unable to establish network connection using p...

    . . . but can browse the net using handset alone; PC suite can do other functions but OTA is not able to connect. This happened after I downloaded the latest PC Suite 7. Recommendation of FAQ/Help is to check connections settings (duh) and have cooperated with instructions. Nope, didnt work. Have tried:
    Uninstall; install of PC Suite to the letter 5x
    Reset phone to factory settings
    Use settings wizard to ensure proper internet settings
    Was recommended download usb cable driver - link is non existent
    Tested using a different N70 unit on my laptop - still no go (now doesnt that mean there is a software issue????)
    Most of the help desk tips at the call center are stop gap and rarely meant to go the distance assisting you (like when a blanket fix is recommended - go to service center to have phone software upgraded) or the standard spiel of "we'll put your case on record and we'll call you back in hours" and sometimes they do call back or not. So far in my case none of the tips have worked. I am about to reformat my pc, and if this doesnt work, then what can we say about the problem? Did we get a dud PC Suite, a lemon, a beta version?
    How then can I browse the net using my mobile as modem? I guess I am venting my frustrations here - but hey, may I challenge Nokia to find a fix for connectivity issues related to use of a Nokia Phone as a modem? Check out the discussions and you will find similar issues echoed all over. Or is Nokia just waiting for one of us indomitable tinkerers to find a solution and share it in these discussions?

    I REFORMATTED MY PC TO SEE IF IT IS A PROBLEM WITH MY LAPTOP SOFTWARE. I AM STILL UNABLE TO ESTABLISH NETWORK CONNECTION USING MY PHONE AS A MODEM. IT SAYS CHECK CONNECTION SETTINGS, BUT HOW FAR CAN YOU GO WITH THAT? THE CONNECTION SETTINGS ARE FINE! I CAN BROWSE THE NET USING THE HANDSET ALONE, SO WHAT GIVES? I CHALLENGE NOKIA TO FIND A SOLUTION TO THIS PROBLEM.

  • TPINIT error  Unable to establish WSH connection 0x000221150afea683

    Dear All,
    we have applications deployed using tuxedo. All the applications are in working condition, but one new application is deployed with same parameters of working applications but on new client application on Windows 2008 server.
    This application cannot access the tuxedo server and giving following error.
    152035.WEBAPP!?proc.4020.3152.0: 01-30-2013: Tuxedo Version 11.1.1.2.0 with VS2010, 64-bit
    152035.WEBAPP!?proc.4020.3152.0: LIBWSC_CAT:1064: ERROR: Unable to establish WSH connection 0x000221150afea683
    152035.WEBAPP!?proc.4020.3152.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
    152035.WEBAPP!?proc.4020.3152.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
    152035.WEBAPP!?proc.4020.3152.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
    The same application is working on 32 bit 2003 server. and only changed this in 64 bit 2008 server.
    My .bat file on the client is as follows. The tuxedo server is already serving all other clients except this one. Server version is tuxedo10gR3. Firewall on this client is also disabled
    cls
    set APPDIR=C:\bea\prs\
    set WSNADDR=//202.25.16.11:7025
    set TUXDIR=C:\\bea\\tuxedo11gR1_VS2010
    set PATH=%TUXDIR%\\bin;%APPDIR%;%PATH%
    set LD_LIBRARY_PATH=%TUXDIR%\\lib
    @echo on
    echo "Processing online recovery file: " %2
    echo %TUXDIR%
    echo %WSNADDR%
    echo %LD_LIBRARY_PATH%
    cd C:\bea\prs
    c:
    C:\bea\prs\prs.exe %1 %2 %3 %4
    Edited by: user6951085 on Jan 30, 2013 2:42 AM

    Dear All,
    I found out why this is happening(with the Help of Oracle support), so updating it for future use.
    Tuxedo uses random ports for clients that have connected to WSL listener. thats why my first error
    152035.WEBAPP!?proc.4020.3152.0: LIBWSC_CAT:1064: ERROR: Unable to establish WSH connection 0x000221150afea683
    was coming. this means (as per the documentations) that the WSL have accepted the connection but the next step of connecting to WSH is not done. which causes the above error.
    The resolution can be 2 things.
    1. Allow allow ports of Server or range of ports starting from port of WSL e.g. port WSNADDR port 7777 to 7777+2000 ports , so that clients can access the WSL port + 2000 ports
    2. add a parameter on the tuxedo server ubb file to define a range of ports which can handle client requests. (most probably in the WSL CLOPT portion)
    if your network has security and it only allows some ports to be accessed , u can get this error.
    Thanks.
    Edited by: user6951085 on Jan 31, 2013 1:18 AM

  • "Unable to establish a connection between WebEx and the mail server."

    Hi,
    I installed Cisco WebEx and integrated with our Microsoft exchange server.  It showed server "UP".  everything's came up and working fine after that and sudenlly i found this message "Unable to establish a connection with the mail server.  Please recheck settings."
    I went into the Mail Server setup to edit settings and now, it shows Server Down.  Do I need to do something on the MS Exchange 2010 or from webex server ??
    Any help is greatly appreciated.  Thanks a lot!

    Every 180 seconds, CWMS verifies the connection to the SMTP server by establishing a connection on TCP port 25 (SMTP) and then sending the EHLO command followed by the QUIT command. This check is also performed once when logging into the admin web page or when browsing to System -> Servers (where the status of the mail server is displayed).
    If  this sequence does not complete successfully, the warning “Unable to  establish a connection with the mail server. Please recheck settings.”  will show in a banner at the top of the CWMS admin pages.
    You  can verify the connection to the SMTP server manually by using “telnet  25”.
    If you have access to the CWMS unix shell be aware that CWMS does not come  with the telnet command installed.
    As an alternative, you can use this 3-lines script:
    exec 3<>/dev/tcp/x.x.x.x/25
    echo -e "EHLO\r\nQUIT\r\n " >&3
    cat <&3
    Replace x.x.x.x by the ip address or hostname of the SMTP server and save the script in a file, f.e.:
    /* script saved in a file named ehlo */
    [root@dchriste-cwms-adm1 ~]# cat ./ehlo
    exec 3<>/dev/tcp/10.48.54.79/25
    echo -e "EHLO\r\nQUIT\r\n " >&3
    cat <&3
    Then, execute it:
    [root@dchriste-cwms-adm1 ~]# sh ./ehlo
    The output should be similar to this:
    220 *******************************************************************************************************************
    250-confukdc.confuk.com Hello [10.48.52.110]
    250-TURN
    250-SIZE
    250-ETRN
    250-PIPELINING
    250-DSN
    250-ENHANCEDSTATUSCODES
    250-8bitmime
    250-BINARYMIME
    250-CHUNKING
    250-VRFY
    250-XXXXXXXXXXXXXXXXXXXXXXXA
    250-X-EXPS=LOGIN
    250-AUTH GSSAPI NTLM LOGIN
    250-AUTH=LOGIN
    250-X-LINK2STATE
    250-XEXCH50
    250 OK221 2.0.0 confukdc.confuk.com Service closing transmission channel
    Also, you can use this tcpdump command to see the conversation (replace x.x.x.x by the SMTP server’s IP address or hostname):
    tcpdump -vXs 0 host x.x.x.x and tcp port 25
    If you have HA, it is not certain which admin VM talks to the smtp server, so best to check both.
    If you don't have access to the CWMS unix shell, best to span the switch ports and run packet capture.

  • BEA-149505  -The administration server was unable to establish JMX Connect.

    hello
    Getting the following error, trying to access the weblogic admin server ( Linux x86-64 RHL50) after a fresh install.
    BEA-149505 The administration server was unable to establish JMX Connectivity with the managedServer at the JMX Service URL of <none > URL in the AdminServer LogiI
    1. what steps and configuration files do I need to access to add the url
    I will like to add that the node manager and the cluster screen were NOT configured during the configuration, since this is NOT an OIM configuration
    2. if you have any tips please let me know
    r.

    faisal
    thank for your feedback. I added this in my startup script, but I was NOT able to get the web access to work and when I shot it down, there was an error.
    Here is the startup script, Please show me when to place the scripts
    #!/bin/sh
    # WARNING: This file is created by the Configuration Wizard.
    # Any changes to this script may be lost when adding extensions to this configuration.
    # --- Start Functions ---
    stopAll()
    # We separate the stop commands into a function so we are able to use the trap command in Unix (calling a function) to stop these services
    if [ "X${ALREADY_STOPPED}" != "X" ] ; then
    exit
    fi
    # STOP DERBY (only if we started it)
    if [ "${DERBY_FLAG}" = "true" ] ; then
    echo "Stopping Derby server..."
    ${WL_HOME}/common/derby/bin/stopNetworkServer.sh >"${DOMAIN_HOME}/derbyShutdown.log" 2>&1
    echo "Derby server stopped."
    fi
    ALREADY_STOPPED="true"
    # --- End Functions ---
    # This script is used to start WebLogic Server for this domain.
    # To create your own start script for your domain, you can initialize the
    # environment by calling @USERDOMAINHOME/setDomainEnv.
    # setDomainEnv initializes or calls commEnv to initialize the following variables:
    # BEA_HOME - The BEA home directory of your WebLogic installation.
    # JAVA_HOME - Location of the version of Java used to start WebLogic
    # Server.
    # JAVA_VENDOR - Vendor of the JVM (i.e. BEA, HP, IBM, Sun, etc.)
    # PATH - JDK and WebLogic directories are added to system path.
    # WEBLOGIC_CLASSPATH
    # - Classpath needed to start WebLogic Server.
    # PATCH_CLASSPATH - Classpath used for patches
    # PATCH_LIBPATH - Library path used for patches
    # PATCH_PATH - Path used for patches
    # WEBLOGIC_EXTENSION_DIRS - Extension dirs for WebLogic classpath patch
    "/erasdevapp/weblogic/user_projects/domains/base_domain/bin/startWebLogic
    umask 037
    # Call setDomainEnv here.
    DOMAIN_HOME="/erasdevapp/weblogic/user_projects/domains/base_domain"
    . ${DOMAIN_HOME}/bin/setDomainEnv.sh $*
    SAVE_JAVA_OPTIONS="${JAVA_OPTIONS}"
    SAVE_CLASSPATH="${CLASSPATH}"
    # Start Derby
    DERBY_DEBUG_LEVEL="0"
    if [ "${DERBY_FLAG}" = "true" ] ; then
    ${WL_HOME}/common/derby/bin/startNetworkServer.sh >"${DOMAIN_HOME}/derby.log" 2>&1
    fi
    JAVA_OPTIONS="${SAVE_JAVA_OPTIONS}"
    SAVE_JAVA_OPTIONS=""
    CLASSPATH="${SAVE_CLASSPATH}"
    SAVE_CLASSPATH=""
    trap 'stopAll' 1 2 3 15
    if [ "${PRODUCTION_MODE}" = "true" ] ; then
    WLS_DISPLAY_MODE="Production"
    WLS_DISPLAY_MODE="Production"
    else
    WLS_DISPLAY_MODE="Development"
    fi
    if [ "${WLS_USER}" != "" ] ; then
    JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.management.username=${WLS_USER}"
    fi
    if [ "${WLS_PW}" != "" ] ; then
    JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.management.password=${WLS_PW}"
    fi
    if [ "${MEDREC_WEBLOGIC_CLASSPATH}" != "" ] ; then
    if [ "${CLASSPATH}" != "" ] ; then
    CLASSPATH="${CLASSPATH}${CLASSPATHSEP}${MEDREC_WEBLOGIC_CLASSPATH}"
    else
    CLASSPATH="${MEDREC_WEBLOGIC_CLASSPATH}"
    fi
    fi
    echo "."
    echo "."
    echo "JAVA Memory arguments: ${MEM_ARGS}"
    echo "."
    echo "WLS Start Mode=${WLS_DISPLAY_MODE}"
    echo "."
    echo "CLASSPATH=${CLASSPATH}"
    echo "."
    echo "PATH=${PATH}"
    echo "."
    echo "***************************************************"
    echo "* To start WebLogic Server, use a username and *"
    echo "* password assigned to an admin-level user. For *"
    echo "* server administration, use the WebLogic Server *"
    echo "* console at http://hostname:port/console *"
    echo "***************************************************"
    # CLASS CACHING
    if [ "${CLASS_CACHE}" = "true" ] ; then
    echo "Class caching enabled..."
    JAVA_OPTIONS="${JAVA_OPTIONS} -Dlaunch.main.class=${SERVER_CLASS} -Dlaunch.class.path="${CLASSPATH}" -Dlaunch.complete=weblogic.store.internal.LockManagerImpl -cp ${WL_HOME}/server/lib/pcl2.jar"
    export JAVA_OPTIONS
    SERVER_CLASS="com.oracle.classloader.launch.Launcher"
    fi
    # START WEBLOGIC
    echo "starting weblogic with Java version:"
    ${JAVA_HOME}/bin/java ${JAVA_VM} -version
    if [ "${WLS_REDIRECT_LOG}" = "" ] ; then
    echo "Starting WLS with line:"
    echo "${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}"
    ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}
    else
    echo "Redirecting output from WLS window to ${WLS_REDIRECT_LOG}"
    ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS} >"${WLS_REDIRECT_LOG}" 2>&1
    fi
    stopAll
    popd
    # Exit this script only if we have been told to exit.
    if [ "${doExitFlag}" = "true" ] ; then
    exit
    fi

  • Client could not establish a connection to the remote computer

    Sir we are using Windows 2008 Server standard licence edition and using Microsoft Cal open licence  (Total 25). Our system are working from smoothly from 1 years. But from one week we have facing client could not establish a connection to the remote
    computer.
    Sir I am talking from Integral Bank, Jaipur Sir please solve our problem.
    With warm regards,
    Hariom
    M-09875156100
    mail : [email protected]

    Sir we are using Windows 2008 Server standard licence edition and using Microsoft Cal open licence  (Total 25). Our system are working from smoothly from 1 years. But from one week we have facing client could not establish a connection to the remote
    computer.
    Sir I am talking from Integral Bank, Jaipur Sir please solve our problem.
    With warm regards,
    Hariom
    M-09875156100
    mail : [email protected]

  • Unable to establish loopback connection when running junit tests

    Hello,
    I just started using jrockit (jrockit-jdk1.6.0_20-R28.1.0-4.0.1) and I encounter a problem running junit tests.
    I have 2 tests in the same junit suite, both do binding to 127.0.0.1.
    The first test succeeds in the binding. Once it finishes, the second one tries to bind to same address and fails due to IOException, Unable to establish loopback connection (logs below)
    If I run them using sun's hotspot jvm they work fine.
    If I run them separately, i.e, only one test per suite, each works fine.
    It seems that only when switching to jrockit I get the problem.
    Any idea?
    Thanks,
    Edo
    Logs:
    ERROR [Main Thread_1] Failed to start ConnectionFullVirtualServer[server.traffix.com/127.0.0.1:3868]
    [org.jboss.netty.channel.ChannelException: Failed to bind to: server.traffix.com/127.0.0.1:3868 ] thrown
         org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:303)
         com.traffix.openblox.core.transport.ConnectionFullVirtualServer.listen(ConnectionFullVirtualServer.java:60)
         com.traffix.openblox.core.transport.VirtualServerTable.listen(VirtualServerTable.java:143)
         com.traffix.openblox.core.transport.StackImpl.doStart(StackImpl.java:772)
         com.traffix.openblox.core.transport.TransportStack.doStart(TransportStack.java:156)
         com.traffix.openblox.core.transport.StackStateMachineImpl.doStart(StackStateMachineImpl.java:75)
         com.traffix.openblox.core.transport.StackStateMachine$StackStateConfigured.processEvent(StackStateMachine.java:60)
         com.traffix.openblox.core.fsm.StateMachine.processEvent(StateMachine.java:90)
    Caused by: java.io.IOException: Unable to establish loopback connection
         sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
         sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
         sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
         java.nio.channels.Pipe.open(Pipe.java:133)
         sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:41)
         sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
         java.nio.channels.Selector.open(Selector.java:209)
         org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.<init>(NioServerSocketPipelineSink.java:219)
    Caused by: java.nio.channels.ClosedByInterruptException
         java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184)
         sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:518)
         java.nio.channels.SocketChannel.open(SocketChannel.java:146)
         sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:78)
         sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
         sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
         java.nio.channels.Pipe.open(Pipe.java:133)
         sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:41)[ com.traffix.openblox.core.transport.VirtualServerTable.listen(VirtualServerTable.java:146) ][22/12/2010 11:05:57:511]
    ERROR [Main Thread_1] Failed to start Endpoint Stack(server.traffix.com Configured)
    [org.jboss.netty.channel.ChannelException: Failed to bind to: server.traffix.com/127.0.0.1:3868 ] thrown
         org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:303)
         com.traffix.openblox.core.transport.ConnectionFullVirtualServer.listen(ConnectionFullVirtualServer.java:60)
         com.traffix.openblox.core.transport.VirtualServerTable.listen(VirtualServerTable.java:143)
         com.traffix.openblox.core.transport.StackImpl.doStart(StackImpl.java:772)
         com.traffix.openblox.core.transport.TransportStack.doStart(TransportStack.java:156)
         com.traffix.openblox.core.transport.StackStateMachineImpl.doStart(StackStateMachineImpl.java:75)
         com.traffix.openblox.core.transport.StackStateMachine$StackStateConfigured.processEvent(StackStateMachine.java:60)
         com.traffix.openblox.core.fsm.StateMachine.processEvent(StateMachine.java:90)
    Caused by: java.io.IOException: Unable to establish loopback connection
         sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
         sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
         sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
         java.nio.channels.Pipe.open(Pipe.java:133)
         sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:41)
         sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
         java.nio.channels.Selector.open(Selector.java:209)
         org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.<init>(NioServerSocketPipelineSink.java:219)
    Caused by: java.nio.channels.ClosedByInterruptException
         java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184)
         sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:518)
         java.nio.channels.SocketChannel.open(SocketChannel.java:146)
         sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:78)
         sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
         sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
         java.nio.channels.Pipe.open(Pipe.java:133)
         sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:41

    Have you tracked down if the phone actually sends the TCP connection to the desktop? I'm feeling that this is a firewall issue that shows itself when the firewall zone changes (public/private/domain).
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Error -  unable to establish JCO connection with SSO

    Hello,
    I have implemented XSS on WebDP and this is working fine. So my JCO connections SAP_R3_HumanResources must be configured correctly. However I have just done the 'GetFlight' BAPI tutorial and upon execution I get the error:
    'com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCException: Could not create JCOClientConnection for logical System: SAP_R3_HumanResources - Model: class com.sap.tut.wd.flightlist.model.FlightModel. Please assure that you have configured the RFC connections and/or logical system name properly for this model!'
    CAUSED BY
    'User not authenticated (is anonymous) - unable to establish JCO connection with SSO'
    Can anyone help here?
    Thanks
    Mr.T

    HI
    GOOD
    GO THROUGH THIS LINK WHICH CONTAINS THE A SINGLE SIGN-ON IN A COMPLEX SYSTEM LANDSCAPE.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/80fbc690-0201-0010-1aba-93d5c8232b4a
    http://www.sap-press.de/download/dateien/1020/sappress_sap_security_authorizations.pdf
    http://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ff65b5a2-0a01-0010-5b97-e747192a1d49
    THANKS
    MRUTYUN

  • Urgent OmniPortlet JDBC SQL Server - Unable to establish the connection

    Not sure if this is the correct forum but as there is another JDBC question regarding portlets in this forum I have to give this a try as it is URGENT I get this solved.
    Please see my post in the Portal General Forum
    OmniPortlet DataDirect JDBC SQL Server - Unable to establish the connection
    Thanks!

    Not sure if this is the correct forum but as there is another JDBC question regarding portlets in this forum I have to give this a try as it is URGENT I get this solved.
    Please see my post in the Portal General Forum
    OmniPortlet DataDirect JDBC SQL Server - Unable to establish the connection
    Thanks!

  • Ssocfg fails - unable to establish secure connection to OID on port 636

    Infrastructure tier on 10g Application Server was installed without the fully qualified hostname. The fix includes running the ssocfg.sh in $<infrastructure_home>/sso/bin. However, when I run the ssocfg.sh script I get an exception saying: "Repository Access API throws exception :oracle.ias.repository.schema.SchemaException: Unable to establish secure connection to Oracle Internet Directory Server ldap://<hostname>:636
    When I execute ldapbind on port 636 I get a timed out error.
    Any ideas on where to look for a fix?

    Please post your problems in more details. What is the error message you are getting?
    Please mark the post as solution if it solves your problem.
    Current Device - Nokia Lumia 1020/920

  • Oracle ODBC Driver (Client XE) Error

    It seems the Oracle ODBC Driver from Client XE is broken.
    When I try to create a new ODBC dsn entry from "ODBC Data Source Administrator", an error message is display "Error Cannot Load Resource File sqresus.dll". Do you have the same problem?
    FYI: This computer doesn't run the XE server.

    One solution is to install and use the Oracle Instant Client with ODBC.

Maybe you are looking for