Problem with Cipher.init()

i am using java 1.4.2 on Windows 2000 Professional
I am using "Assembla" as JCE Provider for Microsoft Keystore. But when i call Cipher.init() i am getting the following error
MSKeyStoreJNI: Could not acquire context for temporary container used for importing public key.
SYSMSG: The keyset is not defined.
The Code is as follow :
-----------------------------import java.util.*;
import javax.crypto.*;
import java.security.*;
import java.security.cert.*;
import se.assembla.jce.provider.ms.*;
// JCE Provider for Microsoft Keystore https://download.assembla.se
public class cipher
   public cipher(String[] args) throws Exception
      Security.addProvider(new MSProvider());
      KeyStore ks = KeyStore.getInstance("msks", "assembla");
      ks.load(null,null);
      X509Certificate cert = null;
      String alias = null;
      for(Enumeration e = ks.aliases(); e.hasMoreElements();)
         alias = (String) e.nextElement();
         if(ks.isKeyEntry(alias))
            cert = (java.security.cert.X509Certificate) ks.getCertificate(alias);
            break;
      Cipher c = Cipher.getInstance("RSA", "assembla");
      c.init(Cipher.ENCRYPT_MODE, cert); // error on this line
   public static void main(String args[])
      try
         new cipher(args);
      catch(Exception e)
         e.printStackTrace();
}--- hasstar
--- [SCJP]
--- url : http://www.myjavaserver.com/~hasstar

Yes, I tried KeyStore ks = KeyStore.getInstance("RSA", "assembla"); instead of msks?
and it is not working. (www.bouncycastle.org)
I tried www.bouncycastle.org, but i don't know how to get Certificates from Microsoft Keystore.
If u know how to get keys from Microsoft Keystore please help

