A doubt in mutilthreading behaviour

Dear experts,
I have created a multithreading program in java.When i click a start button,i
see helicopter moving across the sky.I click another button and a new thread get
created and this time i see two helicopters flying.In this way as i keep pressing
start number of helicopters are increasing.
But i find as i keep on looking at taskbar CPU usage is increasing everytime i click on
start.And after clicking about 50 times ,CPU show 100% usage and virtual memory come
in function.This time more than 50 helicopters are visible flying.
With so many helicopters ,speed of each helicopter is very very slow and looks as if system
is in too much load.Is this behaviour normal in multithreading for java ?.

My guess is you have busy loops somewhere. In any case this is far from normal behavior. Are you making threads sleep until it is time for a helicopter to move again?
You may want to invest some time into studying timers. With those you can do updates at specific intervals, leaving all the sleep logic to Java.

Similar Messages

  • NWA Hierarchy groups reorganization - Setup Package (MDI)

    THis is our actual Hierachy configuration:
    Root
    |----NODEA
    |-----NODEB
    |------NODEC
    We assigned the end users and the MI Components to NODEC, and created the Setup Package (MDI type). We can call this the Setup N°1.
    Every NODEC means a different maintenance Team; in this structure we supposed to create a different Setup Package for every team.
    Now we should allow all the Maintenance teams to use the same Setup Package.
    We are in process to extend teh Hierarchy adding more nodes to the same
    level of NODEC. The father will be always NODEB.
    We are thinking to do not touch the assignmets in place for NODEC, as  we do not want to stop the work of the team.
    Then we suppose to do a new assignment of the the MI Components and a new technical user to the NODEB and to generate a new Setup Package (always MDI). We can call this Setup N°2
    In this way all the new nodes (all the teams) will have the same Setup Packages (Setup N°2)
    Our doubt is the behaviour of the users assigned to NODEC.
    a) They will able to continue to use their Setup N°1 ?
    b) The end user of NODEC that do not installed yest their MI client should be able to do it with the Setup N° 1 or also with the Setup N° 2 ?
    These informations are missing into the Sap documenttation.
    The MI Components assigned to NODEC and NODEB will be the same.
    The tecnical user used to generate the Setup Package will be different.
    regards

    Hi Raberto,
    Can you please make the question more clearer. if the structure of the HG is the same as
                  Root
                    |----NODEA
                    |-----NODEB
                    |------NODEC
    then you will be able to create three different setup package for three diff HG with altogether three diff combination of deviceconfiguration.
    Regards,
    Satyendra

  • Static sql connections

    Hi,
    I've got a stateless session EJB and a SqlSomeTask class:
    class SqlSomeTask{
    private static Connection conn;
    public static void openConnection() throws SQLException{
    Context ctx;
    DataSource ds;
    try{
    ctx = new InitialContext();
    ds = (DataSource)ctx.lookup("java:/MSSQLDS");
    if (null == connection)
    conn = ds.getConnection();
    else
    if(conn.isClosed()) {
    conn = ds.getConnection();
    return conn;
    }catch(Exception e) {
    throw new Exception(e.getMessage());
    public static void closeConnection()throws SGException{
    try{
    if (null != connection){
    if (!conn.isClosed()) {
    conn.close();
    }catch(Exception e){
    throw new Exception(e.getMessage());
    Inside my EJB I've written this:
    public class SessionFacadeBean implements SessionBean {
    public Object invoke(String sessionID, IDTO dto) throws SGException {
    SqlSomeTask.openConnection();
    SqlSome.save(dto); /*For example*/
    SqlSomeTask.closeConnection();
    I have a doubt regarding the behaviour of static connection: if JBOSS server is running and a user invoque the EJB and open the static connection and at the same time another user request EJB and invoke the EJB: will another static connection open for this new request or the connection is the same that the previous user opened and it will be reopened? I mean, if connection is static, then is a class variable and it's not saved in the heap but in the method area in the JVM, a new connection isn't opened for each EJB invocation because it's static, is it?
    Since every time a user invoke a stateless EJB, one instance of that EJB is created (new thread) and then destoyed, one instance of SqlSomeTask is created. Nevertheless, SqlSomeTask connection attribute is static so it's the same for every invocation.
    Thanks

    I finally solved my own problem. The SQLJ compiler creates a .ser file that is used on the DB side to customize and build the packages needed so that the SQL is static. Using straight JDBC creates dynamic calls.
    At this point I'm worried because I've not had one question answered regarding SQLJ, and it appears that nobody is using it. So, I'm looking in other directions if I can.

  • Mulitple invoking of import for a schema by mistake

    I had a doubt with the behaviour of the database if the import utility is invoked more than once by mistake. The import syntax I gave had the syntax like:-
    imp CRESTELERP/CRESTELERP fromuser=CRESTELERP touser=CRESTELERP file=CRESTELERP.dmp log=CRESTELERP.log commit=y feedback=10000 ignore=Y
    If, the import utility is invoked by mistake more than once, then the objects will also get imported multiple times. Fortunately, my schema did not have any tables but objects like views, schemas etc with the 'create or replace' syntax. If the schema has tables, then the tables will get populated more than once but I guess, there would not be any problem if there are objects with the 'create or replace' syntax, is my observation right?
    I hope, my question is clear.
    Please, help in solving the doubt.
    regards

    Hi...
    If your schema has tables with n rows then as Sybrand has already said that it will get duplicated if there is no primary key as IGNORE=Y is used and if constraints are there toy will get the error which you can check the import logfile.As you said your schema didn't have any tables so no issues.The views,packages, and procedure,fumctions,packages will be created/replaced again without any error.
    Anand

  • Behaviour of letter of credit through credit note.

    Sales order has been created against L/C and finally invoiced, Credit note passed for price correction subsequently, Same L/c also got attached to creit note but there is no impact on L/c value. Is this normal behaviour or any customization missing.

    Dear Amit
    I had a small doubt on your question and hence tested for the same by creating an export sale order and completed with issuing credit note for partial quantity.  On checking in VX12N, it has been observed that the Open Value has not changed
    thanks
    G. Lakshmipathi

  • Erratic battery behaviour on Macbook air since latest update

    My Macbook Air 11.1 is from 2011, and the battery started going bad last year. I ordered and placed a new battery in january. This worked perfectly, no problems whatsoever. This morning, I installed the latest available Apple update (unsure which one, can't find it). After that, my battery has been behaving strangely. This is what happened:
    - I unplugged my laptop at one point, and moved it from my bed to desk. I went to my kitchen, returned, and the laptop had turned off.
    - I put the charger in and turned it back on. I realised the battery info said the battery isn't charging and 'replace now'. Surprised, since I just got the battery this january.
    - All of a sudden, the icon changed to white (it's black when not charging) and it was charging again.
    - This kept happening, on and off.
    - Unplugging the charger results in shutting of immediately or within a few seconds. At this moment, it's charging (at 97%). But it can change any minute.
    - I tried moving my laptop around a bit, tilting it up and down, but that doesn't seem to do anything (neither good or bad).
    I looked on the internet for a few solutions:
    - Resetting PRAM: no differene
    - Resetting SMC: no difference
    - Reinstalling Yosemite completely (do you recommend this? In any specific order?)
    Does anyone know what is best to try? I can also open up my laptop again and check the battery, but I doubt that's the problem. Btw, third party apps like battery diag/battery health/coconut battery all make no mention of the battery needing to be replaced.
    Any help is greatly appreciated. I'm emigrating to Serbia next week, so I hope to fix it before then
    I included an Etrecheck report:
    Problem description:
    erratic battery behaviour since last update. Tells me to replace now, and when I unplug charger, it shuts down. Keeps switching between charging/no problems and not charging/replace now. Battery was installed in january.
    EtreCheck version: 2.1.8 (121)
    Report generated 8 Mar 2015 11:59:02 CET
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Air (11-inch, Mid 2011) (Technical Specifications)
        MacBook Air - model: MacBookAir4,1
        1 1.6 GHz Intel Core i5 CPU: 2-core
        4 GB RAM Not upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en0: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 59
    Video Information: ℹ️
        Intel HD Graphics 3000 - VRAM: 384 MB
            Color LCD 1366 x 768
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:3:50
    Disk Information: ℹ️
        APPLE SSD SM128C disk0 : (121,33 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 120.11 GB (46.46 GB free)
                Encrypted AES-XTS Unlocked
                Core Storage: disk0s2 120.47 GB Online
    USB Information: ℹ️
        Apple Inc. FaceTime Camera (Built-in)
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Configuration files: ℹ️
        /etc/hosts - Count: 20
    Gatekeeper: ℹ️
        Anywhere
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    com.Ralink.driver.RT2870USBWirelessDriver (4.1.8) [Click for support]
        [not loaded]    com.marvell.kext.USBGenericPrinterClass (1.0.0) [Click for support]
    Startup Items: ℹ️
        FanControlDaemon: Path: /Library/StartupItems/FanControlDaemon
        Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [failed]    com.adobe.CS5ServiceManager.plist [Click for support] [Click for details]
        [loaded]    com.citrix.AuthManager_Mac.plist [Click for support]
        [running]    com.citrix.ReceiverHelper.plist [Click for support]
        [running]    com.citrix.ServiceRecords.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2.Agent.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
        [loaded]    com.sonos.smbbump.plist [Click for support]
        [loaded]    com.virtualock.VirtuaLockHelper.plist [Click for support]
        [not loaded]    org.eyebeam.SelfControl.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    com.facebook.videochat.[redacted].plist [Click for support] [Click for details]
        [running]    com.hp.printerAgent.plist [Click for support]
        [not loaded]    com.macpaw.CleanMyMac.helperTool.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac.volumeWatcher.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.scheduledScan.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.trashWatcher.plist [Click for support]
        [running]    com.spotify.webhelper.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        WDDriveUtilityHelper    Application  (/Applications/WD Drive Utilities.app/Contents/WDDriveUtilityHelper.app)
        WDSecurityHelper    Application  (/Applications/WD Security.app/Contents/Resources/WDSecurityHelper.app)
        Google Chrome    Application Hidden (/Applications/Google Chrome.app)
    Internet Plug-ins: ℹ️
        Flip4Mac WMV Plugin: Version: 3.1.0.24   - SDK 10.8 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        AdobeAAMDetect: Version: AdobeAAMDetect 1.0.0.0 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        AdobePDFViewer: Version: 10.1.1 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        QuickTime Plugin: Version: 7.7.3
        CitrixICAClientPlugIn: Version: 11.8.2 - SDK 10.7 [Click for support]
        SharePointBrowserPlugin: Version: 14.1.3 - SDK 10.6 [Click for support]
        Silverlight: Version: 5.1.20125.0 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 25 Check version
    Safari Extensions: ℹ️
        AdBlock
        Pin It Button
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Growl  [Click for support]
        Java  [Click for support]
        SwitchResX  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: OFF
        Auto backup: NO - Auto backup turned off
        Volumes being backed up:
            Macintosh HD: Disk size: 120.11 GB Disk used: 73.65 GB
        Destinations:
            My Passport [Local]
            Total size: 1.00 TB
            Total number of backups: 7
            Oldest backup: 2013-11-09 23:41:49 +0000
            Last backup: 2015-02-21 16:37:24 +0000
            Size of backup disk: Excellent
                Backup size 1.00 TB > (Disk size 120.11 GB X 3)
    Top Processes by CPU: ℹ️
             6%    WindowServer
             1%    coconutBattery
             0%    Google Chrome
             0%    AppleSpell
             0%    fontd
    Top Processes by Memory: ℹ️
        241 MB    Safari
        133 MB    ocspd
        128 MB    com.apple.WebKit.WebContent
        112 MB    Google Chrome
        86 MB    mds_stores
    Virtual Memory Information: ℹ️
        201 MB    Free RAM
        1.82 GB    Active RAM
        1.20 GB    Inactive RAM
        1.07 GB    Wired RAM
        1.06 GB    Page-ins
        41 KB    Page-outs
    Diagnostics Information: ℹ️
        Mar 8, 2015, 11:54:35 AM    Self test - passed
        Mar 5, 2015, 09:33:23 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/iTunes_2015-03-05-213323_[reda cted].crash
        Mar 5, 2015, 07:35:39 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.Networking_20 15-03-05-193539_[redacted].crash
    Problem description:
    erratic battery behaviour since last update. Tells me to replace now, and when I unplug charger, it shuts down. Keeps switching between charging/no problems and not charging/replace now. Battery was installed in january.
    EtreCheck version: 2.1.8 (121)
    Report generated 8 Mar 2015 11:59:02 CET
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Air (11-inch, Mid 2011) (Technical Specifications)
        MacBook Air - model: MacBookAir4,1
        1 1.6 GHz Intel Core i5 CPU: 2-core
        4 GB RAM Not upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en0: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 59
    Video Information: ℹ️
        Intel HD Graphics 3000 - VRAM: 384 MB
            Color LCD 1366 x 768
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:3:50
    Disk Information: ℹ️
        APPLE SSD SM128C disk0 : (121,33 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 120.11 GB (46.46 GB free)
                Encrypted AES-XTS Unlocked
                Core Storage: disk0s2 120.47 GB Online
    USB Information: ℹ️
        Apple Inc. FaceTime Camera (Built-in)
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Configuration files: ℹ️
        /etc/hosts - Count: 20
    Gatekeeper: ℹ️
        Anywhere
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    com.Ralink.driver.RT2870USBWirelessDriver (4.1.8) [Click for support]
        [not loaded]    com.marvell.kext.USBGenericPrinterClass (1.0.0) [Click for support]
    Startup Items: ℹ️
        FanControlDaemon: Path: /Library/StartupItems/FanControlDaemon
        Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [failed]    com.adobe.CS5ServiceManager.plist [Click for support] [Click for details]
        [loaded]    com.citrix.AuthManager_Mac.plist [Click for support]
        [running]    com.citrix.ReceiverHelper.plist [Click for support]
        [running]    com.citrix.ServiceRecords.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2.Agent.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
        [loaded]    com.sonos.smbbump.plist [Click for support]
        [loaded]    com.virtualock.VirtuaLockHelper.plist [Click for support]
        [not loaded]    org.eyebeam.SelfControl.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    com.facebook.videochat.[redacted].plist [Click for support] [Click for details]
        [running]    com.hp.printerAgent.plist [Click for support]
        [not loaded]    com.macpaw.CleanMyMac.helperTool.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac.volumeWatcher.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.scheduledScan.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.trashWatcher.plist [Click for support]
        [running]    com.spotify.webhelper.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        WDDriveUtilityHelper    Application  (/Applications/WD Drive Utilities.app/Contents/WDDriveUtilityHelper.app)
        WDSecurityHelper    Application  (/Applications/WD Security.app/Contents/Resources/WDSecurityHelper.app)
        Google Chrome    Application Hidden (/Applications/Google Chrome.app)
    Internet Plug-ins: ℹ️
        Flip4Mac WMV Plugin: Version: 3.1.0.24   - SDK 10.8 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        AdobeAAMDetect: Version: AdobeAAMDetect 1.0.0.0 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        AdobePDFViewer: Version: 10.1.1 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        QuickTime Plugin: Version: 7.7.3
        CitrixICAClientPlugIn: Version: 11.8.2 - SDK 10.7 [Click for support]
        SharePointBrowserPlugin: Version: 14.1.3 - SDK 10.6 [Click for support]
        Silverlight: Version: 5.1.20125.0 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 25 Check version
    Safari Extensions: ℹ️
        AdBlock
        Pin It Button
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Growl  [Click for support]
        Java  [Click for support]
        SwitchResX  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: OFF
        Auto backup: NO - Auto backup turned off
        Volumes being backed up:
            Macintosh HD: Disk size: 120.11 GB Disk used: 73.65 GB
        Destinations:
            My Passport [Local]
            Total size: 1.00 TB
            Total number of backups: 7
            Oldest backup: 2013-11-09 23:41:49 +0000
            Last backup: 2015-02-21 16:37:24 +0000
            Size of backup disk: Excellent
                Backup size 1.00 TB > (Disk size 120.11 GB X 3)
    Top Processes by CPU: ℹ️
             6%    WindowServer
             1%    coconutBattery
             0%    Google Chrome
             0%    AppleSpell
             0%    fontd
    Top Processes by Memory: ℹ️
        241 MB    Safari
        133 MB    ocspd
        128 MB    com.apple.WebKit.WebContent
        112 MB    Google Chrome
        86 MB    mds_stores
    Virtual Memory Information: ℹ️
        201 MB    Free RAM
        1.82 GB    Active RAM
        1.20 GB    Inactive RAM
        1.07 GB    Wired RAM
        1.06 GB    Page-ins
        41 KB    Page-outs
    Diagnostics Information: ℹ️
        Mar 8, 2015, 11:54:35 AM    Self test - passed
        Mar 5, 2015, 09:33:23 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/iTunes_2015-03-05-213323_[reda cted].crash
        Mar 5, 2015, 07:35:39 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.Networking_20 15-03-05-193539_[redacted].crash

    Hi Dominic,
    Thank you for your help! I did all three things and run etrecheck again. It now shows the following, different things seem to be failing now? Like Kerberos?
    Problem description:
    EtreCheck version: 2.1.8 (121)
    Report generated 8 Mar 2015 12:57:52 CET
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Air (11-inch, Mid 2011) (Technical Specifications)
        MacBook Air - model: MacBookAir4,1
        1 1.6 GHz Intel Core i5 CPU: 2-core
        4 GB RAM Not upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en0: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 59
    Video Information: ℹ️
        Intel HD Graphics 3000 - VRAM: 384 MB
            Color LCD 1366 x 768
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:8:11
    Disk Information: ℹ️
        APPLE SSD SM128C disk0 : (121,33 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 120.11 GB (46.30 GB free)
                Encrypted AES-XTS Unlocked
                Core Storage: disk0s2 120.47 GB Online
    USB Information: ℹ️
        Apple Inc. FaceTime Camera (Built-in)
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. Apple Internal Keyboard / Trackpad
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Anywhere
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    com.Ralink.driver.RT2870USBWirelessDriver (4.1.8) [Click for support]
        [not loaded]    com.marvell.kext.USBGenericPrinterClass (1.0.0) [Click for support]
    Problem System Launch Daemons: ℹ️
        [failed]    com.apple.Kerberos.kdc.plist [Click for details]
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [failed]    com.adobe.CS5ServiceManager.plist [Click for support] [Click for details]
        [loaded]    com.citrix.AuthManager_Mac.plist [Click for support]
        [running]    com.citrix.ReceiverHelper.plist [Click for support]
        [running]    com.citrix.ServiceRecords.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.barebones.authd.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
        [loaded]    com.sonos.smbbump.plist [Click for support]
        [loaded]    com.virtualock.VirtuaLockHelper.plist [Click for support]
        [not loaded]    org.eyebeam.SelfControl.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    com.facebook.videochat.[redacted].plist [Click for support] [Click for details]
        [running]    com.hp.printerAgent.plist [Click for support]
        [not loaded]    com.macpaw.CleanMyMac.helperTool.plist [Click for support]
        [not loaded]    com.macpaw.CleanMyMac.volumeWatcher.plist [Click for support]
        [running]    com.spotify.webhelper.plist [Click for support]
    User Login Items: ℹ️
        None
    Internet Plug-ins: ℹ️
        Flip4Mac WMV Plugin: Version: 3.1.0.24   - SDK 10.8 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        AdobeAAMDetect: Version: AdobeAAMDetect 1.0.0.0 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        AdobePDFViewer: Version: 10.1.1 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        QuickTime Plugin: Version: 7.7.3
        CitrixICAClientPlugIn: Version: 11.8.2 - SDK 10.7 [Click for support]
        SharePointBrowserPlugin: Version: 14.1.3 - SDK 10.6 [Click for support]
        Silverlight: Version: 5.1.20125.0 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 25 Check version
    Safari Extensions: ℹ️
        AdBlock
        Pin It Button
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Growl  [Click for support]
        Java  [Click for support]
        SwitchResX  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: OFF
        Auto backup: NO - Auto backup turned off
        Volumes being backed up:
            Macintosh HD: Disk size: 120.11 GB Disk used: 73.81 GB
        Destinations:
            My Passport [Local]
            Total size: 1.00 TB
            Total number of backups: 7
            Oldest backup: 2013-11-09 23:41:49 +0000
            Last backup: 2015-02-21 16:37:24 +0000
            Size of backup disk: Excellent
                Backup size 1.00 TB > (Disk size 120.11 GB X 3)
    Top Processes by CPU: ℹ️
             6%    WindowServer
             0%    fontd
             0%    AppleSpell
             0%    notifyd
             0%    net.zeo.space.osx.helper
    Top Processes by Memory: ℹ️
        249 MB    Safari
        220 MB    com.apple.WebKit.WebContent
        116 MB    Finder
        112 MB    mds_stores
        69 MB    ocspd
    Virtual Memory Information: ℹ️
        554 MB    Free RAM
        1.61 GB    Active RAM
        1.06 GB    Inactive RAM
        1.07 GB    Wired RAM
        945 MB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Mar 8, 2015, 12:49:20 PM    Self test - passed
        Mar 5, 2015, 09:33:23 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/iTunes_2015-03-05-213323_[reda cted].crash
        Mar 5, 2015, 07:35:39 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.Networking_20 15-03-05-193539_[redacted].crash

  • Doubt about  a null value assigned to a String variable

    Hi,
    I have a doubt about a behavior when assigning a null value to a string variable and then seeing the output, the code is the next one:
    public static void main(String[] args) {
            String total = null;
            System.out.println(total);
            total = total+"one";
            System.out.println(total);
    }the doubt comes when i see the output, the output i get is this:
    null
    nulloneA variable with null value means it does not contains a reference to an object in memory, so the question is why the null is printed when i concatenate the total variable which has a null value with the string "one".
    Is the null value converted to string ??
    Please clarify
    Regards and thanks!
    Carlos

    null is a keyword to inform compiler that the reference contain nothingNo. 'null' is not a keyword, it is a literal. Beyond that the compiler doesn't care. It has a runtime value as well.
    total contains null value means it does not have memory,No, it means it refers to nothing, as opposed to referring to an object.
    for representation purpose it contain "null"No. println(String) has special behaviour if the argument is null. This is documented and has already been described above. Your handwaving about 'for representation purpose' is meaningless. The compiler and the JVM don't know the purpose of the code.
    e.g. this keyword shows a hash value instead of memory addressNo it doesn't: it depends entirely on the actual class of the object referred to by 'this', and specifically what its toString() method does.
    similarly "total" maps null as a literal.Completely meaningless. "total" doesn't 'map' anything, it is just a literal. The behaviour you describe is a property of the string concatenation operator, not of string literals.
    I hope you can understand this.Nobody could understand it. It is compete nonsense. The correct answer has already been given. Please read the thread before you contribute.

  • Dynamic Creation of cells or change of cell behaviour of a table at runtime

    Hello all,
    Can anybody tell me how can we change the cell behaviour of a table at runtime or creating the table row with different cell properties dynamically at runtime in ABAP webdynpro.
    for ex the table at runtime can be like...
    The 1st row the 1st cell can be a check box.
    The 2nd row the 1st cell can be a input field.
    The 3rd row the 1st cell can be a radio selection field.
    Business Ex : Dynamic Attributes in BID Invitation
    Thanks in advance in clarifying the doubt.

    Hi Mani,
    You could use code similar to the following code in your WDDOMODIFY method of the view in which the table is placed.
    data wd_table_cell_editor type ref to cl_Wd_view_element.
      data wd_table_column      type ref to cl_wd_table_column.
    wd_table_cell_editor ?= view->get_element( ID ). (Or any other way to get the refernce to the table cell editor)
    wd_table_column ?= wd_table_cell_editor->get__parent( ).
    (Get a refernce to table column throught table cell editor or directly)
    Now use the set_cell_editor method of wd_table_column to set the column to check box or input or any other field of your requirement.
    Also, I suggest you to use ALV as it is simpler change the cell editor and it provides many other improved functionalities.
    Regards,
    Srini.

  • Syncing behaviour/direction of individual content type in iTunes

    Hi fellows. I wish to clarify my understanding of how iTunes sync (overwrite) the individual content type on an iPod. The scenario is: when I sync an iPod with another new library, typically we will be prompted with the warning message, "+this iPod is currently synced with another library. If you choose to sync it with this library, all the existing content will be replaced with the content on this library+" (or some similar warning). My doubts are as follows:
    Qn1. Am I right to say that, even if I click "okay" to that warning message above, the actual "replacing" +doesn't start immediately+ as iTunes will wait for the user to select what subset of content he wants, & more importantly, for the user to click the "sync" button (near the bottom right of iTunes) before the actual erasing and replacing begins?
    Qn2. Does iTunes treat each content type as separate libraries, i.e. in the context of "approving" iTunes's demand to overwrite the existing content on the iPod with content from iTunes own, current library, if the "sync" checkbox on the other content type's tab is unchecked, will that existing content type stored on the iPod be excluded from the erasing and replacing?
    I understand this may be very confusing, so allow me to illustrate my question with a specific example:
    http://img.photobucket.com/albums/v489/ralliart12/blog180610/iTunes%20library%20revisit/initially_unchked_for_unpairedipod.png
    If I choose to sync music from the current iTunes library to an iPod that was previously synced with another library, and I approved iTunes to go ahead and replace the existing music on the iPod with the music from the iTunes library but I have the "Sync Apps" checkbox unchecked, will the apps +on the iPod+ be wiped? Similarly, if the "sync movies" checkbox on the Movie tab is unchecked, will the movies on the iPod be wiped when I allow iTunes to replace the music library on the iPod with the songs from iTunes?
    Qn2a. If iTunes treat syncing each content type libraries on their own, are music and movies treated as one library?
    Qn2b. What determines the initial "checked/unchecked" status of each of those check-boxes in the diagram above when an iPod that is synced with another library, is connected to iTunes for the first time?
    In fact (this paragraph is not a qn; just a comment) I find the manner in which this is handled in iTunes to be inelegant. E.g. suppose in the context of qn2 iTunes treat all content type libraries as one unified library, and once I give iTunes the permission to erase the songs on the iPod with the songs from its current library but say I don't wanna replace the apps on the iPod with the apps from this iTunes library; neither do I wish to replace the podcasts on the iPod with the podcasts on this iTunes library. I can goto the "Apps" tab and uncheck "Sync Apps", but I could not goto the "Podcasts" tab and uncheck "Sync podcasts" without committing/applying the updated aps syncing conditions first. So if the "Sync podcasts" checkbox was checked for some reason, the podcatss on the iPod will be replaced with podcasts from the iTunes library without my "permission".
    For those who are veterans with this sync-ing behaviour stuff, I sincerely hope to gain some insight as to how iTunes behaves (in these contexts above). Thanks n advance.

    I'm going to duck out of giving you a definitive answer on the grounds that I don't really know and I don't have the resources or time to check the details. However I may still have something to offer. As you've observed the process is more than a little obscure, but the safest option is to assume that if you attempt to move your device from syncing with one library to syncing with another you will lose all the existing media content on the device.
    The exact details will ultimately depend on the type of device. For example, while many can be *manually managed* with more than one library the iPhone (and I think the Shuffle) can only take content from one library even in this mode. More particularly when you manually add content to an iPhone every file that you have on the device will be compared with it's "original" in your library and if there isn't a matching file the one on the device will be removed. In contrast on a "synced" iPod Classic you could (not that it's a good idea) remove larger physical files such as movies once they've been synced to the device and, although iTunes might issue a warning, it will not remove the existing files as long as there are still coresponding entries in the library.
    With the exception of the transfer of purchased content all sync operations are strictly library to device. iTunes will have a good go at throwing away your data given half a chance. For this reason I strongly urge that you make backups of your library and media files and certainly never rely on the device to hold the only copy of any of your precious files.
    It's not clear why you want this information, but if you're determined to tease out the finer details then it shouldn't be too hard for you to create a number of small distinct test libraries and actually try it out for yourself. If the issue is that you simply want the freedom to update your device from more than one computer then this is perfectly feasible. Simply put your entire library on an external (preferably host powered) usb drive and take it with you. I take one further step and sync my library with my local drive at each end using SyncToy 2.1 so that I end up with 3 mutual backups for the same library, one at home, one at work, and the one I carry between them. I can open any of the three libraries on my PCs or connect the portable version to any computer running the same build of iTunes to update any of my devices without losing any content.
    tt2

  • In-different behaviour of join condition

    My query is of in-different behaviour of join condition with join between a varchar2 column and a number column. I am using the following join condition :-
    CM.UPDATED_BY=to_char(LM.LOGIN_ID)
    where CM.UPDATED_BY is a varchar2 column and LM.LOGIN_ID is a number column. Now, CM.UPDATED_BY also has number only but some previous & old data is having varchar2 data. So, for that reason, i put the to_char before LM.LOGIN_ID, otherwise, only
    CM.UPDATED_BY=to_char(LM.LOGIN_ID)
    would having been okay. Now, my real question is that the query with the condition,
    CM.UPDATED_BY=to_char(LM.LOGIN_ID)
    works fine as long as there is no 'character' data in 'CM.UPDATED_BY'. If i put the condition:
    CM.UPDATED_BY=to_char(LM.LOGIN_ID)
    then, the query is taking too long and the output is also not coming. Please help in solving my doubt as i need it resolved urgently.

    1) Did you intend for all 4 join conditions to be identical? From the text of your question, it sounds like some of the conditions should be different.
    2) How do you compare the running time when CM.UPDATED_BY has non-numerica data and when it has numeric data? If you are altering the data in the table, are you reanalyzing the table between runs? Is there a difference in the query plan in the two cases?
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

  • Weblogic leaves in-doubt transaction on Oracle when it fails

    Hi,
    I'm looking at resilience with our Weblogic (6.1sp2) and Oracle
    (8.1.7) environment, and have been doing a few tests. We're using the
    Oracle OCI (thick) driver, in "XA" mode (i.e. using the "Driver"
    oracle.jdbc.xa.client.OracleXADataSource). We need to do this because
    our application uses JMS/Message driven beans to intiate a lot of the
    work, and any database activity that fails needs to be rolled back
    together with the message and any other work. We don't "enable
    two-phase commit" as shown on the TxDatasource config, so get real XA
    behaviour, with JMS and the JDBC connection as the XA resources.
    The problem is when/if Weblogic dies. As WLS is the transation
    manager, if a transaction is in-flight at the time WLS fails the XA
    resources need to take action. If the TM fails after the transaction
    starts but before the prepare() calls, it seems as though things
    generally work out; Oracle rolls back its transactions, and when WLS
    is restarted, the JMS messages are recovered and re-delivered (after
    the initial delay period of five minutes). The problem seems to be
    when WLS dies between the prepare and the commit. In this case, Oracle
    holds the various locks it needs to commit the transaction, and when
    WLS is restarted it doesn't seem to inform the XA resources that the
    transaction should be rolled back/abandoned. Until a DBA sorts out the
    problem, any attempts to use the locked areas (e.g. anything that does
    a table scan or uses specific rows) result in errors of the form:
    ORA-01591: lock held by in-doubt distributed transaction 18.65.2221
    This is sensible as far as Oracle's concerned - it doesn't know if any
    other XA resources committed or rolled back their transactions.
    However, I'd have expected WLS, as the TM, to have sent the necessary
    instructions to Oracle once the transaction has been recovered.
    Nothing in WL's logs implies it's trying to do anything with recovered
    transactions.
    I've managed to make this repeatable. I have a class which I can send
    a JMS message to kill the server. This MDB calls
    Runtime.getRuntime.halt(1) (to simulate a serious crash) either during
    the transaction (in onMessage()) or registers its own "XA killer"
    resource which calls halt(1) in the prepare(). In the latter case I
    always get an in-doubt transaction.
    Anyone else had this behaviour, and more importantly, know how to
    resolve it?
    James

    Lou,
    any information about the results of testing of the patch from oracle for 'in-doubt
    transaction' problem?
    Thanks
    Sanjay
    "Fei Luo" <[email protected]> wrote:
    >
    James,
    Our support engineer is still testing the patch from Oracle. I
    will keep you updated on this.
    [email protected] (James Elson) wrote:
    "Fei Luo" <[email protected]> wrote in message news:<3cee9c1c$[email protected]>...
    Are you using Oracle817? Yes, we are.
    There is a known Oracle817 bug that may be related to
    your problem. You may try Oracle901.Ah. Such an upgrade would have major implications on our architecture.
    Do you have any more information on this bug (a bug number etc)?
    Would we have to upgrade the server, or just the clients?
    James

  • Behaviour of CALL FUNCTION fname STARTING NEW TASK DESTINATION 'NONE'

    As per ABAP help documentation, the statement CALL FUNCTION fname  STARTING NEW TASK DESTINATION 'NONE' should create a new main session in  same user session.The behaviour is wrong as per documentation.
    But  current behaviour:
    The statement CALL FUNCTION fname STARTING NEW TASK DESTINATION 'NONE'   is creating a new user session.
    Any reason?

    Hi Prakash,
    I'd agree with Suhas, that you're reading the documentation wrong. Here's your quote:
    As per ABAP help documentation, the statement CALL FUNCTION fname STARTING NEW TASK DESTINATION 'NONE' should create a new main session in current user session.
    If you look at the help, you can see that it says:
    When the destination NONE is used, a new main session is opened for the current user session.
    Do you see the difference? Also, note that in this context main session basically means that we're talking about a new external session:
    Each task ID defines a separate RFC connection with its own context, meaning that, in the case of repeated function module calls of the same task ID, the global data of the relevant function group can be accessed, if the connection still exists.
    In dialog processing, note that the maximum number of six main sessions cannot be exceeded, else an error message is displayed.
    If you're still in doubt, check out the online ABAP documentation for [CALL FUNCTION - STARTING NEW TASK|http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_STARTING.htm]. So I'd say the documentation is in line with the actual behavior.
    Cheers, harald

  • Doubt Clock-In/Clock-Out Corrections

    Hi,
    We are implementing ESS/MSS on EHP5.
    I have a doubt when configuring Clock in/Clock out corrections. In SPRO "Clock-In/Clock-Out Corrections->Define Processing Processes", I left checked only the option "Corrections Have to Be Approved".
    So I started the tests. I logged on with ESS user, made a correction e saved. After that I logged on POWL with the MSS user (who is the managet of the employee whose made de correction) and the entry was there. I approved, run the report RPTCORPOST and the entry was saved in TEVEN (IT 2011) table. That was perfect!!!
    I went throught the second test, now with manager performing the correction for his employee. I logged with MSS user, selected the employee, made the correction and saved. In my mind, if the manager is correcting a clock-in/clock-out, it should be approved automatically. So, I run the report RPTCORPOST and the entry wasn´t saved in TEVEN (IT 2011) table. I thougth that weird, and i decided to check if the entry could be in POWL. I went to POWL and the entry was there, waiting to be approved.
    The question is: Shouldn´t the entry be automatically approved when the manager performs a correction for his employees?
    Thanks
    Bruno

    Hi Siddharth,
    Thanks for your prompt reply. I will notifiy my customer that this behaviour is an enhance.
    As a suggestion for the future ESS/MSS version, the solution could allow setup this configuration.
    Thank you again.
    Bruno.

  • Behaviour of 'quantity withdrawn' at PP Order in subcontracting scenario

    In a PP order with external operation (Control key PP02) and assigned materials. When the purchase order is created for this external operation, based on purchase requisition the 'quantity withdrawn' at CO02 is updated after save the purchase order.
    I doubt, if this is the natural behaviour for the quantity withdrawn field, or this field should be updated just at the 543 consumption movement from vendor, or at least in the movement 541.
    Thanks & Regards,
    Felipe Garzón Quintero

    Felipe,
    It is standard behavior of the system because when you see MD04 for same component you can see 2 MRP element showing for same requirement.
    BR
    KK

  • Doubts regarding the CTTYP field after a PU12 run

    Hi Everyone,
    I had some doubts regarding PU12. When I maintain the IT16 data for an employee belonging to Employee Group/Subgroup E/52, I want to keep the contract type blank. However, when I do this, CTTYP is not sent through in the IDoc after PU12 processing. I would like to know if this is standard behaviour. (If it is maintained as say unlimited contract, the field is sent through with the value 01) If I would like to send CTTYP through as 00, can I do it? Would I have to maintain a conversion? As of now, this field is configured as a key field in my system.
    Regards,
    Alpana.

    I presume that you cave a template for your documents with unsigned signature fields. Add a text filed (or other field type that you wish to use) to this template. Then you will be able to fill in this field after signing.

Maybe you are looking for

  • The speaker on my ipod touch is not working

    Hi I have an ipod touch which is a year old.  The speaker element is not working.  I can still listen to music on the headphone facility, but any noises or alerts the ipod made cannot be heard through the speaker.  Any suggestions greatly appreciated

  • What Mac to get for Final Cut Studio?

    I've been doing most of my video editing for the last year or so in Sony Vegas on a PC. I'm looking to get into it a bit more seriously and want to make the switch to Final Cut Studio. Can I run it on a Macbook Pro? Can I run it WELL on a Macbook Pro

  • Photo iPod trouble

    When i plug the ipod into the computer (Mac) i get a battery icon with the left quarter of the battery black with a lighting bolt. It seems to pulse/flash about every two seconds, after a couple of minutes the Apple icon will come on the screen, stay

  • CC Desktop App won't open...

    CC website shows the Desktop App is working fine, but it will not open on my end. Even after update?

  • Select to create DynaSet & .AddNew taking a lot of time

    Hi Everybody, I'm using OO4O to write a lot of data to the db. I'm quite new to that stuff so I chose the way to insert new records by "CreateDynaset" and afterwards doing an ".AddNew" on the returned DynaSet which I create with a "Select" - Statemen