TMADMIN_CAT:1607: ERROR: Unable to initialize public key subsystem

Hi All,
I have installed HCM 9 with 8.49.08 PeopleTools on CentOS 5.3 Linux. Everything went fine (I have completed the creation of database) until I am about to start the application server that I have just created. I am getting this error, "TMADMIN_CAT:1607: ERROR: Unable to initialize public key subsystem".
@Nicolas
I have followed the instructions in your blog (it's very helpful). However I am now stack with this error.
Screenshot of the error after trying to boot the appserv:
PeopleSoft Domain Boot Menu
Domain Name: DMHCM
1) Boot (Serial Boot)
2) Parallel Boot
q) Quit
Command to execute (1-2, q) [q]: 1
psappsrv.cfg has changed archiving old one...
Copying DMHCM/Archive/psappsrv.cfg to DMHCM/Archive/psappsrv_092509_0140_32.cfg
Attempting to boot bulletin board...
tmadmin - Copyright (c) 1996-1999 BEA Systems, Inc.
Portions * Copyright 1986-1997 RSA Data Security, Inc.
All Rights Reserved.
Distributed under license by BEA Systems, Inc.
Tuxedo is a registered trademark.
TMADMIN_CAT:1607: ERROR: Unable to initialize public key subsystem
==============ERROR!================
Boot attempt encountered errors!. Check the TUXEDO log for details.
==============ERROR!================
Do you wish to see the error messages in the APPSRV.LOG file? (y/n) [n] :
Here the content of the ULOG:
CentOSLinux:psoft /applications/speople/pt849/appserv >tail ULOG.092509
014032.CentOSLinux!tmadmin.24422.3086362304.-2: 09-25-2009: Tuxedo Version 9.1, 32-bit
014032.CentOSLinux!tmadmin.24422.3086362304.-2: GP_CAT:1345: ERROR: pif: can't load 'registry.so'
014032.CentOSLinux!tmadmin.24422.3086362304.-2: LIBSEC_CAT:22: ERROR: Unable to realize the ecsec_map_proof interface implementation native/security/map_proof. Error code (-5000)
014032.CentOSLinux!tmadmin.24422.3086362304.-2: LIBTUX_CAT:6275: ERROR: Unable to initialize public key subsystem (-3003)
014032.CentOSLinux!tmadmin.24422.3086362304.-2: LIBTUX_CAT:6204: ERROR: Could not initialize public key subsystem
020404.CentOSLinux!tmadmin.25119.3086403264.-2: 09-25-2009: Tuxedo Version 9.1, 32-bit
020404.CentOSLinux!tmadmin.25119.3086403264.-2: GP_CAT:1345: ERROR: pif: can't load 'registry.so'
020404.CentOSLinux!tmadmin.25119.3086403264.-2: LIBSEC_CAT:22: ERROR: Unable to realize the ecsec_map_proof interface implementation native/security/map_proof. Error code (-5000)
020404.CentOSLinux!tmadmin.25119.3086403264.-2: LIBTUX_CAT:6275: ERROR: Unable to initialize public key subsystem (-3003)
020404.CentOSLinux!tmadmin.25119.3086403264.-2: LIBTUX_CAT:6204: ERROR: Could not initialize public key subsystem
This seems to be the main culprit... GP_CAT:1345: ERROR: pif: can't load 'registry.so' and I have searched this forum and found several suggestions like make sure that LD_LIBRARY_PATH is correctly set .. incorrect permssions, delete the .adm ... etc. I have done all of this suggestions. I even re-installed the Tuxedo 9.1 with the assumption that some files like resistry,.so might have been corrupted but this all did not resolved the issue. I believe I have done my I could before going here asking for help.
Here is the content of my .bash_profile:
# .bash_profile
PS1='CentOSLinux:$USER $PWD >'
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
export BEA=/applications/speople/bea
export TUXDIR=/applications/speople/bea/tuxedo91
export BEA_HOME=/applications/speople/bea/weblogic92
export ORACLE_HOME=/applications/oracle/10.2.0
export PATH=$PATH:$ORACLE_HOME/bin
LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
LIBPATH=$TUXDIR/lib:$LIBPATH:/usr/lib; export LIBPATH
export PS_HOME=/applications/speople/pt849
. $PS_HOME/psconfig.sh
I would really appreciate any help on this issue. Many thanks.

