Bye to this thread!

They send me a mail, that my tone here isn´t good enough.
And they will kick me out, if i go on... So I leave by choice.
Didn´t think I harm anybody - if so -  please excuse.
Also I postet a review at the product site which never could be seen (wasn´t any bad word in it but a one star rating).
I think it´s done. I also don´t want to be present under this conditions.
And there are other forums to concentrate on.
I hope you keep your opinions to CC.

I understand that many customers are upset right now including you. Venting is fine. Where it becomes difficult is when a customer is asking for help to resolve a problem or ask a question; and someone responds but then adds on that using the Creative Cloud is <something negative>. Keep the venting and replying to other customers seperate.
We are reading all of the posts (not just here but everywhere) and will work to respond.

Similar Messages

  • What happened to this thread? -- LabVIEW poll "Features you would like to see in LabVIEW!"

    What happened to this thread? --> LabVIEW poll "Features you would like to see in LabVIEW!"

    Warren Massey -
    Unfortunately, we were not able to migrate the polls and topics to the new system when we launched. The good news is that we still have access to the data and are investigating our migration options available.
    We will also focus on getting some new topics and polls out to the community in the next few weeks.
    Thanks!
    Molly K.
    Web Support & Operations Manager
    National Instruments

  • No externally managed transaction is currently active for this thread

    Got the following exception after updating an entity bean and call persist method. Code the given below the exception.
    Exception [TOPLINK-23010] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.TransactionException
    Exception Description: No externally managed transaction is currently active for this thread
    public Object persistEntity(Object entity) {
    em.flush();
    em.persist(entity);
    return entity;
    private void modifyUser (Iuser user, String newHandle, Hashtable userDetails) throws UnknownException, WarningException {
    if (user == null) {
    throw new WarningException (new CatalogHelper("ITOOLS_000015", "to modify a user"));
    boolean handleUpdate = false;
    if ((newHandle != null) && !newHandle.equals("^\\s*$")) {
    handleUpdate = true;
    String oldHandle = user.getUserhandle();
    if (handleUpdate && oldHandle.equalsIgnoreCase(newHandle)) {
    handleUpdate = false;
    if (!handleUpdate && (userDetails == null) || (userDetails.size() == 0)) {
    return;
    if (handleUpdate) {
    userDetails.put("userhandle", newHandle);
    IToolsUtil.validateInputData("iuser", userDetails, false);
    if (handleUpdate) {
    userDetails.remove("userhandle");
    System.out.println("handleUpdate " + handleUpdate);
    // For User admin, handle, isactive, isadmin cannot be changed.
    if (oldHandle.equals("admin")) {
    if (handleUpdate) {
    throw new WarningException (new CatalogHelper("ITOOLS_000045", "Handle"));
    String active = (String)userDetails.get("isactive");
    if ((active != null) && !active.equals("Yes")) {
    throw new WarningException (new CatalogHelper("ITOOLS_000045", "Is Active"));
    String admin = (String)userDetails.get("isadmin");
    if ((admin != null) && !admin.equals("Yes")) {
    throw new WarningException (new CatalogHelper("ITOOLS_000045", "Is Admin"));
    System.out.println("user transaction started");
    if (handleUpdate) {
    FinderMethods fm = new FinderMethods();
    try {
    fm.findByUserHandle(em, newHandle);
    throw new WarningException (new CatalogHelper("ITOOLS_000043", newHandle));
    } catch (ObjectNotFoundException onfe) {
    user.setUserhandle(newHandle);
    System.out.println("User handle modified");
    } catch (SQLException se) {
    se.printStackTrace();
    throw new UnknownException (new CatalogHelper("ITOOLS_100000", new Object[]{"modifyUser", se.getMessage()}));
    String lname = (String)userDetails.get("userlname");
    if (lname != null) {
    user.setUserlname(lname);
    String fname = (String)userDetails.get("userfname");
    if (fname != null) {
    user.setUserfname(fname);
    String email = (String)userDetails.get("useremail");
    if (email != null) {
    user.setUseremail(email);
    String passwd = (String)userDetails.get("userpasswd");
    if (passwd != null) {
    user.setUserpasswd(passwd);
    String active = (String)userDetails.get("isactive");
    if (active != null) {
    user.setIsactive(active);
    String admin = (String)userDetails.get("isadmin");
    if (admin != null) {
    user.setIsactive(admin);
    System.out.println("details are updated");
    persistEntity(user);
    System.out.println("committed");
    How to resolve this issue? I am using Jdeveloper 10.1.3.0.4 (SU4)
    regds
    -raju

    The stack trace is given below. This exception is occured at "em.flush()" method. I even tried removing em.flush() method. Even then I got the same exception.
    I tried a different way of overcome this problem. Used UserTransaction instance say "ut" before create / modify the entity bean and later comitted. In that case I am not getting any exceptions. However, commit is happening only when new instance is created, commit works, but modification of an existing instance, commit is not working. Looks like there is some serious problem with EJB 3.0 in OC4J. Basic functionality is not working.
    Stack trace when flush method is called:
    Local Exception Stack:
    Exception [TOPLINK-23010] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.TransactionException
    Exception Description: No externally managed transaction is currently active for this thread
         at oracle.toplink.exceptions.TransactionException.externalTransactionNotActive(TransactionException.java:98)
         at oracle.toplink.internal.ejb.cmp3.transaction.base.JTATransactionWrapper.checkForTransaction(JTATransactionWrapper.java:39)
         at oracle.toplink.internal.ejb.cmp3.base.EntityManagerImpl.checkForTransaction(EntityManagerImpl.java:322)
         at oracle.toplink.internal.ejb.cmp3.base.EntityManagerImpl.getActiveUnitOfWork(EntityManagerImpl.java:314)
         at oracle.toplink.internal.ejb.cmp3.base.EntityManagerImpl.flush(EntityManagerImpl.java:164)
         at com.itools.vs.model.session.AdminSessionBean.persistEntity(AdminSessionBean.java:57)
         at com.itools.vs.model.session.AdminSessionBean.createUser(AdminSessionBean.java:124)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Stack trace when persist method is called:
    Local Exception Stack:
    Exception [TOPLINK-23010] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.TransactionException
    Exception Description: No externally managed transaction is currently active for this thread
         at oracle.toplink.exceptions.TransactionException.externalTransactionNotActive(TransactionException.java:98)
         at oracle.toplink.internal.ejb.cmp3.transaction.base.JTATransactionWrapper.checkForTransaction(JTATransactionWrapper.java:39)
         at oracle.toplink.internal.ejb.cmp3.base.EntityManagerImpl.checkForTransaction(EntityManagerImpl.java:322)
         at oracle.toplink.internal.ejb.cmp3.base.EntityManagerImpl.getActiveUnitOfWork(EntityManagerImpl.java:314)
         at oracle.toplink.internal.ejb.cmp3.base.EntityManagerImpl.persist(EntityManagerImpl.java:74)
         at com.itools.vs.model.session.AdminSessionBean.persistEntity(AdminSessionBean.java:57)
         at com.itools.vs.model.session.AdminSessionBean.createUser(AdminSessionBean.java:123)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

  • Ignore this thread - not sure how to delete it

    I solved my problem and I'm not sure how to delete this thread.

    I'm just a lowly user of Aperture but when I want to compare an original image to the edited one on my screen, I simply hit the keyboard letter "M" on my keyboard.  This reveals the original photo before editing and hitting M again gives you edited version.  I do this in the VIEWER mode to toggle between the two.
    You might also try selecting an image while in SPLIT VIEW mode, holding down the command key and selecting a second image...this puts both (or several if you want) images in the viewer in order to compare.
    Hope this helps a little!

  • DON'T UPGRADE LION until you read this thread

    https://discussions.apple.com/thread/3197249
    You will see from this thread that many people who have upgraded to Lion (versus a clean install) have had a disasterous experience. For instance:
    I have lost count of how many times my computer has crashed in the last 3 weeks after not having a single full computer crash for years
    The overall speed/performance of the computer and every application slows to a crawl
    Programs "stop responding" for minutes on end and then work at a snail's pace when they come back
    You can see from the thread that the problem seems to be associated with Flash. Uninstalling flash helps but it means you can forget about Youtube and every other application/web site that requires it.
    From my own experience, I recommend you stay away from a Lion upgrade until this problem is fixed as it is extremely frustrating.  I don't know if people who have done a clean install have the sme problem.

    rtln wrote:
    I run FlashBlock and have no problems with YouTube. The videos are in h.264 also. I find it a much better experience. There are a few sites that use Flash effectively but for the most part I find Flash is used in poor design and tons of advertising. I'm happy to be rid of it.
    I am running 10.6 on my primary HD but did do an upgrade to 10.7 on an external HD so I could try it out. There are some things I really like in Lion but unfortunately there are also a LOT of things I do not like (LaunchPad, Spaces, conflicting touch gestures in every app, wasted time and resources on animated interfaces, ugly user interface in iCal, Mail, Addressbook etc.). The stability of Lion seemed fine though.
    I just bought a new MacBook Pro and so instead of migrating or transfering a clone I did a nice new Clean install of 10.6 (and all the updates) and my favorite apps (all newest updated versions) and after I ran a clone backup of that, I upgraded to 10.7
    Maybe that's the trick to updating.
    Excellent advice
    My recommended method, clone your internal to an external, install Lion on the external, when ready either physically interchange the drives or clone the external back to the internal.
    The external becomes one of your backup methods, it's already up to date.

  • Asking the mod to lock this thread.

    I don't know where to turn to. I don't think it belongs to fissue at microsoft dot com, and I can't use the Abuse button as no one is in violation of COC.
    So, I am posting my " lock this
    thread " request here.
    The thread in question has gone through 136 replies 235 Votes, and counting.
    I don't think there is a computer matter that is so important that a 136 replies, and a highly questionable 235 Helpful Votes have not completely covered. Even a Homeland Security issue would have been settled with that many responses ( sarcastic
    The only thing it will do now is occupying a spot which could have been used for a Real computer problem.
    This is just my opinion.
    Thank you.
    Adding............
    It would be real nice if the admins/owner set up a separate Discussion forum where people who love to talk without end can spend their time there, and people who come to TechNet solely for helping others will not have to be bothered by such
    nonsense.

    Well there are clearly a lot of people with opinions on where Microsoft should take the Windows user interface. I don't think that is surprising, and the discussion would seem to be on topic for that forum.
    Is there any benefit in locking a thread just because it is very long? I would probably not post on a thread that is already that long as I would not expect many people to ever make it all the way down to read my post, but if I did would anyone be harmed?
    I do agree that the points earned by the posts with many helpful votes are questionable. These opinion threads tend to generate large numbers of competing votes. Is the distortion of the (far from perfect) points system reason enough to lock threads like
    this? I don't know (for that matter, I don't know if locking a thread prevents additional helpful votes).
    [Edit in response to the suggestion of a separate forum for these posts] 
    Does the existence of one discussion thread with a very high post count make it very much harder to find
    questions that need to be answered?

  • How to add screenshot to this thread from my hard drive?

    How to add screenshot to this thread from my hard drive?

    Unfortunately there is no built in way to do this. You would need to upload the picture some where and link to it in HTML.
    (Flickr, Picasa, Drop Box, etc.)

  • Cannot stop this thread...

    Hello, I have the following code:boolean kill = false;
    public void go() {
       while (!kill) {
            sleep(3000);
            //do stuff.
    public void stopThread() {
        kill = true;
    }This code doesn't stop it. I cannot seem to stop this thread with the boolean variable. I think its because I have the thread asleep but I'm not sure. How can you stop a thread that sleeps for a period of time?
    Thanks.

    Here's my code: class CreateGui {
    Vector<Thread> threads = new Vector<Thread>();
    //lots of stuff here...
    public void start() {
         Runnable runner;
    runner = new RunThreads();
         Thread t = new Thread(runner);
         t.setName(_code);
         t.start();
         threads.add(t);
    public void stop() {
         RunThreads r = new RunThreads();     
         r.stopThread();     
    class RunThreads implements Runnable {     
         boolean kill = false; 
    public void run() {
         go();
    public void go() {
       while (!kill) {
         try {
         Thread.sleep(3000); .
         } //try          
         catch (InterruptedException ex) {
         ex.printStackTrace(); }
             //do stuff here...     
              } //while
    } //method go
    public void stopThread() {
         kill = true;
    }The user clicks a button to start a thread, and then clicks another button to stop the thread. With this program I am supposed to have up to 26 threads running at once. I know I may not be doing things totally correctly, but that is what I'm trying to accomplish. I can take the harshest criticism: )

  • I have several times tried to stop following a thread in the PDF's forum about security issues and i still keep getting flooded with emails from this thread. I used the action within the thread that says stop following but appears to have no effect I stil

    I have several times tried to stop following a thread in the PDF's forum about security issues and i still keep getting flooded with  emails from this thread. I used the action within the thread that says stop following but appears to have no effect I still keep  getting from 5 to 20 emails daily. Please help!!!!!!!

    This may be helpful: How do I disable email notifications?

  • Have Comments about Windows 7? (Part 4 - Do not post questions in this thread)

    To all forum users:
    Please use this thread to note any comments that you have about Windows 7. Do not use this thread for any specific question or issue that you are having - it is just for comments or feedback. For questions/issues that require an answer, create a new thread.
    PLEASE DO NOT USE THIS THREAD TO DISCUSS WINDOWS 7 BETA OR WINDOWS 7 RC.
    This thread is a continuation from Have Comments about Windows 7? (Part 3).Windows Client IT Pro Audience Manager for Web Forums

    Here are important Windows 7 missing/broken features which were working in XP and some were working even in the broken Vista OS. I have tried since 2006 to bring these to the attention of various Windows feature teams through their blogs,
    forums, newsgroups, Windows 7 Beta program on Connect, Windows Feedback Program, newly opened Windows 7 feedback website and even asked customer service for hotfixes but all of them have been largely ignored. How many more years, service packs and
    Windows releases is it going to take to fix XP to Vista issues?
    XP to Vista issues:
    - Shell/Explorer issue: Auto refresh / auto sorting is mandatory making it impossibly difficult to work with many files, especially when they are extracted from archives.
    - Shell/Explorer issue: Can't view size of folders in columns. Previously at least a shell extension called "Folder size" allow that but MS took away the core ability to be able to do that so the shell extension doesn't work any more
    - Shell/Explorer issue: Can't view the icons of 16-bit programs in 32-bit Windows 7 (I know 16-bit is stone age but if they can run, why not show the icons of those EXEs as well?). I can understand 64-bit Windows not showing icons for 16-bit EXEs but 32-bit
    Windows 7 should.
    - Shell/Explorer issue: No advanced file type association settings like Windows XP
    - Shell/Explorer issue: Access to network connection settings (IP address, DNS) status, details, repair, enable/disable is too many clicks away. Of course I can create a shortcut but if I have 2 wireless connections and 2 ethernet, I don't want to create 4
    shortcuts. Earlier XP allowed quick access to these settings depending on which connection was active.
    - Logon issue: I have set my system to auto logon but there are times when I want to log on to a different account, but there's no way in Windows 7 to stop the auto logon from happening. Previously in XP, holding down Shift prevented auto logon so you could
    switch to another user account. Or maybe Windows should have some timer at logon (like it has at startup) to wait for x number of seconds after which it should auto logon
    - Audio issue: I can't hear audio simultaneously from my headphones and from my speakers, or output to another set of speakers installed in the other room the same audio as I am listening to in my computer room
    - Audio issue: I am a big fan of MIDI songs and MIDI music in games so I want to be able to select a better sounding MIDI synthesizer than the ordinary sounding one that Windows 7 comes with by default but I can no longer do that. XP allowed that.
    - Servicing issue: Updates cannot be installed with the progess bar shown but unattended. It's either manual or completely silent without any indication that the MSU update completed or failed.
    - Servicing issue: Can't quickly and easily slipstream hotfixes like XP could using the /integrate switch
    - Shell/Explorer issue: WinSxS takes up too much disk space and Explorer doesn't let me view the correct size (nor any other utility that I know of since no size calculation utility can handle NTFS junction points points)
    - Driver installation issue: Whenever I want to install a custom driver for my hardware, the Plug and Play wizard now first installs its own Microsoft supplied driver or fails to install the driver if it doesn't have one out of the box. Then I have to open
    Device Manager with UAC prompts and start the "Update driver wizard" to install my own driver. In XP, the "Found new hardware" wizard itself had "Have disk" functionality where I could supply the path to my driver on CD.
    - System issue: No in place reinstall of OS to replace some corrupted files. With XP, I could reinstall the OS in-place so the OS would get repaired without my settings getting lost and programs having to be installed all over again
    - System issue: No hardware profiles so I can start my laptop with certain hardware disabled (like 2 NICs-1 wireless, 1 wired), 2 sound cards) depending on what hardware I want to use
    - IIS issue: SMTP and POP3 servers gone from IIS7
    - Management issue: Offline Files can't be automated from command line like one could in XP using CscCmd.exe
    - Power management issue:USB devices don't power off upon "safely removing". Data transfer stops but Windows 7 continues to supply power to USB devices
    - Power management issue: There is no progress bar when hibernating, the screen just turns black
    - Power management issue: Hardware power button can't be set to "Ask me what to do" every single time
    Vista to Windows 7 issues:
    - Shell/Explorer issue: Can't run 32-bit Explorer.exe in 64-bit Windows 7. Vista and XP x64 allowed that. Not all of my shell extensions are 64-bit.
    - Shell/Explorer issue: There used to be a sort bar with column headers for every view in Windows Explorer in Vista. In Windows 7, only details view has it.
    - Shell/Explorer issue: Windows Explorer doesn't remember toolbar positions so I can't unlock toolbars, rearrange them and lock them again. Every time I start Windows Explorer, each toolbar is forced on its own line.
    - Shell/Explorer issue: Auto arrange and Align to Grid in icon views is always on so I can't drag a few files away from a group if I want to work only with them.
    - Shell/Explorer issue: Old Vista style dialog boxes which use the ListView control still have the annoying full row selection in List view which makes it difficult to click in an empty area without making a file get selected. The new Windows 7 style dialogs
    and Windows Explorer doesn't have this annoying issue thankfully though
    - Shell/Explorer issue: If I select files then if I do an Edit menu -> Sort, they get deselected. I have to select them all over again.
    - Shell/Explorer issue: I can't set a background JPEG for folders any more
    - Taskbar issue: Clicking a grouped application's taskbar button or thumbnail when it is active (in the foreground) does not minimize it like it used to happen in XP. Only ungrouped application buttons minimize upon being clicked again. Another feature MS
    probably forgot with grouping.
    - Taskbar issue: Number of combined taskbar windows is not shown on the taskbar
    - Taskbar issue: I can't select taskbar buttons with Ctrl+click and then selectively group maximize or group close
    - Shell/Explorer issue: Advanced Query Syntax for searching has to be remembered. No advanced search GUI so search become easy like Vista
    - Shell/Explorer issue: Game Explorer doesn't allow customizing game shortcuts. Many times I have to add switches to game shortcuts for compatiblity or resolution, it's so annoying!
    - Taskbar issue: No network activity indicator.
    - Shell/Explorer issue: In Windows Explorer, when you group items by category, I can longer Ctrl click on group headers to select entire group. Could do that in Vista.
    - Power management issue: All three power plans (especially combination of Power Saver and High Performance) aren't shown from taskbar's power icons.
    - Missing tool: No equivalent to Meeting Space or NetMeeting which was very useful for screen sharing and conferencing over LAN without internet access
    It's no use whatsoever giving any kind of feedback or comments as I don't see the results of my feedback in service packs or hotfixes. Windows 7 is a wonderful but broken OS. Last non-broken with all functionality intact and working as intended was WinXP.
    Anonymuos

  • Fyi, see this thread

    fyi, see this thread in DW newsgroup:
    "Can't get DW to recognize new file extensions"

    F-who's-I?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "E Michael Brandt" <[email protected]> wrote
    in message
    news:etuge4$8uq$[email protected]..
    > fyi, see this thread in DW newsgroup:
    >
    > "Can't get DW to recognize new file extensions"

  • Running thread - which statement to get to know what this thread is doing

    Hallo,
    I have a thread in my database running.
    Normally the action I am doing with this thread lasts 1 hour. Now it is working for 3 hours.
    How can I get to know what my thread is doing and how long this will last? Which statement can I use?
    Thanks in advance, Jadexy

    This query shows what a session is doing:
    select s.sid
    ,(a.APPLICATION_WAIT_TIME / 1000000) as APPLICATION_WAIT_TIME
    ,(a.CONCURRENCY_WAIT_TIME / 1000000) as CONCURRENCY_WAIT_TIME
    ,(a.CLUSTER_WAIT_TIME / 1000000) as CLUSTER_WAIT_TIME
    ,(a.USER_IO_WAIT_TIME / 1000000) as USER_IO_WAIT_TIME
    ,(a.CPU_TIME / 1000000) as CPU_TIME
    ,(a.ELAPSED_TIME / 1000000) as ELAPSED_TIME
    ,a.ROWS_PROCESSED
    ,a.disk_reads
    ,a.buffer_gets
    ,a.direct_writes
    ,a.optimizer_mode
    ,a.sql_text
    from v$session s, v$sqlarea a
    where s.sid = &YOUR_SESSION_ID
    and a.sql_id = s.sql_id
    order by 1
    Times are shown in seconds.

  • Query quote help-Please ignore this thread

    Dear all,
    Please ignore this thread.
    Thanks for understanding
    Kai
    Edited by: KaiS on Nov 12, 2009 9:33 AM

    try
    and A.subno =''' || subno || ''' ;' from usr_inf where rownum <300;
    those are two single quotes ('), not double quotes.

  • What keeps this thread alive?

    I have this sun example of how to read data from a serial port http://developer.java.sun.com/developer/releases/javacomm/SimpleRead.java.
    I'm not interested in the serial port stuff but I wonder what exactly keeps the program / the thread alive?
    The entire code:
    * @(#)SimpleRead.java     1.12 98/06/25 SMI
    * Copyright (c) 1998 Sun Microsystems, Inc. All Rights Reserved.
    * Sun grants you ("Licensee") a non-exclusive, royalty free, license
    * to use, modify and redistribute this software in source and binary
    * code form, provided that i) this copyright notice and license appear
    * on all copies of the software; and ii) Licensee does not utilize the
    * software in a manner which is disparaging to Sun.
    * This software is provided "AS IS," without a warranty of any kind.
    * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
    * INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
    * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND
    * ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY
    * LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE
    * SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS
    * BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT,
    * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES,
    * HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING
    * OUT OF THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN
    * ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    * This software is not designed or intended for use in on-line control
    * of aircraft, air traffic, aircraft navigation or aircraft
    * communications; or in the design, construction, operation or
    * maintenance of any nuclear facility. Licensee represents and
    * warrants that it will not use or redistribute the Software for such
    * purposes.
    import java.io.*;
    import java.util.*;
    import javax.comm.*;
    public class SimpleRead implements Runnable, SerialPortEventListener
        static CommPortIdentifier portId;
        static Enumeration portList;
        InputStream inputStream;
        SerialPort serialPort;
        Thread readThread;
        public static void main(String[] args)
            portList = CommPortIdentifier.getPortIdentifiers();
            while (portList.hasMoreElements())
                portId = (CommPortIdentifier) portList.nextElement();
                if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL)
                    // print port names to adjust the desired com port
                    System.out.println("Serial Port: " + portId.getName());
                    // if (portId.getName().equals("COM1")) {
                    // this is (hard coded) the port I want to monitor
                    if (portId.getName().equals("COM4")) {
                        SimpleRead reader = new SimpleRead();
        public SimpleRead() {
            try {
                serialPort = (SerialPort) portId.open("SimpleReadApp", 2000);
            } catch (PortInUseException e) {}
            try {
                inputStream = serialPort.getInputStream();
            } catch (IOException e) {}
         try {
                serialPort.addEventListener(this);
         } catch (TooManyListenersException e) {}
            serialPort.notifyOnDataAvailable(true);
            try {
                serialPort.setSerialPortParams(9600,
                    SerialPort.DATABITS_8,
                    SerialPort.STOPBITS_1,
                    SerialPort.PARITY_NONE);
            } catch (UnsupportedCommOperationException e) {}
            readThread = new Thread(this);
            readThread.start();
        public void run() {
            try {
                Thread.sleep(20000);
            } catch (InterruptedException e) {}
        public void serialEvent(SerialPortEvent event) {
            switch(event.getEventType()) {
            case SerialPortEvent.BI:
            case SerialPortEvent.OE:
            case SerialPortEvent.FE:
            case SerialPortEvent.PE:
            case SerialPortEvent.CD:
            case SerialPortEvent.CTS:
            case SerialPortEvent.DSR:
            case SerialPortEvent.RI:
            case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
                break;
            case SerialPortEvent.DATA_AVAILABLE:
                byte[] readBuffer = new byte[20];
                try {
                    while (inputStream.available() > 0) {
                        int numBytes = inputStream.read(readBuffer);
                    System.out.print(new String(readBuffer));
                } catch (IOException e) {}
                break;
    }The work of the thread is located in the run() method. As long as statements from this method are executed the thread is alive, at least this is what I've read so far in thread HowTos and stuff.
    But:
    public void run() {
            try {
                Thread.sleep(20000);
            } catch (InterruptedException e) {}
        }doesn't contain an endlos loop. It sleeps for a fixed amount of time and then seems to finish. The programm or a thread of the program is still running after these 20 seconds expired and keeps reading data.
    I've also seen a version with 100 ms instead of 20000.
    So now back to my question: Why is this working?
    Why 20000?
    Can somebody enlighten me please?
    I was going to implement an endlos loop to keep such a port monitoring thread alive but since the jave gurus shipped the example this way I'm kinda puzzled.
    Any help is highly appreciated.
    Mat.

    As far as I know the serialEvent() method is a callback. (I think the registered listeners are usually callback aren't they).
    I wish I could rely on this kind of technique. I even read some Thread faqs and howtos over but I couldn't figure out why this should be reliable working.
    Maybe its just because the opening of the port leads to another thread created. The one which monitors the port in the first place and calls the registered listeners. So the 20 seconds may just be a very safe way to let this thread do all its initial work.
    But then ... why doing a seperate thread in SimpleRead?
    Thank you so far for your input,
    Mat.

  • HT1766 I have iPhone 4. I deleted a thread of SMS by mistake. Last back on iCloud was on 14/05/2013. How I can retrieve this thread of SMS till 19/05/2013!?

    I have iPhone 4. I deleted a thread of SMS by mistake. Last back on iCloud was on 14/05/2013. How I can retrieve this thread of SMS till 19/05/2013!?

    You're welcome.
    Text messages are included with the iPhone's backup.
    http://support.apple.com/kb/HT4946
    iTunes will back up the following information
    Contacts* and Contact Favorites (regularly sync contacts to a computer or cloud service such as iCloud to back them up).
    App Store Application data including in-app purchases (except the Application itself, its tmp and Caches folder).
    Application settings, preferences, and data, including documents.
    Autofill for webpages.
    CalDAV and subscribed calendar accounts.
    Calendar accounts.
    Calendar events.
    Call history.
    Camera Roll (Photos, screenshots, images saved, and videos taken. Videos greater than 2 GB are backed up with iOS 4.0 and later.)
    Note: For devices without a camera, Camera Roll is called Saved Photos.
    Game Center account.
    Home screen arrangement.
    In-app purchases.
    Keychain (this includes email account passwords, Wi-Fi passwords, and passwords you enter into websites and some other applications. If you encrypt the backup with iOS 4 and later, you can transfer the keychain information to the new device. With an unencrypted backup, you can restore the keychain only to the same iOS device. If you are restoring to a new device with an unencrypted backup, you will need to enter these passwords again.)
    List of External Sync Sources (MobileMe, Exchange ActiveSync).
    Location service preferences for apps and websites you have allowed to use your location.
    Mail accounts (mail messages are not backed up).
    Installed Profiles. When restoring a backup to a different device, installed configuration profiles are not restored (such as accounts, restrictions, or anything which can be specified through an installed profile.) Any accounts or settings that are not associated with an installed profile will still be restored.
    Map bookmarks, recent searches, and the current location displayed in Maps.
    Microsoft Exchange account configurations.
    Network settings (saved Wi-Fi hotspots, VPN settings, network preferences).
    Nike + iPod saved workouts and settings.
    Notes.
    Offline web application cache/database.
    Paired Bluetooth devices (which can only be used if restored to the same phone that did the backup).
    Safari bookmarks, cookies, history, offline data, and currently open pages.
    Saved suggestion corrections (these are saved automatically as you reject suggested corrections).
    Messages (iMessage and carrier SMS or MMS pictures and videos).
    Trusted hosts that have certificates that cannot be verified.
    Voice memos.
    Voicemail token. (This is not the voicemail password, but is used for validation when connecting. This is only restored to a phone with the same phone number on the SIM card).
    Wallpapers.
    Web clips.
    YouTube bookmarks and history.
    * Your contacts are part of the backup to preserve recent calls and favorites lists. Back up your contacts to a supported personal information manager (PIM), iCloud, or another cloud-based service to avoid any potential contact data loss.
    http://support.apple.com/kb/HT4859
    What is backed up
    You get unlimited free storage for:
    Purchased music, movies, TV shows, apps, and books
    Notes: Backup of purchased music is not available in all countries. Backups of purchased movies and TV shows are U.S. only. Previous purchases may not be restored if they are no longer in the iTunes Store, App Store, or iBookstore.Some previously purchased movies may not be available in iTunes in the Cloud. These movies will indicate that they are not available in iTunes in the Cloud on their product details page in the iTunes Store. Previous purchases may be unavailable if they have been refunded or are no longer available in the iTunes Store, App Store, or iBookstore.
    You get 5 GB of free iCloud storage for:
    Photos and videos in the Camera Roll
    Device settings (for example: Phone Favorites, Wallpaper, and Mail, Contacts, Calendar accounts)
    App data
    Home screen and app organization
    Messages (iMessage, SMS, and MMS)
    Ringtones
    Visual Voicemails
    You can select which applications back up their data and see how much storage space each application is using:
    On your Home Screen, tap Settings
    Tap iCloud
    Tap Storage & Backup
    Tap Manage Storage
    Select the device you want to manage

Maybe you are looking for