Problem with dbms_xdb.setListenerLocalAccess(false);

Hello,
I just made a clean instal of XE and I loged in as sysdba and tried to run:
exec dbms_xdb.setListenerLocalAccess(TRUE);
but I keep getting and error
component dbms_xdb.setListenerLocalAccess must be declared.
I do not know if it is relevant or not, but I made an exception in firewall for 8080 and no antivirus is interfering.
Any ideas what is wrong and how I can fix this.
Thanks in advance.

Hi jana;
Please see:
http://www.liberidu.com/blog/?p=185
dbms_xdb.setListenerLocalAccess
DBMS_XDB.SETLISTENERLOCALACCESS (missing on Linux)
Regard
Helios

Similar Messages

  • Problem with DBMS_XDB.SETLISTENERLOCALACCESS (error PLS-00201)

    Hello everyone,
    I'm new to oracle and I have a problem after my installation.
    I install Oracle XE 11.2 on CENTOS 6.
    The installation does not seem to be a problem.
    Now I'm trying to activate the web interface for my lan with the command EXEC DBMS_XDB.SETLISTENERLOCALACCESS (FALSE);
    Unfortunately it does not work. Here is the error:
    -bash-4.1$ ./sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production on Wed Nov 20 15:40:23 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
    SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
    BEGIN DBMS_XDB.SETLISTENERLOCALACCESS(FALSE); END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'DBMS_XDB.SETLISTENERLOCALACCESS' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    SQL>
    If someone can help me ... (and sorry for my english).

    Pretty sure the ...setlistenerlocalaccess call is not needed for the 11g XE version, by default in a 10g XE install remote apex access was disabled "out of the box". There was a change to that behavior in the final (?) 11g installer.
    Try a `desc[ribe] dbms_xdb` in sqlplus, that should give a (fairly long) listing of that package, its procedures and functions. What matters for getting the apex web pages working is a few items that relate to the network setup for the host and how the installer gets all that set up in the $ORACLE_HOME/network/admin/listener.ora file.
    Also note per the XE docs, Managing Network Connections says to use a SYSTEM connection, not SYSDBA, although for the XE setup on my (windows host) either a sysdba or a system connection both run that exec statement OK for me. Might be a linux vs. windows thing.
    A `lsnrctl status` output will show an HTTP presentation endpoint (default port 8080) in the section "Listener endpoints ..." as well as an endpoint to service remote database connection requests on port 1521. If the 8080 endpoint is not showing up, nothing will get the apex working. Nothing.
    And if you want to connect to apex from a different (remote) host be sure port 8080 is open in the firewall. That step is a frequent tripping point for lots of folks.
    Message was edited by: clcarter
    added system connection info from XE docs

  • EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);

    hi, there i have execute this procedure in database
    EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
    How to query if the procedure is success.. tx

    SETLISTENERLOCALACCESS Procedure (as per manual)
    This procedure restricts all listener end points of the XML DB HTTP server to listen either only on the localhost interface (when l_access is set to TRUE) or to listen on both localhost and non-localhost interfaces (when l_access is set to FALSE).
    If false then XDB endpoints are both on localhost and the public interfaces of the server. You can confirm that by
    checking the service endpoints registered with the LOCAL_LISTENER (i.e. are the HTTP and/or FTP raw endpoints available on localhost and the public IP of the server)?
    doing a physical check using telnet on the specified port on both localhost and the public IP
    Note the XDB need dispatchers and shared servers, and the DISPATCHER parameter correctly configured.

  • Cannot run 'exec dbms_xdb.setlistenerlocalaccess(false)' in sqlplus for XE

    Cannot run 'exec dbms_xdb.setlistenerlocalaccess(false)' from within sqlplus.
    Apparently it does not exist, because when i do
    sql> describe dbms_xdb
    it shows sethttpport... but not the setlistenerlocalaccess.

    Do you get any error messages?
    It works correctly for me:
    C:\WINDOWS\system32>sqlplus system/<pwd>@xe
    SQL*Plus: Release 10.2.0.1.0 - Production on Sa Feb 25 20:47:16 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Verbunden mit:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> exec dbms_xdb.setListenerLocalAccess(true);
    PL/SQL-Prozedur erfolgreich abgeschlossen.
    SQL> exec dbms_xdb.setListenerLocalAccess(false);
    PL/SQL-Prozedur erfolgreich abgeschlossen.###
    1) As which user do you connect?
    2) What version do you use (e.g. Windows Universal or Linux Western European)?
    3) Please post your error sqlplus protocol
    ~Dietmar.

  • DBMS_XDB.SETLISTENERLOCALACCESS (missing on Linux)

    I've installed Oracle Express on Linux with a GUI and need to enable remote clients
    oracle-xe-univ-10.2.0.1-1.0.i386.rpm
    This version does not have the stored procedure
    dbms_xdb.setListenerLocalAccess
    It does exist on the windows version.
    Is there a work around for this problem using the command line?

    Windows:
    SQL> desc dbms_xdb
    FUNCTION ACLCHECKPRIVILEGES RETURNS BINARY_INTEGER
    Argument Name Type In/Out Default?
    ACL_PATH VARCHAR2 IN
    OWNER VARCHAR2 IN
    PRIVS XMLTYPE IN
    PROCEDURE APPENDRESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA XMLTYPE IN
    PROCEDURE APPENDRESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA REF OF XMLTYPE IN
    FUNCTION CFG_GET RETURNS XMLTYPE
    PROCEDURE CFG_REFRESH
    PROCEDURE CFG_UPDATE
    Argument Name Type In/Out Default?
    XDBCONFIG XMLTYPE IN
    FUNCTION CHANGEPRIVILEGES RETURNS BINARY_INTEGER
    Argument Name Type In/Out Default?
    RES_PATH VARCHAR2 IN
    ACE XMLTYPE IN
    FUNCTION CHECKPRIVILEGES RETURNS BINARY_INTEGER
    Argument Name Type In/Out Default?
    RES_PATH VARCHAR2 IN
    PRIVS XMLTYPE IN
    PROCEDURE CLEANSGAFORUPGRADE
    FUNCTION CREATEFOLDER RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    FUNCTION CREATEOIDPATH RETURNS VARCHAR2
    Argument Name Type In/Out Default?
    OID RAW IN
    FUNCTION CREATERESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA VARCHAR2 IN
    FUNCTION CREATERESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA XMLTYPE IN
    FUNCTION CREATERESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA REF OF XMLTYPE IN
    STICKY BOOLEAN IN DEFAULT
    FUNCTION CREATERESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA CLOB IN
    FUNCTION CREATERESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA BINARY FILE LOB IN
    CSID NUMBER IN DEFAULT
    FUNCTION CREATERESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA BLOB IN
    CSID NUMBER IN DEFAULT
    PROCEDURE DELETERESOURCE
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DELETE_OPTION BINARY_INTEGER IN DEFAULT
    PROCEDURE DELETERESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    METADATA REF OF XMLTYPE IN
    DELETE_OPTION BINARY_INTEGER IN DEFAULT
    PROCEDURE DELETERESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    METADATANS VARCHAR2 IN
    METADATANAME VARCHAR2 IN
    DELETE_OPTION BINARY_INTEGER IN DEFAULT
    FUNCTION EXISTSRESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    FUNCTION GETACLDOCUMENT RETURNS XMLTYPE
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    FUNCTION GETFTPPORT RETURNS NUMBER
    FUNCTION GETHTTPPORT RETURNS NUMBER
    PROCEDURE GETLISTENERENDPOINT
    Argument Name Type In/Out Default?
    ENDPOINT NUMBER IN
    HOST VARCHAR2 OUT
    PORT NUMBER OUT
    PROTOCOL NUMBER OUT
    PROCEDURE GETLOCKTOKEN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    LOCKTOKEN VARCHAR2 OUT
    FUNCTION GETPRIVILEGES RETURNS XMLTYPE
    Argument Name Type In/Out Default?
    RES_PATH VARCHAR2 IN
    FUNCTION GETRESOID RETURNS RAW
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    FUNCTION GETXDB_TABLESPACE RETURNS VARCHAR2
    PROCEDURE LINK
    Argument Name Type In/Out Default?
    SRCPATH VARCHAR2 IN
    LINKFOLDER VARCHAR2 IN
    LINKNAME VARCHAR2 IN
    FUNCTION LOCKRESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DEPTHZERO BOOLEAN IN
    SHARED BOOLEAN IN
    PROCEDURE MIGRATEALLXMLFROM9201
    PROCEDURE MIGRATECOLUMNFROM9201
    Argument Name Type In/Out Default?
    OWNER VARCHAR2 IN
    TABLE_NAME VARCHAR2 IN
    COLUMN_NAME VARCHAR2 IN
    PROCEDURE MIGRATETABLEFROM9201
    Argument Name Type In/Out Default?
    OWNER VARCHAR2 IN
    TABLE_NAME VARCHAR2 IN
    PROCEDURE MOVEXDB_TABLESPACE
    Argument Name Type In/Out Default?
    NEW_TABLESPACE VARCHAR2 IN
    PROCEDURE PURGERESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    PROCEDURE REBUILDHIERARCHICALINDEX
    PROCEDURE RENAMERESOURCE
    Argument Name Type In/Out Default?
    SRCPATH VARCHAR2 IN
    DESTFOLDER VARCHAR2 IN
    NEWNAME VARCHAR2 IN
    PROCEDURE SETACL
    Argument Name Type In/Out Default?
    RES_PATH VARCHAR2 IN
    ACL_PATH VARCHAR2 IN
    PROCEDURE SETFTPPORT
    Argument Name Type In/Out Default?
    NEW_PORT NUMBER IN
    PROCEDURE SETHTTPPORT
    Argument Name Type In/Out Default?
    NEW_PORT NUMBER IN
    PROCEDURE SETLISTENERENDPOINT
    Argument Name Type In/Out Default?
    ENDPOINT NUMBER IN
    HOST VARCHAR2 IN
    PORT NUMBER IN
    PROTOCOL NUMBER IN
    PROCEDURE SETLISTENERLOCALACCESS
    Argument Name Type In/Out Default?
    L_ACCESS BOOLEAN IN
    FUNCTION UNLOCKRESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DELTOKEN VARCHAR2 IN
    PROCEDURE UPDATERESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    OLDMETADATA REF OF XMLTYPE IN
    NEWMETADATA REF OF XMLTYPE IN
    PROCEDURE UPDATERESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    OLDMETADATA REF OF XMLTYPE IN
    NEWMETADATA XMLTYPE IN
    PROCEDURE UPDATERESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    OLDNS VARCHAR2 IN
    OLDNAME VARCHAR2 IN
    NEWMETADATA XMLTYPE IN
    PROCEDURE UPDATERESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    OLDNS VARCHAR2 IN
    OLDNAME VARCHAR2 IN
    NEWMETADATA REF OF XMLTYPE IN
    Linux
    SQL> desc dbms_xdb
    FUNCTION ACLCHECKPRIVILEGES RETURNS BINARY_INTEGER
    Argument Name Type In/Out Default?
    ACL_PATH VARCHAR2 IN
    OWNER VARCHAR2 IN
    PRIVS XMLTYPE IN
    PROCEDURE APPENDRESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA XMLTYPE IN
    PROCEDURE APPENDRESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA REF OF XMLTYPE IN
    FUNCTION CFG_GET RETURNS XMLTYPE
    PROCEDURE CFG_REFRESH
    PROCEDURE CFG_UPDATE
    Argument Name Type In/Out Default?
    XDBCONFIG XMLTYPE IN
    FUNCTION CHANGEPRIVILEGES RETURNS BINARY_INTEGER
    Argument Name Type In/Out Default?
    RES_PATH VARCHAR2 IN
    ACE XMLTYPE IN
    FUNCTION CHECKPRIVILEGES RETURNS BINARY_INTEGER
    Argument Name Type In/Out Default?
    RES_PATH VARCHAR2 IN
    PRIVS XMLTYPE IN
    PROCEDURE CLEANSGAFORUPGRADE
    FUNCTION CREATEFOLDER RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    FUNCTION CREATEOIDPATH RETURNS VARCHAR2
    Argument Name Type In/Out Default?
    OID RAW IN
    FUNCTION CREATERESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA VARCHAR2 IN
    FUNCTION CREATERESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA XMLTYPE IN
    FUNCTION CREATERESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA REF OF XMLTYPE IN
    STICKY BOOLEAN IN DEFAULT
    FUNCTION CREATERESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA CLOB IN
    FUNCTION CREATERESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA BINARY FILE LOB IN
    CSID NUMBER IN DEFAULT
    FUNCTION CREATERESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DATA BLOB IN
    CSID NUMBER IN DEFAULT
    PROCEDURE DELETERESOURCE
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DELETE_OPTION BINARY_INTEGER IN DEFAULT
    PROCEDURE DELETERESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    METADATA REF OF XMLTYPE IN
    DELETE_OPTION BINARY_INTEGER IN DEFAULT
    PROCEDURE DELETERESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    METADATANS VARCHAR2 IN
    METADATANAME VARCHAR2 IN
    DELETE_OPTION BINARY_INTEGER IN DEFAULT
    FUNCTION EXISTSRESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    FUNCTION GETACLDOCUMENT RETURNS XMLTYPE
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    FUNCTION GETFTPPORT RETURNS NUMBER
    FUNCTION GETHTTPPORT RETURNS NUMBER
    PROCEDURE GETLOCKTOKEN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    LOCKTOKEN VARCHAR2 OUT
    FUNCTION GETPRIVILEGES RETURNS XMLTYPE
    Argument Name Type In/Out Default?
    RES_PATH VARCHAR2 IN
    FUNCTION GETRESOID RETURNS RAW
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    FUNCTION GETXDB_TABLESPACE RETURNS VARCHAR2
    PROCEDURE LINK
    Argument Name Type In/Out Default?
    SRCPATH VARCHAR2 IN
    LINKFOLDER VARCHAR2 IN
    LINKNAME VARCHAR2 IN
    FUNCTION LOCKRESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DEPTHZERO BOOLEAN IN
    SHARED BOOLEAN IN
    PROCEDURE MIGRATEALLXMLFROM9201
    PROCEDURE MIGRATECOLUMNFROM9201
    Argument Name Type In/Out Default?
    OWNER VARCHAR2 IN
    TABLE_NAME VARCHAR2 IN
    COLUMN_NAME VARCHAR2 IN
    PROCEDURE MIGRATETABLEFROM9201
    Argument Name Type In/Out Default?
    OWNER VARCHAR2 IN
    TABLE_NAME VARCHAR2 IN
    PROCEDURE MOVEXDB_TABLESPACE
    Argument Name Type In/Out Default?
    NEW_TABLESPACE VARCHAR2 IN
    PROCEDURE PURGERESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    PROCEDURE REBUILDHIERARCHICALINDEX
    PROCEDURE RENAMERESOURCE
    Argument Name Type In/Out Default?
    SRCPATH VARCHAR2 IN
    DESTFOLDER VARCHAR2 IN
    NEWNAME VARCHAR2 IN
    PROCEDURE SETACL
    Argument Name Type In/Out Default?
    RES_PATH VARCHAR2 IN
    ACL_PATH VARCHAR2 IN
    PROCEDURE SETFTPPORT
    Argument Name Type In/Out Default?
    NEW_PORT NUMBER IN
    PROCEDURE SETHTTPPORT
    Argument Name Type In/Out Default?
    NEW_PORT NUMBER IN
    FUNCTION UNLOCKRESOURCE RETURNS BOOLEAN
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    DELTOKEN VARCHAR2 IN
    PROCEDURE UPDATERESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    OLDMETADATA REF OF XMLTYPE IN
    NEWMETADATA REF OF XMLTYPE IN
    PROCEDURE UPDATERESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    OLDMETADATA REF OF XMLTYPE IN
    NEWMETADATA XMLTYPE IN
    PROCEDURE UPDATERESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    OLDNS VARCHAR2 IN
    OLDNAME VARCHAR2 IN
    NEWMETADATA XMLTYPE IN
    PROCEDURE UPDATERESOURCEMETADATA
    Argument Name Type In/Out Default?
    ABSPATH VARCHAR2 IN
    OLDNS VARCHAR2 IN
    OLDNAME VARCHAR2 IN
    NEWMETADATA REF OF XMLTYPE IN
    From these descriptions you can see that
    PROCEDURE SETLISTENERENDPOINT
    and
    PROCEDURE SETLISTENERLOCALACCESS
    are missing on LINUX
    (oracle-xe-univ-10.2.0.1-1.0.i386.rpm)
    Error when attempting
    exec dbms_xdb.setlistenerlocalaccess(false);
    SQL> exec dbms_xdb.setlistenerlocalaccess(false);
    BEGIN dbms_xdb.setlistenerlocalaccess(false); END;
    ERROR at line 1:
    ORA-06550: line 1, column 16:
    PLS-00302: component 'SETLISTENERLOCALACCESS' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    A description of the package in Linux and Windows does not agree with your comment that this is identical on both systems. I cant comment about whether the UI works on Linux or not since have not access to a local browser.
    Thank you for your assistance.

  • Spry menu problems with Internet explorer

    Hi everyone
    I'm having ongoing problems with my horizontal menus and
    internet explorer. They work fine in other browsers and with the
    generous help of others at these forums I've managed to sort out
    most of the problems. But I've hit a real wall with this one. The
    menus drop down showing the links OK but you cannot highlight or
    click on the options that drop down, they just appear as text. Any
    help would be appretiated. My appologies for posting in other
    threads also but just hoping for a response.
    I am very new to this side of design so simple answers would
    be very helpful. Thanks
    Bob

    I have 2 similar problems to the prior posts:
    1) I run IE7 and FF and the positioning of my submenus are
    skewed in IE only.
    2) I am not sure, but I believe I have a problem with my
    iframe appearing in my IE7 browser behind all of my submenus. Well,
    I know I have a problem with something, but whether or not it's the
    iframe I don't know. What I do know is that the box shows up like a
    border around my submenus and I can't get rid of it. I suspect that
    it may be caused by the fact that my menu buttons are imported
    gif's in the shape of rounded rectangles which allows for the
    corners to be visible. I actually just thought about it and my
    gif's are set to have a white index transparency, but maybe If I
    export the gifs without transparency, then that issue will be
    resolved. Well I will try that part and see, but any and all
    suggestions are welcome. Oh and I just remembered, that problem
    with the border around my submenus also has another problem with
    the word "false" inside of that border behind my submenus. This
    problem again is only in my IE browser, and it is hard to see it,
    but I have no idea why that is there or what it's from. I ran a
    search in my SpryMenuHorizontal.css page and in my html page for
    the word 'false' but nothing turned up. The only document related
    to this issue that contains the word 'false' is the
    'SpryMenuBar.js' document.
    CSS
    Layout file
    HTML Demo
    link
    Thank you,
    Danny

  • A problem with threads

    I am trying to implement some kind of a server listening for requests. The listener part of the app, is a daemon thread that listens for connections and instantiates a handling daemon thread once it gets some. However, my problem is that i must be able to kill the listening thread at the user's will (say via a sto button). I have done this via the Sun's proposed way, by testing a boolean flag in the loop, which is set to false when i wish to kill the thread. The problem with this thing is the following...
    Once the thread starts excecuting, it will test the flag, find it true and enter the loop. At some point it will LOCK on the server socket waiting for connection. Unless some client actually connects, it will keep on listening indefinatelly whithought ever bothering to check for the flag again (no matter how many times you set the damn thing to false).
    My question is this: Is there any real, non-theoretical, applied way to stop thread in java safely?
    Thank you in advance,
    Lefty

    This was one solution from the socket programming forum, have you tried this??
    public Thread MyThread extends Thread{
         boolean active = true;          
         public void run(){
              ss.setSoTimeout(90);               
              while (active){                   
                   try{                       
                        serverSocket = ss.accept();
                   catch (SocketTimeoutException ste){
                   // do nothing                   
         // interrupt thread           
         public void deactivate(){               
              active = false;
              // you gotta sleep for a time longer than the               
              // accept() timeout to make sure that timeout is finished.               
              try{
                   sleep(91);               
              }catch (InterruptedException ie){            
              interrupt();
    }

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

  • Problem with threads running javaw

    Hi,
    Having a problem with multi thread programming using client server sockets. The program works find when starting the the application in a console using java muti.java , but when using javaw multi.java the program doesnt die and have to kill it in the task manager. The program doesnt display any of my gui error messages either when the server disconnect the client. all works find in a console. any advice on this as I havent been able to understand why this is happening? any comment would be appreciated.
    troy.

    troy,
    Try and post a minimum code sample of your app which
    does not work.
    When using javaw, make sure you redirect the standard
    error and standard output streams to file.
    Graeme.Hi Graeme,
    I dont understand what you mean by redirection to file? some of my code below.
    The code works fine under a console, code is supposed to exit when the client (the other server )disconnects. the problem is that but the clientworker side of the code still works. which under console it doesnt.
    public class Server{
    ServerSocket aServerSocket;
    Socket dianosticsSocket;
    Socket nPortExpress;
    ClientListener aClientListener;
    LinkedList queue = new LinkedList();
    int port = 0;
    int clientPort = 0;
    String clientName = null;
    boolean serverAlive = true;
    * Server constructor generates a server
    * Socket and then starts a client threads.
    * @param aPort      socket port of local machine.
    public Server(int aPort, String aClientName, int aClientPort){
    port = aPort;
    clientName = aClientName;
    clientPort = aClientPort;
    try{
    // create a new thread
    aServerSocket = new ServerSocket(port) ;
    // connect to the nPortExpress
    aClientListener = new ClientListener(InetAddress.getByName(clientName), clientPort, queue,this);
    // aClientListener.setDaemon(true);
    aClientListener.start();
    // start a dianostic port
    DiagnosticsServer aDiagnosticsServer = new DiagnosticsServer(port,queue,aClientListener);
    // System.out.println("Server is running on port " + port + "...");
    // System.out.println("Connect to nPort");
    catch(Exception e)
    // System.out.println("ERROR: Server port " + port + " not available");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Server port " + port + " not available", JOptionPane.ERROR_MESSAGE);
    serverAlive = false;
    System.exit(1);
    while(serverAlive&&aClientListener.hostSocket.isConnected()){
    try{
    // connect the client
    Socket aClient = aServerSocket.accept();
    //System.out.println("open client connection");
    //System.out.println("client local: "+ aClient.getLocalAddress().toString());
    // System.out.println("client localport: "+ aClient.getLocalPort());
    // System.out.println("client : "+ aClient.getInetAddress().toString());
    // System.out.println("client port: "+ aClient.getLocalPort());
    // make a new client thread
    ClientWorker clientThread = new ClientWorker(aClient, queue, aClientListener, false);
    // start thread
    clientThread.start();
    catch(Exception e)
    //System.out.println("ERROR: Client connection failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client connection failure", JOptionPane.ERROR_MESSAGE);
    }// end while
    } // end constructor Server
    void serverExit(){
         JOptionPane.showMessageDialog(null, "Server ","ERROR: nPort Failure", JOptionPane.ERROR_MESSAGE);
         System.exit(1);
    }// end class Server
    *** connect to another server
    public class ClientListener extends Thread{
    InetAddress hostName;
    int hostPort;
    Socket hostSocket;
    BufferedReader in;
    PrintWriter out;
    boolean loggedIn;
    LinkedList queue;      // reference to Server queue
    Server serverRef; // reference to main server
    * ClientListener connects to the host server.
    * @param aHostName is the name of the host eg server name or IP address.
    * @param aHostPort is a port number of the host.
    * @param aLoginName is the users login name.
    public ClientListener(InetAddress aHostName, int aHostPort,LinkedList aQueue,Server aServer)      // reference to Server queue)
    hostName = aHostName;
    hostPort = aHostPort;
    queue = aQueue;
    serverRef = aServer;      
    // connect to the server
    try{
    hostSocket = new Socket(hostName, hostPort);
    catch(IOException e){
    //System.out.println("ERROR: Connection Host Failed");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort Failed", JOptionPane.ERROR_MESSAGE);     
    System.exit(0);
    } // end constructor ClientListener
    ** multi client connection server
    ClientWorker(Socket aSocket,LinkedList aQueue, ClientListener aClientListener, boolean diagnostics){
    queue = aQueue;
    addToQueue(this);
    client = aSocket;
    clientRef = aClientListener;
    aDiagnostic = diagnostics;
    } // end constructor ClientWorker
    * run method is the main loop of the server program
    * in change of handle new client connection as well
    * as handle all messages and errors.
    public void run(){
    boolean alive = true;
    String aSubString = "";
    in = null;
    out = null;
    loginName = "";
    loggedIn = false;
    while (alive && client.isConnected()&& clientRef.hostSocket.isConnected()){
    try{
    in = new BufferedReader(new InputStreamReader(client.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(client.getOutputStream()));
    if(aDiagnostic){
    out.println("WELCOME to diagnostics");
    broadCastDia("Connect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    out.println("WELCOME to Troy's Server");
    broadCastDia("Connect : client "+client.getInetAddress().toString());
         out.flush();
    String line;
    while(((line = in.readLine())!= null)){
    StringTokenizer aStringToken = new StringTokenizer(line, " ");
    if(!aDiagnostic){
    broadCastDia(line);
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    else{
    if(line.equals("GETIPS"))
    getIPs();
    else{
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    } // end while
    catch(Exception e){
    // System.out.println("ERROR:Client Connection reset");
                             JOptionPane.showMessageDialog(null, (e.toString()),"ERROR:Client Connection reset", JOptionPane.ERROR_MESSAGE);     
    try{
    if(aDiagnostic){
    broadCastDia("Disconnect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    broadCastDia("Disconnect : client "+client.getInetAddress().toString());
         out.flush();
    // close the buffers and connection;
    in.close();
    out.close();
    client.close();
    // System.out.println("out");
    // remove from list
    removeThreadQueue(this);
    alive = false;
    catch(Exception e){
    // System.out.println("ERROR: Client Connection reset failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client Connection reset failure", JOptionPane.ERROR_MESSAGE);     
    }// end while
    } // end method run
    * method run - Generates io stream for communicating with the server and
    * starts the client gui. Run also parses the input commands from the server.
    public void run(){
    boolean alive = true;
    try{
    // begin to life the gui
    // aGuiClient = new ClientGui(hostName.getHostName(), hostPort, loginName, this);
    // aGuiClient.show();
    in = new BufferedReader(new InputStreamReader(hostSocket.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(hostSocket.getOutputStream()));
    while (alive && hostSocket.isConnected()){
    String line;
    while(((line = in.readLine())!= null)){
    System.out.println(line);
    broadCast(line);
    } // end while
    } // end while
    catch(Exception e){
    //     System.out.println("ERRORa Connection to host reset");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort reset", JOptionPane.ERROR_MESSAGE);
    try{
    hostSocket.close();
         }catch(Exception a){
         JOptionPane.showMessageDialog(null, (a.toString()),"ERROR: Exception", JOptionPane.ERROR_MESSAGE);
    alive = false;
    System.exit(1);
    } // end method run

  • Remote Delta link setup problem with Bean / Access Service

    Hello,
    I am trying to setup Remote Delta Link (RDL) between two portals. (Both portals same version - EP 7.0 EHP1 SP 05 - are in the same domain)
    I already have the Remote Role Assignment working without any issues.
    The following have been done successfully:
    1. Same user repository has been setup for both the portals
    2. Setup trust between producer and consumer (SSO working fine)
    3. Producer added and registered succesfully on consumer
    4. Permissions setup on producer and consumer
    4. pcd_service user with required UME actions setup
    I am able to see all the remote content in the Consumer portal.
    When I try to copy the remote content and paste it as local content, I am getting the following error:
    Could not create remote delta link to object 'page id'. Could not connect to the remote portal. The remote portal may be down, there may be a network problem, or your connection settings to the remote portal may be configured incorrectly.
    After increasing the log severity, I am able to see the following in Default Trace:
    com.sap.portal.fpn.transport.Trying to lookup access service (P4-RMI) for connecting to producer 'ess_int' with information: com.sap.portal.fpn.remote.AccessServiceInformation@31c92207[connectionURL=hostname.mycompany.com:50004, shouldUseSSL=false, RemoteName=AccessService]
    com.sap.portal.fpn.transport.Unable to lookup access service (P4-RMI) with information: com.sap.portal.fpn.remote.AccessServiceInformation@31c92207[connectionURL=hostname.mycompany.com:50004, shouldUseSSL=false, RemoteName=AccessService]
    AbstractAdvancedOperation.handleDirOperationException
    [EXCEPTION]
    com.sap.portal.pcm.admin.exceptions.DirOperationFailedException: Could not retrieve the bean / access service to connect with producer
    Could not retrieve the bean / access service to connect with producer
    Like you can see above, there is some bean / access service which is not retrieved successfully. I am not sure if this is a permission problem on the consumer.
    I have checked that the P4 ports are configured correctly (standard - not changed) and I am able to telnet from producer to consumer (and vice versa) on the P4 port.
    I am stuck at this point and am not able to find any information on this.
    I would really appreciate if some one can point me in the right direction.
    Thank you for reading.
    - Raj

    Hi Raj,
    Please check your config of the P4 port on the producer.  Is it really 50004 (check SystemInfo of the producer)?
    I do think there's a problem with the P4 communication since RDL requires P4 connection.
    Do you have load balanced consumer-producer connection? Please refer to this blog for further details
    Little known ways to create a load balanced Consumer – Producer connection in a FPN scenario
    Regards,
    Dao

  • Having Problems With The Neo2 ? Read This!!!!

    Hi,
    i just bought a neo2 motherboard, with a p4 2,6 HT and 512 mb Kingston hyper ram ( 2 peaces of 256, else it won't use the dual bandwith :D)
    In the beginning everything seemed fine, until i got some sudden reboots and other vague stuff. I read it could be the SB audigy messing things up. I removed the card and windows Xp pro runs fine now. no more sudden reboots or explorer not resonding crashes.
    But, i still had problems with games crashing. I got reboots. After i set the "automatic reboot after crash" to false, i got blue screens or lock-ups in my games.
    I wondered what it could be. Then i started to put my videocard ( a radeon 9700 pro 128 mb) in agp 4x mode instead of agp 8x! Now my games run without crashes, but benchmarks are not that high. 4780 marks with 3dmark 2003.
    I think i will send msi and Ati a mail concerning this problem. I don't know if it is PSU related. Maybe the videocard demands a little more power in agp 8x mode.
    Well, having probs with you're NEO2 ??
    remove the sb Audigy and turn the agp back to 4 using smartgart ( it's located in you're display settings screen ).
    First i tought it was a PSU related problem, because i swapped my 350 Watt enermax with a Q-tec 400 watt psu. The 400 watt PSU died while i was gaming. Maybe the enermax is the better PSU :D So, it could still be a PSU related problem. Maybe the agp 8x settings demands a lot more from you're psu. Anyway, i'll receive a 550 watt Antec PSU soon, so i can check this out....
    Btw. I cant run the motherboard in anything better than "slow" mode. In all other modes Xp won't boot. I haven't tryed it since the AGP is at 4X, but i don't think it will matter.
    Regards,
    Welcome to the real world NEO :D

    Ok.....
    i raised the memory voltage setting in the bios from 2.65 to 2.8 and the agp voltage from 1.5 to 1.7
    Everything seems fine, but games crash back to the desktop now without an error message or the either lockup.
    Whatever i do, i can't make the mobo crash in anything but games!
    Btw. the following message caught my attention, when i ran f1 2002 with directx 8.1. Since i have directx 9, i haven't seen it anymore. Maybe because the ati-drivers are made for directx 9....
    // Watchdog Event Log File
    LogType: Watchdog
    Created: 2003-10-04 02:02:53
    TimeZone: -60 - West-Europa (standaardtijd)
    WindowsVersion: XP
    EventType: 0xEA - Thread Stuck in Device Driver
    // The driver for the display device got stuck in an infinite loop. This
    // usually indicates a problem with the device itself or with the device
    // driver programming the hardware incorrectly. Please check with your
    // display device vendor for any driver updates.
    ShutdownCount: 9
    Shutdown: 0
    EaRecovery: 1
    EventCount: 2
    BreakCount: 2
    BugcheckTriggered: 1
    DebuggerNotPresent: 1
    DriverName: ati2dvag
    EventFlag: 1
    DeviceClass: Display
    DeviceDescription: RADEON 9700 PRO
    HardwareID: PCI\VEN_1002&DEV_4E44&SUBSYS_00021002&REV_00
    Manufacturer: ATI Technologies Inc.
    DriverFixedFileInfo: FEEF04BD 00010000 0006000E 000A18EA 0006000E 000A18EA 0000003F 00000008 00040004 00000003 00000004 00000000 00000000
    DriverCompanyName: ATI Technologies Inc.
    DriverFileDescription: ATI Radeon WindowsNT Display Driver
    DriverFileVersion: 6.14.10.6378
    DriverInternalName: ati2dvag.dll
    DriverLegalCopyright: Copyright (C) 1998-2002 ATI Technologies Inc.
    DriverOriginalFilename: ati2dvag.dll
    DriverProductName: ATI Radeon Family
    DriverProductVersion: 5.2.3790.2
    I wish i had another videocard to test. My radeon 9700 pro is getting suspicious...
    Regards,
    The real world

  • 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 Steam - Dota2 and ETS2

    Hello
    I had never problems with Arch + xfce but last time I made fresh install of Arch with KDE and problems begins. Strange logs in steam running Dota 2 and Euro Truck Simulator 2. Dota 2 freezing, jumping even 60+ fps, both games can freeze for 1 min with sound.
    Lenovo Y580 - GTX660M
    After running Dota 2 with launch options (optirun -b primus %command% -console) output from console:
    Game update: AppID 570 "Dota 2", ProcID 1441, IP 0.0.0.0:0
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    pid 1455 != 1454, skipping destruction (fork without exec?)
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    Installing breakpad exception handler for appid(gameoverlayui)/version(20140715181500_client)
    Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
    Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    [0725/222647:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
    [0725/222647:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
    Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
    Using breakpad crash handler
    Setting breakpad minidump AppID = 570
    Forcing breakpad minidump interfaces to load
    Looking up breakpad interfaces from steamclient
    Calling BreakpadMiniDumpSystemInit
    Looking up breakpad interfaces from steamclient
    Calling BreakpadMiniDumpSystemInit
    Steam_SetMinidumpSteamID: Caching Steam ID: 76561198074650116 [API loaded yes]
    Steam_SetMinidumpSteamID: Setting Steam ID: 76561198074650116
    SDL video target is 'x11'
    SDL failed to create GL compatibility profile (whichProfile=0!
    This system supports the OpenGL extension GL_EXT_framebuffer_object.
    This system supports the OpenGL extension GL_EXT_framebuffer_blit.
    This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
    This system DOES NOT support the OpenGL extension GL_APPLE_fence.
    This system supports the OpenGL extension GL_NV_fence.
    This system supports the OpenGL extension GL_ARB_sync.
    This system supports the OpenGL extension GL_EXT_draw_buffers2.
    This system supports the OpenGL extension GL_EXT_bindable_uniform.
    This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
    This system supports the OpenGL extension GL_ARB_map_buffer_range.
    This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
    This system supports the OpenGL extension GL_ARB_occlusion_query.
    This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
    This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
    This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
    This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
    This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
    This system supports the OpenGL extension GL_ARB_framebuffer_object.
    This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
    This system supports the OpenGL extension GL_ARB_debug_output.
    This system supports the OpenGL extension GL_EXT_direct_state_access.
    This system supports the OpenGL extension GL_NV_bindless_texture.
    This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
    This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
    This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
    This system supports the OpenGL extension GL_NVX_gpu_memory_info.
    This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
    This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
    This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
    This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt3.
    This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt5.
    This system DOES NOT support the OpenGL extension GLX_EXT_swap_control_tear.
    GL_NV_bindless_texture: DISABLED
    GL_AMD_pinned_memory: DISABLED
    GL_EXT_texture_sRGB_decode: AVAILABLE
    GL_NVX_gpu_memory_info: AVAILABLE
    GL_ATI_meminfo: UNAVAILABLE
    GL_NVX_gpu_memory_info: Total Dedicated: 2097152, Total Avail: 2097152, Current Avail: 2076116
    GL_MAX_SAMPLES_EXT: 32
    Adding VPK file: /home/akikyo/.local/share/Steam/SteamApps/common/dota 2 beta/dota/sound_vo_english
    Adding VPK file: /home/akikyo/.local/share/Steam/SteamApps/common/dota 2 beta/dota/pak01
    Adding VPK file: /home/akikyo/.local/share/Steam/SteamApps/common/dota 2 beta/platform/pak01
    Did not detect any valid joysticks.
    WARNING: unable to link Test_StartScript and Test_StartScript because one or more is a ConCommand.
    WARNING: unable to link Test_RandomChance and Test_RandomChance because one or more is a ConCommand.
    WARNING: unable to link Test_LoopForNumSeconds and Test_LoopForNumSeconds because one or more is a ConCommand.
    WARNING: unable to link Test_Loop and Test_Loop because one or more is a ConCommand.
    WARNING: unable to link Test_LoopCount and Test_LoopCount because one or more is a ConCommand.
    WARNING: unable to link Test_StartLoop and Test_StartLoop because one or more is a ConCommand.
    WARNING: unable to link log_flags and log_flags because one or more is a ConCommand.
    WARNING: unable to link log_color and log_color because one or more is a ConCommand.
    WARNING: unable to link log_verbosity and log_verbosity because one or more is a ConCommand.
    WARNING: unable to link log_level and log_level because one or more is a ConCommand.
    WARNING: unable to link log_dumpchannels and log_dumpchannels because one or more is a ConCommand.
    Load a scaleform font provider?
    Creating D3D9 device with D3DCREATE_MULTITHREADED
    IDirect3DDevice9::Create: BackBufWidth: 1366, BackBufHeight: 768, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
    GL sampler object usage: DISABLED
    ##### swap interval = 0 swap limit = 1 #####
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    !! Controller config file passed by steamworks game 570 did not exist at /home/akikyo/.local/share/Steam/SteamApps/common/dota 2 beta/dota/cfg/controller.vdf
    Installing breakpad exception handler for appid(steam)/version(1405474565_client)
    [0725/222707:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
    [0725/222707:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
    Im not able to run ETS 2 it's going to change resolution to 1024x768 in whole desktop and then crash. (Launch option: optirun -b primus %command%) output:
    Game update: AppID 227300 "Euro Truck Simulator 2", ProcID 1554, IP 0.0.0.0:0
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    (steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    Setting breakpad minidump AppID = 227300
    Steam_SetMinidumpSteamID: Caching Steam ID: 76561198074650116 [API loaded no]
    Registered appid 227300 to use native controller config at /home/akikyo/.local/share/Steam/SteamApps/common/Euro Truck Simulator 2/controller.vdf
    X Error of failed request: GLXUnsupportedPrivateRequest
    Major opcode of failed request: 155 (GLX)
    Minor opcode of failed request: 16 (X_GLXVendorPrivate)
    Serial number of failed request: 80
    Current serial number in output stream: 82
    Game removed: AppID 227300 "Euro Truck Simulator 2", ProcID 1567
    sudo journalctl
    Jul 25 22:35:15 lenovo bumblebeed[396]: [ 891.508930] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    Jul 25 22:35:15 lenovo bumblebeed[396]: [ 891.508943] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    Jul 25 22:35:15 lenovo bumblebeed[396]: [ 891.508969] [WARN][XORG] (WW) Unresolved symbol: fbGetGCPrivateKey
    Jul 25 22:35:15 lenovo bumblebeed[396]: [ 891.508984] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
    Jul 25 22:35:16 lenovo kernel: eurotrucks2[1567]: segfault at 17 ip 00007f40f1e30433 sp 00007fff05479db0 error 6 in steamclient.so[7f40f1b66000+f7b000]
    Jul 25 22:35:16 lenovo kernel: [drm] Module unloaded
    Jul 25 22:35:16 lenovo kernel: bbswitch: disabling discrete graphics
    Jul 25 22:35:16 lenovo kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
    Jul 25 22:35:16 lenovo kernel: pci 0000:01:00.0: Refused to change power state, currently in D0
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838215] [ERROR][XORG] (EE) Server terminated successfully (0). Closing log file.
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838233] [ERROR][XORG] (EE)
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838238] [ERROR][XORG] (EE) Backtrace:
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838242] [ERROR][XORG] (EE) 0: Xorg (xorg_backtrace+0x56) [0x58f186]
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838245] [ERROR][XORG] (EE) 1: Xorg (0x400000+0x192fc9) [0x592fc9]
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838249] [ERROR][XORG] (EE) 2: /usr/lib/libpthread.so.0 (0x7fd21c5c8000+0xf4b0) [0x7fd21c5d74b0]
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838256] [ERROR][XORG] (EE) 3: /usr/lib/libc.so.6 (malloc_usable_size+0x25) [0x7fd21b290d25]
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838272] [ERROR][XORG] (EE) 4: /usr/lib/nvidia/libGL.so.1 (0x7fd21818b000+0xb61d9) [0x7fd2182411d9]
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838286] [ERROR][XORG] (EE)
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838298] [ERROR][XORG] (EE) Segmentation fault at address 0x0
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838306] [ERROR][XORG] (EE)
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838317] [ERROR][XORG] (EE) Caught signal 11 (Segmentation fault). Server aborting
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838320] [ERROR][XORG] (EE)
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838323] [ERROR][XORG] (EE)
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838329] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
    Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838334] [ERROR][XORG] (EE)
    sudo nano /var/log/Xorg.8.log
    X.Org X Server 1.15.2
    Release Date: 2014-06-27
    [ 887.399] X Protocol Version 11, Revision 0
    [ 887.399] Build Operating System: Linux 3.15.1-1-ARCH x86_64
    [ 887.399] Current Operating System: Linux lenovo 3.15.5-2-ARCH #1 SMP PREEMPT Fri Jul 11 07:56:02 CEST 2014 x86_64
    [ 887.399] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=a89135f9-ef1e-4b90-a073-ee78d492b58a rw rcutree.rcu_idle_gp_delay=1 quiet
    [ 887.399] Build Date: 27 June 2014 07:32:26PM
    [ 887.399]
    [ 887.399] Current version of pixman: 0.32.6
    [ 887.399] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 887.399] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 887.399] (==) Log file: "/var/log/Xorg.8.log", Time: Fri Jul 25 22:35:11 2014
    [ 887.400] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
    [ 887.400] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
    [ 887.400] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [ 887.400] (==) ServerLayout "Layout0"
    [ 887.400] (==) No screen section available. Using defaults.
    [ 887.400] (**) |-->Screen "Default Screen Section" (0)
    [ 887.400] (**) | |-->Monitor "<default monitor>"
    [ 887.400] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 887.400] (**) | |-->Device "DiscreteNvidia"
    [ 887.400] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 887.400] (**) Option "AutoAddDevices" "false"
    [ 887.400] (**) Option "AutoAddGPU" "false"
    [ 887.400] (**) Not automatically adding devices
    [ 887.400] (==) Automatically enabling devices
    [ 887.400] (**) Not automatically adding GPU devices
    [ 887.401] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 887.401] Entry deleted from font path.
    [ 887.401] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 887.401] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 887.401] Entry deleted from font path.
    [ 887.401] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 887.401] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/
    [ 887.401] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
    [ 887.401] (==) |-->Input Device "<default pointer>"
    [ 887.401] (==) |-->Input Device "<default keyboard>"
    [ 887.401] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
    [ 887.401] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
    [ 887.401] (II) Loader magic: 0x811cc0
    [ 887.401] (II) Module ABI versions:
    [ 887.401] X.Org ANSI C Emulation: 0.4
    [ 887.401] X.Org Video Driver: 15.0
    [ 887.401] X.Org XInput driver : 20.0
    [ 887.401] X.Org Server Extension : 8.0
    [ 887.401] (II) xfree86: Adding drm device (/dev/dri/card1)
    [ 887.401] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 887.401] setversion 1.4 failed: Permission denied
    [ 887.403] (--) PCI:*(0:1:0:0) 10de:0fd4:17aa:3977 rev 161, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128
    [ 887.403] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 887.403] Initializing built-in extension Generic Event Extension
    [ 887.404] Initializing built-in extension SHAPE
    [ 887.404] Initializing built-in extension MIT-SHM
    [ 887.404] Initializing built-in extension XInputExtension
    [ 887.404] Initializing built-in extension XTEST
    [ 887.404] Initializing built-in extension BIG-REQUESTS
    [ 887.404] Initializing built-in extension SYNC
    [ 887.404] Initializing built-in extension XKEYBOARD
    [ 887.404] Initializing built-in extension XC-MISC
    [ 887.404] Initializing built-in extension SECURITY
    [ 887.404] Initializing built-in extension XINERAMA
    [ 887.404] Initializing built-in extension XFIXES
    [ 887.404] Initializing built-in extension RENDER
    [ 887.404] Initializing built-in extension RANDR
    [ 887.404] Initializing built-in extension COMPOSITE
    [ 887.404] Initializing built-in extension DAMAGE
    [ 887.404] Initializing built-in extension MIT-SCREEN-SAVER
    [ 887.404] Initializing built-in extension DOUBLE-BUFFER
    [ 887.404] Initializing built-in extension RECORD
    [ 887.404] Initializing built-in extension DPMS
    [ 887.404] Initializing built-in extension Present
    [ 887.404] Initializing built-in extension DRI3
    [ 887.404] Initializing built-in extension X-Resource
    [ 887.404] Initializing built-in extension XVideo
    [ 887.404] Initializing built-in extension XVideo-MotionCompensation
    [ 887.404] Initializing built-in extension XFree86-VidModeExtension
    [ 887.404] Initializing built-in extension XFree86-DGA
    [ 887.404] Initializing built-in extension XFree86-DRI
    [ 887.404] Initializing built-in extension DRI2
    [ 887.404] (II) "glx" will be loaded by default.
    [ 887.404] (II) LoadModule: "dri2"
    [ 887.404] (II) Module "dri2" already built-in
    [ 887.404] (II) LoadModule: "glamoregl"
    [ 887.404] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
    [ 887.454] (II) Module glamoregl: vendor="X.Org Foundation"
    [ 887.454] compiled for 1.15.0, module version = 0.6.0
    [ 887.454] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 887.454] (II) LoadModule: "glx"
    [ 887.454] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
    [ 887.495] (II) Module glx: vendor="NVIDIA Corporation"
    [ 887.495] compiled for 4.0.2, module version = 1.0.0
    [ 887.495] Module class: X.Org Server Extension
    [ 887.495] (II) NVIDIA GLX Module 340.24 Wed Jul 2 15:04:31 PDT 2014
    [ 887.495] Loading extension GLX
    [ 887.495] (II) LoadModule: "nvidia"
    [ 887.495] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 887.500] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 887.500] compiled for 4.0.2, module version = 1.0.0
    [ 887.500] Module class: X.Org Video Driver
    [ 887.500] (II) LoadModule: "mouse"
    [ 887.500] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
    [ 887.502] (II) Module mouse: vendor="X.Org Foundation"
    [ 887.502] compiled for 1.15.0, module version = 1.9.0
    [ 887.502] Module class: X.Org XInput Driver
    [ 887.502] ABI class: X.Org XInput driver, version 20.0
    [ 887.502] (II) LoadModule: "kbd"
    [ 887.502] (WW) Warning, couldn't open module kbd
    [ 887.502] (II) UnloadModule: "kbd"
    [ 887.502] (II) Unloading kbd
    [ 887.502] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 887.502] (II) NVIDIA dlloader X Driver 340.24 Wed Jul 2 14:42:23 PDT 2014
    [ 887.502] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 887.502] (--) using VT number 1
    [ 887.502] (II) Loading sub module "fb"
    [ 887.502] (II) LoadModule: "fb"
    [ 887.502] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 887.504] (II) Module fb: vendor="X.Org Foundation"
    [ 887.504] compiled for 1.15.2, module version = 1.0.0
    [ 887.504] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 887.504] (WW) Unresolved symbol: fbGetGCPrivateKey
    [ 887.504] (II) Loading sub module "wfb"
    [ 887.504] (II) LoadModule: "wfb"
    [ 887.504] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 887.506] (II) Module wfb: vendor="X.Org Foundation"
    [ 887.506] compiled for 1.15.2, module version = 1.0.0
    [ 887.506] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 887.506] (II) Loading sub module "ramdac"
    [ 887.506] (II) LoadModule: "ramdac"
    [ 887.506] (II) Module "ramdac" already built-in
    [ 887.506] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 887.506] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [ 887.506] (==) NVIDIA(0): RGB weight 888
    [ 887.506] (==) NVIDIA(0): Default visual is TrueColor
    [ 887.506] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 887.506] (**) NVIDIA(0): Option "NoLogo" "true"
    [ 887.506] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
    [ 887.507] (**) NVIDIA(0): Option "UseEDID" "false"
    [ 887.507] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
    [ 887.507] (**) NVIDIA(0): Enabling 2D acceleration
    [ 887.507] (**) NVIDIA(0): Ignoring EDIDs
    [ 887.507] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
    [ 887.507] (**) NVIDIA(0): mode
    [ 891.006] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
    [ 891.008] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 660M (GK107) at PCI:1:0:0 (GPU-0)
    [ 891.008] (--) NVIDIA(0): Memory: 2097152 kBytes
    [ 891.008] (--) NVIDIA(0): VideoBIOS: 80.07.3c.00.16
    [ 891.008] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [ 891.008] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 660M at PCI:1:0:0
    [ 891.008] (--) NVIDIA(0): none
    [ 891.008] (II) NVIDIA(0): Validated MetaModes:
    [ 891.008] (II) NVIDIA(0): "NULL"
    [ 891.008] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
    [ 891.008] (WW) NVIDIA(0): Unable to get display device for DPI computation.
    [ 891.008] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
    [ 891.008] (--) Depth 24 pixmap format is 32 bpp
    [ 891.008] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
    [ 891.008] (II) NVIDIA: access.
    [ 891.013] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    [ 891.013] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
    [ 891.013] (II) NVIDIA(0): configuration option may not be set correctly. When the
    [ 891.013] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
    [ 891.013] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
    [ 891.013] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
    [ 891.013] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
    [ 891.013] (II) NVIDIA(0): Config Options in the README.
    [ 891.013] (II) NVIDIA(0): Setting mode "NULL"
    [ 891.028] Loading extension NV-GLX
    [ 891.035] (==) NVIDIA(0): Disabling shared memory pixmaps
    [ 891.035] (==) NVIDIA(0): Backing store enabled
    [ 891.035] (==) NVIDIA(0): Silken mouse enabled
    [ 891.035] (==) NVIDIA(0): DPMS enabled
    [ 891.035] Loading extension NV-CONTROL
    [ 891.036] (II) Loading sub module "dri2"
    [ 891.036] (II) LoadModule: "dri2"
    [ 891.036] (II) Module "dri2" already built-in
    [ 891.036] (II) NVIDIA(0): [DRI2] Setup complete
    [ 891.036] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
    [ 891.036] (--) RandR disabled
    [ 891.044] (II) Initializing extension GLX
    [ 891.100] (II) Using input driver 'mouse' for '<default pointer>'
    [ 891.100] (**) Option "CorePointer" "on"
    [ 891.100] (**) <default pointer>: always reports core events
    [ 891.100] (WW) <default pointer>: No Device specified, looking for one...
    [ 891.146] (II) <default pointer>: Setting Device option to "/dev/input/mice"
    [ 891.146] (--) <default pointer>: Device: "/dev/input/mice"
    [ 891.146] (==) <default pointer>: Protocol: "Auto"
    [ 891.146] (**) <default pointer>: always reports core events
    [ 891.146] (**) Option "Device" "/dev/input/mice"
    [ 891.200] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
    [ 891.200] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
    [ 891.200] (**) <default pointer>: Buttons: 9
    [ 891.200] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE, id 6)
    [ 891.200] (**) <default pointer>: (accel) keeping acceleration scheme 1
    [ 891.200] (**) <default pointer>: (accel) acceleration profile 0
    [ 891.200] (**) <default pointer>: (accel) acceleration factor: 2.000
    [ 891.200] (**) <default pointer>: (accel) acceleration threshold: 4
    [ 891.200] (II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
    [ 891.493] (II) <default pointer>: ps2EnableDataReporting: succeeded
    [ 891.493] (II) LoadModule: "kbd"
    [ 891.494] (WW) Warning, couldn't open module kbd
    [ 891.494] (II) UnloadModule: "kbd"
    [ 891.494] (II) Unloading kbd
    [ 891.494] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 891.494] (EE) No input driver matching `kbd'
    [ 891.497] (II) config/udev: Adding input device Power Button (/dev/input/event3)
    [ 891.497] (II) AutoAddDevices is off - not adding device.
    [ 891.497] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
    [ 891.497] (II) AutoAddDevices is off - not adding device.
    [ 891.497] (II) config/udev: Adding input device Power Button (/dev/input/event0)
    [ 891.497] (II) AutoAddDevices is off - not adding device.
    [ 891.498] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
    [ 891.498] (II) AutoAddDevices is off - not adding device.
    [ 891.498] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
    [ 891.498] (II) AutoAddDevices is off - not adding device.
    [ 891.498] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
    [ 891.498] (II) AutoAddDevices is off - not adding device.
    [ 891.499] (II) config/udev: Adding drm device (/dev/dri/card1)
    [ 891.499] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 891.499] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 891.499] setversion 1.4 failed: Permission denied
    [ 891.499] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event7)
    [ 891.499] (II) AutoAddDevices is off - not adding device.
    [ 891.500] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0)
    [ 891.500] (II) AutoAddDevices is off - not adding device.
    [ 891.500] (II) config/udev: Adding input device CHESEN USB Keyboard (/dev/input/event8)
    [ 891.500] (II) AutoAddDevices is off - not adding device.
    [ 891.501] (II) config/udev: Adding input device CHESEN USB Keyboard (/dev/input/event9)
    [ 891.501] (II) AutoAddDevices is off - not adding device.
    [ 891.501] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event12)
    [ 891.501] (II) AutoAddDevices is off - not adding device.
    [ 891.501] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event13)
    [ 891.501] (II) AutoAddDevices is off - not adding device.
    [ 891.502] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event14)
    [ 891.502] (II) AutoAddDevices is off - not adding device.
    [ 891.502] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event15)
    [ 891.502] (II) AutoAddDevices is off - not adding device.
    [ 891.502] (II) config/udev: Adding input device Lenovo EasyCamera (/dev/input/event16)
    [ 891.502] (II) AutoAddDevices is off - not adding device.
    [ 891.503] (II) config/udev: Adding input device Ideapad extra buttons (/dev/input/event10)
    [ 891.503] (II) AutoAddDevices is off - not adding device.
    [ 891.503] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event6)
    [ 891.503] (II) AutoAddDevices is off - not adding device.
    [ 891.503] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event17)
    [ 891.504] (II) AutoAddDevices is off - not adding device.
    [ 891.504] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
    [ 891.504] (II) AutoAddDevices is off - not adding device.
    [ 891.504] (II) config/udev: Adding input device PC Speaker (/dev/input/event11)
    [ 891.504] (II) AutoAddDevices is off - not adding device.
    [ 892.695] (II) UnloadModule: "mouse"
    [ 892.720] (II) NVIDIA(GPU-0): Deleting GPU-0
    [ 892.723] (EE) Server terminated successfully (0). Closing log file.
    Last edited by Akikyo (2014-07-24 21:04:45)

    I can't be sure but most of the dota2 output looks "normal" to me (I get the same yet it works fine).
    eurotrucks is clearly crashing. You could try to force the resolution it uses in its config files?
    Or maybe it's missing a lib (you may need to install 32bit versions):
    ldd /path/to/eurotrucks
    to see if that's the case. If not, you might have to take it up with the eurotrucks developers.
    And you could try using fluxbox/openbox just to see what happens. A lot lighter than KDE.
    Have a good look though: https://wiki.archlinux.org/index.php/Steam
    and remember to check for missing 32bit libs.

  • Java Webstart application problem with TLS certificate revocation checks (Java 1.7.0_76)

    We have a problem with our Java Web Start Application regarding the TLS certificate revocation check:
    The application is running on a server within a wide area network which is separated from the internet.
    The application users have access to the WAN, and also access to the internet over some corporate proxy/firewall.
    The user has to enter, for example "https://my-site.de/myapp/ma.jnlp" within a webbrowser or could also call  "javaws https://my-site.de/myapp/ma.jnlp" to start the application client.
    The webserver has a certificate from a trusted certificate authority. This certificate seems to be ok, the browser is even configured to perform OCSP status check.
    The application files are signed with a certificate from another trusted certificate authority. This certificate seems also to be ok. Regarding this certificate there
    are no problems with certificate revocation checks.
    The problem is, while starting the application client there is a message box which tell us something like "the connection to this website ist not trustworthy",
    "Website: https://my-site.de:80", and something about an invalid certificate, meaning the webserver certificate.
    Obviously the jvm runtime, which is executed on the users workstation, tries to perform a revocation check for the webservers certificate, but this fails because
    it cannot fetch the certificate under https://my-site.de:80.
    The application will execute without further problems after that message but the users are very concerned about the "invalid" certificate, so here are my questions:
    - Why is the application trying to get the webserver certificate over Port 80. Our application developers told me, there is no corresponding statement. Calling this address
      has to fail while "https://my-site.de:443" or "https://my-site.de" would not have a problem.
    - Is there a way to make the application go on without performing a tls revocation check? I mean, by adjusting the application sourcecode and not by configuring the users Java Control Panel.
      While disabling the TLS Certificate Revocation check in the Java Control Panel, the Webstart Application executes without a warning message, but this is not a workable solution for
      our users.
    It would be great if someone can help me with a hint so i can send our developers into the right direction;-)
    Many thanks!
    This is a part from a java console output after calling "javaws -verbose https://my-site.de/myapp/"
    (sorry for this is in german... and also my english above)
    network: Verbindung von http://ocsp.serverpass.telesec.de/ocspr mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    network: Verbindung von http://ocsp.serverpass.telesec.de/ocspr mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    security: OCSP Response: GOOD
    network: Verbindung von http://ocsp.serverpass.telesec.de/ocspr mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    security: UNAUTHORIZED
    security: Failing over to CRLs: java.security.cert.CertPathValidatorException: OCSP response error: UNAUTHORIZED
    network: Cacheeintrag gefunden [URL: http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl, Version: null] prevalidated=false/0
    cache: Adding MemoryCache entry: http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl
    cache: Resource http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl has expired.
    network: Verbindung von http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    network: Verbindung von http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    network: ResponseCode für http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl: 200
    network: Codierung für http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl: null
    network: Verbindung mit http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl trennen
    CacheEntry[http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl]: updateAvailable=true,lastModified=Tue Mar 24 10:50:01 CET 2015,length=53241
    network: Verbindung von http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl mit Proxy=HTTP @ internet-proxy.***:80 wird
    network: Verbindung von socket://ldap.serverpass.telesec.de:389 mit Proxy=DIRECT wird hergestellt
    security: Revocation Status Unknown
    com.sun.deploy.security.RevocationChecker$StatusUnknownException: java.security.cert.CertPathValidatorException: OCSP response error: UNAUTHORIZED
        at com.sun.deploy.security.RevocationChecker.checkOCSP(Unknown Source)
        at com.sun.deploy.security.RevocationChecker.check(Unknown Source)
        at com.sun.deploy.security.RevocationCheckHelper.doRevocationCheck(Unknown Source)
        at com.sun.deploy.security.RevocationCheckHelper.doRevocationCheck(Unknown Source)
        at com.sun.deploy.security.RevocationCheckHelper.checkRevocationStatus(Unknown Source)
        at com.sun.deploy.security.X509TrustManagerDelegate.checkTrusted(Unknown Source)
        at com.sun.deploy.security.X509Extended7DeployTrustManagerDelegate.checkServerTrusted(Unknown Source)
        at com.sun.deploy.security.X509Extended7DeployTrustManager.checkServerTrusted(Unknown Source)
        at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
        at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
        at sun.security.ssl.Handshaker.processLoop(Unknown Source)
        at sun.security.ssl.Handshaker.process_record(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
        at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
        at com.sun.deploy.model.ResourceProvider.getResource(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
        at com.sun.javaws.Main.launchApp(Unknown Source)
        at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
        at com.sun.javaws.Main.access$000(Unknown Source)
        at com.sun.javaws.Main$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
        Suppressed: com.sun.deploy.security.RevocationChecker$StatusUnknownException
            at com.sun.deploy.security.RevocationChecker.checkCRLs(Unknown Source)
            ... 35 more
    Caused by: java.security.cert.CertPathValidatorException: OCSP response error: UNAUTHORIZED
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        ... 36 more
    security: Ungültiges Zertifikat vom HTTPS-Server
    network: Cacheeintrag nicht gefunden [URL: https://my-site.de:80, Version: null]

    Add the JSF Jars to the WEB-INF/lib directory of the application. If still getting error add to the CLASSPATH variable in the startWebLogic script in the domain/bin directory.

  • Problems with Safari and Firefox (HTTP?)

    Problems with Safari and Firefox (HTTP?)
    On a laptop G4, 10.5.8 and Safari 5.02 I experience the following:
    On the account of my oldest daughter everything works fine, i.e. wireless internet works and no problems with mail or safari.
    On the same laptop, on the account of my other daughter, the wireless is OK, she can mail etc. But safari nor firefox works. It says: can’t find server (whatever site) and in the activity window it looks if safari tries to open files (in the safari preferences-folder) in stead of http. Same applies to Firefox, so maybe it has more to do with HTTP in general?
    What goes wrong? What to do? I tried the following on the host terminal (tips from Apple)
    defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false
    and
    defaults delete com.apple.safari WebKitDNSPrefetchingEnabled
    but that did not help,
    Nanne

    I'm still wondering why it happens now at this moment in time...
    PC does seem to be a bit odd & inconsistent, the few times I've tested with it, at least so far as we content filtering goes; and if I remember rightly, you're not the first to report previously ok settings suddenly preventing some or all internet until pc is switched off altogether.
    It may work when re-enabled

Maybe you are looking for