Please, check if you have the following RPM installed :
[root@centos ~]# more /etc/redhat-release
CentOS release 5.3 (Final)
[root@centos ~]# rpm -q compat-libstdc++-33-3.2.3-61.i386
compat-libstdc++-33-3.2.3-61
[root@centos ~]#I tested it on CentOS5.3, everything is working fine. Please, see below all the installation steps :
1. Install CentOS 5.3 with all the default settings
2. Install Tuxedo
2.1 => Modify the file ./linux/sles9/base/tuxedo91_32_SLES_9_x86.bin
mv ./linux/sles9/base/tuxedo91_32_SLES_9_x86.bin /tmp/tuxedo91_32_SLES_9_x86.bin
cat /tmp/tuxedo91_32_SLES_9_x86.bin|sed 's/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/' > ./linux/sles9/base/tuxedo91_32_SLES_9_x86.bin2.2 => Download and install JDK5
./jdk-1_5_0_21-linux-i586-rpm.bin
For inquiries please contact:  Sun Microsystems,  Inc., 4150
Network  Circle,  Santa  Clara,   California  95054,  U.S.A.
(LFI#143333/Form ID#011801)
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP ([email protected]).
  inflating: jdk-1_5_0_21-linux-i586.rpm
Preparing...                ########################################### [100%]
   1:jdk                    ########################################### [100%]
Done.
[root@centos JDK5]# # /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.5.0_21/bin/java 2
[root@centos JDK5]# /usr/sbin/alternatives --config java
There are 4 programs which provide 'java'.
  Selection    Command
*  1           /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
   2           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
+ 3           /usr/java/jdk1.5.0_16/bin/java
   4           /usr/java/jdk1.5.0_21/bin/java
Enter to keep the current selection[+], or type selection number: 4
[root@centos JDK5]# java -version
java version "1.5.0_21"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_21-b01)
Java HotSpot(TM) Client VM (build 1.5.0_21-b01, mixed mode, sharing)
[root@centos JDK5]#2.3 => Modify the file install.sh
The line
sh $INSTALL_BINARY -f $SILENT_INSTALL_FILE > $INSTALLER_OUTPUT;becomes
sh $INSTALL_BINARY LAX_VM /usr/java/jdk1.5.0_21/jre/bin/java -f $SILENT_INSTALL_FILE > $INSTALLER_OUTPUT;2.4 => run the Tuxedo Installer
sh ./install.sh3. Install Peopletools
4. Install the RPM (from the CentOS 5.3 DVD) - this is required for psadmin
rpm -Uvh compat-libstdc++-33-3.2.3-61.i386.rpm5. Install additional RPMs for Oracle
rpm -Uvh libXp-1.0.0-8.1.el5.i386.rpm
rpm -Uvh kernel-headers-2.6.18-128.el5.i386.rpm
rpm -Uvh glibc-headers-2.5-34.i386.rpm
rpm -Uvh glibc-devel-2.5-34.i386.rpm
rpm -Uvh compat-gcc-34-3.4.6-4.i386.rpm
rpm -Uvh libgomp-4.3.2-7.el5.i386.rpm
rpm -Uvh gcc-4.1.2-44.el5.i386.rpm
rpm -Uvh gcc-c++-4.1.2-44.el5.i386.rpm
rpm -Uvh compat-glibc-headers-2.3.4-2.26.i386.rpm
rpm -Uvh compat-glibc-2.3.4-2.26.i386.rpm
rpm -Uvh glibc-utils-2.5-34.i386.rpm
rpm -Uvh compat-db-4.2.52-5.1.i386.rpm
rpm -Uvh compat-gcc-34-c++-3.4.6-4.i386.rpm
rpm -Uvh compat-libstdc++-296-2.96-138.i386.rpm
rpm -Uvh gcc43-4.3.2-7.el5.i386.rpm
rpm -Uvh gcc43-c++-4.3.2-7.el5.i386.rpm6. Install Oracle (database or client depending of the config)
6.1 => add the entry in tnsnames.ora
6.2 => create the symbolic link
[oracle@centos oracle]$ cd $ORACLE_HOME/lib
[oracle@centos lib]$ ln -s libclntsh.so libclntsh.so.9.06.3 => make the ORACLE_HOME readable and executable for everbody
7. psoft user
7.1 => The .bash_profile
[psoft@centos ~]$ more .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
# User specific environment and startup programs
export ORACLE_HOME=/oracle/10.2
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
export PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
export PS_HOME=/psoft/psoft849
. $PS_HOME/psconfig.sh
[psoft@centos ~]$7.2 => Modify the file $PS_HOME/psconfig.sh
PS_HOSTTYPE=redhat-4-ia32;export PS_HOSTTYPE8. psadmin, create the new domain, and start
PeopleSoft Domain Boot Menu
     Domain Name: DMOHRMS9
  1) Boot (Serial Boot)
  2) Parallel Boot
  q) Quit
