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.

Similar Messages

  • Unable to establish TCP connection when enabling internet sharing (Phone acting as hotspot)

    I have developed a small .NET Desktop application which hosts a TCP service. In addition, it sends UDP Multicasts to anounce that service.
    Service consumer is a Phone 8.1 app, which listens for these UDP multicasts and when it receives such a multicast, it creates a TCP connection to the service.
    The following snippet shows how the Phone 8.1 app listens for UDP packets and then connects via TCP
    const string UdpPort = "42";
    const string TcpPort = "43";
    const string MultiCastIp = "224.5.6.7";
    const int TimeoutForServerLookup = 10000;
    //-- listen for UDP multicasts
    HostName hostNameOfServer = null;
    var udp = new DatagramSocket();
    var clientFound = false;
    udp.MessageReceived += delegate(DatagramSocket sender, DatagramSocketMessageReceivedEventArgs args)
    try
    hostNameOfServer = args.RemoteAddress;
    catch (Exception ex)
    s_Log.Error("Error in handling UDP packet", ex);
    await udp.BindServiceNameAsync(UdpPort);
    udp.JoinMulticastGroup(new HostName(MultiCastIp));
    var waitedTimeInMs = 0;
    const int delayInMs = 250;
    while (waitedTimeInMs < TimeoutForServerLookup && hostNameOfServer == null)
    waitedTimeInMs += delayInMs;
    await Task.Delay(TimeSpan.FromMilliseconds(delayInMs));
    udp.Dispose();
    //-- we now have the adress of the TCP server (hostNameOfServer)
    //-- connect now to the server. this works when being in a "normal" WLAN, does not work when the phone is the hotspot
    var socket = new StreamSocket();
    await socket.ConnectAsync(hostNameOfServer, TcpPort);
    This works well when the Desktop computer and the Windows Phone 8.1 are within the same WLAN. For some customers it is important that this also works when the Windows Phone 8.1 acts as hotspot (by enabling internet sharing on the phone) and the desktop computer
    (or Laptop) connects itself to this WLAN. In this scenario the Phone 8.1 still receives the UDP packets, but when trying to connect via TCP, the connection attempt fails.
    Any ideas how to get rid of this problem?

    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.

  • "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.

  • 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

  • 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

  • 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

  • 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

  • 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!

  • Running JUnit tests from AWT Event Quene

    Anyone know how to run JUnit tests from the AWT Event Queue? JFCUnit is overkill; I'm just looking for a TestRunner that runs on a different thread. I can delve into the JUnit documentation but, with luck, someone who's been through this before can spare me the trouble. Also, anyone else get a server error when searching for "JUnit event dispatch" on this forum?

    JUnit 3 version:
    import java.util.concurrent.atomic.AtomicReference;
    import javax.swing.SwingUtilities;
    import junit.framework.TestCase;
    public abstract class EDTTestCase extends TestCase {
         * Overriding this method guarantees that setUp(), tearDown(), and all
         * tests run on the EDT.
        @Override
        public void runBare() throws Throwable {
            final AtomicReference<Throwable> problem = new AtomicReference<Throwable>();
            if (!SwingUtilities.isEventDispatchThread()) {
                SwingUtilities.invokeAndWait(new Runnable() {
                    public void run() {
                        try {
                            runBare();
                        catch (Throwable throwable) {
                            problem.set(throwable);
                if (problem.get() != null) {
                    throw problem.get();
            else {
                super.runBare();
    }

  • When installing a NI 5112, I get an error message when running the test panel.

    I have recently decided to reinstall my PCI 5112 high speed digitizer in a different computer, for practical reasons. After having installed the software, hardware and successfully passing the self test, an error (10800) occurs when running the test panels. The signal applied to the channel and the different parameters used, worked fine with the previous computer but not with this one. Any idea why?
    Thanks,
    Thomas

    Hello Thomas,
       The error code you are getting is related to the board not recording enough samples in the given time interval.  May I ask which series of PCI card you are using. This can be found by looking at the device in Measurement and Automation Explorer and looking under devices and interfaces. The series letter is the one on the end of the number after the hyphen. E.g. PCI-MIO-16E-4 would be an E-series board.
    Also which versions of Measurement and Automation Explorerand NI-Scope are you running? Are these the same versions as you used in the old PC system? Sometimes an upgrade in the version is all that is required to fix such a problem but unfortunately it can sometimes cause a problem if you upgrade! It would depend on the versions you are currently running and the series of the board that you are using.
    LeeM
    AE,
     National Instruments
    Message Edited by LeeM on 10-31-2006 10:47 AM

  • [svn] 2763: add toplevel.abc location when running asc tests

    Revision: 2763
    Author: [email protected]
    Date: 2008-08-06 12:53:29 -0700 (Wed, 06 Aug 2008)
    Log Message:
    add toplevel.abc location when running asc tests
    Modified Paths:
    flex/sdk/trunk/build.xml

    Revision: 2763
    Author: [email protected]
    Date: 2008-08-06 12:53:29 -0700 (Wed, 06 Aug 2008)
    Log Message:
    add toplevel.abc location when running asc tests
    Modified Paths:
    flex/sdk/trunk/build.xml

  • I am able to connect to the internet using internet explorer, but when I try to connect through mozilla firefox it says 'it is unable to establish a connection to the server." why?

    I can establish internet connection through internet explorer using a router at my house, but whenever I attempt to connect using firefox, it says it is unable to connect.

    A possible cause is security software (firewall) that blocks or restricts Firefox without informing you about that, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See [[Server not found]] and [[Firewalls]] and http://kb.mozillazine.org/Firewalls

  • When running Junit for AMImplTest, service invocation fails due to security

    We have a Junit to test an AM java method. Part of the logic is to retrieve a cost using a service. We are using the Service Factory to perform the call and have the credential set in the connections, so when it is deployed, the credentials will be used. The issue is when the Junit is run, it does not seem to be getting the credentials. When the service is invoked, an error is thrown: oracle.jbo.service.errors.ServiceException: java.lang.reflect.InvocationTargetException. Within this error, I have found another error wrapped: oracle.fabric.common.PolicyEnforcementException: WSM-00015 : The user name is missing.     WebServiceException.
    How does the Junit get credentials for the service invocation?

    Just need to update the wallet.soo using: ant addCredential -Djws=<relative-path-to-your-jws-file> -Dmap=oracle.wsm.security -Dkey=keystore-csf-key -Duser=owsm -Dpassword=welcome1

Maybe you are looking for