Similar Messages

  • Problem with cipher.getInstance

    hello,
    I am working with JavaCard 2.2.2 on windows with JDK1.5.
    I have this fallowing part of code on my card (in fact I use JCWDE):
    public void initialisation(){
    key = (DESKey)KeyBuilder.buildKey(KeyBuilder.TYPE_DES_TRANSIENT_DESELECT,KeyBuilder.LENGTH_DES, false);
    // try{
              ecipher = Cipher.getInstance(Cipher.ALG_DES_CBC_NOPAD,true);
              dcipher = Cipher.getInstance(Cipher.ALG_DES_CBC_NOPAD,true);
              ecipher.init(key, Cipher.MODE_ENCRYPT);
              dcipher.init(key, Cipher.MODE_DECRYPT);
    //} catch (javacard.security.CryptoException e) {
    When I launch it, I have this error:
    Java Card 2.2.2 Workstation Development Environment, Version 1.3
    Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    jcwde is listening for T=1 Apdu's on TCP/IP port 9 025.
    Exception from the invoked install() method:public static void fr.sogeti.Izy.tes.Test.install(byte[],short,byte) throws javacard.framework.ISOException
    javacard.framework.ISOException
    I dont know why, when i use the debugger mode, this application stop at this line:
    ecipher = Cipher.getInstance(Cipher.ALG_DES_CBC_NOPAD,true);
    Could you help me?
    Regards
    Alexis

    I try but it doesn't work... (same error)
    if you want I can put my full code?
    my new code:
    private byte[] Crypto = {(byte)0xA0, (byte)0x00,
         (byte)0x00, (byte)0x00, (byte)0x62, (byte)0x03, (byte)0x01, (byte)0x0C,
         (byte)0x0f, (byte)0x01, (byte)0x01};
         public void initialisation(){
    key = (DESKey)KeyBuilder.buildKey(KeyBuilder.TYPE_DES_TRANSIENT_DESELECT,KeyBuilder.LENGTH_DES, false);
    key.setKey(Crypto, (short)0);
    // try{
              ecipher = Cipher.getInstance(Cipher.ALG_DES_CBC_NOPAD,false);
              dcipher = Cipher.getInstance(Cipher.ALG_DES_CBC_NOPAD,false);
              ecipher.init(key, Cipher.MODE_ENCRYPT);
              dcipher.init(key, Cipher.MODE_DECRYPT);
    //} catch (javacard.security.CryptoException e) {
    -----

  • Problem with Cipher.ALG_RSA_PKCS1_OAEP constant

    Hi everybody.
    I've got some data encrypted with RSA public key and padded according to PKCS 1 OAEP.
    I tried to use this line in the constructor of my applet:
    private WiMaxApp (byte buffer[], short offset, byte length)
              rsa_PrivateCrtKey = (RSAPrivateCrtKey) KeyBuilder.buildKey(KeyBuilder.TYPE_RSA_CRT_PRIVATE, KeyBuilder.LENGTH_RSA_1024, false);
              /* Doing this here get error back at compilation time */
              rsa_Cipher = Cipher.getInstance(Cipher.ALG_RSA_PKCS1_OAEP, false);
              // rsa_Cipher = Cipher.getInstance(Cipher.ALG_RSA_NOPAD, false);
              // register(buffer, (short)(offset+1) ,(byte)(buffer[offset]));
              register();
         }and I get an error when I launch the simulator:
    cm>  install -i 77696d61782e617070  -q C9#() 77696d6178 77696d61782e617070
    => 80 E6 0C 00 20 05 77 69 6D 61 78 09 77 69 6D 61    .... .wimax.wima
        78 2E 61 70 70 09 77 69 6D 61 78 2E 61 70 70 01    x.app.wimax.app.
        00 02 C9 00 00 00                                  ......
    (3234 usec)
    <= 6A 80                                              j.
    Status: Wrong data
    jcshell: Error code: 6a80 (Wrong data)
    jcshell: Wrong response APDU: 6A80
    Unexpected error; aborting executionIf I put the same line in the process() method it compile well, but at run time I get an error.
    If I use the Cipher.ALG_RSA_NOPAD it does work, but when I decrypt with the private key the data, obviously, it does not decrypt correctly...
    Does anyone knows where is the problem? I'm using a Jcop simulator 41 v2.2
    Please, it's very important, I need help as soon as possible.
    Thank you very much in advance,
    emanuele

    Looks like the JCOP simulator (and probably the JCOP cards as well) do not support the PKCS#1-OAEP padding scheme.
    If I use the Cipher.ALG_RSA_NOPAD it does work, but when I decrypt
    with the private key the data, obviously, it does not decrypt correctly...I hope you did not forget to initialize the keypair (it is not part of your posted code). The KeyBuilder does only allocate the memory for storing an RSA keypair - you have to initialize (or better fill) it with a valid RSA keypair.
    Jan

  • Problem with accessing init parameters from JSP file

    Hi,
    I have my init parameters and Jsp configured in web.xml
    <servlet>
              <servlet-name>TestJsp</servlet-name>
              <jsp-file>/Test.jsp</jsp-file>
              <init-param>
                   <param-name>username</param-name>
                   <param-value>Balboa</param-value>
              </init-param>
    </servlet> How do I access 'username' field from JSP file.
    Kindly help.
    Thanks.

    you can do this in the jsp
    <%=config.getInitParameter("username")%>or do it in the jspInit method in the jsp:
    <%!  String userName = null; 
      public void jspInit() {   
        ServletConfig config = getServletConfig();   
        userName   = config.getInitParameter("userName ");  
    %>
    Hello <%=userName%>

  • Urgent : Problem with Client when OC4J has been setup in 2 way SSL mode

    This is the output that is generated in the JDeveloper console on running the example from b14429.pdf. Examle :
    ====================================================
    import HTTPClient.HTTPConnection;
    import HTTPClient.HTTPResponse;
    import javax.security.cert.X509Certificate;
    import oracle.security.ssl.OracleSSLCredential;
    import java.io.IOException;
    import javax.net.ssl.SSLPeerUnverifiedException;
    public class SSLSocketClientWithClientAuth {
    public static void main(String[] args) {
    if (args.length < 4) {
    System.out.println("Usage: java HTTPSConnectionTest [host] [port] " +
    "[wallet] [password]");
    System.exit(-1);
    String hostname = args[0].toLowerCase();
    int port = Integer.decode(args[1]).intValue();
    String walletPath = args[2];
    String password = args[3];
    HTTPConnection httpsConnection = null;
    OracleSSLCredential credential = null;
    try {
    httpsConnection = new HTTPConnection("https", hostname, port);
    } catch (IOException e) {
    System.out.println("HTTPS Protocol not supported");
    System.exit(-1);
    try {
    credential = new OracleSSLCredential();
    credential.setWallet(walletPath, password);
    } catch (IOException e) {
    System.out.println("Could not open wallet");
    System.exit(-1);
    httpsConnection.setSSLEnabledCipherSuites(new String[]{"SSL_RSA_WITH_3DES_EDE_CBC_SHA"});
    httpsConnection.setSSLCredential(credential);
    try {
    httpsConnection.connect();
    } catch (IOException e) {
    System.out.println("Could not establish connection");
    e.printStackTrace();
    System.exit(-1);
    // X509Certificate x509 = new X509Certificate();
    //javax.servlet.request.
    X509Certificate[] peerCerts = null;
    try {
    peerCerts =
    (httpsConnection.getSSLSession()).getPeerCertificateChain();
    } catch (javax.net.ssl.SSLPeerUnverifiedException e) {
    System.err.println("Unable to obtain peer credentials");
    e.printStackTrace();
    System.exit(-1);
    String peerCertDN =
    peerCerts[peerCerts.length - 1].getSubjectDN().getName();
    peerCertDN = peerCertDN.toLowerCase();
    if (peerCertDN.lastIndexOf("cn=" + hostname) == -1) {
    System.out.println("Certificate for " + hostname +
    " is issued to " + peerCertDN);
    System.out.println("Aborting connection");
    System.exit(-1);
    try {
    HTTPResponse rsp = httpsConnection.Get("/");
    System.out.println("Server Response: ");
    System.out.println(rsp);
    } catch (Exception e) {
    System.out.println("Exception occured during Get");
    e.printStackTrace();
    System.exit(-1);
    ================================================================
    C:\j2sdk1.4.2_09\bin\javaw.exe -client -classpath "D:\eclipse\workspace\OC4JClient\OC4JClient\classes;D:\eclipse\workspace\jdev\extensions\.jar;C:\Documents and Settings\nilesh_bafna\Desktop\Nitin\lib\jssl-1_1.jar;E:\product\10.1.3.1\OracleAS_1\j2ee\home\lib\http_client.jar;E:\product\10.1.3.1\OracleAS_1\jlib\javax-ssl-1_1.jar" -Djava.protocol.handler.pkgs=HTTPClient -Djavax.net.debug=ssl -Djavax.net.ssl.keyStore=F:/oc4jcert/client.keystore -Djavax.net.ssl.keyStorePassword=welcome1 -Djavax.net.ssl.trustStore=F:/oc4jcert/client.keystore -Djavax.net.ssl.trustStorePassword=welcome1 -DOracle.ssl.defaultCipherSuites=SSL_RSA_WITH_RC4_128_MD5 SSLSocketClientWithClientAuth ps4372.persistent.co.in 443 F:/oc4jcert/client.keystore welcome1
    keyStore is : F:/oc4jcert/client.keystore
    keyStore type is : jks
    init keystore
    init keymanager of type SunX509
    found key for : oracle-client
    chain [0] = [
    Version: V3
    Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: SunJSSE RSA public key:
    public exponent:
    010001
    modulus:
    87fcc8e9 0ffcef8e 61f3be10 be7c9715 2792849b 3bbdeb1c cc76b337 4b82bbab
    86972c63 9af3adfd 35b5df99 9078a0d1 6dc760d8 0549a95a bfa7648a 9eadd326
    a6bc4b61 d8f8b42f 44e0b178 ff1dee20 db8406cd d800c26a 9c5a6ed9 4d6f2aef
    bc919814 3b46be39 e129280c e83afe12 c9d4e3d7 fb5787b1 d98bed4a 4f0833d5
    Validity: [From: Thu Jan 18 21:18:14 GMT+05:30 2007,
                   To: Wed Apr 18 21:18:14 GMT+05:30 2007]
    Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    SerialNumber: [    45af96be]
    Algorithm: [MD5withRSA]
    Signature:
    0000: 41 47 35 41 90 10 E3 77 A7 F3 F5 81 37 49 4F 57 AG5A...w....7IOW
    0010: 01 11 82 A2 FB 69 46 E8 18 6C EE 11 23 A6 67 2E .....iF..l..#.g.
    0020: 68 4D D6 A6 E7 09 45 24 58 18 9A E5 44 49 10 9B hM....E$X...DI..
    0030: F1 EC 99 4A 45 5F A4 4F 71 3F 05 3D 45 29 42 CD ...JE_.Oq?.=E)B.
    0040: 11 87 DA 0C AA DC 55 4E CF 22 4A 94 85 CB E5 EB ......UN."J.....
    0050: BA E1 10 D2 C8 80 2C 6B 65 94 13 01 1F 6E 18 C3 ......,ke....n..
    0060: 87 33 8C 65 C7 03 16 03 24 FB 0D B0 6D D8 E7 AA .3.e....$...m...
    0070: A1 A5 48 90 0D D6 8C 47 50 2A AA 7C 7B 14 E5 B7 ..H....GP*......
    trustStore is: F:\oc4jcert\client.keystore
    trustStore type is : jks
    init truststore
    adding as trusted cert:
    Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Algorithm: RSA; Serial number: 0x45af96be
    Valid from Thu Jan 18 21:18:14 GMT+05:30 2007 until Wed Apr 18 21:18:14 GMT+05:30 2007
    adding as trusted cert:
    Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Algorithm: RSA; Serial number: 0x45af95dc
    Valid from Thu Jan 18 21:14:28 GMT+05:30 2007 until Wed Apr 18 21:14:28 GMT+05:30 2007
    init context
    trigger seeding of SecureRandom
    done seeding SecureRandom
    %% No cached client session
    *** ClientHello, TLSv1
    RandomCookie: GMT: 1152299454 bytes = { 41, 212, 166, 48, 109, 77, 185, 232, 204, 95, 158, 141, 60, 96, 196, 172, 49, 19, 49, 22, 222, 234, 47, 76, 27, 130, 5, 176 }
    Session ID: {}
    Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA]
    Compression Methods: { 0 }
    main, WRITE: TLSv1 Handshake, length = 73
    main, WRITE: SSLv2 client hello message, length = 98
    main, READ: TLSv1 Handshake, length = 839
    *** ServerHello, TLSv1
    RandomCookie: GMT: 1152299454 bytes = { 206, 186, 162, 116, 179, 72, 44, 198, 189, 25, 70, 227, 170, 235, 83, 186, 152, 49, 194, 222, 248, 3, 191, 170, 248, 95, 134, 35 }
    Session ID: {69, 175, 178, 190, 47, 141, 131, 115, 241, 226, 39, 29, 241, 65, 235, 165, 57, 40, 52, 85, 68, 85, 68, 84, 108, 141, 1, 125, 193, 191, 158, 208}
    Cipher Suite: SSL_RSA_WITH_RC4_128_MD5
    Compression Method: 0
    %% Created: [Session-1, SSL_RSA_WITH_RC4_128_MD5]
    ** SSL_RSA_WITH_RC4_128_MD5
    *** Certificate chain
    chain [0] = [
    Version: V3
    Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: SunJSSE RSA public key:
    public exponent:
    010001
    modulus:
    6f24d75b 96919725 ad6ea93a cab0bd96 a49d2f3c e14f5c09 0e228e36 de64e0f2
    f2b82740 1653bdb4 5024d281 21ed8c4c 89bc322b 4dc9ffb2 0e97cd95 16e6fe1e
    380340c9 f3c67e2c 18d06461 f4f30eaf 4394716e 7bc66d80 810a9cb5 9c168b36
    cdd99919 67074ebc edebf02e ebf0accb 2193bc38 7ae1cdda af5ff300 ed0e7763
    Validity: [From: Thu Jan 18 21:14:28 GMT+05:30 2007,
                   To: Wed Apr 18 21:14:28 GMT+05:30 2007]
    Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    SerialNumber: [    45af95dc]
    Algorithm: [MD5withRSA]
    Signature:
    0000: 05 4E EE 12 5B DD 7F 26 92 37 67 C9 D0 73 46 4D .N..[..&.7g..sFM
    0010: 7E A5 1E 67 38 06 D9 5F 9F B7 2F E8 F6 9E BF 88 ...g8.._../.....
    0020: 01 31 7D EA 42 5E 4F 9E D7 8F DA 9F 94 A5 EF 47 .1..B^O........G
    0030: E3 E9 BA DE 94 15 C6 03 DE C9 C0 7D CE 58 C0 27 .............X.'
    0040: 0F 1A 66 EC 73 53 5D 1D DE 7E FA 35 15 E0 2A CC ..f.sS]....5..*.
    0050: C9 74 CC 58 E9 B6 2F 68 A0 89 2B F3 E6 61 7D E1 .t.X../h..+..a..
    0060: 21 AF BE E8 83 49 B1 BD 36 C5 2D 1B 0D A1 0E 63 !....I..6.-....c
    0070: 02 4A 82 71 B0 E1 9C AD 55 67 F9 17 A5 96 18 EB .J.q....Ug......
    Found trusted certificate:
    Version: V3
    Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: SunJSSE RSA public key:
    public exponent:
    010001
    modulus:
    6f24d75b 96919725 ad6ea93a cab0bd96 a49d2f3c e14f5c09 0e228e36 de64e0f2
    f2b82740 1653bdb4 5024d281 21ed8c4c 89bc322b 4dc9ffb2 0e97cd95 16e6fe1e
    380340c9 f3c67e2c 18d06461 f4f30eaf 4394716e 7bc66d80 810a9cb5 9c168b36
    cdd99919 67074ebc edebf02e ebf0accb 2193bc38 7ae1cdda af5ff300 ed0e7763
    Validity: [From: Thu Jan 18 21:14:28 GMT+05:30 2007,
                   To: Wed Apr 18 21:14:28 GMT+05:30 2007]
    Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    SerialNumber: [    45af95dc]
    Algorithm: [MD5withRSA]
    Signature:
    0000: 05 4E EE 12 5B DD 7F 26 92 37 67 C9 D0 73 46 4D .N..[..&.7g..sFM
    0010: 7E A5 1E 67 38 06 D9 5F 9F B7 2F E8 F6 9E BF 88 ...g8.._../.....
    0020: 01 31 7D EA 42 5E 4F 9E D7 8F DA 9F 94 A5 EF 47 .1..B^O........G
    0030: E3 E9 BA DE 94 15 C6 03 DE C9 C0 7D CE 58 C0 27 .............X.'
    0040: 0F 1A 66 EC 73 53 5D 1D DE 7E FA 35 15 E0 2A CC ..f.sS]....5..*.
    0050: C9 74 CC 58 E9 B6 2F 68 A0 89 2B F3 E6 61 7D E1 .t.X../h..+..a..
    0060: 21 AF BE E8 83 49 B1 BD 36 C5 2D 1B 0D A1 0E 63 !....I..6.-....c
    0070: 02 4A 82 71 B0 E1 9C AD 55 67 F9 17 A5 96 18 EB .J.q....Ug......
    *** CertificateRequest
    Cert Types: RSA, DSS,
    Cert Authorities:
    <CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US>
    *** ServerHelloDone
    matching alias: oracle-client
    *** Certificate chain
    chain [0] = [
    Version: V3
    Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: SunJSSE RSA public key:
    public exponent:
    010001
    modulus:
    87fcc8e9 0ffcef8e 61f3be10 be7c9715 2792849b 3bbdeb1c cc76b337 4b82bbab
    86972c63 9af3adfd 35b5df99 9078a0d1 6dc760d8 0549a95a bfa7648a 9eadd326
    a6bc4b61 d8f8b42f 44e0b178 ff1dee20 db8406cd d800c26a 9c5a6ed9 4d6f2aef
    bc919814 3b46be39 e129280c e83afe12 c9d4e3d7 fb5787b1 d98bed4a 4f0833d5
    Validity: [From: Thu Jan 18 21:18:14 GMT+05:30 2007,
                   To: Wed Apr 18 21:18:14 GMT+05:30 2007]
    Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
    SerialNumber: [    45af96be]
    Algorithm: [MD5withRSA]
    Signature:
    0000: 41 47 35 41 90 10 E3 77 A7 F3 F5 81 37 49 4F 57 AG5A...w....7IOW
    0010: 01 11 82 A2 FB 69 46 E8 18 6C EE 11 23 A6 67 2E .....iF..l..#.g.
    0020: 68 4D D6 A6 E7 09 45 24 58 18 9A E5 44 49 10 9B hM....E$X...DI..
    0030: F1 EC 99 4A 45 5F A4 4F 71 3F 05 3D 45 29 42 CD ...JE_.Oq?.=E)B.
    0040: 11 87 DA 0C AA DC 55 4E CF 22 4A 94 85 CB E5 EB ......UN."J.....
    0050: BA E1 10 D2 C8 80 2C 6B 65 94 13 01 1F 6E 18 C3 ......,ke....n..
    0060: 87 33 8C 65 C7 03 16 03 24 FB 0D B0 6D D8 E7 AA .3.e....$...m...
    0070: A1 A5 48 90 0D D6 8C 47 50 2A AA 7C 7B 14 E5 B7 ..H....GP*......
    JsseJCE: Using JSSE internal implementation for cipher RSA/ECB/PKCS1Padding
    *** ClientKeyExchange, RSA PreMasterSecret, TLSv1
    Random Secret: { 3, 1, 236, 206, 185, 158, 75, 201, 230, 16, 170, 40, 193, 70, 188, 134, 36, 134, 14, 20, 191, 121, 246, 8, 7, 2, 137, 66, 166, 10, 185, 246, 104, 154, 27, 82, 161, 133, 11, 130, 11, 130, 71, 84, 155, 165, 239, 227 }
    main, WRITE: TLSv1 Handshake, length = 763
    SESSION KEYGEN:
    PreMaster Secret:
    0000: 03 01 EC CE B9 9E 4B C9 E6 10 AA 28 C1 46 BC 86 ......K....(.F..
    0010: 24 86 0E 14 BF 79 F6 08 07 02 89 42 A6 0A B9 F6 $....y.....B....
    0020: 68 9A 1B 52 A1 85 0B 82 0B 82 47 54 9B A5 EF E3 h..R......GT....
    CONNECTION KEYGEN:
    Client Nonce:
    0000: 45 AF B2 BE 29 D4 A6 30 6D 4D B9 E8 CC 5F 9E 8D E...)..0mM..._..
    0010: 3C 60 C4 AC 31 13 31 16 DE EA 2F 4C 1B 82 05 B0 <`..1.1.../L....
    Server Nonce:
    0000: 45 AF B2 BE CE BA A2 74 B3 48 2C C6 BD 19 46 E3 E......t.H,...F.
    0010: AA EB 53 BA 98 31 C2 DE F8 03 BF AA F8 5F 86 23 ..S..1......._.#
    Master Secret:
    0000: CA 5C BA B3 D0 C9 26 A9 3A 06 08 8F 27 2E CE 17 .\....&.:...'...
    0010: 93 98 BC DF EF 78 2A 99 DB 3E 50 3B 01 D1 84 5F .....x*..>P;..._
    0020: 28 80 CE 7C 7C C1 12 A4 11 F6 33 9B 2E D9 6F BE (.........3...o.
    Client MAC write Secret:
    0000: 80 FF CE 99 7C 45 4C D8 60 FA 40 79 A2 A4 36 7C .....EL.`[email protected].
    Server MAC write Secret:
    0000: 2D F1 A0 A8 ED A1 7B DD 89 A5 01 90 43 BF F1 19 -...........C...
    Client write key:
    0000: E1 3F 33 54 D3 C5 3A 26 4A 41 65 DA AC 44 3B 28 .?3T..:&JAe..D;(
    Server write key:
    0000: C5 08 52 AE A9 0A 4F D0 AD 54 49 C6 4E 2F 9C 4E ..R...O..TI.N/.N
    ... no IV for cipher
    JsseJCE: Using JSSE internal implementation for cipher RSA/ECB/PKCS1Padding
    *** CertificateVerify
    main, WRITE: TLSv1 Handshake, length = 134
    main, WRITE: TLSv1 Change Cipher Spec, length = 1
    main, handling exception: java.net.SocketException: Software caused connection abort: socket write error
    main, SEND TLSv1 ALERT: fatal, description = unexpected_message
    main, WRITE: TLSv1 Alert, length = 2
    Exception sending alert: java.net.SocketException: Software caused connection abort: socket write error
    main, called closeSocket()
    IOException in getSession(): java.net.SocketException: Software caused connection abort: socket write error
    Unable to obtain peer credentials
    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
         at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificateChain(DashoA12275)
         at SSLSocketClientWithClientAuth.main(SSLSocketClientWithClientAuth.java:56)
    Process exited with exit code -1.
    =====================================================
    I think this is the problem with ciphers. So can anybody please help me with this!!!. This is very urgent!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Thanks in advance
    Nilesh

    Thanks for your prompt reply I was able to make it run. Actually I am using the same keystore and truststore at both the client and the server end. I added those properties in opmn.xml as startup parameters.
    I have another query I am using JDev to create a client proxy for my webservice that is deployed in OC4J. I have setup OC4J in 2 way SSL (mutual authentication)
    When I invoke my client proxy with these system properties set
    System.setProperty("javax.net.ssl.keyStore",keyStore);
    System.setProperty("javax.net.ssl.keyStorePassword", keyStorePassword);
    System.setProperty("javax.net.ssl.trustStore", trustStore);
    System.setProperty("javax.net.ssl.trustStorePassword",trustStorePassword);
    System.setProperty("javax.net.ssl.keyStoreType","JKS");
    System.setProperty("javax.net.ssl.trustStoreType","JKS");
    I get an exception in the log.xml which is
    <MSG_TEXT>IOException in ServerSocketAcceptHandler$AcceptHandlerHorse:run</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[javax.net.ssl.SSLProtocolException: handshake alert: no_certificate
                at com.sun.net.ssl.internal.ssl.ServerHandshaker.handshakeAlert(ServerHandshaker.java:1031)
                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1535)
                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)
                at oracle.oc4j.network.ServerSocketAcceptHandler.doSSLHandShaking(ServerSocketAcceptHandler.java:250)
                at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:868)
                at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
                at java.lang.Thread.run(Thread.java:595)
    ]]></SUPPL_DETAIL>
    Isn't setting these properties enough for sending a client certificate. Please help!!!!
    Thanks,
    Nilesh.

  • Problems with an SSL connection

    I'm trying to execute a Post request using HTTPS. To achieve that I'm using commons-httpclient v.3.0rc1 and a custom SSLSocketProtocolSocketFactory that can work with untrusted self-signed certificates.
    My code works on Windows 2000 Pro, but it fails on Linux (Suse Linux 8.2). However I'm using JDK 1.4.2 both in Windows and LInux, with the same list of security providers set at $JAVA_HOME/jre/lib/security/java.security file.
    I've heard about problems with security when upgrading form JDK 1.4.x to JDK 1.5, but it's not the case.
    Any idea about this?
    This is the exception I get when I run my code on Linux:
    Caused by: javax.net.ssl.SSLKeyException: RSA premaster secret error
    at com.sun.net.ssl.internal.ssl.PreMasterSecret.<init>(PreMasterSecret.java:86)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:514)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:160)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:815)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:619)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:825)
    at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1920)
    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1002)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:382)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:168)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:393)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
    at com.gd.define.orion.mailets.AbstractHttpMailet.send(AbstractHttpMailet.java:451)
    ... 6 more
    Caused by: java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/ECB/PKCS1Padding
    at javax.crypto.Cipher.getInstance(DashoA12275)
    at com.sun.net.ssl.internal.ssl.JsseJce.getCipher(JsseJce.java:90)
    at com.sun.net.ssl.internal.ssl.RSACipher.<init>(RSACipher.java:35)
    at com.sun.net.ssl.internal.ssl.RSACipher.getInstance(RSACipher.java:69)
    at com.sun.net.ssl.internal.ssl.PreMasterSecret.<init>(PreMasterSecret.java:82)
    ... 24 more

    I've read in other forums that server and client running on same machine can cause problems using SSL. Is that real? Could it happen even when server uses JDK 1.5 and client uses JDK 1.4.2? May JDK version conflicts appear?
    Thanks in advance

  • Having problem with des encryption in jcwde

    I have problem with encrypting data using des encryption.... when i debug, it is stopping at the dofinal() method....help needed.
    public class wallet extends Applet {
         public short balance= (short) 22;
         final static byte Wallet_CLA = ( byte ) 0xB0;
         public short isVerified;
         // public short tryCounter;//number of tries for pin
         public byte[] pin=new byte[]{ 0x10, 0x10};
         public byte[] key_array=new byte[]{(byte)0x09,(byte)0x0e,(byte)0x0d,(byte)0x0c,(byte)0x0b,(byte)0x0a,(byte)0x09,(byte)0x08};
         public OwnerPIN m_pin;
         // public Cipher m_cipher;
         public DESKey m_desKey;
         public Cipher m_cipher;
         final static byte ENCRYPT= (byte) 0x10;
         final static byte VERIFY = ( byte ) 0x20;
         final static byte CREDIT = ( byte ) 0x30;
         final static byte DEBIT = ( byte ) 0x40;
         final static byte GET_BALANCE = ( byte ) 0x50;
         final static short SW_INVALID_DEBIT_AMOUNT = 0x6A83;
         final static short SW_INVALID_CREDIT_AMOUNT = 0x6A84;
         final static short SW_VERIFICATION_FAILED = 0x6A85;
         final static short SW_PIN_BLOCKED = 0x6A86;
         final static short SW_CIPHER_DATA_LENGTH_BAD= 0x6A87;
         private wallet(byte bArray[], short bOffset, byte bLength) {
              isVerified=0;
              //tryCounter=3;
              m_pin = new OwnerPIN((byte) 3, (byte) 4);
              m_pin.update(pin, (short) 0, (byte) pin.length);
              m_desKey=(DESKey) KeyBuilder.buildKey(KeyBuilder.TYPE_DES, KeyBuilder.LENGTH_DES, false);
              m_desKey.setKey(key_array, (short)0);
              m_cipher =Cipher.getInstance(Cipher.ALG_DES_CBC_ISO9797_M2, false);
              m_cipher.init(m_desKey,Cipher.MODE_ENCRYPT);
              //register(bArray,(short)(bOffset+1),bArray[bOffset]);
         public static void install(byte bArray[], short bOffset, byte bLength)
                   throws ISOException {
              new wallet(bArray, bOffset, bLength).register();
         public void process(APDU apdu) throws ISOException {
              // TODO Auto-generated method stub
              byte[] buff = apdu.getBuffer();
              if(selectingApplet())
                   return;
              //byte[] buff = apdu.getBuffer();
    if(buff[ISO7816.OFFSET_CLA] == Wallet_CLA)
         switch (buff[ISO7816.OFFSET_INS])
         case ENCRYPT:
              encrypt(apdu);
              return;
         case VERIFY:
              verify(apdu);
              return;
         case CREDIT:
              credit(apdu);
              return;
         case DEBIT:
              debit(apdu);
              return;
         case GET_BALANCE:
              getBalance(apdu);
              return;
         default:
              ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
    return;     
         private void getBalance(APDU apdu) {
              // TODO Auto-generated method stub
              if(!(m_pin.getTriesRemaining()>0))
                   ISOException.throwIt(SW_PIN_BLOCKED);
              if(!(m_pin.isValidated()))
                   ISOException.throwIt(SW_VERIFICATION_FAILED);
              byte[] buffer = apdu.getBuffer();
              //buffer[0]=(byte) balance;
              apdu.setOutgoing();//indicates apdu has outgoing data
              apdu.setOutgoingLength ( ( short ) 2 ) ; //outgoing data length(le)
              //storing balance in buffer array
              buffer [ 0 ] = ( byte ) ( balance >> 8 ) ;
              buffer [ 1 ] = ( byte ) ( balance & 0xFF ) ;
              apdu.sendBytes ( ( short ) 0, ( short ) 2 ) ;
              //apdu.setOutgoingLength(len)
              return;
         private void debit(APDU apdu) {
              // TODO Auto-generated method stub
              if(!(m_pin.getTriesRemaining()>0))
                   ISOException.throwIt(SW_PIN_BLOCKED);
              if(!(m_pin.isValidated()))
                   ISOException.throwIt(SW_VERIFICATION_FAILED);
              byte[] buffer = apdu.getBuffer();
              byte numBytes=(byte) apdu.getIncomingLength();//number of bytes received
              if(numBytes!=1)
                   ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);
              byte byteRead= (byte)apdu.setIncomingAndReceive();
              byte debitAmount=buffer[ISO7816.OFFSET_CDATA];
              if(balance > (short)debitAmount)
              balance=(short) (balance-(short)debitAmount);
              else
                   ISOException.throwIt(SW_INVALID_DEBIT_AMOUNT);
         private void credit(APDU apdu) {
              // TODO Auto-generated method stub
              if(!(m_pin.getTriesRemaining()>0))
                   ISOException.throwIt(SW_PIN_BLOCKED);
              if(!(m_pin.isValidated()))
                   ISOException.throwIt(SW_VERIFICATION_FAILED);
              byte[] buffer = apdu.getBuffer();
              byte numBytes=(byte) apdu.getIncomingLength();
              if(numBytes!=1)
                   ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);
              //setting the apdu direction as incoming and getting number of bytes
              byte byteRead= (byte)apdu.setIncomingAndReceive();
              byte creditAmount=buffer[ISO7816.OFFSET_CDATA];
              if(creditAmount<0)
              ISOException.throwIt(SW_INVALID_CREDIT_AMOUNT);
              balance=(short) (balance+(short)creditAmount);
         private void verify(APDU apdu)
              byte[] buffer = apdu.getBuffer();
              byte numBytes=(byte) apdu.getIncomingLength();
              byte byteRead= (byte)apdu.setIncomingAndReceive();
              //byte pass=buffer[ISO7816.OFFSET_CDATA];
              if(m_pin.getTriesRemaining()>0)//check whether the try limit has been crossed
                   //if(Util.arrayCompare(buffer, (short)ISO7816.OFFSET_CDATA, pin, (short)0, (short)2)==0)//comparing pins
                   if(m_pin.check(buffer, (short)ISO7816.OFFSET_CDATA,byteRead))
                   isVerified=1;//setting status as verified
                   else//wrong password
                   //tryCounter--;
                   ISOException.throwIt(SW_VERIFICATION_FAILED);
              else
                   ISOException.throwIt(SW_PIN_BLOCKED);
              // TODO Auto-generated method stub
         private void encrypt(APDU apdu)
              byte[] buffer=apdu.getBuffer();
              short bytelen=(short)(apdu.setIncomingAndReceive());
              //short byteRead=(short) (buffer[ISO7816.OFFSET_LC] & 0x00FF);
              byte[] outbuff=new byte[(short)16];
              if(((short)bytelen%8)!=0)ISOException.throwIt(SW_CIPHER_DATA_LENGTH_BAD);
              //m_cipher.update(buffer, ISO7816.OFFSET_CDATA, (short)bytelen, outbuff, (short)0);
              m_cipher.doFinal(buffer,(short) ISO7816.OFFSET_CDATA, (short)bytelen, buffer, (short)0); //"DEBUGGER STOPS AT THIS LINE"
              Util.arrayCopyNonAtomic(outbuff, (short)0, buffer, (short)ISO7816.OFFSET_CDATA, (short)bytelen);
              apdu.setOutgoing();
              apdu.setOutgoingLength((short)bytelen);
              apdu.sendBytesLong(outbuff,(short)ISO7816.OFFSET_CDATA,(short)bytelen);
              //apdu.setOutgoingAndSend(ISO7816.OFFSET_CDATA, (short)bytelen);
    Edited by: 977213 on Dec 16, 2012 10:24 PM

    Hi,
    Check out Cipher. dofinal method,
    the 4th parameter should be the destination which is outbuff.
    it shoul be change to :
    m_cipher.doFinal(buffer,(short) ISO7816.OFFSET_CDATA, (short)bytelen, outbuff, (short)0); when I run your code the result was all 00, that was because of this error,
    maybe the debugger has the same problem,
    check it and tell me the result
    Regards,
    Hana

  • Weird problems with Smartcard (Java 1.6, PKCS#11, OpenSC, Linux)

    Summary: After accessing the PKCS#11 keystore I thought it would be a cake to encrypt/decrypt stuff within Java. At first I created a Cipher object with the approprate provider ("SunPKCS11-OpenSC") and selected a supported algorithm ("RSA/ECB/PKCS1Padding"). That done, I wanted to encrypt a single text message which did fail with java.security.InvalidKeyException: init() failed.
    After searching the web I found [a thread|http://search.sun.com/search/clickthru?qt=smartcard&col=developer-forums&cksum=afe91b01a2dea2bc99a47d8754fb022d&url=http%3A%2F%2Fforum.java.sun.com%2Fthread.jspa%3FforumID%3D9%26threadID%3D572349&path=%2Fsearch%2Fonesearch%2Findex.jsp&hit=4] here from a guy which had a similar problem. I read, that while you cannot encrypt successfully with the private key it works with the public key. I tested it and it worked, but the decryption failed again. After "some" runs I received an error message from the OpenSC middleware layer:
    pkcs15-lib.c:3354:sc_pkcs15init_update_file: File 3f0050154403 too small (require 287, have 256) - please increase size in profile
    java.security.InvalidKeyException: Could not create RSA public key
    I ended up having four automagically created public keys on my card and I have no room for others. I don't know what's going on, but for sure I did call no method which creates data objects on my card. You find my environment at the bottom. For those who are interested, here is a code snippet:
            public void ciphertest() {                                                                                                                                           
                    System.out.println("Test for en- and decrypting stuff.");                                                                                                    
                    char[] pin = { '0', '0', '0', '0' };                                                                                                                         
                    try {                                                                                                                                                        
                            // KeyStore erzeugen                                                                                                                                 
                            KeyStore ks = KeyStore.getInstance("PKCS11", providerName);                                                                                          
                            ks.load(null, pin);                                                                                                                                  
                            System.out.println("  KeyStore loaded. Size: "+ks.size());                                                                                           
                            // Elemente im KeyStore anzeigen lassen                                                                                                              
                            //ciphertest_listKeyStoreElements(ks);                                                                                                               
                            // Schluesselobjekt erzeugen                                                                                                                         
                            String alias = "Certificate";                                                                                                                        
                            PrivateKey kpriv = (PrivateKey) ks.getKey(alias, null);                                                                                              
                            X509Certificate cert = (X509Certificate) ks.getCertificate(alias);                                                                                   
                                                                                                                                                                                                         System.out.println("  PrivateKey.getAlgorithm: "+kpriv.getAlgorithm());                                                                              
                            System.out.println("  PrivateKey.getFormat: "+kpriv.getFormat());                                                                                    
                            // Cipherobjekt erzeugen und initialisieren f�r Verschl�sselung                                                                                      
                            Cipher c = Cipher.getInstance("RSA/ECB/PKCS1Padding", providerName);                                                                                 
                            //System.out.println(c.getParameters());                                                                                                             
                            //System.out.println(c.getProvider().getInfo());                                                                                                     
                            // Verschl�sseln                                                                                                                                     
                            String message = "La dolce vita!";                                                                                                                   
                            System.out.println("  Message to be encrypted: '"+message+"'");                                                                                      
                            c.init(Cipher.ENCRYPT_MODE, cert);                                                                                                                   
                            System.out.println("  Encrypting...");                                                                                                               
                            byte[] ciphertext = c.doFinal(message.getBytes());                                                                                                   
                            System.out.println("  Length of cipher: "+ciphertext.length);                                                                                        
                            // Entschl�sseln                                                                                                                                     
                            c.init(Cipher.DECRYPT_MODE, kpriv);                                                                                                                  
                            System.out.println("  Decrypting...");                                                                                                               
                            byte[] cleartext = c.doFinal(ciphertext);                                                                                                            
                            // Test auf Gleichheit                                                                                                                               
                            System.out.println(new String(cleartext));                                                                                                           
                    } catch (Exception e) {                                                                                                                                      
                            System.out.println(e.toString());                                                                                                                    
    Environment: I set up OpenSC (with pcsc-lite) under Linux. My smartcard is the G&D Starcos SPK 2.3, my reader the Reiner SCT pinpad pro (a). I have created the PKCS#15 structure on the card via OpenSC's pkcs15-init tool, created the private/public keys and uploaded a certificate. The certificate is recognized by Java's keystore. I can browse the card, dump contents via opensc. I can access the card via Java, like setting the keystore and list the contents.

    I had not much time today, but I managed to find out that the call to the Cipher.init() method wants to add and has successfully created/added public key objects on my smartcard (which I cannot remove anymore :-().
            public void ciphertest_SunPKCS11_unwanted_keys() {                                                                                                                   
                    log("Test: SunPKCS11 provider creates unwanted public keys on smartcard.");                                                                                  
                    char[] pin = { '0', '0', '0', '0' };                                                                                                                         
                    try {                                                                                                                                                        
                            KeyStore ks = KeyStore.getInstance("PKCS11", providerName);                                                                                          
                            ks.load(null, pin);                                                                                                                                  
                            X509Certificate cert = (X509Certificate) ks.getCertificate("Certificate");                                                                           
                            Cipher c = Cipher.getInstance("RSA/ECB/PKCS1Padding", providerName);                                                                                 
                            c.init(Cipher.ENCRYPT_MODE, cert);                                                                                                                   
                    } catch (Exception e) {                                                                                                                                      
                            System.out.println(e.toString());                                                                                                                    
            }  Any suggestions what's going on here? This is driving me nuts, one day was planned for this and now three days have been consumed.

  • Problem with Threads and a static variable

    I have a problem with the code below. I am yet to make sure that I understand the problem. Correct me if I am wrong please.
    Code functionality:
    A timer calls SetState every second. It sets the state and sets boolean variable "changed" to true. Then notifies a main process thread to check if the state changed to send a message.
    The problem as far I understand is:
    Assume the timer Thread calls SetState twice before the main process Thread runs. As a result, "changed" is set to true twice. However, since the main process is blocked twice during the two calls to SetState, when it runs it would have the two SetState timer threads blocked on its synchronized body. It will pass the first one, send the message and set "changed" to false since it was true. Now, it will pass the second thread, but here is the problem, "changed" is already set to false. As a result, it won't send the message even though it is supposed to.
    Would you please let me know if my understanding is correct? If so, what would you propose to resolve the problem? Should I call wait some other or should I notify in a different way?
    Thanks,
    B.D.
    Code:
    private static volatile boolean bChanged = false;
    private static Thread objMainProcess;
       protected static void Init(){
            objMainProcess = new Thread() {
                public void run() {
                    while( objMainProcess == Thread.currentThread() ) {
                       GetState();
            objMainProcess.setDaemon( true );
            objMainProcess.start();
        public static void initStatusTimer(){
            if(objTimer == null)
                 objTimer = new javax.swing.Timer( 1000, new java.awt.event.ActionListener(){
                    public void actionPerformed( java.awt.event.ActionEvent evt){
                              SetState();
        private static void SetState(){
            if( objMainProcess == null ) return;
            synchronized( objMainProcess ) {
                bChanged = true;
                try{
                    objMainProcess.notify();
                }catch( IllegalMonitorStateException e ) {}
        private static boolean GetState() {
            if( objMainProcess == null ) return false;
            synchronized( objMainProcess ) {
                if( bChanged) {
                    SendMessage();
                    bChanged = false;
                    return true;
                try {
                    objMainProcess.wait();
                }catch( InterruptedException e ) {}
                return false;
        }

    Thanks DrClap for your reply. Everything you said is right. It is not easy to make them alternate since SetState() could be called from different places where the state could be anything else but a status message. Like a GREETING message for example. It is a handshaking message but not a status message.
    Again as you said, There is a reason I can't call sendMessage() inside setState().
    The only way I was able to do it is by having a counter of the number of notifies that have been called. Every time notify() is called a counter is incremented. Now instead of just checking if "changed" flag is true, I also check if notify counter is greater than zero. If both true, I send the message. If "changed" flag is false, I check again if the notify counter is greater than zero, I send the message. This way it works, but it is kind of a patch than a good design fix. I am yet to find a good solution.
    Thanks,
    B.D.

  • IDES installation problem with DDIC password

    Hello everybody,
    After hours of searching and trying..
    I have here a problem during a local installation of IDES ECC 6.0 on Windows Server 2008 with MAXDB. The installation stops in phase 27 of 29 u201Ccheck DDIC passwordu201D - test logon to SAP system failed, with the error message FRF-00007 "Unable to open RFC connection" in sapinst.
    The MMC shows in the process list that the following processes stands oon "green": igswd, mag_Server and disp+work are running. The message of servers connection is OK, acts dialogue queue time is 0.00 sec.
    I have already searched the forum, but I am not able to logon as user SAP* with u201C060. u2026u201D or as user DDIC with the password u201C199. u2026u201D to change the DDIC password to my password set during the installation (transaction -S000 / SU01). The login fails over the MMC as well as over the SAP GUI 7.10. I have tried this on the client 000, 001 and 800. The error message is u201CSAP Logon Failed - connection closed without message (CM_NO_DATA_RECEIVEDu201D). The SAP GUI gets down with "Work process restartet, session terminated".
    What can help to solve the problem? Can it be a problem with the ms loop adaptor? Which static address IP must assign to the loop adaptor? Did i have to update the kernel of the data bank or is this not necessary? Can the information from dev_w help?
    Can this link help me: BI 7.0 Installed but errored out during DDIC password check !!!!!!!
    Thanks in advance
    Lenvy
    Edited by: Lenvy Gee on Sep 6, 2009 2:30 AM
    Edited by: Lenvy Gee on Sep 6, 2009 2:34 AM

    Good Morning everybody,
    I started a next try, the mmc is running on green, the login starts up and......failed.
    So the network setting seems to be correct.
    The log files included following:
    ..........................................(just the last lines).............................

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server BASIS_A23_00 on host BASED (wp 0)
    M  *  ERROR       ThSigHandler: signal
    M  *
    M  *  TIME        Mon Nov 26 08:06:26 2009
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          11
    M  *  MODULE      thxxhead.c
    M  *  LINE        10688
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
    M  TrThHookFunc: called for WP dump
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  ThrSaveSPAFields: save spa fields
    M  Entering ThSetStatError
    M  ThIErrHandle: incomplete previous roll out, do a full roll out
    M  ThRollOut: roll out T17/U25/M0/I0 (level=7, short_roll_out=0)
    M  ThRollOut: call rrol_out (1)
    M  ThRollOut: act roll state = DP_ROLLED_OUT
    M  ThRollOut: roll level <> 0, don't call ab_rollout
    M  ThRollOut: full roll out of U25 M0 I0 (Level 7) ok
    M  ThIErrHandle: prv_action of W0: 0x8
    M  ThCallDbBreak: use db_sqlbreak
    C  CANCEL rejected, because there is no SQL statement active
    M  ThIErrHandle: don't try rollback again
    M  ThIErrHandle: call ThrCoreInfo
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX completed.
    A  ** RABAX: level LEV_RX_COVERAGE_ANALYSER entered.
    A  ** RABAX: level LEV_RX_COVERAGE_ANALYSER completed.
    A  ** RABAX: level LEV_RX_ROLLBACK entered.
    A  ** RABAX: level LEV_RX_ROLLBACK completed.
    A  ** RABAX: level LEV_RX_DB_ALIVE entered.
    A  ** RABAX: level LEV_RX_DB_ALIVE completed.
    A  ** RABAX: level LEV_RX_HOOKS entered.
    A  ** RABAX: level LEV_RX_HOOKS completed.
    A  ** RABAX: level LEV_RX_STANDARD entered.
    A  ** RABAX: level LEV_RX_STANDARD completed.
    A  ** RABAX: level LEV_RX_STOR_VALUES entered.
    A  ** RABAX: level LEV_RX_STOR_VALUES completed.
    A  ** RABAX: level LEV_RX_C_STACK entered.
    A  ** RABAX: level LEV_RX_C_STACK completed.
    A  ** RABAX: level LEV_RX_MEMO_CHECK entered.
    A  ** RABAX: level LEV_RX_MEMO_CHECK completed.
    A  ** RABAX: level LEV_RX_AFTER_MEMO_CHECK entered.
    A  ** RABAX: level LEV_RX_AFTER_MEMO_CHECK completed.
    A  ** RABAX: level LEV_RX_INTERFACES entered.
    A  ** RABAX: level LEV_RX_INTERFACES completed.
    A  ** RABAX: level LEV_RX_GET_MESS entered.
    A  ** RABAX: level LEV_RX_GET_MESS completed.
    A  ** RABAX: level LEV_RX_INIT_SNAP entered.
    A  ** RABAX: level LEV_RX_INIT_SNAP completed.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG entered.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG completed.
    A  ** RABAX: level LEV_RX_WRITE_SNAP entered.
    M  ThContextId: context_id = >0001700020019C010D31F2D5BD12D1714B103838<
    M  ThContextId: context_id_uuid = {29019C01-7F24-F235-BD12-D1714B103838}
    M  ThGetTransId2: got trans id (spa) >29019C017F24F239BD12D1714B103838< (32)
    A  ** RABAX: level LEV_SN_END completed.
    A  ** RABAX: level LEV_RX_SET_ALERT entered.
    A  ** RABAX: level LEV_RX_SET_ALERT completed.
    A  ** RABAX: level LEV_RX_COMMIT entered.
    A  ** RABAX: level LEV_RX_COMMIT completed.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG entered.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG completed.
    A  ** RABAX: level LEV_RX_RESET_PROGS entered.
    A  ** RABAX: level LEV_RX_RESET_PROGS completed.
    A  ** RABAX: level LEV_RX_STDERR entered.
    A  ** RABAX: level LEV_RX_STDERR completed.
    A  ** RABAX: level LEV_RX_RFC_ERROR entered.
    A  ** RABAX: level LEV_RX_RFC_ERROR completed.
    A  ** RABAX: level LEV_RX_RFC_CLOSE entered.
    A  ** RABAX: level LEV_RX_RFC_CLOSE completed.
    A  ** RABAX: level LEV_RX_IMC_ERROR entered.
    A  ** RABAX: level LEV_RX_IMC_ERROR completed.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE entered.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE completed.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS entered.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS completed.
    A  ** RABAX: level LEV_RX_ERROR_SAVE entered.
    A  ** RABAX: level LEV_RX_ERROR_SAVE completed.
    A  ** RABAX: level LEV_RX_ERROR_TPDA entered.
    A  ** RABAX: level LEV_RX_ERROR_TPDA completed.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    M  RmCleanUpResources3: hdr/tbl/ext_tbl/free/keep = 000000000F67D3C8/0000000000000000/0/0/1
    M  RmCleanUpResources3: no resources registered
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    A  ** RABAX: level LEV_RX_END entered.
    A  ** RABAX: level LEV_RX_END completed.
    A  ** RABAX: end RX_RETURN
    M  ThIErrHandle: ThrCoreInfo o.k.
    M  ThIErrHandle: Entering ThReplyToMsg
    M  ThIErrHandle: Entering ThErrHdlUser
    M  ThErrHdlUser: set th_errno (11)
    M  ThErrHdlUser: save context
    M  ThEmContextDetach2: detach T17/M0 from em memory (em_hdl=0, force=0)
    M  ThEmContextDetach2: reset local em info
    B  Disconnecting from ALL connections:
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost         
    B  000 000 R/3              000000000 ACTIVE       YES YES NO  000 255 255 20401126 080533 BASIS          
    C  Disconnecting from connection 0 ...
    C  Now I'm disconnected from SAP DB
    B  Disconnected from connection 0
    B  statistics db_con_commit (com_total=4, com_tx=0)
    B  statistics db_con_rollback (roll_total=1, roll_tx=0)
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 816) [dpnttool.c   327]
    M  return from clean-up function ...
    and:
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      00
    sid        A23
    systemid   562 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    144
    intno      20050900
    make:      multithreaded, Unicode, 64 bit, optimized
    pid        2928
    Mon Nov 26 08:03:01 2009
    kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 2928) [dpxxdisp.c   1243]
         shared lib "dw_xml.dll" version 144 successfully loaded
         shared lib "dw_xtc.dll" version 144 successfully loaded
         shared lib "dw_stl.dll" version 144 successfully loaded
         shared lib "dw_gui.dll" version 144 successfully loaded
         shared lib "dw_mdm.dll" version 144 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Mon Nov 26 08:03:10 2040
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 9 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5371]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >BASIS_I23_00                            <
    DpShMCreate: sizeof(wp_adm)          25168     (1480)
    DpShMCreate: sizeof(tm_adm)          5652128     (28120)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    DpShMCreate: sizeof(comm_adm)          552080     (1088)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (104)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1864)
    DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 000000000D800050, size: 6348592)
    DpShMCreate: allocated sys_adm at 000000000D800050
    DpShMCreate: allocated wp_adm at 000000000D802150
    DpShMCreate: allocated tm_adm_list at 000000000D8083A0
    DpShMCreate: allocated tm_adm at 000000000D808400
    DpShMCreate: allocated wp_ca_adm at 000000000DD6C2A0
    DpShMCreate: allocated appc_ca_adm at 000000000DD72060
    DpShMCreate: allocated comm_adm at 000000000DD73FA0
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 000000000DDFAC30
    DpShMCreate: allocated gw_adm at 000000000DDFACB0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 000000000DDFACE0
    DpShMCreate: allocated wall_adm at 000000000DDFACF0
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 4096 kByte.
    <ES> Info: em/initial_size_MB( 4093MB) not multiple of em/blocksize_KB( 4096KB)
    <ES> Info: em/initial_size_MB rounded up to 4096MB
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 1023 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1633]
    ***LOG Q0K=> DpMsAttach, mscon ( BASIS) [dpxxdisp.c   11822]
    DpStartStopMsg: send start message (myname is >BASIS_I23_00                            <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    Mon Nov 26 08:03:11 2040
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 144
    Release check o.K.
    Mon Nov 26 08:03:17 2040
    MBUF state ACTIVE
    DpModState: change server state from STARTING to ACTIVE
    Mon Nov 26 08:04:26 2040
    SoftCancel request for T17 U18 M0 received from IC_MAN
    SoftCancel request for T19 U20 M0 received from IC_MAN
    ERROR => DpWpKill(3092, SIGUSR2) failed [dpxxtool.c   2496]
    Mon Nov 26 08:04:30 2040
    ERROR => DpHdlDeadWp: W0 (pid 3200) died [dpxxdisp.c   14532]
    Mon Nov 26 08:04:31 2040
    ERROR => DpHdlDeadWp: W1 (pid 3220) died [dpxxdisp.c   14532]
    DpHdlDeadWp: restart wp (pid=3092) automatically
    ERROR => DpHdlDeadWp: W3 (pid 3296) died [dpxxdisp.c   14532]
    DpHdlDeadWp: restart wp (pid=3268) automatically
    ERROR => DpHdlDeadWp: W10 (pid 2032) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W15 (pid 3312) died [dpxxdisp.c   14532]
    Mon Nov 26 08:04:45 2040
    ERROR => DpRqCheck: mode 0 in status CANCEL [dpxxdisp.c   6971]
    Mon Nov 26 08:05:10 2040
    ERROR => DpHdlDeadWp: W4 (pid 3260) died [dpxxdisp.c   14532]
    Mon Nov 26 08:05:30 2040
    ERROR => DpHdlDeadWp: W0 (pid 3788) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W1 (pid 2108) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W6 (pid 3108) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W15 (pid 464) died [dpxxdisp.c   14532]
    Mon Nov 26 08:05:33 2040
    ERROR => DpRqCheck: mode 0 in status CANCEL [dpxxdisp.c   6971]
    The kernel is not patched. I just (try) to install the kernel files from the sap market place
    IDES download destination. The install kernel file was: 51033508_7 - NW7 SR3 Kernel 7.00 for Windows / LNX X86_X64. I got an update / upgrade file, which is called: 51033508_8 - NW7 SR3 Kernel .... Upg ABAP.
    Can anybody give me an adwise by reading those logfiles? Is the file ok for updating the kernel?
    How do I upgrade the kernel by having no .exe - file?  May the installation go on after patching the kernel?
    Thanks you really much
    Lenvy

  • I have a problem with JDBC Realm in Tomcat/Oracle/Win XP

    I have a problem with JDBC Realm in Tomcat.
    I have attached my server.xml file located in the
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\server.xml
    The Problem is that when I login I get the user name and password prompt but it does not resolve.
    When I enter in the tomcat-users.xml password with memory realm uncommented it works fine.
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\tomcat-users.xml
    Is there a cache or something I need to reset for the JDBC Realm to work?
    I have attached my tables and contents as well...
    Did I miss something????
    Thanks
    Phil
    server.xml
    <Server port="8005" shutdown="SHUTDOWN">
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    </GlobalNamingResources>
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="8080" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@localhost:1521:orcl"
    connectionName="testName" connectionPassword="testPass"
    userTable="users"
    userNameCol="user_name"
    userCredCol="user_pass"
    userRoleTable="user_roles"
    roleNameCol="role_name" />
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    </Host>
    </Engine>
    </Service>
    </Server>
    Tables
    create table users
    user_name varchar(15) not null primary key,
    user_pass varchar(15) not null
    create table roles
    role_name varchar(15) not null primary key
    create table user_roles
    user_name varchar(15) not null,
    role_name varchar(15) not null,
    primary key( user_name, role_name )
    select * from users;
    ----------------------+
    | user_name | user_pass |
    ----------------------+
    | tomcat | tomcat |
    | user1 | tomcat |
    | user2 | tomcat |
    | user3 | tomcat |
    ----------------------+
    select * from roles;
    | role_name |
    | tomcat |
    | role1 |
    select * from user_roles;
    -----------------------+
    | role_name | user_name |
    -----------------------+
    | tomcat | user1 |
    | role1 | user2 |
    | tomcat | tomcat |
    | role1 | tomcat |
    -----------------------+

    Jan 2, 2008 11:49:35 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Jan 2, 2008 11:49:35 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 734 ms
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
    Jan 2, 2008 11:49:35 AM org.apache.catalina.realm.JDBCRealm start
    SEVERE: Exception opening database connection
    java.sql.SQLException: oracle.jdbc.driver.OracleDriver
         at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:684)
         at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:758)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1004)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jan 2, 2008 11:49:36 AM org.apache.catalina.core.StandardContext resourcesStart

  • Problems with pacman applet, and advice on a gaming portfolio

    Hi
    I recently made a pacman applet, im having a few problems with it though, the first time the applet is run on a browser, the ghosts(represented by squares) often dont appear or if they do, they are stuck in walls, this never happens when i run offline on my computer. Is this because the very first time the applet is run, it doesnt load properly, but the second time some of the files are in the cache so it loads fully?
    Also everytime i refresh the browser the applet dissapears and is replaced with a blank space and a cross in the top left hand corner, does anyone know the reason for this?
    The applet can be found below, if you do decide to play it, please bear in mind what i have said, so it might not load correctly the first time, if this is the case please refresh, or close the broswer and reopen the link! Also you will need to click the applet for it to gain focus before you can move pacman - use the arrow keys the control pacman.
    http://www.renaissance-designs.co.uk/Satwant/java/pacman/
    Id also be very gratful for some advice - id like a change in career, ive always wanted to get into gaming, ive had some previous knowledge in java i made a programme that could generate its own poetry in java for my dissatation, but i still never had a huge amount of confidence, and so went into websites.
    BUT now i have decided to take the leap back into programming and give it a go, which is why ive made this game.
    I thought id make a portfolio and try and apply for a few gaming jobs. This applet took me two weeks to make and it was in my spare time, i am fully aware its not perfect, and it doesnt look great, but i would like to know what people think of it, also how many more games do you think i should make, before i apply for gaming jobs? Does anyone have any advice on what would make a good portfolio for a java gaming job?
    Thanks alot, i look forward to what you think of the game, and your advice!
    SSKenth

    sskenth wrote:
    Thanks for getting back to me with that information, i didnt know you could see that information with just a simple right click!
    But im afraid that doesnt really help me solve the problem, im not sure what all of that information means! :SI have very little experience with applets, but I can tell you what I would do to debug this (forgive me if you already know this stuff).
    Look at the stack trace you get in the Java Console that I posted earlier. Each line contains a method that was called from the method on the previous line. So, java.lang.Thread.run() called sun.applet.AppletPanel.run(), which called Room.init(), etc. Look at the topmost line whose method is something you wrote, not something in the standard Java libraries. In your case it looks like PaintSurface.java (specifically, line 22). Look at what line 22 of PaintSurface.java is doing, it's calling Thread.start(). If you check out the Javadoc for Thread.start(), it says IllegalThreadStateException gets thrown if you call start() on a thread that has already started. So that's your problem. Without looking at your code, I'd assume you want to stop your thread in your applet's destroy() override, and instead of reusing it, create a new one each time init() is called.
    Ill try and look into, thanks again though, it gives me somthing to work with :D
    Btw when you first ran the applet, did all the ghosts(3) load up correctly?Unfortunately, no. The first time I ran it, there was only 1 ghost (or maybe all 3 overlapping each other?) at the top of the screen, and they never moved. Refreshing once made the game play as I think you want it to. Refreshing a third time gave the dreaded red X.
    ...oh and just out of curiosity,,, did u have fun playing the game :DSure did.

  • [Solved] Problem with upgrading polkit or filesystem

    Ok so first off they do "upgrade" but the problem has me worried that something is wrong.
    A week or so ago after converting to systemd I tried getting rid of ConsoleKit and installing polkit 0.107 from the [testing] repo but it caused pacman to get stuck at "(1/1) upgrading polkit"  So I tried that a couple of times but I could never get pacman to finish and get past that.  I had to control + c to get out of that then type exit in the console (no text was visible that I typed however but typing exit + enter worked for closing it).  So I then opened a new terminal and downgraded polkit back to 0.105 and waited for polkit to get pushed from testing to see if it would fix my issue.  Fast forward to today and I go to upgrade my system.  Among the 83 updates or so was polkit and filesystem.  What do you know it gets stuck at "(15/83) upgrading polkit".  Fuck so I control + c, open new terminal and then do the upgrade again and it continues to update but this time it gets stuck doing the same thing for filesystem.  I control + c, open new terminal and continue the upgrade until it finishes, which it does this time, and I reboot.
    I tried re-installing polkit again and filesystem again but they continue to get stuck.  I cannot "complete" the upgrade even though they show the appropriate version when I check.
    Terminal
    [507] shauder@arch-desktop [~] $ sudo pacman -S polkit
    warning: polkit-0.107-4 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): polkit-0.107-4
    Total Installed Size: 1.77 MiB
    Net Upgrade Size: 0.00 MiB
    Proceed with installation? [Y/n]
    (1/1) checking package integrity [########################################################] 100%
    (1/1) loading package files [########################################################] 100%
    (1/1) checking for file conflicts [########################################################] 100%
    (1/1) checking available disk space [########################################################] 100%
    (1/1) upgrading polkit
    /var/log/pacman.log
    [2012-07-18 18:27] installed filesystem (2012.6-4)
    [2012-07-18 18:27] installed findutils (4.4.2-4)
    [2012-07-18 18:27] installed gawk (4.0.1-1)
    [2012-07-18 18:27] installed gettext (0.18.1.1-4)
    [2012-07-18 18:27] installed grep (2.13-2)
    [2012-07-18 18:27] installed sed (4.2.1-4)
    [2012-07-18 18:27] installed grub (0.97-21)
    [2012-07-18 18:27] installed gzip (1.5-1)
    [2012-07-18 18:27] installed gdbm (1.10-1)
    [2012-07-18 18:27] installed perl (5.16.0-2)
    [2012-07-18 18:27] installed openssl (1.0.1.c-1)
    [2012-07-18 18:27] installed libsasl (2.1.23-9)
    [2012-07-18 18:27] installed libldap (2.4.31-4)
    [2012-07-18 18:27] installed keyutils (1.5.5-3)
    [2012-07-18 18:27] installed krb5 (1.10.2-2)
    [2012-07-18 18:27] installed heirloom-mailx (12.5-3)
    [2012-07-18 18:27] installed inetutils (1.9.1-2)
    [2012-07-18 18:27] installed iproute2 (3.4.0-2)
    [2012-07-18 18:27] installed sysvinit (2.88-6)
    [2012-07-18 18:27] installed initscripts (2012.06.3-2)
    [2012-07-18 18:27] installed sysfsutils (2.1.0-8)
    [2012-07-18 18:27] >> Traceroute is now provided by core/traceroute
    [2012-07-18 18:27] installed iputils (20101006-4)
    [2012-07-18 18:27] installed jfsutils (1.1.15-3)
    [2012-07-18 18:27] installed less (444-3)
    [2012-07-18 18:27] installed licenses (2.9-1)
    [2012-07-18 18:27] installed linux-firmware (20120625-1)
    [2012-07-18 18:27] installed mkinitcpio-busybox (1.20.1-1)
    [2012-07-18 18:27] installed expat (2.1.0-1)
    [2012-07-18 18:27] installed libarchive (3.0.4-1)
    [2012-07-18 18:27] installed mkinitcpio (0.9.2-2)
    [2012-07-18 18:27] >>> Updating module dependencies. Please wait ...
    [2012-07-18 18:27] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2012-07-18 18:27] ==> Building image from preset: 'default'
    [2012-07-18 18:27] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2012-07-18 18:27] ==> Starting build: 3.4.5-1-ARCH
    [2012-07-18 18:27] -> Running build hook: [base]
    [2012-07-18 18:27] -> Running build hook: [udev]
    [2012-07-18 18:27] -> Running build hook: [autodetect]
    [2012-07-18 18:27] -> Running build hook: [pata]
    [2012-07-18 18:27] -> Running build hook: [scsi]
    [2012-07-18 18:27] -> Running build hook: [sata]
    [2012-07-18 18:27] -> Running build hook: [filesystems]
    [2012-07-18 18:27] -> Running build hook: [usbinput]
    [2012-07-18 18:27] -> Running build hook: [fsck]
    [2012-07-18 18:27] ==> Generating module dependencies
    [2012-07-18 18:27] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2012-07-18 18:27] bsdcpio: Failed to set default locale
    [2012-07-18 18:27] ==> Image generation successful
    [2012-07-18 18:27] ==> Building image from preset: 'fallback'
    [2012-07-18 18:27] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2012-07-18 18:27] ==> Starting build: 3.4.5-1-ARCH
    [2012-07-18 18:27] -> Running build hook: [base]
    [2012-07-18 18:27] -> Running build hook: [udev]
    [2012-07-18 18:27] -> Running build hook: [pata]
    [2012-07-18 18:27] -> Running build hook: [scsi]
    [2012-07-18 18:27] -> Running build hook: [sata]
    [2012-07-18 18:27] -> Running build hook: [filesystems]
    [2012-07-18 18:27] -> Running build hook: [usbinput]
    [2012-07-18 18:27] -> Running build hook: [fsck]
    [2012-07-18 18:27] ==> Generating module dependencies
    [2012-07-18 18:27] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2012-07-18 18:27] bsdcpio: Failed to set default locale
    [2012-07-18 18:27] ==> Image generation successful
    [2012-07-18 18:27] installed linux (3.4.5-1)
    [2012-07-18 18:27] installed logrotate (3.8.1-2)
    [2012-07-18 18:27] installed lvm2 (2.02.96-3)
    [2012-07-18 18:27] installed texinfo (4.13a-7)
    [2012-07-18 18:27] installed groff (1.21-2)
    [2012-07-18 18:27] installed libpipeline (1.2.1-1)
    [2012-07-18 18:27] it's recommended to create an initial
    [2012-07-18 18:27] database running as root:
    [2012-07-18 18:27] "/usr/bin/mandb --quiet"
    [2012-07-18 18:27] installed man-db (2.6.2-1)
    [2012-07-18 18:27] installed man-pages (3.41-1)
    [2012-07-18 18:27] installed mdadm (3.2.5-2)
    [2012-07-18 18:27] installed nano (2.2.6-2)
    [2012-07-18 18:27] installed ca-certificates (20120623-1)
    [2012-07-18 18:27] installed libssh2 (1.4.2-1)
    [2012-07-18 18:27] installed curl (7.26.0-1)
    [2012-07-18 18:27] installed pth (2.0.7-4)
    [2012-07-18 18:27] installed libksba (1.2.0-2)
    [2012-07-18 18:27] installed libassuan (2.0.3-1)
    [2012-07-18 18:27] installed pinentry (0.8.1-4)
    [2012-07-18 18:27] installed dirmngr (1.1.0-4)
    [2012-07-18 18:27] installed gnupg (2.0.19-2)
    [2012-07-18 18:27] installed gpgme (1.3.1-4)
    [2012-07-18 18:27] installed pacman-mirrorlist (20120626-1)
    [2012-07-18 18:27] installed archlinux-keyring (20120622-1)
    [2012-07-18 18:27] >>> Run `pacman-key --init; pacman-key --populate archlinux`
    [2012-07-18 18:27] >>> to import the data required by pacman for package verification.
    [2012-07-18 18:27] >>> See: https://www.archlinux.org/news/having-pacman-verify-packages
    [2012-07-18 18:27] installed pacman (4.0.3-3)
    [2012-07-18 18:27] installed pciutils (3.1.10-1)
    [2012-07-18 18:27] installed pcmciautils (018-4)
    [2012-07-18 18:27] installed libnl (3.2.11-1)
    [2012-07-18 18:27] installed libusbx (1.0.12-2)
    [2012-07-18 18:27] installed libpcap (1.3.0-1)
    [2012-07-18 18:27] installed ppp (2.4.5-3)
    [2012-07-18 18:27] installed procps-ng (3.3.3-3)
    [2012-07-18 18:27] installed psmisc (22.19-1)
    [2012-07-18 18:27] installed reiserfsprogs (3.6.21-4)
    [2012-07-18 18:27] installed shadow (4.1.5.1-1)
    [2012-07-18 18:27] installed eventlog (0.2.12-3)
    [2012-07-18 18:27] installed syslog-ng (3.3.5-2)
    [2012-07-18 18:27] installed tar (1.26-2)
    [2012-07-18 18:27] installed usbutils (006-1)
    [2012-07-18 18:27] installed vi (1:050325-2)
    [2012-07-18 18:27] installed wget (1.13.4-1)
    [2012-07-18 18:27] installed which (2.20-5)
    [2012-07-18 18:27] installed dbus-core (1.6.2-2)
    [2012-07-18 18:27] installed wpa_supplicant (1.0-1)
    [2012-07-18 18:27] installed xfsprogs (3.1.8-2)
    [2012-07-18 18:27] installed m4 (1.4.16-2)
    [2012-07-18 18:27] installed autoconf (2.69-1)
    [2012-07-18 18:27] installed automake (1.12.2-1)
    [2012-07-18 18:27] installed binutils (2.22-9)
    [2012-07-18 18:27] installed bison (2.5.1-1)
    [2012-07-18 18:27] installed fakeroot (1.18.4-1)
    [2012-07-18 18:27] installed flex (2.5.35-5)
    [2012-07-18 18:27] installed mpfr (3.1.1-1)
    [2012-07-18 18:27] installed libmpc (0.9-2)
    [2012-07-18 18:27] installed isl (0.10-1)
    [2012-07-18 18:27] installed cloog (0.17.0-2)
    [2012-07-18 18:27] installed ppl (1.0-1)
    [2012-07-18 18:27] installed gcc (4.7.1-4)
    [2012-07-18 18:27] installed libltdl (2.4.2-6)
    [2012-07-18 18:27] installed libtool (2.4.2-6)
    [2012-07-18 18:27] installed make (3.82-4)
    [2012-07-18 18:27] installed patch (2.6.1-3)
    [2012-07-18 18:27] installed pkg-config (0.27-1)
    [2012-07-18 18:37] Running 'pacman -Syy'
    [2012-07-18 18:37] synchronizing package lists
    [2012-07-18 18:38] Running 'pacman -Syy'
    [2012-07-18 18:38] synchronizing package lists
    [2012-07-18 18:39] Running 'pacman -S sudo'
    [2012-07-18 18:43] Running 'pacman -S sudo'
    [2012-07-18 18:44] Running 'pacman -S sudo'
    [2012-07-18 18:44] installed sudo (1.8.5.p2-1)
    [2012-07-18 18:45] Running 'pacman -S alsa-utils'
    [2012-07-18 18:46] installed alsa-lib (1.0.25-1)
    [2012-07-18 18:46] installed dialog (1.1_20120706-1)
    [2012-07-18 18:46] installed libogg (1.3.0-1)
    [2012-07-18 18:46] installed flac (1.2.1-3)
    [2012-07-18 18:46] installed libvorbis (1.3.3-1)
    [2012-07-18 18:46] installed libsndfile (1.0.25-2)
    [2012-07-18 18:46] installed libsamplerate (0.1.8-1)
    [2012-07-18 18:46] installed alsa-utils (1.0.25-3)
    [2012-07-18 18:46] Running 'pacman -S alsa-plugins'
    [2012-07-18 18:46] installed alsa-plugins (1.0.25-2)
    [2012-07-18 18:48] Running 'pacman -S xorg-server xorg-xinit xorg-server-utils'
    [2012-07-18 18:48] installed xproto (7.0.23-1)
    [2012-07-18 18:48] installed libxdmcp (1.1.1-1)
    [2012-07-18 18:48] installed freetype2 (2.4.10-1)
    [2012-07-18 18:48] installed libfontenc (1.1.1-1)
    [2012-07-18 18:48] installed fontsproto (2.1.2-1)
    [2012-07-18 18:48] installed libxfont (1.4.5-1)
    [2012-07-18 18:48] installed libpciaccess (0.13.1-1)
    [2012-07-18 18:48] installed libdrm (2.4.37-1)
    [2012-07-18 18:48] installed pixman (0.26.2-1)
    [2012-07-18 18:48] installed libxau (1.0.7-1)
    [2012-07-18 18:48] installed xcb-proto (1.7.1-1)
    [2012-07-18 18:48] installed libxcb (1.8.1-1)
    [2012-07-18 18:48] installed kbproto (1.0.6-1)
    [2012-07-18 18:48] installed libx11 (1.5.0-1)
    [2012-07-18 18:48] installed libxkbfile (1.0.8-1)
    [2012-07-18 18:48] installed xorg-xkbcomp (1.2.4-1)
    [2012-07-18 18:48] installed xkeyboard-config (2.6-1)
    [2012-07-18 18:48] installed xorg-setxkbmap (1.3.0-1)
    [2012-07-18 18:48] installed xorg-fonts-encodings (1.0.4-3)
    [2012-07-18 18:48] installed xorg-fonts-alias (1.0.2-2)
    [2012-07-18 18:48] installed xorg-bdftopcf (1.0.3-2)
    [2012-07-18 18:48] installed xorg-mkfontscale (1.1.0-1)
    [2012-07-18 18:48] installed xorg-mkfontdir (1.0.7-1)
    [2012-07-18 18:48] installed xorg-font-util (1.3.0-1)
    [2012-07-18 18:48] installed xorg-font-utils (7.6-3)
    [2012-07-18 18:48] updating font cache... done.
    [2012-07-18 18:48] installed fontconfig (2.8.0-2)
    [2012-07-18 18:49] Updating font cache... done.
    [2012-07-18 18:49] installed xorg-fonts-misc (1.0.1-2)
    [2012-07-18 18:49] installed xorg-server-common (1.12.3-1)
    [2012-07-18 18:49] installed xf86-input-evdev (2.7.0-2)
    [2012-07-18 18:49] installed xorg-server (1.12.3-1)
    [2012-07-18 18:49] installed xextproto (7.2.1-1)
    [2012-07-18 18:49] installed libxext (1.3.1-1)
    [2012-07-18 18:49] installed libice (1.0.8-1)
    [2012-07-18 18:49] installed libsm (1.2.1-1)
    [2012-07-18 18:49] installed libxt (1.1.3-1)
    [2012-07-18 18:49] installed libxmu (1.1.1-1)
    [2012-07-18 18:49] installed xorg-xauth (1.0.7-1)
    [2012-07-18 18:49] installed xorg-xinit (1.3.2-1)
    [2012-07-18 18:49] installed xorg-iceauth (1.0.5-1)
    [2012-07-18 18:49] installed xorg-sessreg (1.0.7-1)
    [2012-07-18 18:49] installed xorg-xcmsdb (1.0.4-1)
    [2012-07-18 18:49] installed renderproto (0.11.1-2)
    [2012-07-18 18:49] installed libxrender (0.9.7-1)
    [2012-07-18 18:49] installed randrproto (1.3.2-2)
    [2012-07-18 18:49] installed libxrandr (1.3.2-2)
    [2012-07-18 18:49] installed xorg-xbacklight (1.1.2-3)
    [2012-07-18 18:49] installed xf86vidmodeproto (2.3.1-2)
    [2012-07-18 18:49] installed libxxf86vm (1.1.2-1)
    [2012-07-18 18:49] installed xorg-xgamma (1.0.5-1)
    [2012-07-18 18:49] installed xorg-xhost (1.0.5-1)
    [2012-07-18 18:49] installed xorg-xrandr (1.3.5-1)
    [2012-07-18 18:49] installed inputproto (2.2-1)
    [2012-07-18 18:49] installed libxi (1.6.1-1)
    [2012-07-18 18:49] installed xineramaproto (1.2.1-2)
    [2012-07-18 18:49] installed libxinerama (1.1.2-1)
    [2012-07-18 18:49] installed xorg-xinput (1.6.0-1)
    [2012-07-18 18:49] installed xorg-xmodmap (1.0.7-1)
    [2012-07-18 18:49] installed mcpp (2.7.2-4)
    [2012-07-18 18:49] installed xorg-xrdb (1.0.9-2)
    [2012-07-18 18:49] installed xorg-xrefresh (1.0.4-3)
    [2012-07-18 18:49] installed xorg-xset (1.2.2-1)
    [2012-07-18 18:49] installed fixesproto (5.0-2)
    [2012-07-18 18:49] installed libxfixes (5.0-2)
    [2012-07-18 18:49] installed libxcursor (1.1.13-1)
    [2012-07-18 18:49] installed xorg-xsetroot (1.1.0-3)
    [2012-07-18 18:49] installed xorg-server-utils (7.6-3)
    [2012-07-18 18:50] Running 'pacman -S nvidia nvidia-utils'
    [2012-07-18 18:50] Running 'pacman -S nvidia nvidia-utils lib32-nvidia-utils'
    [2012-07-18 18:51] installed videoproto (2.3.1-2)
    [2012-07-18 18:51] installed libxv (1.0.7-1)
    [2012-07-18 18:51] installed libxvmc (1.0.7-1)
    [2012-07-18 18:51] installed nvidia-utils (302.17-1)
    [2012-07-18 18:51] In order to use nvidia module, reboot the system.
    [2012-07-18 18:51] installed nvidia (302.17-3)
    [2012-07-18 18:51] installed lib32-glibc (2.16.0-2)
    [2012-07-18 18:51] installed lib32-libxdmcp (1.1.1-1)
    [2012-07-18 18:51] installed lib32-libxau (1.0.7-1)
    [2012-07-18 18:51] installed lib32-libxcb (1.8.1-2)
    [2012-07-18 18:51] installed lib32-libx11 (1.5.0-1)
    [2012-07-18 18:51] installed lib32-libxext (1.3.1-1)
    [2012-07-18 18:51] installed lib32-libxv (1.0.7-1)
    [2012-07-18 18:51] installed lib32-libxvmc (1.0.7-1)
    [2012-07-18 18:51] installed lib32-zlib (1.2.7-1)
    [2012-07-18 18:51] installed lib32-gcc-libs (4.7.1-4.1)
    [2012-07-18 18:51] installed lib32-nvidia-utils (302.17-1)
    [2012-07-18 18:55] Running 'pacman -S xorg-twm xorg-xclock xterm'
    [2012-07-18 18:55] installed xorg-twm (1.0.7-1)
    [2012-07-18 18:55] installed libxpm (3.5.10-1)
    [2012-07-18 18:55] installed libxaw (1.0.11-1)
    [2012-07-18 18:55] installed libxft (2.3.1-1)
    [2012-07-18 18:55] installed xorg-xclock (1.0.6-1)
    [2012-07-18 18:55] installed xorg-luit (1.1.1-1)
    [2012-07-18 18:55] installed xbitmaps (1.1.1-2)
    [2012-07-18 18:55] installed xterm (281-1)
    [2012-07-18 18:55] Running 'pacman -S dbus'
    [2012-07-18 18:55] installed dbus (1.6.2-1)
    [2012-07-18 18:56] Running 'pacman -S ttf-dejavu'
    [2012-07-18 18:56] installed ttf-dejavu (2.33-3)
    [2012-07-18 18:57] Running 'pacman -S awesome'
    [2012-07-18 18:57] installed libpng (1.5.11-1)
    [2012-07-18 18:57] installed cairo (1.12.2-2)
    [2012-07-18 18:57] installed libjpeg-turbo (1.2.1-1)
    [2012-07-18 18:57] installed libtiff (4.0.2-1)
    [2012-07-18 18:57] installed giflib (4.1.6-5)
    [2012-07-18 18:57] installed libid3tag (0.15.1b-7)
    [2012-07-18 18:57] installed imlib2 (1.4.5-2)
    [2012-07-18 18:57] installed libev (4.11-1)
    [2012-07-18 18:57] installed libxdg-basedir (1.2.0-1)
    [2012-07-18 18:57] installed lua (5.1.5-2)
    [2012-07-18 18:57] installed libdatrie (0.2.5-1)
    [2012-07-18 18:57] installed libthai (0.1.17-1)
    [2012-07-18 18:57] installed pango (1.30.1-1)
    [2012-07-18 18:57] installed xcb-util (0.3.9-1)
    [2012-07-18 18:57] installed startup-notification (0.12-3)
    [2012-07-18 18:57] installed xcb-util-image (0.3.9-1)
    [2012-07-18 18:57] installed xcb-util-keysyms (0.3.9-1)
    [2012-07-18 18:57] installed xcb-util-wm (0.3.9-1)
    [2012-07-18 18:57] installed xorg-xmessage (1.0.3-2)
    [2012-07-18 18:57] installed awesome (3.4.13-1)
    [2012-07-18 18:58] Running 'pacman -S rlwrap feh'
    [2012-07-18 18:58] installed rlwrap (0.37-2)
    [2012-07-18 18:58] installed giblib (1.2.4-5)
    [2012-07-18 18:58] installed libexif (0.6.20-2)
    [2012-07-18 18:58] installed feh (2.5-1)
    [2012-07-18 18:59] Running 'pacman -S packer'
    [2012-07-18 18:59] Running 'pacman -S lightdm'
    [2012-07-18 19:01] Running 'pacman -S fakeroot'
    [2012-07-18 19:01] upgraded fakeroot (1.18.4-1 -> 1.18.4-1)
    [2012-07-18 19:08] Running 'pacman -S git'
    [2012-07-18 19:08] installed perl-error (0.17018-1)
    [2012-07-18 19:08] installed git (1.7.11.2-1)
    [2012-07-18 19:08] Running 'pacman -S jshon'
    [2012-07-18 19:08] installed jansson (2.3-1)
    [2012-07-18 19:08] installed jshon (20111222-1)
    [2012-07-18 19:08] Running 'pacman -U packer-20120718-1-any.pkg.tar.xz'
    [2012-07-18 19:08] installed packer (20120718-1)
    [2012-07-18 19:10] Running 'pacman --noconfirm --asdeps -S -- accountsservice dbus-glib gobject-introspection intltool itstool libxklavier'
    [2012-07-18 19:10] installed polkit (0.105-1)
    [2012-07-18 19:10] installed accountsservice (0.6.22-1)
    [2012-07-18 19:10] installed dbus-glib (0.100-1)
    [2012-07-18 19:10] installed sqlite (3.7.13-1)
    [2012-07-18 19:10] installed python2 (2.7.3-2)
    [2012-07-18 19:10] installed gobject-introspection (1.32.1-2)
    [2012-07-18 19:10] installed perl-xml-parser (2.41-3)
    [2012-07-18 19:10] installed intltool (0.50.2-1)
    [2012-07-18 19:10] installed libxml2 (2.7.8-2)
    [2012-07-18 19:10] installed itstool (1.1.2-1)
    [2012-07-18 19:10] installed iso-codes (3.34-1)
    [2012-07-18 19:10] installed libxklavier (5.2.1-2)
    [2012-07-18 19:13] Running 'pacman -U lightdm-1.3.1-4-x86_64.pkg.tar.xz'
    [2012-07-18 19:14] You need to install lightdm-gtk-greeter to run the default and most stable greeter
    [2012-07-18 19:14] installed lightdm (1.3.1-4)
    [2012-07-18 19:14] Running 'pacman --noconfirm --asdeps -S -- archlinux-wallpaper bzr gnome-common gnome-doc-utils gtk-doc gtk-engines libwebkit vala'
    [2012-07-18 19:15] ==> Wallpapers have been installed to /usr/share/archlinux/wallpaper
    [2012-07-18 19:15] installed archlinux-wallpaper (1.4-1)
    [2012-07-18 19:15] installed bzr (2.5.1-1)
    [2012-07-18 19:15] installed gnome-common (3.4.0.1-2)
    [2012-07-18 19:15] installed libxslt (1.1.26-3)
    [2012-07-18 19:15] installed docbook-xml (4.5-5)
    [2012-07-18 19:15] installed rarian (0.8.1-2)
    [2012-07-18 19:15] installed gnome-doc-utils (0.20.10-1)
    [2012-07-18 19:15] installed docbook-xsl (1.77.1-2)
    [2012-07-18 19:15] installed gtk-doc (1.18-1)
    [2012-07-18 19:15] installed atk (2.4.0-1)
    [2012-07-18 19:15] installed compositeproto (0.4.2-2)
    [2012-07-18 19:15] installed libxcomposite (0.4.3-2)
    [2012-07-18 19:15] installed damageproto (1.2.1-2)
    [2012-07-18 19:15] installed libxdamage (1.1.3-2)
    [2012-07-18 19:15] installed shared-mime-info (1.0-1)
    [2012-07-18 19:15] installed libtasn1 (2.13-1)
    [2012-07-18 19:15] installed nettle (2.5-1)
    [2012-07-18 19:15] installed p11-kit (0.12-1)
    [2012-07-18 19:15] installed gnutls (3.0.21-1)
    [2012-07-18 19:15] installed libdaemon (0.14-2)
    [2012-07-18 19:15] ==> The following daemons may be added to DAEMONS in /etc/rc.conf:
    [2012-07-18 19:15] ==> avahi-daemon: the mdns responder, you probably want this.
    [2012-07-18 19:15] ==> dbus needs to be running when you start it.
    [2012-07-18 19:15] ==> avahi-dnsconfd: daemon used for peer-to-peer automatic dns
    [2012-07-18 19:15] ==> configuration on dhcp-less networks.
    [2012-07-18 19:15]
    [2012-07-18 19:15] ==> To use some of the client applications you will have to install python.
    [2012-07-18 19:15] ==> In addition, pygtk is required for the graphical ones and
    [2012-07-18 19:15] ==> twisted for avahi-bookmarks.
    [2012-07-18 19:15] installed avahi (0.6.31-3)
    [2012-07-18 19:15] installed libcups (1.5.3-5)
    [2012-07-18 19:15] installed gdk-pixbuf2 (2.26.1-1)
    [2012-07-18 19:15] installed gtk-update-icon-cache (2.24.10-3)
    [2012-07-18 19:15] installed gtk2 (2.24.10-3)
    [2012-07-18 19:15] installed gtk-engines (2.21.0-1)
    [2012-07-18 19:15] installed icu (49.1.2-1)
    [2012-07-18 19:15] installed gstreamer0.10 (0.10.36-1)
    [2012-07-18 19:15] installed orc (0.4.16-1)
    [2012-07-18 19:15] installed gstreamer0.10-base (0.10.36-1)
    [2012-07-18 19:15] installed libproxy (0.4.7-2)
    [2012-07-18 19:15] installed gsettings-desktop-schemas (3.4.2-1)
    [2012-07-18 19:15] installed glib-networking (2.32.3-1)
    [2012-07-18 19:15] installed libsoup (2.38.1-1)
    [2012-07-18 19:15] ==> aspell comes with no default dictionary
    [2012-07-18 19:15] installed aspell (0.60.6.1-1)
    [2012-07-18 19:15] installed hunspell (1.3.2-1)
    [2012-07-18 19:15] installed hspell (1.1-2)
    [2012-07-18 19:15] installed enchant (1.6.0-4)
    [2012-07-18 19:15] installed geoclue (0.12.0-5)
    [2012-07-18 19:15] installed libwebkit (1.8.1-1)
    [2012-07-18 19:15] installed vala (0.16.1-1)
    [2012-07-18 19:16] Running 'pacman -U lightdm-webkit-greeter-bzr-13-3-x86_64.pkg.tar.xz'
    [2012-07-18 19:16] Running 'pacman -U lightdm-webkit-greeter-0.1.2-3-x86_64.pkg.tar.xz'
    [2012-07-18 19:16] installed lightdm-webkit-greeter (0.1.2-3)
    [2012-07-18 19:47] Running 'pacman -R lightdm'
    [2012-07-18 19:48] Running 'pacman -R lightdm-webkit-greeter lightdm accountsservice dbus-glib libxklavier'
    [2012-07-18 19:48] Running 'pacman -R lightdm-webkit-greeter lightdm accountsservice enchant geoclue dbus-glib libxklavier'
    [2012-07-18 19:48] Running 'pacman -R lightdm-webkit-greeter lightdm accountsservice libwebkite enchant geoclue dbus-glib libxklavier'
    [2012-07-18 19:48] Running 'pacman -R lightdm-webkit-greeter lightdm accountsservice libwebkit enchant geoclue dbus-glib libxklavier'
    [2012-07-18 19:49] removed lightdm-webkit-greeter (0.1.2-3)
    [2012-07-18 19:49] removed libwebkit (1.8.1-1)
    [2012-07-18 19:49] removed geoclue (0.12.0-5)
    [2012-07-18 19:49] removed enchant (1.6.0-4)
    [2012-07-18 19:49] userdel: user lightdm is currently used by process 657
    [2012-07-18 19:49] groupdel: cannot remove the primary group of user 'lightdm'
    [2012-07-18 19:49] removed lightdm (1.3.1-4)
    [2012-07-18 19:49] removed libxklavier (5.2.1-2)
    [2012-07-18 19:49] removed dbus-glib (0.100-1)
    [2012-07-18 19:49] removed accountsservice (0.6.22-1)
    [2012-07-18 19:50] Running 'pacman -S chromium'
    [2012-07-18 19:50] installed dbus-glib (0.100-1)
    [2012-07-18 19:50] installed nspr (4.9.1-1)
    [2012-07-18 19:50] installed nss (3.13.5-1)
    [2012-07-18 19:50] installed xdg-utils (1.1.0-2.20120520)
    [2012-07-18 19:50] installed libevent (2.0.19-1)
    [2012-07-18 19:50] installed scrnsaverproto (1.2.2-1)
    [2012-07-18 19:50] installed libxss (1.2.2-1)
    [2012-07-18 19:50] installed desktop-file-utils (0.20-1)
    [2012-07-18 19:50] installed hicolor-icon-theme (0.12-2)
    [2012-07-18 19:50] installed chromium (20.0.1132.57-1)
    [2012-07-18 19:50] Running 'pacman -Sy abs'
    [2012-07-18 19:50] synchronizing package lists
    [2012-07-18 19:51] installed rsync (3.0.9-3)
    [2012-07-18 19:51] installed abs (2.4.3-2)
    [2012-07-18 19:52] Running 'pacman -S openjdk6 perl git gnupg flex bison gperf zip unzip wxgtk squashfs-tools ncurses libpng zlib libusb libusb-compat readline'
    [2012-07-18 19:53] installed ca-certificates-java (20120608-1)
    [2012-07-18 19:53] installed recordproto (1.14.2-1)
    [2012-07-18 19:53] installed libxtst (1.2.1-1)
    [2012-07-18 19:53] upgraded zlib (1.2.7-1 -> 1.2.7-1)
    [2012-07-18 19:53] upgraded libpng (1.5.11-1 -> 1.5.11-1)
    [2012-07-18 19:53] Warning: there was a problem reading the certificate file /etc/ssl/certs/NetLock_Arany_=Class_Gold=_F?tan?s?tv?ny.pem. Message:
    [2012-07-18 19:53] /etc/ssl/certs/NetLock_Arany_=Class_Gold=_F?tan?s?tv?ny.pem (No such file or directory)
    [2012-07-18 19:53] Warning: there was a problem reading the certificate file /etc/ssl/certs/AC_Ra?z_Certic?mara_S.A..pem. Message:
    [2012-07-18 19:53] /etc/ssl/certs/AC_Ra?z_Certic?mara_S.A..pem (No such file or directory)
    [2012-07-18 19:53] Warning: there was a problem reading the certificate file /etc/ssl/certs/Certinomis_-_Autorit?_Racine.pem. Message:
    [2012-07-18 19:53] /etc/ssl/certs/Certinomis_-_Autorit?_Racine.pem (No such file or directory)
    [2012-07-18 19:53] Warning: there was a problem reading the certificate file /etc/ssl/certs/T?B?TAK_UEKAE_K?k_Sertifika_Hizmet_Sa?lay?c?s?_-_S?r?m_3.pem. Message:
    [2012-07-18 19:53] /etc/ssl/certs/T?B?TAK_UEKAE_K?k_Sertifika_Hizmet_Sa?lay?c?s?_-_S?r?m_3.pem (No such file or directory)
    [2012-07-18 19:53] Warning: there was a problem reading the certificate file /etc/ssl/certs/EBG_Elektronik_Sertifika_Hizmet_Sa?lay?c?s?.pem. Message:
    [2012-07-18 19:53] /etc/ssl/certs/EBG_Elektronik_Sertifika_Hizmet_Sa?lay?c?s?.pem (No such file or directory)
    [2012-07-18 19:53] done.
    [2012-07-18 19:53] when you use a non-reparenting window manager
    [2012-07-18 19:53] set _JAVA_AWT_WM_NONREPARENTING=1 in
    [2012-07-18 19:53] /etc/profile.d/openjdk6.sh
    [2012-07-18 19:53] installed openjdk6 (6.b24_1.11.3-1)
    [2012-07-18 19:53] upgraded perl (5.16.0-2 -> 5.16.0-2)
    [2012-07-18 19:53] upgraded git (1.7.11.2-1 -> 1.7.11.2-1)
    [2012-07-18 19:53] upgraded ncurses (5.9-3 -> 5.9-3)
    [2012-07-18 19:53] upgraded readline (6.2.003-2 -> 6.2.003-2)
    [2012-07-18 19:53] upgraded gnupg (2.0.19-2 -> 2.0.19-2)
    [2012-07-18 19:53] upgraded flex (2.5.35-5 -> 2.5.35-5)
    [2012-07-18 19:53] upgraded bison (2.5.1-1 -> 2.5.1-1)
    [2012-07-18 19:53] installed gperf (3.0.4-4)
    [2012-07-18 19:53] installed zip (3.0-3)
    [2012-07-18 19:53] installed unzip (6.0-6)
    [2012-07-18 19:53] installed wxgtk (2.8.12.1-3)
    [2012-07-18 19:53] installed lzo2 (2.06-1)
    [2012-07-18 19:53] installed squashfs-tools (4.2-2)
    [2012-07-18 19:53] upgraded libusbx (1.0.12-2 -> 1.0.12-2)
    [2012-07-18 19:53] installed libusb-compat (0.1.4-2)
    [2012-07-18 19:53] Running 'pacman -S -- esdl schedtool'
    [2012-07-18 19:54] installed erlang (R15B01-1)
    [2012-07-18 19:54] installed sdl (1.2.15-1)
    [2012-07-18 19:54] installed dri2proto (2.6-1)
    [2012-07-18 19:54] installed glproto (1.4.15-1)
    [2012-07-18 19:54] installed mesa (8.0.4-1)
    [2012-07-18 19:54] installed esdl (2:1.2-1)
    [2012-07-18 19:54] installed schedtool (1.3.0-2)
    [2012-07-18 19:55] Running 'pacman -U pngcrush-1.7.31-1-x86_64.pkg.tar.xz'
    [2012-07-18 19:55] installed pngcrush (1.7.31-1)
    [2012-07-18 19:55] Running 'pacman -U repo-1.17-1-x86_64.pkg.tar.xz'
    [2012-07-18 19:55] installed repo (1.17-1)
    [2012-07-18 19:59] Running 'pacman -S terminator'
    [2012-07-18 19:59] installed vte-common (0.32.2-1)
    [2012-07-18 19:59] installed vte (0.28.2-3)
    [2012-07-18 19:59] installed libglade (2.6.4-3)
    [2012-07-18 19:59] installed python2-cairo (1.10.0-1)
    [2012-07-18 19:59] installed pygobject2-devel (2.28.6-6)
    [2012-07-18 19:59] installed python2-gobject2 (2.28.6-6)
    [2012-07-18 19:59] installed pygtk (2.24.0-3)
    [2012-07-18 19:59] installed terminator (0.96-1)
    [2012-07-18 20:00] Running 'pacman -Sy gcc-multilib gcc-libs-multilib binutils-multilib libtool-multilib lib32-libusb lib32-libusb-compat lib32-readline lib32-glibc lib32-zlib'
    [2012-07-18 20:00] synchronizing package lists
    [2012-07-18 20:00] Running 'pacman -Sy gcc-multilib gcc-libs-multilib binutils-multilib libtool-multilib lib32-libusb-compat lib32-readline lib32-glibc lib32-zlib'
    [2012-07-18 20:00] synchronizing package lists
    [2012-07-18 20:00] Running 'pacman -Sy gcc-multilib gcc-libs-multilib binutils-multilib libtool-multilib lib32-readline lib32-glibc lib32-zlib'
    [2012-07-18 20:00] synchronizing package lists
    [2012-07-18 20:01] removed gcc-libs (4.7.1-4)
    [2012-07-18 20:01] removed binutils (2.22-9)
    [2012-07-18 20:01] removed gcc (4.7.1-4)
    [2012-07-18 20:01] removed libtool (2.4.2-6)
    [2012-07-18 20:01] installed gcc-libs-multilib (4.7.1-4.1)
    [2012-07-18 20:01] installed binutils-multilib (2.22-8)
    [2012-07-18 20:01] installed gcc-multilib (4.7.1-4.1)
    [2012-07-18 20:01] upgraded lib32-glibc (2.16.0-2 -> 2.16.0-2)
    [2012-07-18 20:01] installed lib32-libltdl (2.4.2-6)
    [2012-07-18 20:01] installed libtool-multilib (2.4.2-6)
    [2012-07-18 20:01] installed lib32-ncurses (5.9-1)
    [2012-07-18 20:01] installed lib32-readline (6.2.003-1)
    [2012-07-18 20:01] upgraded lib32-zlib (1.2.7-1 -> 1.2.7-1)
    [2012-07-18 20:07] Running 'pacman -S ssh'
    [2012-07-18 20:10] Running 'pacman -S ssh-keygen'
    [2012-07-18 20:10] Running 'pacman -S openssh'
    [2012-07-18 20:10] installed libedit (20120311_3.0-1)
    [2012-07-18 20:10] installed dnssec-anchors (20120422-1)
    [2012-07-18 20:10] installed ldns (1.6.13-1)
    [2012-07-18 20:10] installed openssh (6.0p1-3)
    [2012-07-18 20:11] Running 'pacman -S pbcopy'
    [2012-07-18 20:11] Running 'pacman -S copy'
    [2012-07-18 20:13] Running 'pacman -S gedit'
    [2012-07-18 20:13] installed lcms2 (2.3-2)
    [2012-07-18 20:13] installed libgusb (0.1.3-1)
    [2012-07-18 20:13] installed gd (2.0.36RC1-5)
    [2012-07-18 20:13] installed libgphoto2 (2.4.14-1)
    [2012-07-18 20:13] installed libieee1284 (0.2.11-4)
    [2012-07-18 20:13] installed v4l-utils (0.8.8-1)
    [2012-07-18 20:13] installed net-snmp (5.7.1-3)
    [2012-07-18 20:13] NOTE
    [2012-07-18 20:13] ----
    [2012-07-18 20:13] Add your user to group 'scanner' to use scanner devices.
    [2012-07-18 20:13] installed sane (1.0.22-9)
    [2012-07-18 20:13] installed shared-color-profiles (0.1.5-1)
    [2012-07-18 20:13] installed colord (0.1.21-2)
    [2012-07-18 20:13] installed gtk3 (3.4.3-1)
    [2012-07-18 20:13] installed gtksourceview3 (3.4.2-1)
    [2012-07-18 20:13] installed libpeas (1.4.0-2)
    [2012-07-18 20:13] installed enchant (1.6.0-4)
    [2012-07-18 20:13] installed pygobject-devel (3.2.2-1)
    [2012-07-18 20:13] installed python2-gobject (3.2.2-1)
    [2012-07-18 20:13] installed dconf (0.12.1-2)
    [2012-07-18 20:13] installed gedit (3.4.2-1)
    [2012-07-18 20:15] Running 'pacman -S python'
    [2012-07-18 20:16] installed python (3.2.3-3)
    [2012-07-18 20:26] Running 'pacman -S xclip'
    [2012-07-18 20:26] installed xclip (0.12-3)
    [2012-07-18 20:37] Running 'pacman --noconfirm --asdeps -S -- lib32-alsa-lib lib32-libstdc++5 lib32-openal lib32-sdl swt'
    [2012-07-18 20:37] installed lib32-alsa-lib (1.0.25-1)
    [2012-07-18 20:37] installed lib32-libstdc++5 (3.3.6-6)
    [2012-07-18 20:37] installed openal (1.14-1)
    [2012-07-18 20:37] installed lib32-openal (1.14-1)
    [2012-07-18 20:37] installed lib32-libxrender (0.9.7-1)
    [2012-07-18 20:37] installed lib32-sdl (1.2.15-2)
    [2012-07-18 20:37] installed swt (3.7.2-1)
    [2012-07-18 20:45] Running 'pacman --asdeps -U android-sdk-r20-2-x86_64.pkg.tar.xz'
    [2012-07-18 20:50] You need to source /etc/profile or relogin to add the Android SDK tools to your path.
    [2012-07-18 20:50] The android group has been removed, install android packages as root.
    [2012-07-18 20:50] installed android-sdk (r20-2)
    [2012-07-18 20:51] Running 'pacman -U android-sdk-r20-2-x86_64.pkg.tar.xz'
    [2012-07-18 20:54] You need to source /etc/profile or relogin to add the Android SDK tools to your path.
    [2012-07-18 20:54] The android group has been removed, install android packages as root.
    [2012-07-18 20:54] upgraded android-sdk (r20-2 -> r20-2)
    [2012-07-18 20:59] Running 'pacman -U android-sdk-platform-tools-r12-1-any.pkg.tar.xz'
    [2012-07-18 20:59] installed android-sdk-platform-tools (r12-1)
    [2012-07-18 21:10] Running 'pacman -S perl-switch'
    [2012-07-18 21:10] installed perl-switch (2.16-1)
    [2012-07-21 03:29] Running 'pacman -S flashplugin'
    [2012-07-21 03:29] relogin or source /etc/profile.d/mozilla-common.sh
    [2012-07-21 03:29] installed mozilla-common (1.4-3)
    [2012-07-21 03:29] >>
    [2012-07-21 03:29] >> If you have an NVIDIA card that supports libvdpau or Broadcom Crystal HD chips,
    [2012-07-21 03:29] >> uncomment EnableLinuxHWVideoDecode=1 from /etc/adobe/mms.cfg.
    [2012-07-21 03:29] >> If you run into problems, please contact nVidia or Broadcom along with your system config info / driver version.
    [2012-07-21 03:29] >>
    [2012-07-21 03:29] installed flashplugin (11.2.202.236-1)
    [2012-07-21 03:32] Running 'pacman -S libvdpau'
    [2012-07-21 03:32] installed libvdpau (0.4.1-2)
    [2012-07-21 14:53] Running 'pacman -S gedit-common'
    [2012-07-21 14:55] Running 'pacman -S gtk-theme-switch2'
    [2012-07-21 14:56] installed gtk-theme-switch2 (2.1.0-2)
    [2012-07-21 15:00] Running 'pacman -S gtk-icons'
    [2012-07-21 15:04] Running 'pacman -R gtk-theme-switch2 gedit dconf desktop-file-utils enchant gsettings-desktop-schemas gtksourceview3 iso-codes libpeas libsm python2-gobject'
    [2012-07-21 15:06] Running 'pacman -R gtk-theme-switch2 gedit dconf enchant gtksourceview3 iso-codes libpeas python2-gobject'
    [2012-07-21 15:06] removed gedit (3.4.2-1)
    [2012-07-21 15:06] removed python2-gobject (3.2.2-1)
    [2012-07-21 15:06] removed libpeas (1.4.0-2)
    [2012-07-21 15:06] removed iso-codes (3.34-1)
    [2012-07-21 15:06] removed gtksourceview3 (3.4.2-1)
    [2012-07-21 15:06] removed enchant (1.6.0-4)
    [2012-07-21 15:06] removed dconf (0.12.1-2)
    [2012-07-21 15:06] removed gtk-theme-switch2 (2.1.0-2)
    [2012-07-21 15:06] Running 'pacman -R glib-networking gsettings-desktop-schemas'
    [2012-07-21 15:06] Running 'pacman -R libsoup glib-networking gsettings-desktop-schemas'
    [2012-07-21 15:06] removed libsoup (2.38.1-1)
    [2012-07-21 15:06] removed glib-networking (2.32.3-1)
    [2012-07-21 15:06] removed gsettings-desktop-schemas (3.4.2-1)
    [2012-07-21 15:07] Running 'pacman -R wxgtk'
    [2012-07-21 15:07] removed wxgtk (2.8.12.1-3)
    [2012-07-21 15:07] Running 'pacman -R libxt libsm'
    [2012-07-21 15:11] Running 'pacman -S ranger'
    [2012-07-21 15:11] installed ranger (1.5.4-1)
    [2012-07-21 15:32] Running 'pacman -S irssi'
    [2012-07-21 15:32] installed irssi (0.8.15-6)
    [2012-07-24 20:20] Running 'pacman -U sublime-text-2.0.1-1-x86_64.pkg.tar.xz'
    [2012-07-24 20:20] installed sublime-text (2.0.1-1)
    [2012-07-24 23:41] Running 'pacman -U dropbox-1.4.11-1-x86_64.pkg.tar.xz'
    [2012-07-24 23:41] installed dropbox (1.4.11-1)
    [2012-07-24 23:41] Running 'pacman -U dropbox-daemon-0.8-8-any.pkg.tar.xz'
    [2012-07-24 23:41] >> Configure the Dropbox daemon script by editing /etc/conf.d/dropboxd.conf
    [2012-07-24 23:41] installed dropbox-daemon (0.8-8)
    [2012-07-24 23:48] Running 'pacman -U dropbox-cli-1-12-x86_64.pkg.tar.xz'
    [2012-07-24 23:48] installed dropbox-cli (1-12)
    [2012-07-24 23:49] Running 'pacman -S nautilus'
    [2012-07-24 23:56] Running 'pacman -S ranger'
    [2012-07-24 23:57] upgraded ranger (1.5.4-1 -> 1.5.4-1)
    [2012-07-25 00:23] Running 'pacman --noconfirm --asdeps -S -- gconf qt qtwebkit'
    [2012-07-25 00:23] Running 'pacman --noconfirm --asdeps -S -- gconf qt qtwebkit'
    [2012-07-25 00:23] Running 'pacman -Sy'
    [2012-07-25 00:23] synchronizing package lists
    [2012-07-25 00:24] Running 'pacman --noconfirm --asdeps -S -- gconf qt qtwebkit'
    [2012-07-25 00:25] installed gconf (3.2.5-2)
    [2012-07-25 00:25] installed libmng (1.0.10-4)
    [2012-07-25 00:25] installed qt (4.8.2-3)
    [2012-07-25 00:25] installed qtwebkit (2.2.2-1)
    [2012-07-25 00:27] Running 'pacman --asdeps -U openssl098-0.9.8.x-1-x86_64.pkg.tar.xz'
    [2012-07-25 00:27] installed openssl098 (0.9.8.x-1)
    [2012-07-25 00:28] Running 'pacman --asdeps -U libpng12-1.2.49-1-x86_64.pkg.tar.xz'
    [2012-07-25 00:28] installed libpng12 (1.2.49-1)
    [2012-07-25 00:30] Running 'pacman -U spotify-0.8.4.103-1-x86_64.pkg.tar.xz'
    [2012-07-25 00:31] installed spotify (0.8.4.103-1)
    [2012-07-29 16:57] Running 'pacman --noconfirm --asdeps -S -- ffmpeg libmediainfo mencoder mplayer'
    [2012-07-29 16:58] Running 'pacman --noconfirm --asdeps -S -- ffmpeg libmediainfo mencoder mplayer'
    [2012-07-29 16:58] Running 'pacman -Syy'
    [2012-07-29 16:58] synchronizing package lists
    [2012-07-29 17:00] Running 'pacman --noconfirm --asdeps -S -- ffmpeg libmediainfo mencoder mplayer'
    [2012-07-29 17:00] installed gsm (1.0.13-7)
    [2012-07-29 17:00] installed lame (3.99.5-1)
    [2012-07-29 17:00] installed libasyncns (0.8-4)
    [2012-07-29 17:00] installed json-c (0.9-1)
    [2012-07-29 17:00] installed libpulse (2.1-1)
    [2012-07-29 17:00] installed libtheora (1.1.1-2)
    [2012-07-29 17:00] installed libglapi (8.0.4-2)
    [2012-07-29 17:00] installed khrplatform-devel (8.0.4-2)
    [2012-07-29 17:00] installed libegl (8.0.4-2)
    [2012-07-29 17:00] installed libva (1.1.0-1)
    [2012-07-29 17:00] installed libvpx (1.1.0-1)
    [2012-07-29 17:00] installed opencore-amr (0.1.3-1)
    [2012-07-29 17:00] installed openjpeg (1.5.0-1)
    [2012-07-29 17:00] installed rtmpdump (2.4-1)
    [2012-07-29 17:00] installed schroedinger (1.0.11-1)
    [2012-07-29 17:00] installed speex (1.2rc1-2)
    [2012-07-29 17:00] installed x264 (20120705-1)
    [2012-07-29 17:00] installed xvidcore (1.3.2-1)
    [2012-07-29 17:00] installed ffmpeg (1:0.11.1-1)
    [2012-07-29 17:00] installed libmms (0.6.2-1)
    [2012-07-29 17:00] installed libzen (0.4.26-1)
    [2012-07-29 17:00] installed libmediainfo (0.7.58-1)
    [2012-07-29 17:00] installed recode (3.6-7)
    [2012-07-29 17:00] installed enca (1.13-2)
    [2012-07-29 17:00] installed a52dec (0.7.4-6)
    [2012-07-29 17:00] installed libdca (0.0.5-3)
    [2012-07-29 17:00] installed talloc (2.0.7-1)
    [2012-07-29 17:00] installed libwbclient (3.6.6-1)
    [2012-07-29 17:00] installed libcap-ng (0.6.6-1)
    [2012-07-29 17:00] installed cifs-utils (5.5-1)
    [2012-07-29 17:00] installed tdb (1.2.9-2)
    [2012-07-29 17:00] installed smbclient (3.6.6-1)
    [2012-07-29 17:00] installed libmad (0.15.1b-6)
    [2012-07-29 17:00] installed fribidi (0.19.2-2)
    [2012-07-29 17:00] installed libmp4v2 (2.0.0-2)
    [2012-07-29 17:00] installed faac (1.28-4)
    [2012-07-29 17:00] installed faad2 (2.7-3)
    [2012-07-29 17:00] installed mpg123 (1.14.4-1)
    [2012-07-29 17:00] installed libass (0.10.0-3)
    [2012-07-29 17:00] installed libbluray (0.2.2-1)
    [2012-07-29 17:00] installed libcddb (1.3.2-3)
    [2012-07-29 17:00] installed libcdio (0.83-1)
    [2012-07-29 17:00] installed mencoder (35014-1)
    [2012-07-29 17:00] installed libftdi (0.20-1)
    [2012-07-29 17:00] installed libirman (0.4.5-3)
    [2012-07-29 17:00] installed lirc-utils (1:0.9.0-22)
    [2012-07-29 17:00] installed gpm (1.20.6-10)
    [2012-07-29 17:00] installed aalib (1.4rc5-9)
    [2012-07-29 17:00] installed jack (0.121.3-6)
    [2012-07-29 17:00] installed libcaca (0.99.beta18-1)
    [2012-07-29 17:00] installed xf86dgaproto (2.1-2)
    [2012-07-29 17:00] installed libxxf86dga (1.1.3-1)
    [2012-07-29 17:00] installed mplayer (35014-1)
    [2012-07-29 17:00] Running 'pacman -U pms-1.60.0-1-x86_64.pkg.tar.xz'
    [2012-07-29 17:00] installed pms (1.60.0-1)
    [2012-07-29 17:20] Running 'pacman -S netstat'
    [2012-07-29 17:31] Running 'pacman -S ntfs-3g'
    [2012-07-29 17:31] installed fuse (2.9.0-1)
    [2012-07-29 17:31] installed ntfs-3g (2012.1.15-3)
    [2012-07-29 17:45] Running 'pacman -S tsmuxer'
    [2012-07-29 17:45] Running 'pacman -S tsMuxeR'
    [2012-07-29 17:45] Running 'pacman --noconfirm --asdeps -S -- lib32-freetype2'
    [2012-07-29 17:45] installed lib32-bzip2 (1.0.6-1)
    [2012-07-29 17:45] installed lib32-freetype2 (2.4.10-1)
    [2012-07-29 17:48] Running 'pacman -U tsmuxer-1.10.6-12-x86_64.pkg.tar.xz'
    [2012-07-29 17:48] The tsmuxer package is licensed software.
    [2012-07-29 17:48] You MUST read and agree to the license stored in
    [2012-07-29 17:48] /opt/tsmuxer/LICENSE before using it.
    [2012-07-29 17:48] installed tsmuxer (1.10.6-12)
    [2012-07-29 18:23] Running 'pacman -S icedtea-web-java7'
    [2012-07-29 18:23] Running 'pacman -S icedtea-web-java6'
    [2012-07-29 18:24] Running 'pacman -S openjre'
    [2012-07-29 18:25] Running 'pacman -S jre'
    [2012-07-29 18:25] Running 'pacman -S icetea-plugin'
    [2012-07-29 18:27] Running 'pacman -S icedtea-web'
    [2012-07-29 18:27] installed icedtea-web (1.2-1)
    [2012-07-29 18:35] Running 'pacman -S ccache'
    [2012-07-29 18:35] installed ccache (3.1.7-1)
    [2012-07-29 18:50] Running 'pacman -S rtorrent'
    [2012-07-29 18:50] installed libsigc++ (2.2.10-2)
    [2012-07-29 18:50] installed libtorrent (0.13.2-2)
    [2012-07-29 18:50] installed xmlrpc-c (1:1.31.02-2)
    [2012-07-29 18:50] installed rtorrent (0.9.2-2)
    [2012-07-29 18:52] Running 'pacman -S rutorrent'
    [2012-07-29 18:52] Running 'pacman --noconfirm --asdeps -S -- php'
    [2012-07-29 18:52] installed php (5.4.5-1)
    [2012-07-29 18:52] Running 'pacman -U rutorrent-3.4-2-any.pkg.tar.xz'
    [2012-07-29 18:53] installed rutorrent (3.4-2)
    [2012-07-29 18:53] Running 'pacman -R rtorrent'
    [2012-07-29 18:53] removed rtorrent (0.9.2-2)
    [2012-07-29 18:53] Running 'pacman -S rtorrent-svn'
    [2012-07-29 18:54] Running 'pacman -S rtorrent'
    [2012-07-29 18:54] installed rtorrent (0.9.2-2)
    [2012-07-29 18:54] Running 'pacman -S apache php-apache php-cgi mod-scgi php-xsl rutorrent-plugins php-geoip screen'
    [2012-07-29 18:55] Running 'pacman -S apache php-apache php-cgi php-xsl rutorrent-plugins php-geoip screen'
    [2012-07-29 18:55] Running 'pacman -S apache php-apache php-cgi php-xsl php-geoip screen'
    [2012-07-29 18:55] installed apr (1.4.6-1)
    [2012-07-29 18:55] installed unixodbc (2.3.1-1)
    [2012-07-29 18:55] installed apr-util (1.4.1-1)
    [2012-07-29 18:55] installed apache (2.2.22-4)
    [2012-07-29 18:55] installed php-apache (5.4.5-1)
    [2012-07-29 18:55] installed php-cgi (5.4.5-1)
    [2012-07-29 18:55] installed php-xsl (5.4.5-1)
    [2012-07-29 18:55] installed geoip-database (20120706-1)
    [2012-07-29 18:55] installed geoip (1.4.8-2)
    [2012-07-29 18:55] installed php-geoip (1.0.8-2)
    [2012-07-29 18:55] installed screen (4.0.3-13)
    [2012-07-29 19:03] Running 'pacman -U mod_scgi-1.14-1-x86_64.pkg.tar.xz'
    [2012-07-29 19:03] installed mod_scgi (1.14-1)
    [2012-07-29 19:03] Running 'pacman -U rutorrent-plugins-3.4-2-any.pkg.tar.xz'
    [2012-07-29 19:03] installed rutorrent-plugins (3.4-2)
    [2012-07-29 19:04] Running 'pacman -U rutorrent-3.4-2-any.pkg.tar.xz'
    [2012-07-29 19:04] upgraded rutorrent (3.4-2 -> 3.4-2)
    [2012-07-29 19:46] Running 'pacman -S unrar unzip'
    [2012-07-29 19:46] installed unrar (4.2.4-1)
    [2012-07-29 19:46] upgraded unzip (6.0-6 -> 6.0-6)
    [2012-07-29 20:00] Running 'pacman -S php-apache mysql'
    [2012-07-29 20:02] upgraded php-apache (5.4.5-1 -> 5.4.5-1)
    [2012-07-29 20:02] installed libmysqlclient (5.5.25.a-1)
    [2012-07-29 20:02] installed mysql-clients (5.5.25.a-1)
    [2012-07-29 20:02] Installing MySQL system tables...
    [2012-07-29 20:02] OK
    [2012-07-29 20:02] Filling help tables...
    [2012-07-29 20:02] OK
    [2012-07-29 20:02]
    [2012-07-29 20:02] To start mysqld at boot time you have to copy
    [2012-07-29 20:02] support-files/mysql.server to the right place for your system
    [2012-07-29 20:02]
    [2012-07-29 20:02] PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
    [2012-07-29 20:02] To do so, start the server, then issue the following commands:
    [2012-07-29 20:02]
    [2012-07-29 20:02] /usr/bin/mysqladmin -u root password 'new-password'
    [2012-07-29 20:02] /usr/bin/mysqladmin -u root -h arch-shauder password 'new-password'
    [2012-07-29 20:02]
    [2012-07-29 20:02] Alternatively you can run:
    [2012-07-29 20:02] /usr/bin/mysql_secure_installation
    [2012-07-29 20:02]
    [2012-07-29 20:02] which will also give you the option of removing the test
    [2012-07-29 20:02] databases and anonymous user created by default. This is
    [2012-07-29 20:02] strongly recommended for production servers.
    [2012-07-29 20:02]
    [2012-07-29 20:02] See the manual for more instructions.
    [2012-07-29 20:02]
    [2012-07-29 20:02] You can start the MySQL daemon with:
    [2012-07-29 20:02] cd /usr ; /usr/bin/mysqld_safe &
    [2012-07-29 20:02]
    [2012-07-29 20:02] You can test the MySQL daemon with mysql-test-run.pl
    [2012-07-29 20:02] cd /usr/mysql-test ; perl mysql-test-run.pl
    [2012-07-29 20:02]
    [2012-07-29 20:02] Please report any problems with the /usr/scripts/mysqlbug script!
    [2012-07-29 20:02]
    [2012-07-29 20:02] installed mysql (5.5.25.a-1)
    [2012-07-29 20:49] Running 'pacman -Syyu'
    [2012-07-29 20:49] synchronizing package lists
    [2012-07-29 20:50] starting full system upgrade
    [2012-07-29 20:52] upgraded readline (6.2.003-2 -> 6.2.004-1)
    [2012-07-29 20:52] upgraded bash (4.2.036-1 -> 4.2.037-1)
    [2012-07-29 20:52] upgraded bison (2.5.1-1 -> 2.6-1)
    [2012-07-29 20:52] upgraded lib32-gcc-libs (4.7.1-4.1 -> 4.7.1-5)
    [2012-07-29 20:52] upgraded gcc-libs-multilib (4.7.1-4.1 -> 4.7.1-5)
    [2012-07-29 20:52] upgraded gnutls (3.0.21-1 -> 3.0.21-2)
    [2012-07-29 20:52] upgraded libpng (1.5.11-1 -> 1.5.12-1)
    [2012-07-29 20:52] upgraded libcups (1.5.3-5 -> 1.5.4-1)
    [2012-07-29 20:52] upgraded gtk-update-icon-cache (2.24.10-3 -> 2.24.11-2)
    [2012-07-29 20:52] upgraded gtk2 (2.24.10-3 -> 2.24.11-2)
    [2012-07-29 20:52] upgraded chromium (20.0.1132.57-1 -> 20.0.1132.57-2)
    [2012-07-29 20:52] warning: /etc/protocols installed as /etc/protocols.pacnew
    [2012-07-29 20:52] warning: /etc/services installed as /etc/services.pacnew
    [2012-07-29 20:52] upgraded iana-etc (2.30-2 -> 2.30-3)
    [2012-07-29 20:52] upgraded filesystem (2012.6-4 -> 2012.7-1)
    [2012-07-29 20:52] upgraded libsystemd (186-2 -> 187-2)
    [2012-07-29 20:52] upgraded glib2 (2.32.3-1 -> 2.32.4-1)
    [2012-07-29 20:52] upgraded systemd-tools (186-2 -> 187-2)
    [2012-07-29 20:52] upgraded dbus-core (1.6.2-2 -> 1.6.4-1)
    [2012-07-29 20:52] upgraded dbus (1.6.2-1 -> 1.6.4-1)
    [2012-07-29 20:52] upgraded flex (2.5.35-5 -> 2.5.36-1)
    [2012-07-29 20:52] upgraded gcc-multilib (4.7.1-4.1 -> 4.7.1-5)
    [2012-07-29 20:52] upgraded git (1.7.11.2-1 -> 1.7.11.3-1)
    [2012-07-29 20:52] upgraded glproto (1.4.15-1 -> 1.4.16-1)
    [2012-07-29 20:52] upgraded gtk3 (3.4.3-1 -> 3.4.4-1)
    [2012-07-29 20:52] upgraded icu (49.1.2-1 -> 49.1.2-2)
    [2012-07-29 20:52] warning: /etc/rc.conf installed as /etc/rc.conf.pacnew
    [2012-07-29 20:52] upgraded initscripts (2012.06.3-2 -> 2012.07.5-1)
    [2012-07-29 20:52] upgraded lib32-readline (6.2.003-1 -> 6.2.004-1)
    [2012-07-29 20:52] >>> Updating module dependencies. Please wait ...
    [2012-07-29 20:52] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2012-07-29 20:52] ==> Building image from preset: 'default'
    [2012-07-29 20:52] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2012-07-29 20:52] ==> Starting build: 3.4.6-1-ARCH
    [2012-07-29 20:52] -> Running build hook: [base]
    [2012-07-29 20:52] -> Running build hook: [udev]
    [2012-07-29 20:52] -> Running build hook: [autodetect]
    [2012-07-29 20:52] -> Running build hook: [pata]
    [2012-07-29 20:52] -> Running build hook: [scsi]
    [2012-07-29 20:52] -> Running build hook: [sata]
    [2012-07-29 20:52] -> Running build hook: [filesystems]
    [2012-07-29 20:52] -> Running build hook: [usbinput]
    [2012-07-29 20:52] -> Running build hook: [fsck]
    [2012-07-29 20:52] ==> Generating module dependencies
    [2012-07-29 20:52] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2012-07-29 20:52] ==> Image generation successful
    [2012-07-29 20:52] ==> Building image from preset: 'fallback'
    [2012-07-29 20:52] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2012-07-29 20:52] ==> Starting build: 3.4.6-1-ARCH
    [2012-07-29 20:52] -> Running build hook: [base]
    [2012-07-29 20:52] -> Running build hook: [udev]
    [2012-07-29 20:52] -> Running build hook: [pata]
    [2012-07-29 20:52] -> Running build hook: [scsi]
    [2012-07-29 20:52] -> Running build hook: [sata]
    [2012-07-29 20:52] -> Running build hook: [filesystems]
    [2012-07-29 20:52] -> Running build hook: [usbinput]
    [2012-07-29 20:52] -> Running build hook: [fsck]
    [2012-07-29 20:52] ==> Generating module dependencies
    [2012-07-29 20:52] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2012-07-29 20:52] ==> Image generation successful
    [2012-07-29 20:52] upgraded linux (3.4.5-1 -> 3.4.6-1)
    [2012-07-29 20:52] upgraded linux-api-headers (3.4.4-1 -> 3.4.6-1)
    [2012-07-29 20:52] upgraded mesa (8.0.4-1 -> 8.0.4-2)
    [2012-07-29 20:52] upgraded nvidia (302.17-3 -> 302.17-4)
    [2012-07-29 20:52] upgraded tzdata (2012c-1 -> 2012d-1)
    [2012-07-29 20:52] upgraded xf86-input-evdev (2.7.0-2 -> 2.7.1-1)
    [2012-08-03 12:40] Running 'pacman -S filezilla'
    [2012-08-03 12:40] installed wxgtk (2.8.12.1-3)
    [2012-08-03 12:40] installed libidn (1.25-1)
    [2012-08-03 12:40] installed filezilla (3.5.3-1)
    [2012-08-06 13:55] Running 'pacman -R openjdk'
    [2012-08-06 13:55] Running 'pacman -R openjdk6'
    [2012-08-06 13:55] Running 'pacman -R icedtea-web'
    [2012-08-06 13:55] removed icedtea-web (1.2-1)
    [2012-08-06 13:56] Running 'pacman -S jdk'
    [2012-08-06 13:57] Running 'pacman --asdeps -U jre-7.5-2-x86_64.pkg.tar.xz'
    [2012-08-06 13:58] removed openjdk6 (6.b24_1.11.3-1)
    [2012-08-06 13:58]
    [2012-08-06 13:58] The jre package is licensed software.
    [2012-08-06 13:58] You MUST read and agree to the license stored in
    [2012-08-06 13:58] /usr/share/licenses/jre/LICENSE before using it.
    [2012-08-06 13:58] Please relogin to include jre in your PATH.
    [2012-08-06 13:58]
    [2012-08-06 13:58] installed jre (7.5-2)
    [2012-08-06 14:01] Running 'pacman -U jdk-7.5-2-x86_64.pkg.tar.xz'
    [2012-08-06 14:01]
    [2012-08-06 14:01] The jdk package is licensed software.
    [2012-08-06 14:01] You MUST read and agree to the license stored in
    [2012-08-06 14:01] /usr/share/licenses/jdk/LICENSE before using it.
    [2012-08-06 14:01] Please relogin to include jdk in your PATH.
    [2012-08-06 14:01]
    [2012-08-06 14:01] installed jdk (7.5-2)
    [2012-08-06 14:14] Running 'pacman --asdeps -U jre6-6u33-b04-x86_64.pkg.tar.xz'
    [2012-08-06 14:15] Running 'pacman -R jdk jre'
    [2012-08-06 14:16] Running 'pacman -U jre6-6u33-b04-x86_64.pkg.tar.xz'
    [2012-08-06 14:17] Running 'pacman -Rdd jdk jre'
    [2012-08-06 14:17] removed jdk (7.5-2)
    [2012-08-06 14:17] removed jre (7.5-2)
    [2012-08-06 14:19] Running 'pacman --asdeps -U jre6-6u33-b04-x86_64.pkg.tar.xz'
    [2012-08-06 14:19] The jre package is licensed software.
    [2012-08-06 14:19] You MUST read and agree to the license stored in
    [2012-08-06 14:19] /opt/java/jre/LICENSE before using it.
    [2012-08-06 14:19] Please relogin to include jre in your PATH.
    [2012-08-06 14:19] installed jre6 (6u33-b04)
    [2012-08-06 14:21] Running 'pacman -U jdk6-6u33-b04-x86_64.pkg.tar.xz'
    [2012-08-06 14:21] The jdk package is licensed software.
    [2012-08-06 14:21] You MUST read and agree to the license stored in
    [2012-08-06 14:21] /opt/java/LICENSE before using it.
    [2012-08-06 14:21] Please relogin to include jdk in your PATH
    [2012-08-06 14:21] installed jdk6 (6u33-b04)
    [2012-08-06 14:23] Running 'pacman -U jre6-6u33-b04-x86_64.pkg.tar.xz'
    [2012-08-06 14:54] upgraded jre6 (6u33-b04 -> 6u33-b04)
    [2012-08-06 17:23] Running 'pacman -S gimp'
    [2012-08-06 17:23] installed lcms (1.19-2)
    [2012-08-06 17:23] Updating font cache... done.
    [2012-08-06 17:23] installed gsfonts (1.0.7pre44-3)
    [2012-08-06 17:23] installed libwmf (0.2.8.4-9)
    [2012-08-06 17:23] installed libcroco (0.6.5-1)
    [2012-08-06 17:23] installed librsvg (2.36.1-1)
    [2012-08-06 17:23] installed babl (0.1.10-1)
    [2012-08-06 17:23] installed gegl (0.2.0-2)
    [2012-08-06 17:23] installed freeglut (2.8.0-1)
    [2012-08-06 17:23] installed jasper (1.900.1-7)
    [2012-08-06 17:23] installed gimp (2.8.0-2)
    [2012-08-06 18:25] Running 'pacman -Sy'
    [2012-08-06 18:25] synchronizing package lists
    [2012-08-06 18:25] Running 'pacman -S yaourt'
    [2012-08-06 18:28] Running 'pacman -Sy'
    [2012-08-06 18:28] synchronizing package lists
    [2012-08-06 18:28] Running 'pacman -S lib32-gcc-libs lib32-glibc lib32-libx11 lib32-libxau lib32-libxcb lib32-libxdmcp lib32-libxext lib32-libxrender lib32-alsa-lib lib32-libstdc++5 lib32-libxv lib32-ncurses lib32-openal lib32-sdl lib32-zlib swt'
    [2012-08-06 18:29] Running 'pacman -Sy'
    [2012-08-06 18:29] synchronizing package lists
    [2012-08-06 18:29] Running 'pacman -S lib32-gcc-libs lib32-glibc lib32-libx11 lib32-libxau lib32-libxcb lib32-libxdmcp lib32-libxext lib32-libxrender lib32-alsa-lib lib32-libstdc++5 lib32-libxv lib32-ncurses lib32-openal lib32-sdl lib32-zlib swt'
    [2012-08-06 18:32] Running 'pacman --noconfirm --asdeps -S -- yajl'
    [2012-08-06 21:50] Running 'pacman -U jdk6-6u33-b04-x86_64.pkg.tar.xz'
    [2012-08-06 21:51] Running 'pacman -Rdd jdk6 jre6'
    [2012-08-06 21:51] removed jdk6 (6u33-b04)
    [2012-08-06 21:51] removed jre6 (6u33-b04)
    [2012-08-06 21:54] Running 'pacman -U sun-java6-6u32-1-x86_64.pkg.tar.xz'
    [2012-08-06 21:54] The sun-java6 package is licensed software.
    [2012-08-06 21:54] You MUST read and agree to the license stored in
    [2012-08-06 21:54] /opt/sun-java6/LICENSE before using it.
    [2012-08-06 21:54]
    [2012-08-06 21:54] Use '. /opt/sun-java6/envsetup.sh' to setup environment.
    [2012-08-06 21:54] installed sun-java6 (6u32-1)
    [2012-08-06 21:59] Running 'pacman -Syu'
    [2012-08-06 21:59] synchronizing package lists
    [2012-08-06 21:59] starting full system upgrade
    [2012-08-06 22:00] Running 'pacman -Sy'
    [2012-08-06 22:00] synchronizing package lists
    [2012-08-06 22:00] Running 'pacman -S yaourt'
    [2012-08-06 22:00] installed yajl (2.0.4-1)
    [2012-08-06 22:00] installed package-query (1.0.1-1)
    [2012-08-06 22:00] installed yaourt (1.1-1)
    [2012-08-06 22:00] Running 'pacman -S extra/schedtool community/esdl'
    [2012-08-06 22:00] upgraded schedtool (1.3.0-2 -> 1.3.0-2)
    [2012-08-06 22:00] upgraded esdl (2:1.2-1 -> 2:1.2-1)
    [2012-08-06 22:00] Running 'pacman -S extra/schedtool community/esdl'
    [2012-08-06 22:00] upgraded schedtool (1.3.0-2 -> 1.3.0-2)
    [2012-08-06 22:00] upgraded esdl (2:1.2-1 -> 2:1.2-1)
    [2012-08-06 22:00] Running 'pacman -S --asdeps --needed extra/jdk7-openjdk'
    [2012-08-06 22:01] installed java-rhino (1.7R3-3)
    [2012-08-06 22:01] installed jre7-openjdk-headless (7.u5_2.2.1-1)
    [2012-08-06 22:01] when you use a non-reparenting window manager
    [2012-08-06 22:01] set _JAVA_AWT_WM_NONREPARENTING=1 in
    [2012-08-06 22:01] /etc/profile.d/jre.sh
    [2012-08-06 22:01] installed jre7-openjdk (7.u5_2.2.1-1)
    [2012-08-06 22:01] installed jdk7-openjdk (7.u5_2.2.1-1)
    [2012-08-06 22:02] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.kJz/android-apktool-1.4.9-1-x86_64.pkg.tar.xz'
    [2012-08-06 22:02] installed android-apktool (1.4.9-1)
    [2012-08-06 22:04] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.ubB/android-sdk-r20.0.1-1-x86_64.pkg.tar.xz'
    [2012-08-06 22:05] You need to source /etc/profile or relogin to add the Android SDK tools to your path.
    [2012-08-06 22:05] The android group has been removed, install android packages as root.
    [2012-08-06 22:05] upgraded android-sdk (r20-2 -> r20.0.1-1)
    [2012-08-06 22:08] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.g9s/android-sdk-platform-tools-r14-1-any.pkg.tar.xz'
    [2012-08-06 22:08] upgraded android-sdk-platform-tools (r12-1 -> r14-1)
    [2012-08-06 22:08] Running 'pacman -S --asdeps --needed extra/libmtp'
    [2012-08-06 22:08] installed libmtp (1.1.3-1)
    [2012-08-06 22:08] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.0Uc/android-udev-1.3-4-any.pkg.tar.xz'
    [2012-08-06 22:08] ===> In order to use adb, you have to be in the 'adbusers' group
    [2012-08-06 22:08] ===> For that, use: gpasswd -a USERNAME adbusers
    [2012-08-06 22:08] installed android-udev (1.3-4)
    [2012-08-06 22:08] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.n8w/fastboot-20110628-2-any.pkg.tar.xz'
    [2012-08-06 22:08] installed fastboot (20110628-2)
    [2012-08-06 22:09] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.aCT/pngcrush-1.7.35-1-x86_64.pkg.tar.xz'
    [2012-08-06 22:09] upgraded pngcrush (1.7.31-1 -> 1.7.35-1)
    [2012-08-06 22:09] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.ZNg/repo-git-20120806-1-x86_64.pkg.tar.xz'
    [2012-08-06 22:10] Running 'pacman -S abs base-devel perl git gnupg flex bison gperf zip unzip sdl wxgtk squashfs-tools ncurses libpng zlib libusb libusb-compat readline alsa-lib openal'
    [2012-08-06 22:11] Running 'pacman -S lib32-gcc-libs lib32-glibc lib32-libx11 lib32-libxau lib32-libxcb lib32-libxdmcp lib32-libxext lib32-libxrender lib32-alsa-lib lib32-libstdc++5 lib32-libxv lib32-ncurses lib32-openal lib32-sdl lib32-zlib swt'
    [2012-08-06 22:11] upgraded lib32-glibc (2.16.0-2 -> 2.16.0-2)
    [2012-08-06 22:11] upgraded lib32-gcc-libs (4.7.1-5 -> 4.7.1-5)
    [2012-08-06 22:11] upgraded lib32-libxdmcp (1.1.1-1 -> 1.1.1-1)
    [2012-08-06 22:11] upgraded lib32-libxau (1.0.7-1 -> 1.0.7-1)
    [2012-08-06 22:11] upgraded lib32-libxcb (1.8.1-2 -> 1.8.1-2)
    [2012-08-06 22:11] upgraded lib32-libx11 (1.5.0-1 -> 1.5.0-1)
    [2012-08-06 22:11] upgraded lib32-libxext (1.3.1-1 -> 1.3.1-1)
    [2012-08-06 22:11] upgraded lib32-libxrender (0.9.7-1 -> 0.9.7-1)
    [2012-08-06 22:11] upgraded lib32-alsa-lib (1.0.25-1 -> 1.0.25-1)
    [2012-08-06 22:11] upgraded lib32-libstdc++5 (3.3.6-6 -> 3.3.6-6)
    [2012-08-06 22:11] upgraded lib32-libxv (1.0.7-1 -> 1.0.7-1)
    [2012-08-06 22:11] upgraded lib32-ncurses (5.9-1 -> 5.9-1)
    [2012-08-06 22:11] upgraded lib32-openal (1.14-1 -> 1.14-1)
    [2012-08-06 22:11] upgraded lib32-sdl (1.2.15-2 -> 1.2.15-2)
    [2012-08-06 22:11] upgraded lib32-zlib (1.2.7-1 -> 1.2.7-1)
    [2012-08-06 22:11] upgraded swt (3.7.2-1 -> 3.7.2-1)
    [2012-08-06 22:11] Running 'pacman -S gcc-multilib gcc-libs-multilib binutils-multilib libtool-multilib lib32-readline lib32-glibc lib32-zlib'
    [2012-08-06 22:12] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.u2K/lib32-libusb-1.0.9-1-x86_64.pkg.tar.xz'
    [2012-08-06 22:12] installed lib32-libusb (1.0.9-1)
    [2012-08-06 22:12] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.ENc/lib32-libusb-compat-0.1.4-2-x86_64.pkg.tar.xz'
    [2012-08-06 22:12] installed lib32-libusb-compat (0.1.4-2)
    [2012-08-06 22:16] Running 'pacman -S ps3mediaserver'
    [2012-08-06 22:17] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.WIi/pms-1.60.0-2-x86_64.pkg.tar.xz'
    [2012-08-06 22:17] upgraded pms (1.60.0-1 -> 1.60.0-2)
    [2012-08-06 22:18] Running 'pacman -Syu'
    [2012-08-06 22:18] synchronizing package lists
    [2012-08-06 22:18] starting full system upgrade
    [2012-08-06 22:18] Running 'pacman -Syu'
    [2012-08-06 22:18] synchronizing package lists
    [2012-08-06 22:18] starting full system upgrade
    [2012-08-06 22:20] upgraded bison (2.6-1 -> 2.6.2-1)
    [2012-08-06 22:20] upgraded chromium (20.0.1132.57-2 -> 21.0.1180.57-1)
    [2012-08-06 22:20] upgraded libldap (2.4.31-4 -> 2.4.32-1)
    [2012-08-06 22:20] upgraded krb5 (1.10.2-2 -> 1.10.2-3)
    [2012-08-06 22:20] upgraded cifs-utils (5.5-1 -> 5.6-2)
    [2012-08-06 22:20] upgraded cryptsetup (1.4.3-1 -> 1.5.0-1)
    [2012-08-06 22:20] upgraded curl (7.26.0-1 -> 7.27.0-1)
    [2012-08-06 22:20] upgraded flex (2.5.36-1 -> 2.5.37-1)
    [2012-08-06 22:20] upgraded fuse (2.9.0-1 -> 2.9.1-1)
    [2012-08-06 22:20] upgraded git (1.7.11.3-1 -> 1.7.11.4-1)
    [2012-08-06 22:20] upgraded gnutls (3.0.21-2 -> 3.0.22-1)
    [2012-08-06 22:20] upgraded hwids (20120711-1 -> 20120730-1)
    [2012-08-06 22:20] upgraded nvidia-utils (302.17-1 -> 304.32-1)
    [2012-08-06 22:20] upgraded lib32-nvidia-utils (302.17-1 -> 304.32-1)
    [2012-08-06 22:20] upgraded libcups (1.5.4-1 -> 1.6.1-2)
    [2012-08-06 22:20] upgraded libmysqlclient (5.5.25.a-1 -> 5.5.27-1)
    [2012-08-06 22:20] upgraded libsystemd (187-2 -> 187-4)
    [2012-08-06 22:20] upgraded libthai (0.1.17-1 -> 0.1.18-1)
    [2012-08-06 22:20] upgraded systemd-tools (187-2 -> 187-4)
    [2012-08-06 22:20] upgraded mkinitcpio (0.9.2-2 -> 0.10-1)
    [2012-08-06 22:20] >>> Updating module dependencies. Please wait ...
    [2012-08-06 22:20] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2012-08-06 22:20] ==> Building image from preset: 'default'
    [2012-08-06 22:20] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2012-08-06 22:20] ==> Starting build: 3.4.7-1-ARCH
    [2012-08-06 22:20] -> Running build hook: [base]
    [2012-08-06 22:20] -> Running build hook: [udev]
    [2012-08-06 22:20] -> Running build hook: [autodetect]
    [2012-08-06 22:20] -> Running build hook: [pata]
    [2012-08-06 22:20] -> Running build hook: [scsi]
    [2012-08-06 22:20] -> Running build hook: [sata]
    [2012-08-06 22:20] -> Running build hook: [filesystems]
    [2012-08-06 22:20] -> Running build hook: [usbinput]
    [2012-08-06 22:20] -> Running build hook: [fsck]
    [2012-08-06 22:20] ==> Generating module dependencies
    [2012-08-06 22:20] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2012-08-06 22:20] ==> Image generation successful
    [2012-08-06 22:20] ==> Building image from preset: 'fallback'
    [2012-08-06 22:20] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2012-08-06 22:20] ==> Starting build: 3.4.7-1-ARCH
    [2012-08-06 22:20] -> Running build hook: [base]
    [2012-08-06 22:20] -> Running build hook: [udev]
    [2012-08-06 22:20] -> Running build hook: [pata]
    [2012-08-06 22:20] -> Running build hook: [scsi]
    [2012-08-06 22:20] -> Running build hook: [sata]
    [2012-08-06 22:20] -> Running build hook: [filesystems]
    [2012-08-06 22:20] -> Running build hook: [usbinput]
    [2012-08-06 22:20] -> Running build hook: [fsck]
    [2012-08-06 22:20] ==> Generating module dependencies
    [2012-08-06 22:20] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2012-08-06 22:20] ==> Image generation successful
    [2012-08-06 22:20] upgraded linux (3.4.6-1 -> 3.4.7-1)
    [2012-08-06 22:20] upgraded mysql-clients (5.5.25.a-1 -> 5.5.27-1)
    [2012-08-06 22:20] upgraded mysql (5.5.25.a-1 -> 5.5.27-1)
    [2012-08-06 22:20] upgraded nspr (4.9.1-1 -> 4.9.2-1)
    [2012-08-06 22:20] upgraded nvidia (302.17-4 -> 304.32-1)
    [2012-08-06 22:20] upgraded tzdata (2012d-1 -> 2012e-1)
    [2012-08-06 22:20] upgraded xf86-input-evdev (2.7.1-1 -> 2.7.2-1)
    [2012-08-06 22:23] Running 'pacman -S openjdk'
    [2012-08-06 22:23] Running 'pacman -S jdk7-openjdk'
    [2012-08-06 22:24] upgraded jdk7-openjdk (7.u5_2.2.1-1 -> 7.u5_2.2.1-1)
    [2012-08-06 22:24] Running 'pacman -S jre7-openjdk'
    [2012-08-06 22:24] upgraded jre7-openjdk (7.u5_2.2.1-1 -> 7.u5_2.2.1-1)
    [2012-08-06 22:25] Running 'pacman -R pms'
    [2012-08-06 22:25] warning: /opt/pms/PMS.conf saved as /opt/pms/PMS.conf.pacsave
    [2012-08-06 22:25] removed pms (1.60.0-2)
    [2012-08-06 22:26] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.QTF/pms-1.60.0-2-x86_64.pkg.tar.xz'
    [2012-08-06 22:26] installed pms (1.60.0-2)
    [2012-08-06 22:26] Running 'pacman -S vlc'
    [2012-08-06 22:26] installed libdvbpsi (0.2.2-1)
    [2012-08-06 22:26] installed sdl_image (1.2.12-2)
    [2012-08-06 22:26] installed libdvdread (4.2.0-1)
    [2012-08-06 22:26] installed libdvdnav (4.2.0-2)
    [2012-08-06 22:26] installed libkate (0.4.1-3)
    [2012-08-06 22:26] installed libtiger (0.3.4-3)
    [2012-08-06 22:26] installed libebml (1.2.2-2)
    [2012-08-06 22:26] installed libmatroska (1.3.0-2)
    [2012-08-06 22:26] installed zvbi (0.2.33-4)
    [2012-08-06 22:26] installed taglib (1.7.2-2)
    [2012-08-06 22:26] installed libmpcdec (1.2.6-3)
    [2012-08-06 22:26] installed libupnp (1.6.17-1)
    [2012-08-06 22:26] installed libshout (1:2.3.0-1)
    [2012-08-06 22:26] installed libmpeg2 (0.5.1-3)
    [2012-08-06 22:26] installed libmodplug (0.8.8.4-1)
    [2012-08-06 22:26] installed ttf-freefont (20120503-1)
    [2012-08-06 22:26] installed vlc (2.0.3-2)
    [2012-08-06 22:26] Running 'pacman -S lib32-gcc-libs lib32-glibc'
    [2012-08-06 22:26] upgraded lib32-glibc (2.16.0-2 -> 2.16.0-2)
    [2012-08-06 22:26] upgraded lib32-gcc-libs (4.7.1-5 -> 4.7.1-5)
    [2012-08-07 11:44] Running 'pacman --noconfirm --asdeps -S -- pacman-color'
    [2012-08-07 11:44] installed pacman-color (4.0.3-1)
    [2012-08-07 11:44] Running 'pacman -U packer-color-20120807-1-any.pkg.tar.xz'
    [2012-08-07 11:44] installed packer-color (20120807-1)
    [2012-08-07 11:50] Running 'pacman-color -S packer'
    [2012-08-07 15:50] Running 'pacman -Syyu'
    [2012-08-07 15:50] synchronizing package lists
    [2012-08-07 15:50] starting full system upgrade
    [2012-08-07 15:50] upgraded libwbclient (3.6.6-1 -> 3.6.7-1)
    [2012-08-07 15:51] upgraded smbclient (3.6.6-1 -> 3.6.7-1)
    [2012-08-07 15:51] Running 'pacman -Sy'
    [2012-08-07 15:51] synchronizing package lists
    [2012-08-07 15:51] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.77j/rutorrent-plugins-3.4-3-any.pkg.tar.xz'
    [2012-08-07 15:51] upgraded rutorrent-plugins (3.4-2 -> 3.4-3)
    [2012-08-07 15:51] Running 'pacman -Sy'
    [2012-08-07 15:51] synchronizing package lists
    [2012-08-07 16:02] Running 'pacman-color -S crontab'
    [2012-08-07 16:02] Running 'pacman-color -S cronjob'
    [2012-08-07 16:02] Running 'pacman-color -S cron'
    [2012-08-07 16:02] upgraded cronie (1.4.8-2 -> 1.4.8-2)
    [2012-08-07 16:04] Running 'pacman-color -S cronie'
    [2012-08-07 16:05] Running 'pacman-color -S esmtp procmail'
    [2012-08-07 16:05] installed libesmtp (1.0.6-2)
    [2012-08-07 16:05] installed esmtp (1.2-4)
    [2012-08-07 16:05] installed procmail (3.22-5)
    [2012-08-08 12:10] Running 'pacman -Sy'
    [2012-08-08 12:10] synchronizing package lists
    [2012-08-08 12:12] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.82R/pms-1.60.0-2-x86_64.pkg.tar.xz'
    [2012-08-08 12:12] upgraded pms (1.60.0-2 -> 1.60.0-2)
    [2012-08-08 18:02] Running 'pacman -R pms'
    [2012-08-08 18:02] removed pms (1.60.0-2)
    [2012-08-08 18:02] Running 'pacman -Sy'
    [2012-08-08 18:02] synchronizing package lists
    [2012-08-08 18:03] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.BkP/pms-1.60.0-2-x86_64.pkg.tar.xz'
    [2012-08-08 18:03] installed pms (1.60.0-2)
    [2012-08-08 18:17] Running 'pacman -S extra/icedtea-web'
    [2012-08-08 18:17] Running 'pacman -S extra/icedtea-web-java7'
    [2012-08-08 18:18] installed icedtea-web-java7 (1.2.1-2)
    [2012-08-08 18:36] Running 'pacman -R pms'
    [2012-08-08 1

    shadowlurker wrote:
    It's problem in pam configuration files. You need to create files useradd, userdel, groupadd and groupdel in /etc/pam.d/ directory with following content:
    auth sufficient pam_rootok.so
    auth required pam_unix.so
    account required pam_unix.so
    session required pam_unix.so
    password required pam_permit.so
    You da man! I also had to add grpconv and chage to get filesystem working but all seems well now thanks!
    Doug piston had me try something that I think will help anyone else who has this problem.  Try re-installing pambase and shadow.  It generated back most of any I was missing.
    Last edited by shauder (2012-11-03 00:55:19)

  • Installation problems with Solaris 8 on Intel

    Howdy,
    I am having some problem with my installation of Solaris 8 on Intel. I am installing the system on a P133 (Asus TX97 motherboard). When I first start the installation and perform the system scan I get the following error:
    The PnP ISA: IDE Controller programable device was unable to be programmed.
    This could be caused by two possible reasons:
    - Lack of resouces available
    - There is a conflict with the following already-existing device: 8086,7111 - Bus Mastering IDE Controller
    When I bring up the View/Edit device settings and I scroll to the IDE controller there is an ! mark beside the PCI IDE controller. The controler is specifying: Bus 0, device: 1, function: 1 port 1F0-1F7, 3F6, 170-177, 376, E000-E00F, 0 IRQ 14, 15
    Does anyone have any suggestions on how to resolve this conflict? I tried removing the PCI IDE interface and then installing a ISA IDE interfact (for IRQ: 14, IRQ 15 automatically put a PnP IDE controller there). This seemed to resolve the conflict but then I received a: No Bootable devices have been found.
    If anyone can help out with how to resolve the conflict, or what the No Bootable Devices have been found error it would be greatly appreciated.
    Currently there is a partition set up with NT on it, but I wish to basically get rid of everything on the HD and install Solaris on it. FYI, when I check the HD's in NT it mentions I/0: 1F0-1F7 IRQ 14 and also I/O 170-177 IRQ 15.
    Any help would greatly be appreciated.
    Regards,
    S.

    When I close down Solais in the CDE I am taken back to the logon screen
    and I turn the PC off.Don't do that. If you simply turn off the PC, the OS has no chance to
    write back cached / modified disk data back to the HDD - this is also the
    reason why solaris has to check the filesystems on the next boot and apparently
    has to repair filesystem defects.
    What you have to do is shutdown the machine, before you can power it off.
    Login as user "root" and use the command
    init 5
    or
    halt
    "init 5" will shutdown system services, by executing commands from
    /etc/rc0.d/K* with argument "stop". Then it'll sync all modified disk blocks to
    the HDD, kills all remaining processes and unmounts all filesystems. In this
    state it's safe to power off the machine!
    "halt" is a quick-and-dirty shutdown. It does not stop system services (the
    /etc/rc0.d/K* commands are not run). But, it syncs all modified disk blocks
    to the HDD, kills all processes and unmounts all filesystems. "init 5" is preferred,
    especially if you have services like a database server running on the machine,
    which needs to be cleanly shutdown. On the other hand, with a default solaris
    installation and no extra services, a simple "halt" should be OK.
    Btw. if multiple users are logged in on the machine, you should also have a look
    at the shutdown(1M) command. "shutdown" sends warnings to the logged in
    users that the machine is about to be shut down, ...

  • Problem with Content Server 4 keystore access on Ubuntu 8.04

    Hello,
    Setting up the Content Server I encounter this problem with the fulfillment server Status check-up:
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
    root cause
    java.lang.Error: Problem reading key and certificate from keystore
         com.adobe.adept.fulfillment.security.ServerConfig.init(ServerConfig.java:201)
         com.adobe.adept.fulfillment.security.ServerConfig.getSigningURL(ServerConfig.java:48)
         com.adobe.adept.fulfillment.servlet.FulfillmentServerStatus.getServers(FulfillmentServerStatus.java:34)
         com.adobe.adept.common.servlet.Status.checkUp(Status.java:355)
         com.adobe.adept.common.servlet.Status.doGet(Status.java:421)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    I've created operator.p12 according to the instructions in the Quickstart guide
    and placed it in /etc where it is accessible by the server. I used OpenSSL 0.9.8k
    for this.
    I can use "openssl pkcs12 -in operator.p12 -out file.pem" to view the contents of
    the file.
    My Content Server fulfillment configuration is as follows:
    com.adobe.adept.init1=com.adobe.adept.shared.util.SharedInitialization
    com.adobe.adept.log.level=trace
    com.adobe.adept.log.file=/var/log/fulfillment.log
    com.adobe.adept.persist.sql.driverClass=com.mysql.jdbc.Driver
    com.adobe.adept.persist.sql.connection=jdbc:mysql://127.0.0.1:3306/adept
    com.adobe.adept.persist.sql.dialect=mysql
    com.adobe.adept.persist.sql.user=ereading
    com.adobe.adept.persist.sql.password=********
    com.adobe.adept.fulfillment.security.licensesignURL=https://eusigningservice.adobe.com/licensesign
    com.adobe.adept.fulfillment.security.keystore.user=operator
    com.adobe.adept.fulfillment.security.keystore.password=********
    com.adobe.adept.fulfillment.security.pkcs12.file=file:///etc/operator.p12
    com.adobe.adept.serviceURL=http://******.dmz.******.org/fulfillment
    Any ideas?
    Best regards,
    Teemu

    for solve this, change  this
    com.adobe.adept.fulfillment.security.pkcs12.file=file:///etc/operator.p12
    for this
    com.adobe.adept.fulfillment.security.pkcs12.file=/etc/operator.p12

Maybe you are looking for