Command to execute (1-2, q) [q]: 1
psappsrv.cfg has changed archiving old one...
Copying DMOHRMS9/Archive/psappsrv.cfg to DMOHRMS9/Archive/psappsrv_092609_1218_35.cfg
Attempting to boot bulletin board...
tmadmin - Copyright (c) 1996-1999 BEA Systems, Inc.
Portions * Copyright 1986-1997 RSA Data Security, Inc.
All Rights Reserved.
Distributed under license by BEA Systems, Inc.
Tuxedo is a registered trademark.
No bulletin board exists. Entering boot mode.
INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level 036
INFO: Serial #: 650522264137-2065448083901, Expiration NONE, Maxusers 1000000
INFO: Licensed to: Oracle-Peoplesoft-ISV
Booting admin processes ...
exec BBL -A :
        process id=26552 ... Started.
1 process started.
Attempting to boot ...
INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level 036
INFO: Serial #: 650522264137-2065448083901, Expiration NONE, Maxusers 1000000
INFO: Licensed to: Oracle-Peoplesoft-ISV
Booting server processes ...
exec PSWATCHSRV -A -- -ID 176290 -C psappsrv.cfg -D DMOHRMS9 -S PSWATCHSRV :
        process id=26555 ... Started.
exec PSAPPSRV -s@../psappsrv.lst -s@../psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOHRMS9 -S PSAPPSRV :
        process id=26556 ... Started.
exec PSAPPSRV -s@../psappsrv.lst -s@../psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOHRMS9 -S PSAPPSRV :
        process id=26560 ... Started.
exec PSAPPSRV -s@../psappsrv.lst -s@../psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOHRMS9 -S PSAPPSRV :
        process id=26564 ... Started.
exec PSSAMSRV -A -- -C psappsrv.cfg -D DMOHRMS9 -S PSSAMSRV :
        process id=26568 ... Started.
exec PSMONITORSRV -A -- -ID 176290 -C psappsrv.cfg -D DMOHRMS9 -S PSMONITORSRV :
        process id=26571 ... Started.
exec JSL -A -- -d unused -n //centos.phoenix-nga:9000 -m 1 -M 3 -I 5 -j ANY -x 40 -S 10 -c 1000000 -w JSH :
        process id=26574 ... Started.
exec JREPSVR -A -- -W -P /psoft/psoft849/appserv/DMOHRMS9/jrepository :
        process id=26576 ... Started.
8 processes started.HTH,
Nicolas.

