Attempt to unregister non-registered thread in the ContextProvider

Hi,
I am running the baseline graph on Endeca integrator 2.3. While running the baseline graph I am getting the following error
INFO  [main] - ***  CloverETL framework/transformation graph, (c) 2002-2012 Javlin a.s, released under GNU Lesser General Public License  ***
INFO  [main] - Running with CloverETL library version 3.2.1 build#63 compiled 04/01/2012 12:53:21
INFO  [main] - Running on 4 CPU(s), OS Windows 7, architecture amd64, Java version 1.6.0_20, max available memory for JVM 1818624 KB
INFO  [main] - Loading default properties from: defaultProperties
INFO  [main] - Graph definition file: graph/Baseline.grf
INFO  [main] - Graph revision: 1.127 Modified by: alsukuma Modified: Tue Jan 28 14:37:06 IST 2014
INFO  [main] - Checking graph configuration...
INFO  [main] - Graph configuration is valid.
INFO  [main] - Graph initialization (Baseline)
INFO  [main] - [Clover] Initializing phase: 0
INFO  [main] - [Clover] phase: 0 initialized successfully.
INFO  [main] - [Clover] Initializing phase: 1
INFO  [main] - [Clover] phase: 1 initialized successfully.
INFO  [main] - [Clover] Initializing phase: 2
INFO  [main] - [Clover] phase: 2 initialized successfully.
INFO  [main] - [Clover] Initializing phase: 3
INFO  [main] - [Clover] phase: 3 initialized successfully.
INFO  [main] - [Clover] Initializing phase: 4
INFO  [main] - [Clover] phase: 4 initialized successfully.
INFO  [main] - [Clover] Initializing phase: 5
INFO  [main] - [Clover] phase: 5 initialized successfully.
INFO  [main] - register MBean with name:org.jetel.graph.runtime:type=CLOVERJMX_1306871483270_0
INFO  [WatchDog] - Starting up all nodes in phase [0]
INFO  [WatchDog] - Successfully started all nodes in phase!
INFO  [RUN_GRAPH1_0] - Running graph ./graph/admin/InitDataStore.grf in the same instance.
INFO  [RUN_GRAPH1_0] - Checking graph configuration...
INFO  [RUN_GRAPH1_0] - Graph configuration is valid.
INFO  [RUN_GRAPH1_0] - Graph initialization (InitDataStore)
INFO  [RUN_GRAPH1_0] - [Clover] Initializing phase: 0
INFO  [RUN_GRAPH1_0] - Messenger configuration context loaded.
INFO  [RUN_GRAPH1_0] - Axis2-specific client dispatcher established for service >control< based on WSDL document.
INFO  [RUN_GRAPH1_0] - Axis2 modules engaged for client dispatcher.
INFO  [RUN_GRAPH1_0] - WS-Policy expressions processed.
INFO  [RUN_GRAPH1_0] - Message validation on request is disabled.
INFO  [RUN_GRAPH1_0] - Message validation on response is disabled.
INFO  [RUN_GRAPH1_0] - Asynchronous messenger initilized for operation '{http://www.endeca.com/endeca-server/control/1}control#controlPort#createDataStore'.
INFO  [RUN_GRAPH1_0] - Messenger configuration context loaded.
INFO  [RUN_GRAPH1_0] - Axis2-specific client dispatcher established for service >control< based on WSDL document.
INFO  [RUN_GRAPH1_0] - Axis2 modules engaged for client dispatcher.
INFO  [RUN_GRAPH1_0] - WS-Policy expressions processed.
INFO  [RUN_GRAPH1_0] - Message validation on request is disabled.
INFO  [RUN_GRAPH1_0] - Message validation on response is disabled.
INFO  [RUN_GRAPH1_0] - Asynchronous messenger initilized for operation '{http://www.endeca.com/endeca-server/control/1}control#controlPort#dataStoreStatus'.
INFO  [RUN_GRAPH1_0] - Messenger configuration context loaded.
INFO  [RUN_GRAPH1_0] - Axis2-specific client dispatcher established for service >control< based on WSDL document.
INFO  [RUN_GRAPH1_0] - Axis2 modules engaged for client dispatcher.
INFO  [RUN_GRAPH1_0] - WS-Policy expressions processed.
INFO  [RUN_GRAPH1_0] - Message validation on request is disabled.
INFO  [RUN_GRAPH1_0] - Message validation on response is disabled.
INFO  [RUN_GRAPH1_0] - Asynchronous messenger initilized for operation '{http://www.endeca.com/endeca-server/control/1}control#controlPort#startDataStore'.
INFO  [RUN_GRAPH1_0] - Messenger configuration context loaded.
INFO  [RUN_GRAPH1_0] - Axis2-specific client dispatcher established for service >control< based on WSDL document.
INFO  [RUN_GRAPH1_0] - Axis2 modules engaged for client dispatcher.
INFO  [RUN_GRAPH1_0] - WS-Policy expressions processed.
INFO  [RUN_GRAPH1_0] - Message validation on request is disabled.
INFO  [RUN_GRAPH1_0] - Message validation on response is disabled.
INFO  [RUN_GRAPH1_0] - Asynchronous messenger initilized for operation '{http://www.endeca.com/endeca-server/control/1}control#controlPort#attachDataStore'.
INFO  [RUN_GRAPH1_0] - [Clover] phase: 0 initialized successfully.
INFO  [RUN_GRAPH1_0] - register MBean with name:org.jetel.graph.runtime:type=CLOVERJMX_1331002769234_805
INFO  [WatchDog] - Starting up all nodes in phase [0]
INFO  [WatchDog] - Successfully started all nodes in phase!
INFO  [WatchDog] - [Clover] Post-execute phase finalization: 0
INFO  [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
INFO  [WatchDog] - ----------------------** Final tracking Log for phase [0] **---------------------
INFO  [WatchDog] - Time: 28/01/14 14:38:04
INFO  [WatchDog] - Node                   ID         Port      #Records         #KB aRec/s   aKB/s
INFO  [WatchDog] - ---------------------------------------------------------------------------------
INFO  [WatchDog] - Verify Data Store      WEB_SERVICE_CLIENT1                          FINISHED_OK
INFO  [WatchDog] -  %cpu:..                          Out:0            0           0      0       0
INFO  [WatchDog] -                                   Out:1            1           0      0       0
INFO  [WatchDog] - Check Fault Detail     PARTITION1                                   FINISHED_OK
INFO  [WatchDog] -  %cpu:..                           In:0            1           0      0       0
INFO  [WatchDog] -                                   Out:0            1           0      0       0
INFO  [WatchDog] - Build WS Attach Req    BUILD_WS_ATTACH_REQ                          FINISHED_OK
INFO  [WatchDog] -  %cpu:..                           In:0            1           0      0       0
INFO  [WatchDog] -                                   Out:0            1           1      0       0
INFO  [WatchDog] - Attach Data Store      WEB_SERVICE_CLIENT3                          FINISHED_OK
INFO  [WatchDog] -  %cpu:..                           In:0            1           1      0       0
INFO  [WatchDog] -                                   Out:0            0           0      0       0
INFO  [WatchDog] -                                   Out:1            1           0      0       0
INFO  [WatchDog] - Check Fault Detail     PARTITION2                                   FINISHED_OK
INFO  [WatchDog] -  %cpu:..                           In:0            1           0      0       0
INFO  [WatchDog] -                                   Out:0            0           0      0       0
INFO  [WatchDog] -                                   Out:1            1           0      0       0
INFO  [WatchDog] - Do nothing             TRASH0                                       FINISHED_OK
INFO  [WatchDog] -  %cpu:..                           In:0            0           0      0       0
INFO  [WatchDog] -                                    In:1            0           0      0       0
INFO  [WatchDog] -                                    In:2            1           0      0       0
INFO  [WatchDog] - Build WS Create Req    BUILD_WS_CREATE_REQ                          FINISHED_OK
INFO  [WatchDog] -  %cpu:..                           In:0            0           0      0       0
INFO  [WatchDog] -                                   Out:0            0           0      0       0
INFO  [WatchDog] - Create Data Store      WEB_SERVICE_CLIENT0                          FINISHED_OK
INFO  [WatchDog] -  %cpu:..                           In:0            0           0      0       0
INFO  [WatchDog] - Check Response State   CHECK_RESPONSE_STATE                         FINISHED_OK
INFO  [WatchDog] -  %cpu:..                           In:0            0           0      0       0
INFO  [WatchDog] -                                   Out:0            0           0      0       0
INFO  [WatchDog] -                                   Out:1            0           0      0       0
INFO  [WatchDog] - Start Data Store       WEB_SERVICE_CLIENT2                          FINISHED_OK
INFO  [WatchDog] -  %cpu:..                           In:0            0           0      0       0
INFO  [WatchDog] - ---------------------------------** End of Log **--------------------------------
INFO  [WatchDog] - Execution of phase [0] successfully finished - elapsed time(sec): 0
INFO  [WatchDog] - -----------------------** Summary of Phases execution **---------------------
INFO  [WatchDog] - Phase#            Finished Status         RunTime(sec)    MemoryAllocation(KB)
INFO  [WatchDog] - 0                 FINISHED_OK                        0             34859
INFO  [WatchDog] - ------------------------------** End of Summary **---------------------------
INFO  [WatchDog] - WatchDog thread finished - total execution time: 0 (sec)
INFO  [RUN_GRAPH1_0] - Running graph ./graph/config/LoadPreDataConfig.grf in the same instance.
INFO  [RUN_GRAPH1_0] - Checking graph configuration...
INFO  [RUN_GRAPH1_0] - Graph configuration is valid.
INFO  [RUN_GRAPH1_0] - Graph initialization (LoadPreConfig)
INFO  [RUN_GRAPH1_0] - [Clover] Initializing phase: 0
INFO  [RUN_GRAPH1_0] - [Clover] phase: 0 initialized successfully.
INFO  [RUN_GRAPH1_0] - [Clover] Initializing phase: 1
INFO  [RUN_GRAPH1_0] - [Clover] phase: 1 initialized successfully.
INFO  [RUN_GRAPH1_0] - [Clover] Initializing phase: 2
INFO  [RUN_GRAPH1_0] - [Clover] phase: 2 initialized successfully.
INFO  [RUN_GRAPH1_0] - register MBean with name:org.jetel.graph.runtime:type=CLOVERJMX_1338400039337_554
INFO  [WatchDog] - Starting up all nodes in phase [0]
INFO  [WatchDog] - Successfully started all nodes in phase!
INFO  [RUN_GRAPH1_554] - Running graph ./graph/config/PreData/LoadInitialAttributes.grf in the same instance.
INFO  [RUN_GRAPH1_554] - Checking graph configuration...
INFO  [RUN_GRAPH1_554] - Graph configuration is valid.
INFO  [RUN_GRAPH1_554] - Graph initialization (LoadConfiguration)
INFO  [RUN_GRAPH1_554] - [Clover] Initializing phase: 0
INFO  [RUN_GRAPH1_554] - Mapping type set to MAP_NAMES
INFO  [RUN_GRAPH1_554] - Mapping type set to MAP_NAMES
WARN  [RUN_GRAPH1_554] - WS messenger cleanup failed.
java.lang.NullPointerException
  at org.apache.axis2.client.Stub.cleanup(Stub.java:134)
  at com.opensys.cloveretl.component.WebServiceClient.free(Unknown Source)
  at org.jetel.graph.Phase.free(Phase.java:487)
  at org.jetel.graph.TransformationGraph.freeResources(TransformationGraph.java:681)
  at org.jetel.graph.TransformationGraph.free(TransformationGraph.java:955)
  at org.jetel.graph.runtime.PrimitiveAuthorityProxy.executeGraph(PrimitiveAuthorityProxy.java:149)
  at org.jetel.component.RunGraph.runGraphThisInstance(RunGraph.java:511)
  at org.jetel.component.RunGraph.runSingleGraph(RunGraph.java:409)
  at org.jetel.component.RunGraph.execute(RunGraph.java:302)
  at org.jetel.graph.Node.run(Node.java:414)
  at java.lang.Thread.run(Thread.java:619)
./graph/config/PreData/LoadInitialAttributes.grf: Execution of graph failed! Error during graph initialization: Phase 0 can't be initilized.
WARN  [RUN_GRAPH1_554] - Some graphs wasn't executed (because graph "./graph/config/PreData/LoadInitialAttributes.grf" finished with error).
WARN  [RUN_GRAPH1_554] - Some graph(s) finished with error.
WARN  [RUN_GRAPH1_554] - Attempt to unregister non-registered thread in the ContextProvider.
ERROR [WatchDog] - Graph execution finished with error
ERROR [WatchDog] - Node RUN_GRAPH1 finished with status: ERROR caused by: Graph './graph/config/PreData/LoadInitialAttributes.grf' failed!
ERROR [WatchDog] - Node RUN_GRAPH1 error details:
org.jetel.exception.JetelException: Graph './graph/config/PreData/LoadInitialAttributes.grf' failed!
  at org.jetel.component.RunGraph.execute(RunGraph.java:324)
  at org.jetel.graph.Node.run(Node.java:414)
  at java.lang.Thread.run(Thread.java:619)
INFO  [WatchDog] - [Clover] Post-execute phase finalization: 0
INFO  [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
INFO  [WatchDog] - Execution of phase [0] finished with error - elapsed time(sec): 0
ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
INFO  [WatchDog] - -----------------------** Summary of Phases execution **---------------------
INFO  [WatchDog] - Phase#            Finished Status         RunTime(sec)    MemoryAllocation(KB)
INFO  [WatchDog] - 0                 ERROR                              0             21549
INFO  [WatchDog] - 1                 N/A                                0                 0
INFO  [WatchDog] - 2                 N/A                                0                 0
INFO  [WatchDog] - ------------------------------** End of Summary **---------------------------
INFO  [WatchDog] - WatchDog thread finished - total execution time: 0 (sec)
./graph/config/LoadPreDataConfig.grf: Execution of graph failed! null
WARN  [RUN_GRAPH1_0] - Some graphs wasn't executed (because graph "./graph/config/LoadPreDataConfig.grf" finished with error).
WARN  [RUN_GRAPH1_0] - Some graph(s) finished with error.
WARN  [RUN_GRAPH1_0] - Attempt to unregister non-registered thread in the ContextProvider.
ERROR [WatchDog] - Graph execution finished with error
ERROR [WatchDog] - Node RUN_GRAPH1 finished with status: ERROR caused by: Graph './graph/config/LoadPreDataConfig.grf' failed!
ERROR [WatchDog] - Node RUN_GRAPH1 error details:
org.jetel.exception.JetelException: Graph './graph/config/LoadPreDataConfig.grf' failed!
  at org.jetel.component.RunGraph.execute(RunGraph.java:324)
  at org.jetel.graph.Node.run(Node.java:414)
  at java.lang.Thread.run(Thread.java:619)
INFO  [WatchDog] - [Clover] Post-execute phase finalization: 0
INFO  [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
INFO  [WatchDog] - Execution of phase [0] finished with error - elapsed time(sec): 0
ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
INFO  [WatchDog] - -----------------------** Summary of Phases execution **---------------------
INFO  [WatchDog] - Phase#            Finished Status         RunTime(sec)    MemoryAllocation(KB)
INFO  [WatchDog] - 0                 ERROR                              0             21929
INFO  [WatchDog] - 1                 N/A                                0                 0
INFO  [WatchDog] - 2                 N/A                                0                 0
INFO  [WatchDog] - 3                 N/A                                0                 0
INFO  [WatchDog] - 4                 N/A                                0                 0
INFO  [WatchDog] - 5                 N/A                                0                 0
INFO  [WatchDog] - ------------------------------** End of Summary **---------------------------
INFO  [WatchDog] - WatchDog thread finished - total execution time: 0 (sec)
INFO  [main] - Freeing graph resources.
ERROR [main] - Execution of graph failed !
Kindly help
Thanks

java.lang.NullPointerException
  at org.apache.axis2.client.Stub.cleanup(Stub.java:134)
  at com.opensys.cloveretl.component.WebServiceClient.free(Unknown Source)
It looks like there is a problem with your Web Services Client component.   Check the configuration of this component.
RLJII

Similar Messages

  • Trying to connect and the phone reads non register...

    Can anyone tell me why I cant get the phone to connect and what does non registered mean?

    I never named my ipod, so I was assuming that was the default name it was given. I just renamed it to my first name last night though.
    okay, we'd better check for a drive letter confusion. the following document has troubleshooting advice on that possibility:
    Windows confuses iPod with network drive or hard drive and may keep iPod from mounting or songs may seem to disappear

  • May the MSI K8T Master2FAR support 2x512 PC3700xms Corsair non registered ??

    I ve just ordered the MSI K8T Master2FAR motherboard. I just wanna know if I ll be able to use my 2x512 PC3700PT xms Corsair non registered?
    I ve read somewhere that the registered memory was really necessary only when the 4 memory slots are used.  Is it true? Or do I have to buy some new RAM?
    thx for ur help
    regards
    Jean

    Quote
    what a bullshit
    Maybe, but keep in mind, the Opteron is intended for entry-level server systems and workstations, *not* desktop PC's, so it's kind of erroneous to assume/expect that RAM intended for use in generic desktop PC's will work with a CPU that's intended for use on the server/workstation side of things...they're just different classes of machines, and they require a different class of component in some cases.

  • I can't register itunes to the USA i live in china, i don't want to use my credit card

    i can't register itunes to the USA i live in china, i don't want to use my credit card

    (cross-posting from another thread)
    I'm having the same problem. It's as if my iPhone and MacBook Pro now have two separate calendars.
    Basically, I have a MacBook Pro (Mountain Lion, 13", late 2011) that I sync via USB with an iPhone 4S (iOS 5.1.1). Before upgrading to Mountain Lion, all of my iCal events would sync flawlessly. But none of the events I've created in iCal (Calendars) since upgrading have synced to the iPhone. Likewise, no new events that I create on the iPhone Calendar will sync to iCal. Also, changes to an existing event (even one created before upgrading to Mountain Lion) don't get synced either.
    Everything else seems to be syncing just fine though (music, apps, contacts, etc).

  • Custom Component: Instantiation attempted on a non-constructor.

    Hi all, i've created an empty class that extends the Slider
    control. it compiles fine, but when i run it, i get the following
    error: Error #1007: Instantiation attempted on a non-constructor.
    this is how i'm calling it:
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:tix="com.tixsmart.flex.controls.*" >
    <tix:SeekBar x="91" y="223" width="424"
    height="11"/>

    Adobe Newsbot hopes that the following resources helps you.
    NewsBot is experimental and any feedback (reply to this post) on
    its utility will be appreciated:
    Flex 3 - Metadata tags:
    This MXML code generates an error because Flex cannot convert
    the Strings ' abc ' and ' def ' to a Number. You insert the
    [ArrayElementType] metadata tag
    Link:
    http://livedocs.adobe.com/flex/3/html/metadata_3.html
    How to highlight the ticks ina slider - Flex India Community:
    Apr 15, 2008 ... There was an error processing your request.
    Please try again. Standard view View as tree ... I am new to Flex
    and I have created a slider.
    Link:
    http://groups.google.com/group/flex_india/browse_thread/thread/f0f5b69c171ae859
    [#SDK-11271] A Flash Container can only take a Flex container
    as a:
    See code: <?xml version='1.0'?> <!--
    skins/PictureFrame.mxml --> <mx:Application xmlns:mx='
    http://www.adobe.com/2006/mxml'
    xmlns:myComps='*'>
    Link:
    http://bugs.adobe.com/jira/browse/SDK-11271
    Slider and Text Input Issue - Flex India Community | Google
    Groups:
    Aug 7, 2008 ... following code is solution for ur problem
    <?xml version='1.0' encoding='utf-8'?> <mx:Application
    xmlns:mx='
    http://www.adobe.com/2006/mxml'
    Link:
    http://groups.google.com/group/flex_india/browse_thread/thread/8bc9cccc3681711b?fwc=1
    HSlider and VSlider controls -- Flex 2:
    Flex provides two sliders: the HSlider (Horizontal Slider)
    control, which creates ... <mx:Application xmlns:mx='
    http://www.adobe.com/2006/mxml'>
    <mx:HSlider
    Link:
    http://livedocs.adobe.com/flex/2/docs/00000542.html
    Disclaimer: This response is generated automatically by the
    Adobe NewsBot based on Adobe
    Community
    Engine.

  • On my registered iTunes computer, the following message appears every time one plugs in a device and refuses to load said device to be synced: "This iPod cannot be used because the Apple Mobile Device service is not started". They are all registered. Help

    On my registered iTunes computer, the following message appears every time one plugs in a device and refuses to load said device to be synced: "This iPod cannot be used because the Apple Mobile Device service is not started". Each device has been registered onto this account and this computer, and all have worked finely in the past. I am so confused as to why now seemingly without reason, none of our apple devices (one iPod, two iPhones) are allowed to have music and other material downloaded onto them. Also, as a side note, they still are charged by plugging them into the computer, however they do not even show up on the left-hand sidebar in iTunes.
    It should also be noted that for my iPhone it does not allow for the new update software to be uploaded; it just says that an error has occurred, nothing more.

    Try Here  >  AMDS  >  http://support.apple.com/kb/TS1567

  • Multiple Threads at the same time

    I am new to threads but what I am attempting to do is start a new thread for each report frequency. Each thread will be on a timer to loop at that frequency. Say, for example, I had reports defined to run at 60, 90, and 1440 minute frequencies. I want to kick off a thread for each of those frequencies. While this code does work, it does not start the next thread until the first one is done. Can I get this loop to spawn threads without caring if the preceeding one is finished or not?
    Here is the code.
    public class Monitor {
    public Monitor() {
    super();
    public static void main(String[] args) throws Exception {
    try {
    ResourceBundle properties = ResourceBundle.getBundle("report");
    String db_driver = properties.getString("DB_DRIVER");
    String db_url = properties.getString("DB_URL");
    String db_user = properties.getString("DB_USERNAME");
    String db_pwd = properties.getString("DB_PASSWORD");
    long freq = 0;
    Class.forName(db_driver);
    String url = db_url;
    Connection con = DriverManager.getConnection(url, db_user, db_pwd);
    EventLog.log("Connection Succeeded");
    String qryString = "select distinct report_freq as report_freq from reportapp";
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery(qryString);
    ResultSetMetaData rsmd = rs.getMetaData();
    EventLog.log("Query Succeeded");
    boolean moreReports = rs.next();
    while (moreReports) {
    freq = rs.getLong("report_freq");
    new MonitorThread(freq).start();
    moreReports = rs.next();
    rs.close();
    con.close();
    } catch (Exception fatal) {
    EventLog.log("Monitor Exception: " + fatal.getMessage());
    return;
    }//end of main//
    //Thread Code//
    public class MonitorThread extends Thread {
    public MonitorThread(long sleepfor) {
         super();
         run(sleepfor);
    public void run(long sleepfor) {
    try {
    boolean isReportActive = true;
    while (isReportActive) {
    long n = sleepfor * 1000L * 60L;
    //Call class that runs the reports//
    Report.PerformSystemChecks(sleepfor);
    Thread.sleep(n);
    } catch (Exception fatal) {
    EventLog.log("Monitor Exception: " + fatal.getMessage());
    return;
    }

    Here how I would do it... I left few parts open, but you should get the idea.
    abstract class ScheduledThread extends Thread
      long freq, nexttime;
      public ScheduledThread(long freq)
        nextTime=System.currentTimeMillis()+freq;
        this.freq=freq;
      public long getNextTime()
        return nexttime;
      abstract void scheduledRun();
      public void run()
        nextTime+=freq;
        scheduledRun();
    class Scheduler extends Thread
      Vector sceduled=new Vector();
      public synchronized void addSchedule(...)
        scheduled.add(sched);
        notifyAll();
      public long getNextTime()
        // get the lowest time returned from all the sceduled threads
      public void run()
        while (true)
          long nextCall=getNextCall();
          synchronized (this)
            // using wait we can break out of the wait loop if new schedules are added with notify.
            long time=nextCall-System.currentTimeMillis();
            if (time>0)
             this.wait(time);
          // go through all the threads and run those that getNextTime()<System.currentTimeMillis()
    }

  • Multiple threads access the same method.

    Hello,
    I have been trying for a long time to find out multiple threads access the shared data.
    I have written a sample code, there I my intention is that method has to be accessed
    onlny one thread at a time., mean one thread finished the job, then next thread can
    access the shared source. But for this code I am not getting the desired out put what I want. But if I am using synchronized block I am getting the output. Please correct where I got mistake. Please see my code.
    public class TestThread implements Runnable {
         Shared r;
         public TestThread() {
              r = new Shared();
         public static void main(String args[]) {
              Thread t1 = new Thread(new TestThread());
              Thread t2 = new Thread(new TestThread());
              t1.setName("A");
              t2.setName("B");
              t1.start();
              t2.start();
          * (non-Javadoc)
          * @see java.lang.Runnable#run()
         @Override
         public void run() {
              // TODO Auto-generated method stub
              r.count();
    class Shared {
         public synchronized void count() {
              String name = Thread.currentThread().getName();
              System.out.println(name + ":accessed...");
              try {
                   for (int i = 0; i < 5; i++) {
                        System.out.println(name + ": " + i);
              } catch (Exception e) {
                   // TODO: handle exception
    }Thanks
    Bhanu lakshmi.

    It depends on what you synchronize. Non-static methods synchronize on the object, so if you're using several objects, you'll be able to call each from their own thread.
    Make your method synchronized or use only a single object and see the difference.

  • How do I disable all non-essential components in the CS6 installer

    A new question in the spirit of http://forums.adobe.com/thread/548877 and http://forums.adobe.com/message/2778575, where I asked this question for CS4 and CS5 and eventually discovered how to do this (at least for CS4; CS5 was a mess...): How do I disable all the non-essential components in the Photoshop CS6 installer?
    I already found the payloads/Media_db.db sqlite 3 database and wiped the DependencyData table. This goes a long way - unlike CS5, which was a maze of hidden xml configs and sqlite databases, for CS6 just wiping this single table will give the user full control over what the installer will put in the computer. With the dependencies wiped, we can now see all the stuff it's actually going to install:
    Bridge (normal and x64) - 187 and 262 MB
    CMaps (normal and x64) - 7.2 and 7.2 MB
    CSXS Extensions - 1.3MB
    CSXS Infrastructure - 6.8MB
    Color - photoshop, EU, JA, NA - 1.5, 2.1, 3.0, 2.5MB
    Video profiles - 4.7KB
    Dynamic Link Media Server - 96MB
    DynamicLink Support - 6.1MB
    ExtendScript Toolkit - 19MB
    Extension Manageer - 16MB
    Fonts recommended (normal and x64) - 110 and 110MB (why are there x86 and x64 versions? more of an open question than one that really needs an answer, but this is not how fonts work. There are no separate x86 and x64 flavoured OpenType fonts)
    Fonts required (normal and x64) - 123 and 123MB
    Hunspell Linguistics Plugin (normal and x64) - 181 and 181MB
    Linguistics (normal and x64) - 46 and 46MB
    Mini Bridge (normal and x64) - 4.0MB
    PDF Library Files (normal and x64) - 75 and 75MB
    Photoshop (normal and x64) - 486 and 563MB
    Photoshop Support - 9.4MB
    Player for Embedding 3.3 (normal and x64) - 21 and 26MB
    Switchboard 2.0 - 1.1MB
    Type Support (normal and x64) - 6 and 6MB
    Winsoft Linguistics Plugin (normal and x64) - 8.2 and 8.5MB
    XMP Panels - 4.9MB
    ColorCommonSetCMYK - 13MB
    ColorCommonSetRGB - 8.6KB
    Camera Profiles Installer - 285MB
    MSVC++2005 redist. (normal and x64) - 11 and 11MB
    MSVC++2008 redist. (normal and x64) - 11 and 11MB
    MSVC++2010 redist. (normal and x64) - 11 and 11MB
    MSVC80_CRT (normal and x64) - 0.0 and 0.0KB
    PDF Settings - 2.4MB
    Camera Raw 7  (normal and x64) - 22 and 24MB
    Suite Shared Configuration - 3.2MB
    Some of these things we really want installed (Photoshop, CMaps, XMP panels, Type Support and required fonts and color profiles are pretty much the minimal set required for a functional Photoshop installation), but some of these things really have no right to be silentedly installed. There's a good gigabyte of nonsense that someone who just wants Photoshop has no need for. Denying them the option to unselect these things during installation is a bit evil (whatever happened to the 'advanced' or 'custom' installation option? That was a good option).
    That said, there's still something funky going on - unselecting all components indicates that the installation will required 0.0KB on disk. However, selecting Photoshop CS6 x64, which indicates its size is 563MB, results in an installation that requires 677MB on disk. Similar things happen for other components; CMaps is 7.2MB, but when you select it, it suddenly requires 121MB on disk.
    Much last last time, I fully appreciate the install team's choices in making sure the installer will always work as long as people don't tamper with it, but I'm not one of those people - I do tamper with it, because I want to control exactly what lands on my disk. So: how do I find out what these secret things are that are not listed after wiping the dependency data so that I can explicitly pick individual components? Which additional steps are required to reveal the hidden dependencies that will apparently still be installed, or aren't factored into the size indication for the various components? And finally, how do I make the installer NOT determine that "this is not a genuine installer, you may have a counterfeit product" =)
    I know it's been altered; I modified it, because I think your install process is trying to force stuff onto my computer that I never asked for, nor will ever use (I know they're quality products, they just have no right to exist on my computers. If I had the choice to say no, I'd acknowledge them as quality products instead).
    - Mike Kamermans
    nihongoresources.com
    NB: if Eric Wilde ends up replying to this post: I still remember your willingness to help figure this out for CS5, two years ago. Thank you again for that.

    I can see why you wouldn't want to release information that lets people set up arbitrary installers, but that's why I mostly wanted those two specific hashes. The installer team can just generate them without ever saying how, and we will only be able to use them to validate the installer for the modification that lets you pick components. This should in no way interfere with the desire to prevent dangerous installers making it into the wild; in fact, it kind of guarantees that's impossible.
    I know you can't guarantee it'll work or test it, and that's fine. Past experience has shown that CS3, CS4 and CS5 work fine with updates (and most updates don't apply to Photoshop, they apply to the additional components that I traditionally don't install), so I'm pretty sure it'll work fine with CS6 too, although of course it could go wrong in which case I can always fall back to a normal install.
    Would you be willing to ask the install team whether they could generate just these two numbers, based on the single SQL command run on Media_db.db from the main payload directory? I can fully understand not wanting to give the "here is how you generate the hashes" information, but generating two specific numbers that don't work for anything but this specific query should be just as safe as the various hashes we can already see for the other Media_db.db files in the various payload directories (so they wouldn't reveal anything not already known about how to reverse engineer the hashing algorithm). It'd help tech-savvy customers quite a bit without playing into the hands of criminally minded jerks (I actually had the pleasure of running into a duped CS3 Extended disc several years ago! I had ordered CS3 for personal use, and mysteriously received a CS3 extended version with a volume licensing key in what looked like an official normal CS3 box. Needless to say, authorities and Adobe were notified).
    <<I think the right answer to this issue is to simply remove from the products those items that are not required to execute the product. That's actually something we're aggressively pursuing this summer so that the product size reduces in future releases, particularly for PS.>>
    It's not possible to take components out of the payloads directory without the installer complaining that errors have occurred. It really wants all those files there when it starts =(
    <<Have you investigated using AAMEE? I don't think that will get rid of all the "extraneous" pieces; but, it does provide some flexibility in creating an install package that can then be pushed out through normal deployment tools (e.g. SCCM).>>
    I did, but unfortunately AAMEE requires the use of a volume license key, which I don't have. We only have individual products keys for the machines that will get Photoshop CS6.
    - Mike

  • ITunes 11.4 The attempt to burn a disc failed. The disc drive didn't respond properly and can't recover or retry.

    27-inch, Late 2009
    Processor 2.66 GHz Core i5
    8 GB memory
    Software OS X 10.9.5
    iTunes 11.4
    Can not burn a playlist in iTunes 11.4 to a CD, upon completion of the burn operation get error message, "The attempt to burn a disc failed. The disc drive didn't respond properly and can't recover or retry."  Receive this message using 2 different external drives that are Apple compatible. 1. is a Pioneer SuperDrive that I had replaced from a previous Mac in a OWC enclosure, 2. the other is a OWC 8X Slim Portable USB 2.0 External. After receiving the error message I can re-insert the disc into the drive and it will mount the disc and it will list all the songs with the correct size, but none of them will play. iTunes then comes up asking me if I want to import the CD, at this time iTunes has a (not responding) status in Finder. Can burn from finder with no problem, only have issue in iTunes.
    Background
    Last year I took the iMac to the local Apple Store 3 times and they determined the optical drive was defective and replaced it, the last time even replacing the cable to it. When I attempt to burn playlist from internal Superdrive it states it can not burn due to media errors. I have tried Memorex, TDK and PNY  media with the same results. I thought purchasing the OWC Slim Portable USB 2.0 External would resolve the issue.  If I put a commercial audio CD into the Internal Superdrive it will not mount and will eject it, if I insert the commercial audio CD into the external drive it will mount and play. Now the extended warranty is expired on the iMac and I don't know what next to try.

    After multiple attempts to both find an answer to this problem or to fix it myself I've given up and switched to a Windows PC. The same media works just fine at maximum write speed with no special tricks needed. I got my iMac specifically to manage my photographs and burn images for friends and family. It has been nothing but a big disappointment to say the least. To read messages saying I need to lower my write speed or buy more expensive CDs is just laughable. Unless I see something major change I'm sticking with my Windows PC.

  • Is it possible to call non-registered contacts via...

    I am interested to use skype-to-go for business callls but like to know if you can also call non-registered contacts within skype-to-go? So my questions is: Could I simply call my skype-to-go number from my mobile/landline and then subsequently call any number/person (besides/outside my few registered contacts - I guess they only allow 10 different registered contacts)?
    Otherwise I have to change my registered contacts all the time which is time consuming....and I also don't have internet at hand all the time.
    cheers, Pieter
    EDIT : title/message case changed

    pieterbedaux wrote:
    1. Could I simply call my skype-to-go number from my mobile/landline and then subsequently call any number/person
    2. - I guess they only allow 10 different registered contacts)?
    Hello Pieter,
    1. Yes - you can call worldwide - not just your registered contacts.
    2. We have a maximum of 9 registered contacts.
    http://www.skype.com/intl/en-us/features/allfeatur​es/skype-to-go-number/
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • Are threads in the application server preemptive?

    Are threads in the application server preemptive or non-preemptive? That is do
    they automatically yield to other threads running in the application server after
    they have run for a certain amount of time or do they only yield when certian
    points in the code are reached (eg when they have completed, when they reach a
    remote call or when they explictly call yield()).

    Green threads (way back in 1.1.8 and so on) was Unix only, and non-preemptive.
    It was also very lumpy and unreliable. Old threading tutorials used to recommend
    calling yield() and suitable points in your code - just like Windows 3.0 all over
    again.
    But all current JVM implementations use OS threading, and are pre-emptive (but
    of course that doesn't stop them being blocked due to synchronization or I/O etc...)
    simon.
    Rob Woollen <[email protected]> wrote:
    It would depend on the underlying JVM or OS. However I've not aware
    of any Java
    implementations that are non-preemptive.
    -- Rob
    Ash Beitz wrote:
    Are threads in the application server preemptive or non-preemptive?That is do
    they automatically yield to other threads running in the applicationserver after
    they have run for a certain amount of time or do they only yield whencertian
    points in the code are reached (eg when they have completed, when theyreach a
    remote call or when they explictly call yield()).

  • No option to invite non-registered users to meetings

    When creating a new meeting and selecting either option that
    allows non-registered users to participate in the meeting, why is
    there no option to supply a list of email addresses to send the
    meeting notification to? You can select whether or not you would
    like registered participants to recieve the email, so why can't you
    manually specify some additional addresses? This seems like a
    trivial fix that would save the extra step of having to wait for
    the meeting notification to arrive and then forward that to any
    additional non-registered participants.

    Hi DHM:
    This functionality is available in the Events Module within
    Breeze if
    you have purchased that module but I understand that this
    doesn't
    necessarily suit your purpose specifically for setting up a
    quick
    meeting invite and sending it out to users.
    Another option you can explore, if you're using Microsoft
    Outlook, is
    to get the Breeze Outlook Add-in. That way, it is easy to
    create a
    Breeze Meeting from within Outlook and send it out to your
    meeting
    participants and guests directly from your company's
    Microsoft Outlook
    Exchange Address Book (or by typing them in).
    The Microsoft Outlook Add-in is available for download here:
    http://www.adobe.com/support/breeze/live.html
    Regarding your feature request below, if neither of the
    workarounds
    above will work for you, I would recommend submitting a
    feature
    request here:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Hope this helps!
    Jeff Von Ward
    Breeze Product Support Manager
    Adobe Systems, Inc.
    On Tue, 13 Jun 2006 18:04:27 +0000 (UTC), "dhm116"
    <[email protected]> wrote:
    >When creating a new meeting and selecting either option
    that allows
    >non-registered users to participate in the meeting, why
    is there no option to
    >supply a list of email addresses to send the meeting
    notification to? You can
    >select whether or not you would like registered
    participants to recieve the
    >email, so why can't you manually specify some additional
    addresses? This seems
    >like a trivial fix that would save the extra step of
    having to wait for the
    >meeting notification to arrive and then forward that to
    any additional
    >non-registered participants.

  • Editing Working Days/Non Working Days in the base Project Calendar PWA

    Hello Experts,
    I am attempting to edit working days/non working days in the base project calendar PWA 13. I receive an error message when I attempt to open the base project schedule.
    I click the "edit" button under "Enterprise Calendars" page.  The error message states:
    "This Project Web App feature requires at least Microsoft Internet Explorer 8.0"  (using Chrome)
    Attempting to Opening PWA in I.E. I receive a different error message stating that I need Project Professional installed on my computer and it cannot find the current project.  
    I have Admin rights, I have project pro, and Im able to access any project or function using PWA and Project Pro. Can you tell me what I am missing (detailed steps--kinda new to PWA)
    Thanks so much.  

    If you allow me to jump in, I'd advice you to first open MS Project Pro and then try again.
    Also check that your MS Project Pro URL account do not finish with /default.aspx.
    Finally ensure that your PWA URL is in the trusted site and eventually add it to the compatibility sites.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • [NSUserDefaults setObject:forKey:]: Attempt to insert non-property valu

    Hi all
    I have been writting classes at work in Xcode 4.? SL 10.6.8 and every thing has been working fine. When I bring a copy home to work on under Lion in Xcode 4.3.2 I get issues (Lots of them)
    While I have solved or worked around most I am unsure why I am getting an error with my NSUserDefaults.
    I have a method that I run in a singleton
    + (void)setSaveLocation : (NSString *) saveLocation
        NSMutableDictionary * ccLogManagerDictionaryFromUserDefaults = [[NSMutableDictionary alloc] initWithDictionary:[[NSUserDefaults standardUserDefaults] valueForKey:@"CCLogManager"]];
        [ccLogManagerDictionaryFromUserDefaults setObject:saveLocation forKey:@"Save Location"];
        [[NSUserDefaults standardUserDefaults] setObject:ccLogManagerDictionaryFromUserDefaults forKey:@"CCLogManager"];
        [ccLogManagerDictionaryFromUserDefaults release];
        // Post a notification to inform other classes that the savelocation has changed
        NSNotificationCenter *notification = [NSNotificationCenter defaultCenter];
        [notification postNotificationName:@"CCLogManagerNotificationSaveLocation" object:self];
    This worked fine before. The only change I have made is to the method in a different class that send the information :
    - (IBAction)changeSaveLocation: (id)sender
        NSOpenPanel* openDlg = [NSOpenPanel openPanel];
        [openDlg setCanChooseFiles:NO];
        [openDlg setCanChooseDirectories:YES];
        if ( [openDlg runModal] == NSOKButton )
            NSArray* files = [openDlg URLs];
            int i;
            for( i = 0; i < [files count]; i++ )
                NSString* fileName = [files objectAtIndex:i];
                [CCLogManager setSaveLocation:fileName];
    I had to change two lines due to depreciation:
        if ( [openDlg runModalForDirectory:nil file:nil] == NSOKButton )
    and
            NSArray* files = [openDlg filenames];
    What I dont understand is that I am still passing a NSString as required. And if in the first method I simpy insert a @"" string like so
        [ccLogManagerDictionaryFromUserDefaults setObject:
    @"file://localhost/Volumes/MacPro%20RAID/Home%20Folder/Downloads/8-tileable-meta l-textures/"  forKey:@"Save Location"];
    Then it works
    Any assistance would be most appreciated.
    Cheers
    Steve
    Oh and the error is:
    2012-06-14 22:41:31.843 ProControl[3630:403] *** -[NSUserDefaults setObject:forKey:]: Attempt to insert non-property value '{
        "Logging Enabled" = 1;
        "Save Location" = "file://localhost/Volumes/MacPro%20RAID/Home%20Folder/Downloads/8-tileable-meta l-textures/";
    }' of class '__NSCFDictionary'.  Note that dictionaries and arrays in property lists must also contain only property values.
    And it don't save to the User Defaults.

    Hi etresoft, thanks for the reply.
    Do you mean the number 1 pertaining to "Loggining Enabled" = 1?
    If so this should be a   [NSNumber numberWithBool: YES] which is already in the userdefauts.plist. before copying the original dictionary.
    The method save should be copying a dictionary from the .plist and only changing the dictionary entry for "Save Location" which is a NSString. It shouldn't be doing anything to the "Logging Enabled" entry which as I say should already be a NSNumber numberWithBool . Plus seeing as you can change the line
    [ccLogManagerDictionaryFromUserDefaults setObject:saveLocation forKey:@"Save Location"];
    to
    [ccLogManagerDictionaryFromUserDefaults setObject:
    @"file://localhost/Volumes/MacPro%20RAID/Home%20Folder/Downloads/8-tileable-meta l-textures/"  forKey:@"Save Location"];
    and still not touch the "Loggining Enabled" = 1 I don't that the 1 is an issue.
    Sorry if I'm being dense.

Maybe you are looking for