Unable to establish SSL connection using Java PKCS11

I am currently trying to establish SSL connectivity using eToken via PKCS11.
The PKCS11 provider is setup and I can read the 3 stored certificates as a key Store Object.
But I am getting the following exception while trying to establish SSL connectivity.
I am using JDK 6.0(java version "1.6.0_31-rev).
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.InvalidKeyException: Unsupported key type: SunPKCS11-aladdin-0 RSA private key, 2048 bits (id 147980297, token object, sensitive, unextractable)
at sun.security.mscapi.RSACipher.engineGetKeySize(RSA Cipher.java:384)
at javax.crypto.Cipher.b(DashoA13*..)
at javax.crypto.Cipher.a(DashoA13*..)
Code:
KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
KeyStore keyStore = getClientKeyStore(); //read Smart Card Token to get the Certificate
kmf.init(keyStore, "mycardPin".toCharArray()); //#### hard coded the i/p parms
TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509");
KeyStore trustStore = KeyStore.getInstance("JKS");
trustStore.load(new FileInputStream("C:\\Users\\usr1\\Desktop\\Certifi cates\\mycertca.jks"), "mycardPin".toCharArray());
tmf.init(trustStore);
SSLContext sslContext = SSLContext.getInstance("TLS");
sslContext.init(kmf.getKeyManagers(), tmf.getTrustManagers(), null);
factory = sslContext.getSocketFactory();
sslClient = (SSLSocket) factory.createSocket(host, port);
sslClient.startHandshake(); //<--- code is breaking here with the above exception
I am struggling like anything for the last 4 days to get rid of this issue. Please let me know is there any work-around to fix this issue.
I really appreciate your help.

Hi,
have You found the solution. I have similar problem but now it is not repeatable. I'm not sure what was the reason (this InvalidKeyException apeared only once). I'm using JDK7 (java version 1.7.0_09-b05).
Caused by: java.security.InvalidKeyException: Unsupported key type: SunPKCS11-GemSafe RSA private key, 1024 bits (id 2, token object, sensitive, unextractable)
     at sun.security.mscapi.RSACipher.engineGetKeySize(RSACipher.java:404)
     at javax.crypto.Cipher.passCryptoPermCheck(Cipher.java:1052)
     at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1010)
     at javax.crypto.Cipher.init(Cipher.java:1209)
     at java.security.Signature$CipherAdapter.engineInitSign(Unknown Source)
     at java.security.Signature$Delegate.init(Unknown Source)
     at java.security.Signature$Delegate.chooseProvider(Unknown Source)
     at java.security.Signature$Delegate.engineInitSign(Unknown Source)
     at java.security.Signature.initSign(Unknown Source)
     at sun.security.ssl.RSASignature.engineInitSign(Unknown Source)
     at java.security.Signature$Delegate.engineInitSign(Unknown Source)
     at java.security.Signature.initSign(Unknown Source)
     at sun.security.ssl.HandshakeMessage$CertificateVerify.<init>(Unknown Source)
     ... 53 more