Similar Messages

  • Oracle ODBC  - Internal Error - unable to initialize NLS during driver load

    I'm having some trouble with my ODBC connections which I hope someone can please help me with!
    About 6 weeks ago all was working as normal.
    As far as I know there have been no updates to the ORacle DB, the Windows XP operating system or the ODBC Drivers.
    Today when I opened access and visual case 2 to connect to Oracle I was at first greeted with a:
    unable to connect SQLState=IM004 SQL_HANDLE_ENV
    error. ODBC also kept crashing.
    I restarted the computer and was confronted with a different error:
    odbc SQLSTate 08004 ORA 12154 TNS could not resolve the connect identifier specified
    I was able to fix this error by setting the environment variable TNS_ADMIN in windows xp environment variables. I'm extremely confused about how this happened though as it was working and I don't think anything has changed.
    I was then able to connect to the database via Microsoft Access but when I opened Visual Case 2 and tried to make an update, I was confronted with the following error:
    Oracle ODBC Driver - internal error - unable to initialize NLS during driver load
    I looked in the registry at:
    HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraClient10g_home1
    HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraClient10g_home2
    HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraDb10g_home1
    and NLS_LANG was set to "AMERICAN_AMERICA.WE8MSWIN1252" in all 3 places.
    (Though KEY_OraClient10g_home2 only had 4 entries as opposed to KEY_OraClient10g_home1's 13 entries)...
    Since I made those changes I can no longer connect through Access.
    I just receive a ODBC - connection to 'xxx' failed
    Advice greatly appreciated!!!!
    Edited by: user11150264 on Aug 25, 2009 10:21 PM

    Actually it sort of does...
    I switched the ODBC connection to use instant client and now it's all working again.
    The biggest mystery is what changed to make it suddenly stop working the old way...

  • Keytool error: java.lang.Exception: Public keys in reply and keystore don't match - Web Logic 10.3.6.0 Linux 64 Bit

    Hi,
    Followed Oracle recommended note for generating .csr file  (Doc ID 1230333.1)
    01) $keytool -genkey -alias server.alias -keyalg RSA -keysize 1024 -dname "CN=ServerName,OU=Office,O=OTS,L=Location,S=SW,C=GB" -keypass mypass -keystore ServerName.jks -storepass mypass
    02) copy ServerName.jks ServerName.jks.org
    03) $keytool -list -v -keystore ServerName.jks -storepass mypass
    04) $keytool -certreq -v -alias server.alias -file ServerName.csr -keypass mypass -storepass mypass -keystore ServerName.jks
    05) Sent the .csr file to CA
    06) ived a filename.cer certificate.
    07) rated Root ServerNameRootCert.cer and Intermediate Certificate ServerNameRootInterCert.cer from filename.cer certificate
    Importing Root CA into the keystore ServerName.jks
    08) $keytool -import -v file ServerNameRootCert.cer -keystore ServerName.jks -trustcacerts -alias AliasOne
    09) $keytool -import -v file ServerNameRootInterCert.cer -keystore ServerName.jks -trustcacerts -alias AliasTwo
    Now importing the actual certificate using the alias server.alias in the above step 01) and 04)
    10) $keytool -import -v file ServerName.cer -keystore ServerName.jks -alias server.alias -keypass -storepass
    Getting error message
    keytool error: java.lang.Exception: Public keys in reply and keystore don't match
    java.lang.Exception: Public keys in reply and keystore don't match
    at sun.security.tools.KeyTool.establishCertChain(KeyTool.java:2618)
    at sun.security.tools.KeyTool.installReply(KeyTool.java:1870)
    at sun.security.tools.KeyTool.doCommands(KeyTool.java:807)
    at sun.security.tools.KeyTool.run(KeyTool.java:172)
    at sun.security.tools.KeyTool.main(KeyTool.java:167)
    Is that anything wrong with the Certificate what is issued by CA?
    Is the java version need to be different?
    Current Java Version
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Oracle JRockit(R) (build R28.2.0-79-146777-1.6.0_29-20111005-1807-linux-x86_64, compiled mode)
    Any suggestions please?
    Thanks,
    Kam

    Import the intermediate cert first then the root and then the signed server certificate.
    The alias of root and intermediate doesnt matter, but make sure that the alias of server cert is same as the alias of the private key entry.
    Have a look at the following example :
    https://blogs.oracle.com/blogbypuneeth/entry/steps_to_create_a_csr

  • Error "Unable to find method:key" on UM configuration iView

    When i try to click on the UM configuration in System Administration --> System configuration i am getting the Error Unable to find method:key  Does any one came across the same Issue. Please help ?

    Server restart should help. See note 792929.

  • Error.  Cannot install public key for specified user

    I'm getting "Error. Cannot install public key for specified user" when trying to add a public ssh key for a service processor user on a V20z. I've tried it for different users and still get the error. The same operation works fine on a V40z. Any help would be appreciated.

    That would be great if the resolution was that simple.  I am using a public key I generated using the putty key generator.  Below is the key I would use if I got that far.  However I get an error on the "ssh authentication publickey" attribute so I never get the chance to enter a public key.  What code version and hardware version are you running that this worked on?
    AAAAB3NzaC1yc2EAAAABJQAAAIEA2h00RCKBbpbrTWSe/3TYAvRpkJz7tLwQDCf9
    4fDJUWUGrmxXHeomuBhNGZh7tyfFjRL2CKY6nWmFyKN/eDm0PF4IWhhCArzOPVDu
    q7Nu2y/pD8wWH8dH4a3zRpkLSekNJtH6lzuqmY0zqz9TnZlpS6g4LI1a+lOGSmhU
    /HySw9s=
    ciscoasa(config)#username test nopassword privilege 15
    ciscoasa(config)#username test attributes
    ciscoasa(config-username)#ssh ?
    configure mode commands/options:
      Hostname or A.B.C.D  The IP address of the host and/or network authorized to
                           login to the system
      X:X:X:X::X/<0-128>   IPv6 address/prefix authorized to login to the system
      scopy                Secure Copy mode
      timeout              Configure ssh idle timeout
      version              Specify protocol version to be supported
    exec mode commands/options:
      disconnect  Specify SSH session id to be disconnected after this keyword
    ciscoasa(config-username)# ssh
    ciscoasa(config-username)# sh ver | in Ver
    Cisco Adaptive Security Appliance Software Version 9.1(1)
    Device Manager Version 7.1(1)52
    ciscoasa(config-username)#

  • Help needed on DATABASE ERROR: : unable to initialize mutex

    Hello,
    I am trying to run Berkeley DB on a MIPS platform using DbEnv. While the code runs fine on Linux RedHat, it throws the following error message when run on the MIPS:
    DATABASE ERROR: : unable to initialize mutex: Function not implemented
    DATABASE ERROR: : PANIC: Function not implemented
    DATABASE ERROR: : unable to join the environment
    I run a little test program which uses mutexes and conditionson the MIPS platform and seems to work fine.
    What could be the problem?
    Thank you and regards,
    Sebastian

    Hello,
    First of all thank you very much for all the support on this matter.
    Second, I was unable to access the faq because it is asking for authentication which I don't have.
    Here are more details on what I am trying to do, hopefully will help resolve the issue:
    - I am trying to run Berkeley DB on a MIPS R3000 hardware platform running Linux 2.4 kernel.
    - When configuring Berkeley DB I tried using --with-mutex=MIPS/gcc-assembly which resulted in an Illegal instruction error being thrown when trying to open the environment
    - When configuring Berkeley DB I also tried using --enable-posixmutexes which throws the error message mentioned in my initial post
    - I also wrote a little program that tries to use process shared mutexes and seems to work fine on the embeded system. here is what i successfully run on the box:
    pthread_attr_t attr;
    pthread_mutexattr_t mutex_attr;
    pthread_condattr_t cond_attr;
    pthread_mutexattr_setpshared(&mutex_attr, PTHREAD_PROCESS_SHARED);     // set the mutex attribute to process shared
    pthread_condattr_setpshared(&cond_attr, PTHREAD_PROCESS_SHARED);          // set the condition attribute to process shared
    /* Initialize mutex and condition variable objects */
    pthread_mutex_init(&count_mutex, (const pthread_mutexattr_t *)&mutex_attr);
    pthread_cond_init (&count_threshold_cv, (const pthread_condattr_t *)&cond_attr);
    For portability, explicitly create threads in a joinable state
    pthread_attr_init(&attr);
    pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
    pthread_create(&threads[0], &attr, inc_count, (void *)&thread_ids[0]);
    pthread_create(&threads[1], &attr, inc_count, (void *)&thread_ids[1]);
    pthread_create(&threads[2], &attr, watch_count, (void *)&thread_ids[2]);
    Thank you very much for your help!
    Regards,
    Sebastian

  • [Solved}Error: Unable to initialize gtk, is DISPLAY set properly?

    i am using aa software that require root access , but when i run it with root access is shows
    Error: Unable to initialize gtk, is DISPLAY set properly?
    I am using kde desktop , but when loginas root in kde and run that application it works fine.
    i have googled a lot on this but did not find any solution.
    Last edited by sanjuchopra (2012-01-19 10:59:39)

    You should NEVER login graphically as root. What software do you want to use? Is it REALLY necessary to give it root access=
    If you want to run it as root, you should do the following in a terminal:
    $ xhost +      enable X access from terminals
    $ su    login as root
    # /path/to/programname
    Or better yet if you use sudo.
    Better yet if you start the program with
    gksu <programname>
    This way you'll be asked for password and won't need a terminal.
    By the way, if the program requires gtk to be in your sistem, maybe you should check that they're installed, giving
    pacman -S gtk2
    Last edited by olorian (2012-01-16 18:34:39)

  • Error unable to initialize audio player

    I Installed a scan & translate app, but i cant use it because of error unable to initialize audio player what seems the problem.

    Sukkari wrote:
    I Installed a scan & translate app, but i cant use it because of error unable to initialize audio player what seems the problem.
    Since you're using a 3rd party app, you should ask the app developer or look at their support site.

  • Not able to Start Hyper-V(2012 R2) VM when placing the VM config file on Samba Share,Its giving error:Unable to initialize the saveset

    ---We are trying to setup Hyper-V on Samba shares samba version 3.6 exported from Ubuntu  M/c. Basically runnig the Public(share) from the Ubuntu and able to access it from Windows 2012 (create/modify everything). I used Hyper-V and placed the disks
    ".vhd" on this , VM succesfull created and started. However when I placed the VM config files on this (samba) shares VM created successfully but its not starting, Its giving error like Unable to initialize the saveset -- Any idea how to place the
    Hyper-V VM config files samba share?

    Hi Rakesh KK,
    Please confirm your share meet the Serve 2012r2 Hyper-V requirement, you can refer the following KB to get more detail require conditions.
    Deploy Hyper-V over SMB
    http://technet.microsoft.com/en-us/library/jj134187.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Unable to retrieve public key and signature.

    Hi,
    I'am trying to send public key and signature from one client to another via server.
    Both pub_key and signature are encrypted into base64. But i cant retrieve them correctly in server side.
    I'am using ECDSA to sign message key_length 224bit. Sending and retrieving data via sockets.
    SEND DATA FUNCTION Client.java
    private static PrintWriter      output_stream = null;
    private static Scanner      input_stream           = null;
    private static void send_message(String message)
         if(user_name != null
              && message_text_area.getText().equals(SERVER_CLOSED) == false
              && message_text_area.getText().equals(SERVER_CONNECTED) == false
              && message_text_area.getText().equals(MAX_USERS_ONLINE) == false
              && message_text_area.getText().equals(CONNECTION_CLOSED) == false
              && message_text_area.getText().equals(GET_USER) == false
              && message_text_area.getText().equals(REMOVE_USER) == false
              && message_text_area.getText().equals(USER_EXISTS) == false
              && message_text_area.getText().equals(USER_NICK) == false){   
             String signature = new BASE64Encoder().encode(ecdsa_parameters.sign_message(SESSION_KEY_PAIR.getPrivate(), message_text_area.getText().trim()));
             String public_key = new BASE64Encoder().encode(SESSION_KEY_PAIR.getPublic().getEncoded());
             if (signature != null && SESSION_KEY_PAIR != null){
              synchronized(output_stream)
                  output_stream.println(USER_NICK);
                  output_stream.println(user_name);
                  output_stream.println(user_nick);
                  output_stream.println(message_text_area.getText().trim());
                        //PUblic key and signature in base64
                        output_stream.println(public_key);     
                  output_stream.println(signature);
                    //length and data of them
              System.out.println(public_key.length());
              System.out.println(signature.length());          
              System.out.println(public_key);
              System.out.println(signature);
              append_message(user_nick+": "+message_text_area.getText().trim());
              message_text_area.setText(null);
             }else{
              append_message("E_C_002: Unable to generate keys or signature.");
         }else{
             append_message("User is not selected or incorrect message");
        }HANDLER.JAVA (SERVER SIDE RETRIEVE)
    private Scanner           input_data           = null;
    private PrintStream      output_data           = null;
    if(recieved_data.equals(USER_NICK)){
                   String user_name = input_data.nextLine();
                   String user_nick = input_data.nextLine();
                   String message = input_data.nextLine();
                   String public_key = "";
                   for (int i=0; i<5; i++){
                       if(i == 0){
                        public_key = public_key+""+input_data.next();
                       }else{
                        public_key = public_key+"\n"+input_data.next();
                   String signature = "";
                   for (int i=0; i<2; i++){
                       if(i == 0){
                        signature = signature+""+input_data.next();
                       }else{
                        signature = signature+"\n"+input_data.next();
                            //output length and data of key and signature
                   System.out.println(public_key.length());
                   System.out.println(signature.length());
                   System.out.println(public_key);
                   System.out.println(signature);
                   Server.users_messages.addElement(user_name+""+SEPARATOR+""+user_nick+""+SEPARATOR+""+message+""+SEPARATOR+""+public_key+""+SEPARATOR+""+signature);               
              }It seems that length of key and signature in server side are different form client.
    Maybe I'am missing something that correspond sending data in base64????
    All project is here http://fmf.vtu.lt/~knugmanov/Elliptic%20curve%20cryptography%20instant%20messenger.rar
    (import into eclypse).
    For ECC I use iaik classes.
    Thanks in adv.
    Kiril

    here is a code from
    http://www.exampledepot.com/egs/java.security/GetKeyFromKs.html
    This example retrieves from a keystore, the private and public key associated with an alias.
    private and public key are having the same alias ?
    i know a alias for my key but i believe thats for private key not for public key ......is it true that both private and public key have the same alias ?
    and KeyPair is an interface and so its difficult to get a key out of it
    public KeyPair getPrivateKey(KeyStore keystore, String alias, char[] password) {
            try {
                // Get private key
                Key key = keystore.getKey(alias, password);
                if (key instanceof PrivateKey) {
                    // Get certificate of public key
                    java.security.cert.Certificate cert = keystore.getCertificate(alias);
                    // Get public key
                    PublicKey publicKey = cert.getPublicKey();
                    // Return a key pair
                    return new KeyPair(publicKey, (PrivateKey)key);
            } catch (UnrecoverableKeyException e) {
            } catch (NoSuchAlgorithmException e) {
            } catch (KeyStoreException e) {
            return null;
        }Message was edited by:
    Unknown_Citizen
    Message was edited by:
    Unknown_Citizen
    Message was edited by:
    Unknown_Citizen

  • Gui error: Unable to initialize New Visual Design Mode

    SAP Frontend Server
    Unable to initialize New Visual Design Mode.
    Please use Classic Mode.
    What can i do with this error? Thanks

    Hi,
    Do you see this error only in 1 system. If yes, perform the following:
    1. Install the updated display drivers.
    2. Check the operating system (some old operating systems such as Windows 98, NT doesn't support Visual designs.)
    3. Check that you have the latest version of SAP GUI patches installed.
    If the problem persists, run sapsweep.exe and install the GUI again.
    Rgds,
    Raghu

  • Flat File Conversion Error: Unable to initialize communication channel

    Dear experts.
    I have a file to flat file scenario. I just wanted to test this first because it's the first time. I followed this blog: /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    I get this message: Channel has not been correctly initialized and cannot process messages. I looked around on the forum and in other blogs, and it seems something is wrong with my Content Conversion Parameters. Could you please advise?
    The message is a small customer test message:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_TEST xmlns:ns0="urn://xi/csr/customer">
      <Customer_File>
        <Customer>
          <Name>xxx</Name>
          <Last>xxxxxxxx</Last>
        </Customer>
      </Customer_File>
    </ns0:MT_TEST>
    The parameters I am using are:
    Recordset structure: Customer_File,Customer
    Customer.addHeaderLine: 0
    Customer.fieldSeparator: #
    Customer_File.fieldSeparator: 'nl'
    Customer.endSeparator: 'nl'
    The mapping I am using is one-to-one.
    This is not working for me...
    Furthermore, I would like to set the Name and Last tag to set field lengths. Is this possible for these tags??
    Thanks in advance.
    *Will reward points for helpful answers

    hi
    PLz try with the following steps:
    chk the occurence of customer.
    if the customer occurence is (0-------unbounded) then
    ur recordset structure is  Customerfile,Customer*
    may helful.
    THanks
    MANas

  • Unable to initialize the Microsoft Exchange Information Store service. - Error 0x96f.

    PLease help, I've rstored from backup three times with no success I'm getting the following error
    "Unable to initialize the Microsoft Exchange Information Store service.   - Error 0x96f. "
    It's LDap related but i have no idea why :-(
    Best Regards Bernhard

    IPv6 had been disabled for months on my SBS 2008 Server running Exchange 2007 SP1.  I ran 40 or so Windows Updates; subsequently, the next morning Exchange was no longer running; topology issues, event ID 2604, 2114 and 2601 were all over my Application
    Log.  After 12 hours of research I found this post; figured it was worth a shot and instantly all my services for Exchange fired up.  Thanks for the tip; I have no idea which update changed what in regards to needing IPv6 enabled, but that silly
    little check mark fixed it.  
    Thank you for sharing your solution! 
    Dan

  • When trying to download I get error message unable to initialize installer GUI

    I was having a problem with my email in Firefox so I uninstalled it and tried to download it again, hoping a newer version might fix the email problems I was having.
    When attempting to download Firefox from the website, I get this installer error "Unable to initialize installer GUI"

    Are you saving the Firefox installer to your computer (e.g. desktop)?
    You can find the latest Firefox release in all languages and for all Operating Systems here:
    *Firefox 14.0.x: http://www.mozilla.org/en-US/firefox/all.html

  • Has anyone solved the "Unable to initialize API" e...

    I have an E61 that I'm trying to Sync to Lotus Notes 7 on my Windows XP sp2 Thinkpad. However, I keep getting the following error "Unable to initialize API" I can see that other people have been getting the error too. Nokia's web Site states that PC Sync works with Lotus Notes so I hope that there is a simple fix to this.
    Thank You Penn Jennings

    Hi Synch,
    I checked the computer for notes.ini. There is only one file of this name. Its located in C:\Program Files\lotus\notes
    I installed the latest version of the Nokia Suite 7.0.7.0
    Here is the export of the registry key you requested"
    Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Lotus
    Class Name:
    Last Write Time: 28/02/2008 - 1:25 PM
    Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Lotus\Components
    Class Name:
    Last Write Time: 28/02/2008 - 1:25 PM
    Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Lotus\Components\LotusScriptExtensions
    Class Name:
    Last Write Time: 28/02/2008 - 1:25 PM
    Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Lotus\Components\LotusScriptExtensions\2.0
    Class Name:
    Last Write Time: 28/02/2008 - 1:25 PM
    Value 0
    Name:
    Type: REG_SZ
    Data:
    Value 1
    Name: Notes
    Type: REG_SZ
    Data: C:\Program Files\lotus\notes\nlsxbe.dll
    Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Lotus\Components\TeamMail
    Class Name:
    Last Write Time: 28/02/2008 - 1:25 PM
    Value 0
    Name: Description
    Type: REG_SZ
    Data: TeamMail Mail Enabling dll
    Value 1
    Name: KeyPath
    Type: REG_SZ
    Data: Software\Lotus\Notes
    Value 2
    Name: Application
    Type: REG_SZ
    Data: Notes
    Value 3
    Name: Version
    Type: REG_SZ
    Data: 1.0
    Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Lotus\Notes
    Class Name:
    Last Write Time: 28/02/2008 - 1:25 PM
    Value 0
    Name: DataPath
    Type: REG_SZ
    Data: C:\ntsdata\
    Value 1
    Name: Path
    Type: REG_SZ
    Data: C:\Program Files\lotus\notes\
    Value 2
    Name: Name
    Type: REG_SZ
    Data: Notes.exe
    Value 3
    Name: Description
    Type: REG_SZ
    Data: Lotus Notes
    Value 4
    Name: MultiUser
    Type: REG_DWORD
    Data: 0x0
    Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Lotus\Notes\7.0
    Class Name:
    Last Write Time: 28/02/2008 - 1:25 PM
    Value 0
    Name: DataPath
    Type: REG_SZ
    Data: C:\ntsdata
    Value 1
    Name: Description
    Type: REG_SZ
    Data: Lotus Notes
    Value 2
    Name: Name
    Type: REG_SZ
    Data: Notes.exe
    Value 3
    Name: Path
    Type: REG_SZ
    Data: C:\Program Files\lotus\notes
    Value 4
    Name: MultiUser
    Type: REG_DWORD
    Data: 0x0
    Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Lotus\Sametime Client
    Class Name:
    Last Write Time: 28/02/2008 - 1:25 PM
    Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Lotus\Sametime Client\StConnAgent
    Class Name:
    Last Write Time: 28/02/2008 - 1:25 PM
    Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Lotus\Sametime Client\StConnAgent\IBMLotusNotes65
    Class Name:
    Last Write Time: 28/02/2008 - 1:25 PM
    Value 0
    Name:
    Type: REG_SZ
    Data: C:\Program Files\lotus\notes\stconnagent30.exe
    I tried this on another laptop we have, a Dell D505. Notes is setup in what looks to be exactly the same way. Using the same ID file in the same location.
    The Nokia Suite works perfectly with the this setup.
    I compared the two registry entries for HKEY_LOCAL_MACHINE\SOFTWARE\Lotus. Besides differences in dates, both keys are exactly the same. So we have two computers where the connection works perfectly, it picks up the server and then you can log into it with a password. The other system won't connect to the Notes server and you can't get anywhere.
    Any help appreciated.

Maybe you are looking for

  • Query related to Sender Email Adapter

    Hi , I have one requirement related to sender mail adapter. There are 2 Interfaces and both the interfaces are fetching emails using 2 sender mail adapters from the same email database and I am posting data at the receiver side on the webservice usin

  • Beginning College Java Project. Help Me Please !!!

    The following is code that im writing for a program that will play a game between the user and the computer. I am getting an error message saying "CLASS EXPECTED". The error is pointing me to the playerChoose Method where the variable pcchoice is try

  • Crazy Guild Wars/WINE/Graphics Problem

    Recently I've gotten back into Guild Wars (and subsequently dropped off the forums like a stone), but I have a very bizarre issue with it. Every so often, and I have no idea why because error reports haven't turned up anything, I get a graphics failu

  • I want to remove my purchase history form ITunes

    How do I remove my purchase history from ITunes?

  • File sharing between 10.4.3 and 9.1

    Because Tiger no longer supports connecting to AFP over the AppleTalk protocol, Apple suggests enabling the TCP/IP protocol on the File Sharing Control Panel in System 9.1. This doesn't work for me. Since upgrading to Tiger on the 17" PowerBook, conn