Similar Messages

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

  • Cannot establish SSL connection after fresh install

    Hello,
    I performed a fresh install a couple of days ago. Everything is fine, no hardware errors, pacman and curl work like a charm, HTTP servers respond as they should, but SSL servers do not respond the right way.
    I tried with elinks, chromium and firefox and they get stuck on SSL negotiations for very long times.
    Installed the whole thing again. Same issue.
    Just tested with:
    openssl s_client -connect facebook.com:443
    openssl s_client -connect google.com:443
    Seems to work fine, I can GET with no problems.
    Also tested with:
    wget --debug -O - https://facebook.com
    It gets stuck to "Initializing SSL handshake" and after a couple of minutes the connection is closed with error message "Unable to establish SSL connection."
    The system date/time are correct, the system is up to date, used the latest install image available at http://archlinux.org, installed following the install guide from the wiki.
    All tests performed as root.
    Last edited by icecoder (2013-05-30 10:07:14)

    WonderWoofy wrote:Initscripts maybe... ethernet... since I am not familiar with either of your systems, I cannot answer this.
    As I understand, the latest arch uses systemd by default, so there's no need installing initscripts and in https://wiki.archlinux.org/index.php/In … e_internet nothing said I have to configure network as I'm using DHCP.
    Last edited by tenzan (2012-10-22 00:02:42)

  • 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

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

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

  • Cannot download Adobe reader error "Can't establish SSL connection (16248.331.1095.307)"

    I have XP x64 SP2 and have tried to download Adobe Reader. I get an error; "Can't establish SSL connection (16248.331.1095.307)" and
    then after a couple of these, it closes the download manager.
    We are using IE6.0.3790.359 128 cipher
    As to the alternate browsers, our corporation will not allow them to be loaded. So we cannot use other browser.
    The installation steps are: click get reader, allow activeX, unclick Google bar and click download- simple stuff.
    Please refer to the screen shot
    Thanks
    JPSingh

    Assuming that you want the English version of Adobe Reader 9.2, you can download it without download manager from http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.2/enu/AdbeRdr920_en_US.exe
    If you're looking for a different version, find it at ftp://ftp.adobe.com/pub/adobe/reader/

  • 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 create new connection using SAP Business One

    Hi all,
    I am unable to make a connection using the new SAP Business One connetion provided with the 8.8 release of SAP Business One Crystal Report Integration Package.
    There are no Companies available to select from.  When I try to manually type in the company name, the logon fails.  If I then press "Cancel", I get a message that Crystal reports encountered a problem and needs to close.  The details of the error refers to the following DLL: crdb_b1.dll.
    The connection is successful from another PC that only has the Client installed (and uses the License server on our server, which also contains the databases.)
    I have a local installation with my own license server.  I am not even able to connect to the database on my local PC.
    Please can anyone explain why this isn't working?
    Regards,
    Rikard

    Hi Rikard,
    You may get better help if you post your question to the Business One forum. I can' t move your post.
    Thank you
    Don

  • ERROR http: 5: Unable to initialize ssl connection with server, aborting co

    HI EXPERTS,
    one of my database give me below error when i start its dbconsole. and after failure it give me meassge
    TZ set to Asia/Karachi
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://test:5500/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ..............................................................
    ........ failed.
    Logs are generated in directory /u01/oracle/product/10.2/cnichol_cpuplt/sysman/log
    and in trace file name "emdctl.trc" below error is logged.
    ERROR http: 5: Unable to initialize ssl connection with server, aborting connection attempt
    ERROR ssl: nzos_Handshake failed, ret=29024
    and trace file named "emagent.trc" give below error
    2010-10-04 19:12:25 Thread-88238992 ERROR http: 11: Unable to initialize ssl connection with server, aborting connection attempt
    2010-10-04 19:12:25 Thread-88238992 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://test:5500/em/upload/: retStatus=-1
    2010-10-04 19:12:38 Thread-88238992 ERROR upload: Error in uploadXMLFiles. Trying again in 300.00 seconds.
    dbconosle URL is
    https://test:5500/em/console/aboutApplication
    Operating system is Redhat linux AS 5.3
    what is the possible cause of this failure any one can guide me.
    thanx in Advance
    regards,
    Edited by: AMIABU on Oct 4, 2010 7:28 AM

    oracle@bcm-laptop:~$ emctl
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
       Oracle Enterprise Manager 10g Database Control commands:
            emctl start | stop dbconsole
            emctl status | secure | setpasswd dbconsole
            emctl config dbconsole -heap_size <size_value> -max_perm_size <size_value>
           emctl status agent
           emctl status agent -secure [-omsurl <http://<oms-hostname>:<oms-unsecure-port>/em/*>]
           emctl getversion
           emctl reload | upload | clearstate | getversion agent
           emctl reload agent dynamicproperties [<Target_name>:<Target_Type>]....
           emctl config agent <options>
           emctl config agent updateTZ
           emctl config agent getTZ
           emctl resetTZ agent
           emctl config agent credentials [<Target_name>[:<Target_Type>]]
           emctl gensudoprops
           emctl clearsudoprops
    Blackout Usage :
           emctl start blackout <Blackoutname> [-nodeLevel] [<Target_name>[:<Target_Type>]].... [-d <Duration>]
           emctl stop blackout <Blackoutname>
           emctl status blackout [<Target_name>[:<Target_Type>]]....
    The following are valid options for blackouts
    <Target_name:Target_type> defaults to local node target if not specified.
    If -nodeLevel is specified after <Blackoutname>,the blackout will be applied to all targets and any target list that follows will be ignored.
    Duration is specified in [days] hh:mm
            emctl getemhome
            emctl ilint
    Em Key Commands Usage :
    emctl config emkey -emkeyfile <emkey.ora path> [-force] [-sysman_pwd <sysman password>]
    emctl config emkey -emkey [-emkeyfile <emkey.ora path>] [-force] [-sysman_pwd <sysman password>]
    emctl config emkey -repos [-emkeyfile <emkey.ora path>] [-force] [-sysman_pwd <sysman password>]
    emctl config emkey -remove_from_repos [-sysman_pwd <sysman password>]
    emctl config emkey -copy_to_repos [-sysman_pwd <sysman password>]
    emctl status emkey [-sysman_pwd <sysman password>]
    Secure DBConsole Usage :
    emctl secure dbconsole -sysman_pwd <sysman password> [-passwd_file <abs file loc>]
         [-host <slb hostname>] [-sid <service name>] [-reset] [-secure_port <secure_port>]
         [-root_dc <root_dc>] [-root_country <root_country>] [-root_state <root_state>] [-root_loc <root_loc>]
         [-root_org <root_org>] [-root_unit <root_unit>] [-root_email <root_email>]
         [-wallet <wallet loc>] [-wallet_pwd <wallet pwd>] [-trust_certs_loc <certs loc>]
    emctl secure status dbconsole
    Register Targettype Usage :
    emctl register oms targettype [-o <Output filename>] <XML filename> <rep user> <rep passwd> <rep host> <rep port> <rep sid> OR
    emctl register oms targettype [-o <Output filename>] <XML filename> <rep user> <rep passwd> <rep connect descriptor>

  • Unable to load performance pack, using Java I/O.

    Hi there,
    I am trying to start weblogic 6.0 from jBuilder. It does start, and
    working. But, I got the one problem about loading performance pack. The
    message is the following. Any comment?
    Thank you
    ----------------------------------------->Starting WebLogic Server ....
    <Jun 27, 2001 1:35:13 PM EDT> <Notice> <Management> <Loading configuration
    file C:\bea\wlserver6.0sp1\config\mydomain\config.xml ...>
    log file:
    C:\bea\wlserver6.0sp1\config\mydomain\config\config\mydomain\logs\weblogic.l
    og
    <Jun 27, 2001 1:35:14 PM EDT> <Info> <Logging> <Only log messages of
    severity "Error" or worse will be displayed in this window. This can be
    changed at Admin Console> mydomain> Servers> myserver> Logging> General>
    Stdout severity threshold>
    <Jun 27, 2001 1:35:46 PM EDT> <Notice> <WebLogicServer> <ListenThread
    listening on port 7001>
    <Jun 27, 2001 1:35:46 PM EDT> <Notice> <WebLogicServer> <WebLogic Server
    started>
    <Jun 27, 2001 1:35:46 PM EDT> <Error> <Performance Pack> <Unable to load
    performance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no wlntio in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.socket.NTSocketMuxer.<init>(NTSocketMuxer.java:173)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:126)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)
    >

    Thank you
    But, it does not work. It does the same. Here is the message.
    ------------------------------------------------------------>C:\bea\jdk130\bin\javaw -classpath
    "S:\Java\classes;C:\jdk1.3\jre\lib\rt.jar;S:\Java\lib\activation.jar;S:\Java
    \lib\classes12.zip;S:\Java\lib\cos.jar;S:\Java\lib\dx3.0.jar;S:\Java\lib\dx3
    .0-res.jar;S:\Java\lib\fscontext.jar;S:\Java\lib\j2ee.jar;S:\Java\lib\java40
    .jar;S:\Java\lib\jgl3.1.0.jar;S:\Java\lib\jsdk21.jar;S:\Java\lib\junit.jar;S
    :\Java\lib\mail.jar;S:\Java\lib\msclasses.zip;S:\Java\lib\rootriver.report.j
    ar;S:\Java\lib\servlet.jar;S:\Java\lib\ServletExecDebugger.jar;S:\Java\lib\s
    truts.jar;C:\bea\wlserver6.0sp1\lib\weblogic.jar;C:\bea\wlserver6.0sp1\lib\x
    mlx.jar;C:\bea\wlserver6.0sp1\bin;C:\junit3.5\junit.jar;C:\jakarta-struts-1.
    0-b1\lib\struts.jar;C:\JBuilder4\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\JBu
    ilder4\jdk1.3\jre\lib\i18n.jar;C:\JBuilder4\jdk1.3\jre\lib\jaws.jar;C:\JBuil
    der4\jdk1.3\jre\lib\rt.jar;C:\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;C:\JBu
    ilder4\jdk1.3\lib\dt.jar;C:\JBuilder4\jdk1.3\lib\tools.jar" -ms64m -mx64m -
    classpath
    "C:\bea\wlserver6.0sp1;C:\bea\wlserver6.0sp1\bin;C:\bea\wlserver6.0sp1\lib\w
    eblogic_sp.jar;C:\bea\wlserver6.0sp1\lib\weblogic.jar;S:\Java\classes;S:\Jav
    a\lib\classes12.zip;C:\jakarta-struts-1.0-b1\lib\struts.jar;S:\Java\lib\dx3.
    0.jar;S:\Java\lib\rootriver.report.jar;S:\Java\lib;S:\Java\lib\struts.jar;"
    "-Dweblogic.RootDirectory=C:\bea\wlserver6.0sp1"
    "-Dweblogic.Domain=mydomain" "-Dweblogic.Name=myserver" "-Dbea.home=c:\bea"
    "-Djava.security.policy==c:\bea\wlserver6.0sp1\lib\weblogic.policy"
    "-Dweblogic.management.password=password" weblogic.Server -hotspot
    Starting WebLogic Server ....
    <Jun 27, 2001 4:00:39 PM EDT> <Notice> <Management> <Loading configuration
    file C:\bea\wlserver6.0sp1\config\mydomain\config.xml ...>
    log file:
    C:\bea\wlserver6.0sp1\config\mydomain\config\config\mydomain\logs\weblogic.l
    og
    <Jun 27, 2001 4:00:50 PM EDT> <Info> <Logging> <Only log messages of
    severity "Error" or worse will be displayed in this window. This can be
    changed at Admin Console> mydomain> Servers> myserver> Logging> General>
    Stdout severity threshold>
    <Jun 27, 2001 4:02:32 PM EDT> <Notice> <WebLogicServer> <WebLogic Server
    started>
    <Jun 27, 2001 4:02:32 PM EDT> <Notice> <WebLogicServer> <ListenThread
    listening on port 7001>
    <Jun 27, 2001 4:02:32 PM EDT> <Error> <Performance Pack> <Unable to load
    performance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no wlntio in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.socket.NTSocketMuxer.<init>(NTSocketMuxer.java:173)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:126)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)
    >

  • Unable to load performance pack, using Java I/O instead

    I'm writing because we're having some troubles with the performance pack load.
    We're getting this error message when the server starts:
    <Feb 1, 2005 11:30:26 AM CST> <Error> <Performance Pack> <Unable to load performance pack, using Java I/O instead.
    Please ensure that libmuxer library is in /bea/jdk131/jre/bin/../lib/PA_RISC2.0/native_threads:/bea/jdk131/jre/bin/../lib/PA_RISC2.0/server:/bea/jdk131/jre/bin/../lib/PA_RISC2.0:/siven/shlib:/bea/wlserver/lib/hpux11:/bea/wlserver/lib/hpux11/oci816_8:/usr/lib
    java.lang.UnsatisfiedLinkError: getBuildTime
    We have checked the following things:
    1.- The library libmuxer.sl exists in the path: /bea/wlserver/lib/hpux11
    2.- The file has the correct privileges so it can be read by the server
    3.- We've run an 'nm -o libmuxter.sl |grep getBuildTime' to ensure that the method exists in the library
    We have four managed servers running in the same machine and the error message apears only in one of them.
    Any idea of what might be happening?
    Does any one know on what OS librarys depends libmuxer.sl?
    We're running WebLogic Server 6.1 SP6 on HP-UX 11.0

    That's very odd that the same machine has 4 servers and only 1 sees this
    error.
    I'm assuming they all have the same environment/user etc. If not,
    that's the first thing you should check.
    I wonder if this is a resource issue in the OS. If you start a 5th
    server, does it also see this error? Is it the 4th server you start
    that hits this error, or just one of the 4 you run?
    -- Rob
    Miguel Chavez wrote:
    I'm writing because we're having some troubles with the performance pack load.
    We're getting this error message when the server starts:
    <Feb 1, 2005 11:30:26 AM CST> <Error> <Performance Pack> <Unable to load performance pack, using Java I/O instead.
    Please ensure that libmuxer library is in /bea/jdk131/jre/bin/../lib/PA_RISC2.0/native_threads:/bea/jdk131/jre/bin/../lib/PA_RISC2.0/server:/bea/jdk131/jre/bin/../lib/PA_RISC2.0:/siven/shlib:/bea/wlserver/lib/hpux11:/bea/wlserver/lib/hpux11/oci816_8:/usr/lib
    java.lang.UnsatisfiedLinkError: getBuildTime
    We have checked the following things:
    1.- The library libmuxer.sl exists in the path: /bea/wlserver/lib/hpux11
    2.- The file has the correct privileges so it can be read by the server
    3.- We've run an 'nm -o libmuxter.sl |grep getBuildTime' to ensure that the method exists in the library
    We have four managed servers running in the same machine and the error message apears only in one of them.
    Any idea of what might be happening?
    Does any one know on what OS librarys depends libmuxer.sl?
    We're running WebLogic Server 6.1 SP6 on HP-UX 11.0

  • Unable to load performance pack, using Java I/O on WL60, sp2

    Dear friends,
    I am seeking help from you. When we start WL60 SP2 on Sun Soloris 5.6, we got
    the following exception:
    <Jul 31, 2001 5:39:53 PM EDT> <Error> <Performance Pack> <Unable to load performance
    pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: getFdLimit
    at weblogic.socket.PosixSocketMuxer.getFdLimit(Native Method)
    at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:104)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:128)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)
    >
    Hoever, the server itself started, and our applications runs ok
    (at least so far). But this exception appears every time on some user accounts.
    I was wondering what causes this exception. Some user accounts in the same machine
    don't have this problem.
    I also wondering if it will cause performance problem when the traffic is high.
    We already applied the patches.
    Any hits and suggestions are welcome.
    Thanks in advance.
    -Ju

    Dear Deyan,
    Thanks for your help. We do have $WEBLOGIC_HOME/lib/solaris in LD_LIBRARY_PATH,
    which is set when running ". setEnv.sh" before startWebLogic.sh.
    We failed on one patch: 105210-27, for some reason.
    The strange thing is: in the same machine, all WL60 instances running under user
    accounts (under /users/developers/) have no such error. But it happens under some
    account, like accounts under /export/home/, etc. /user/developers is mounted on
    another physical machine.
    -Ju
    "Deyan D. Bektchiev" <[email protected]> wrote:
    >
    You should have the $WEBLOGIC_HOME/lib/solaris directory in your LD_LIBRARY_PATH
    so that
    the server can load the performance pack (which is a shared library called
    libmuxer.so).
    If it is present then do a ldd libmuzer.so and you will see if any libraries
    that it
    depends on are missing.
    Also make sure you have all of the requered patches for 2.6 installed.
    --dejan
    Ju Rao wrote:
    Dear friends,
    I am seeking help from you. When we start WL60 SP2 on Sun Soloris 5.6,we got
    the following exception:
    <Jul 31, 2001 5:39:53 PM EDT> <Error> <Performance Pack> <Unable toload performance
    pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: getFdLimit
    at weblogic.socket.PosixSocketMuxer.getFdLimit(Native Method)
    at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:104)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:128)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)
    >
    Hoever, the server itself started, and our applications runs ok
    (at least so far). But this exception appears every time on some useraccounts.
    I was wondering what causes this exception. Some user accounts in thesame machine
    don't have this problem.
    I also wondering if it will cause performance problem when the trafficis high.
    We already applied the patches.
    Any hits and suggestions are welcome.
    Thanks in advance.
    -JuContent-Description: Card for Deyan D. Bektchiev
    begin:vcard
    n:Bektchiev;Deyan
    tel;home:1-650-363-6055
    tel;work:1-650-289-1046
    x-mozilla-html:TRUE
    url:http://www.appl.net/
    org:Application Networks
    adr:;;444 Ramona St;Palo Alto;CA;94301;USA
    version:2.1
    email;internet:[email protected]
    fn:Deyan D. Bektchiev
    end:vcard

  • 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

  • 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

Maybe you are looking for

  • Getting ORA-01422 Error in stored procedure

    ORA-01422: exact fetch returns more than requested number of rows This page explains the error: http://www.techonthenet.com/oracle/errors/ora01422.php This is my procedure: The select into clause is what's causing the error. I understand the nature o

  • ATP Check - Sales order

    Dear All Our company requirement is not to save the sales order if stock is not available for any of the line item. This requirement is for specific order type or item catagories. Currently system is saving the order even if quantity is not available

  • Reading Tiff image files

    Can anybody help me to find out any freeware tools or api to read an image file in tiff format. The content of tiff file is all text and I have to convert all tiff files into .txt file. Any help would be appreciated. -R

  • Negative Stock Adjustment

    What is the  significance of negative stock adjustment account in Balance Sheet?? Is it's balance is  required in balance sheet??

  • Where do I go to download a preset for CS5 indesign?

    hi, the printer wants this document exported in in design using the Times PDF 1.4 Preset which I am suppose to download to CS5 but I can't find where to do that?