Problem update JTextArea with message from thread

I have a JTextArea to present the actually status of an running thread. The thread sends strings like: System.out.println("Reading in new message...");to the standardoutput.
The problem is, that my application freezes when it should update the JTextArea. Any idea and what type of actionListener is recommend to use for the JTextArea?
try
   BufferedReader breader = new BufferedReader(new InputStreamReader(System.in));
   statusmsg = breader.readLine();
   statusTextArea.append(statusmsg);
catch (Exception e){};Cheers

In general, you can't update the Swing stuff from "side" threads. Side threads talk with the Swing event thread by creating Runnable objects which contains the necessary data (in your case, for instance, the JTextArea or its parent panel/window, and the text to append), and then invoking SwingUtilities.invokeLater() to have this object run() method called by the Sing event thread. See:
http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html

Similar Messages

  • Update Rows with info from other Rows in Same Table.

    I'm trying to update rows with information from the same table. The table gets loaded with info from a report that runs and it has to be a new entry every month but I would like to carry over some of the info from last month. This statement below runs but updates all rows in the new table load and in my test cases I only made a few match so only like 5 records should get updated. This is an example of what I'm trying to do. If I add this(C2.COL_INVC_ID = C1.COL_INVC_ID) to the last "*Where*" statement I get an invalid identifier for "C2.COL_INVC_ID". So what am I doing wrong here??? How can I update only the rows that where also in last months run???
    Thanks in advance for any help!
    Update OpenIssues OI1
    Set(OI1.Num, OI1.Status, OI1.Code, OI1.LastModifiedDate) =
    (Select OI2.Num, OI2.Status, OI2.Code, OI2.LastModifiedDate
    From OpenIssues OI2
    Where OI2.num = OI1.num and OI2.TableLoadDate = TO_DATE('01/31/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    Where and OI1.TableLoadDate = TO_DATE('02/29/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    SQLMe

    Hi,
    Welcome to the forum!
    SQLMe wrote:
    I'm trying to update rows with information from the same table. The table gets loaded with info from a report that runs and it has to be a new entry every month but I would like to carry over some of the info from last month. This statement below runs but updates all rows in the new table load and in my test cases I only made a few match so only like 5 records should get updated. This is an example of what I'm trying to do. If I add this(C2.COL_INVC_ID = C1.COL_INVC_ID) to the last "*Where*" statement I get an invalid identifier for "C2.COL_INVC_ID". If the aliases c1 and c2 aren't defined anywhere, then you can't use them anywhere.
    The WHERE clause of the UPDATE statement can only reference the table being updated, ot1 in this case.
    So what am I doing wrong here??? How can I update only the rows that where also in last months run???
    Thanks in advance for any help!
    Update OpenIssues OI1
    Set(OI1.Num, OI1.Status, OI1.Code, OI1.LastModifiedDate) =
    (Select OI2.Num, OI2.Status, OI2.Code, OI2.LastModifiedDate
    From OpenIssues OI2
    Where OI2.num = OI1.num and OI2.TableLoadDate = TO_DATE('01/31/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    Where and OI1.TableLoadDate = TO_DATE('02/29/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    ------------There's a syntax error in the last line. Either something got lost when you posted the code, or you just don't want the keyword AND. You certainly don't want AND immediately after WHERE.
    In general, if it's not obvious how to do an UPDATE, then UPDATE is the wrong tool: you want MERGE instead.
    Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    Simplify the problem as much as possible. Remove all tables and columns that play no role in this problem.
    If you're asking about a DML statement, such as UPDATE, the CREATE TABLE and INSERT statements should re-create the tables as they are before the DML, and the results will be the contents of the changed table(s) when everything is finished.
    Always say which version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • HT5181 iPhoto for iOS: Photos in iphoto's Camera Roll folder are not updated automatically with edits from other programs

    How can I solve the problem în the subject?

    How can I solve the problem în the subject?
    What exactly are you trying to do?
    Have you been editing photos in iPhoto and want to add them to your camera rool or photo stream?
    Then do exactly as the article describes, that you lonked to:
    iPhoto for iOS: Photos in Camera Roll are not updated automatically with edits from iPhoto
    Use iPhoto's Sharing to save a copy of the edited photo to the Caera Roll, or explain on mor e detail, what you want to do.
    Regards
    Léonie

  • Problem consuming inbound AQ message from ebusiness suite to invoke service

    Hi All,
    I am having a real problem with a composite which I am trying to fire from a business event in Oracle Applications, any help would be really appreciated.
    I suspect this maybe down to a server configuration issue as Weblogic (11g) has only had a basic install completed by a none DBA trained colleague who has never used weblogic before.
    Here is my scenario:
    I have a BPEL process that receives an incomming message and writes that message to file using the file adapter. The inbound service interface is an Oracle Applications Adapter that has been configured to "dequeue" a message from the WF_BPEL_Q AQ in Oracle Applications. The business event is the "Create Employee" event.
    I have followed the 11g SOA gateway developer guide example and subscribed to the business event via the Oracle Apps Integration Repository subscribtion functionality and I have ensured that the business event is enabled. By default the subscription is set as defered.
    I have successfully created an employee and the business event has fired and after a minute or so the message is enqueued to the WF_BPEL_Q within the APPS schema.
    Problem: despite the composite compiling and deploying successfully to my SOA server the BPEL process does not get invoked and the message does not get de-queued from the WF_BPEL_Q.
    I am happy that the BPEL process is configured correctly and I have checked the JNDI reference to the apps Data Source configured on the Weblogic server is correct on the inbound partner link.
    My understanding of the process is that the Apps Adapter is not just a fancy service interface bean within the JDeveloper IDE, on the server there is a corresponding component that polls the WF_BPEL_Q and dequeues the relevant messages and invokes the services that are registered on the server that subscribe to that particular buisiness event.
    What I need to know is:
    1. What is a typical configuration for the ApplicationsAdapter on the Weblogic server, i.e. what should I be looking for and checking i.e. connections to my Apps instance/listners/adapter settings etc...
    2. How do I run diagnostics/debug the process to find the problem i.e. where are log files located etc....
    Any help on this would be much appreciated, also if you are more of a BPEL process implementer and have experience with business event invokation of services then please feel free to make suggestions ask questions about my configuration, I am new to Business Events, BPEL and Weblogic so I have got my work cut out!!!!
    I will post this question on a few of the SOA forums
    Thanks in advance
    Keith Turley

    We have similar issue.All the Background engines are up and running.Also see no error on WF_BPEL_QTAB table..
    Business event is oracle.apps.ar.hz.CustAccount.update. Let me know if there is anything which needs to be looked in on the SOA Server.
    Regards
    Sabir

  • Update suspends with message: Close ElementsAutoAnalyzer - How?

    After installing Photoshop and Premiere 10 on a Mac I decided to do the usual update.
    At about 51% of the way through installing a RAW update the error message came up:
    Close the following applications: ElementsAutoAnalyzer    
    The question is how?
    The Mac cannot fimd this file.
    I would have to say at this point that installing Adobe 10 suite on a Mac from the discs
    is very poor and Adobe should really adress the many problems, and soon!
    I wiped Elements 8 and updated Reader 10, plus Flash for the Mac, so that everything
    was ready.
    Premiere 10 aborted at about 51% on four occasions! In the end I had to download the
    recent copy from the web (2 hours) and then install it from there.
    Before going into the updates I deleted the help program and analysis program so that
    this would not interupt the updates but to no avail.
    Having spent a total of 6 hours trying to install and run two programs I am not impressed.
    Can anybody help with stopping the ElementsAutoAnalyzer, please.

    I am not sure if you are updating Photoshop or Premiere Elements 10 but I would recommend you post to their respective forums regarding your questions regarding the update.

  • Problem Updating iPhone with iMac

    Whenever I try and update my iPhone 4 from my iMac, it just sits there for hours not completing. It's at 99%.
    Whenever I try and update it from my sister's iMac, it works perfectly.
    What is the problem with my computer? I have tried uninstalling itunes and reinstalling, but that doesn't work.
    Right now, I am running OSX Lion, but had the same problem with Snow Leopard.

    Hello jennywijaya,
    I would be concerned too if I was not able to backup my iPhone.  I recommend the following article for troubleshooting backup issues with iTunes:
    iOS: Troubleshooting backup issues in iTunes
    http://support.apple.com/kb/TS2529
    If you are still unable to update after creating the backup, I recommend the following article:
    iOS: Unable to update or restore
    http://support.apple.com/kb/HT1808
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Update table with data from dialog

    Hello,
    I need the problem.
    I'm not update table with inputtext field where data change from dialog.
    This metod is update table.
    public void returnHandlerGoods(ReturnEvent returnEvent) {
    // Add event code here...
    ArrayList<PricatGoods> data = (ArrayList<PricatGoods>) returnEvent.getReturnValue();
    BindingContainer bc = getBindings();
    DCIteratorBinding dcIterBinding;
    // сохранить изменения detail
    dcIterBinding = (DCIteratorBinding) bindings.get("findVMIOrderDetailsIter");
    RowSetIterator s = dcIterBinding.getRowSetIterator();
    System.out.println("Получено товаров " + data.size());
    for (int i =0; i < data.size(); i++){
    Row detailRow = (RowImpl)s.createRow();
    detailRow.setNewRowState(Row.STATUS_INITIALIZED);
    s.insertRow(detailRow);
    s.setCurrentRow(detailRow);
    // detailRow.setAttribute("lineNum",createLineNum(i));
    detailRow.setAttribute("gtin",((PricatGoods)data.get(i)).getGtin());
    detailRow.setAttribute("goodId",((PricatGoods)data.get(i)).getGoodId());
    detailRow.setAttribute("goodName",((PricatGoods)data.get(i)).getGoodName());
    detailRow.setAttribute("sellerarticle",((PricatGoods)data.get(i)).getGoodCode());
    detailRow.setAttribute("buyerarticle",((PricatGoods)data.get(i)).getBuyerArticle());
    detailRow.setAttribute("unit",((PricatGoods)data.get(i)).getUnit());
    detailRow.setAttribute("totalQuantity",0);
    detailRow.setAttribute("acceptedQuantity",0);
    detailRow.setAttribute("taxRate",((PricatGoods)data.get(i)).getVatPercent());
    detailRow.setAttribute("price",((PricatGoods)data.get(i)).getCost());
    detailRow.setAttribute("priceWithoutTax",((PricatGoods)data.get(i)).getCostWithoutVat());
    detailRow.setAttribute("sumWithoutTax",0.0);
    detailRow.setAttribute("totalSum",0.0);
    detailRow.setAttribute("currency",((PricatGoods)data.get(i)).getCurrency());
    System.out.println("Добавление товара \" "+((PricatGoods)data.get(i)).getGoodName()+ "\" с goodCode " +((PricatGoods)data.get(i)).getGoodCode());
    s.closeRowSetIterator();
    AdfFacesContext.getCurrentInstance().addPartialTarget(table2);
    Fields are update good where inputText.readOnly = true.
    Fields are not update good where inputText.readOnly = false. Old data duplicate in new row.
    I have found some posts, but in them is not told accurately as I can solve the given problem.
    How to update a adf table??
    Re: ADF Dialog FrameWork-Table Update Problem
    Whether it is possible to solve the given problem?
    Thx,
    Dema

    If I use outputText that all job's a good. But I don't change these fields. I should have field with change for users.
    Code jspx page for table ===>
    <af:table value="#{bindings.findVMIOrderDetails1.collectionModel}"
    var="row"
    rows="#{bindings.findVMIOrderDetails1.rangeSize}"
    first="#{bindings.findVMIOrderDetails1.rangeStart}"
    emptyText="#{bindings.findVMIOrderDetails1.viewable ? 'Товаров пока нет.' : 'Access Denied.'}"
    selectionState="#{bindings.findVMIOrderDetails1.collectionModel.selectedRow}"
    selectionListener="#{bindings.findVMIOrderDetails1.collectionModel.makeCurrent}"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.table2}"
    id="table2" styleClass="baseTable">
    <af:column sortProperty="lineNum" sortable="false"
    headerText="№"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column19}"
    id="column19">
    <af:inputText value="#{row.lineNum}" simple="false"
    required="true"
    columns="4"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText4}"
    id="inputText4" readOnly="false"
    requiredMessageDetail='Поле "№" обязательно для заполнения'/>
    </af:column>
    <af:column sortProperty="gtin" sortable="false"
    headerText="GTIN"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column20}"
    id="column20">
    <af:inputText value="#{row.gtin}" simple="true"
    required="#{bindings.findVMIOrderDetails1.attrDefs.gtin.mandatory}"
    columns="#{bindings.findVMIOrderDetails1.attrHints.gtin.displayWidth}"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText26}"
    id="inputText26" readOnly="true"/>
    </af:column>
    <af:column sortProperty="sellerarticle" sortable="false"
    headerText="Код товара у поставщика"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column21}"
    id="column21">
    <af:inputText value="#{row.sellerarticle}" simple="true"
    required="#{bindings.findVMIOrderDetails1.attrDefs.sellerarticle.mandatory}"
    columns="#{bindings.findVMIOrderDetails1.attrHints.sellerarticle.displayWidth}"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText27}"
    id="inputText27" readOnly="true"/>
    </af:column>
    <af:column sortProperty="buyerarticle" sortable="false"
    headerText="Код товара у покупателя"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column22}"
    id="column22">
    <af:inputText value="#{row.buyerarticle}" simple="true"
    required="#{bindings.findVMIOrderDetails1.attrDefs.buyerarticle.mandatory}"
    columns="10"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText28}"
    id="inputText28" readOnly="true"
    disabled="false"/>
    </af:column>
    <af:column sortProperty="goodName" sortable="false"
    headerText="Наименование"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column23}"
    id="column23">
    <af:inputText value="#{row.goodName}" simple="true"
    required="true"
    columns="11"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText29}"
    id="inputText29"
    requiredMessageDetail="Поле обязательно для заполнения"
    readOnly="true"/>
    </af:column>
    <af:column sortProperty="itemDesc" sortable="false"
    headerText="Описание"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column24}"
    id="column24" rendered="false">
    <af:inputText value="#{row.itemDesc}" simple="true"
    required="#{bindings.findVMIOrderDetails1.attrDefs.itemDesc.mandatory}"
    columns="#{bindings.findVMIOrderDetails1.attrHints.itemDesc.displayWidth}"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText30}"
    id="inputText30"/>
    </af:column>
    <af:column sortProperty="unit" sortable="false"
    headerText="Ед. изм."
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column25}"
    id="column25">
    <af:inputText value="#{row.unit}" simple="true"
    required="#{bindings.findVMIOrderDetails1.attrDefs.unit.mandatory}"
    columns="#{bindings.findVMIOrderDetails1.attrHints.unit.displayWidth}"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText31}"
    id="inputText31" readOnly="true"/>
    </af:column>
    <af:column sortProperty="currency" sortable="false"
    headerText="Валюта"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column26}"
    id="column26" rendered="false">
    <af:inputText value="#{row.currency}" simple="true"
    required="#{bindings.findVMIOrderDetails1.attrDefs.currency.mandatory}"
    columns="#{bindings.findVMIOrderDetails1.attrHints.currency.displayWidth}"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText32}"
    id="inputText32"/>
    </af:column>
    <af:column sortProperty="totalQuantity" sortable="false"
    headerText="Общее кол-во"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column27}"
    id="column27">
    <af:inputText value="#{row.totalQuantity}"
    required="#{bindings.findVMIOrderDetails1.attrDefs.totalQuantity.mandatory}"
    columns="#{bindings.findVMIOrderDetails1.attrHints.totalQuantity.displayWidth}"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText36}"
    id="inputText36" readOnly="true">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.findVMIOrderDetails1.formats.totalQuantity}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="acceptedQuantity" sortable="false"
    headerText="Кол-во поставки"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column28}"
    id="column28">
    <af:inputText value="#{row.acceptedQuantity}"
    required="true"
    columns="7"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText37}"
    id="inputText37"
    requiredMessageDetail='Поле "Подтвержденное количество "обязательно для заполнения'
    validator="#{backing_documents_outcoming_unprocessing_type_15_edit_01.validatorQuantity}"
    readOnly="false">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.findVMIOrderDetails1.formats.acceptedQuantity}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="taxRate" sortable="false"
    headerText="НДС, %"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column29}"
    id="column29">
    <af:inputText value="#{row.taxRate}"
    required="true"
    columns="4"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText38}"
    id="inputText38"
    requiredMessageDetail='Поле "НДС" обязательно для заполнения'
    validator="#{backing_documents_outcoming_unprocessing_type_15_edit_01.unitValidatorNDS}"
    readOnly="false">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.findVMIOrderDetails1.formats.taxRate}"/>
    </af:inputText>
    </af:column>
    <af:column sortable="false" headerText="Цена"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column34}"
    id="column34">
    <af:column sortProperty="priceWithoutTax" sortable="false"
    headerText="Без НДС"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column31}"
    id="column31">
    <af:inputText value="#{row.priceWithoutTax}"
    required="true"
    columns="6"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText40}"
    id="inputText40"
    requiredMessageDetail='Поле "Цена без НДС" обязательно для заполнения'
    validator="#{backing_documents_outcoming_unprocessing_type_15_edit_01.unitValidatorPriceWithoutTax}"
    readOnly="false">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.findVMIOrderDetails1.formats.priceWithoutTax}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="price" sortable="false"
    headerText="С НДС"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column30}"
    id="column30">
    <af:inputText value="#{row.price}"
    required="true"
    columns="6"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText39}"
    id="inputText39"
    requiredMessageDetail='Поле "Цена с НДС" обязательно для заполнения'
    validator="#{backing_documents_outcoming_unprocessing_type_15_edit_01.unitValidatorPrice}"
    readOnly="false">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.findVMIOrderDetails1.formats.price}"/>
    </af:inputText>
    </af:column>
    </af:column>
    <af:column sortable="false" headerText="Сумма"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column35}"
    id="column35">
    <af:column sortProperty="sumWithoutTax" sortable="false"
    headerText="Без НДС"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column32}"
    id="column32">
    <af:inputText value="#{row.sumWithoutTax}"
    required="true" columns="6"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText41}"
    id="inputText41"
    requiredMessageDetail='Поле "Сумма без НДС" обязательно для заполнения'
    autoSubmit="true"
    valueChangeListener="#{backing_documents_outcoming_unprocessing_type_15_edit_01.changeSum}"
    readOnly="false">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.findVMIOrderDetails1.formats.sumWithoutTax}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="totalSum" sortable="false"
    headerText="С НДС"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.column33}"
    id="column33">
    <af:inputText value="#{row.totalSum}" required="true"
    columns="6"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.inputText42}"
    id="inputText42"
    requiredMessageDetail='Поле "Сумма с НДС" обязательно для заполнения'
    autoSubmit="true"
    valueChangeListener="#{backing_documents_outcoming_unprocessing_type_15_edit_01.changeSum}"
    validator="#{backing_documents_outcoming_unprocessing_type_15_edit_01.unitValidatorTotalSum}"
    readOnly="false">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.findVMIOrderDetails1.formats.totalSum}"/>
    </af:inputText>
    </af:column>
    </af:column>
    <f:facet name="selection">
    <af:tableSelectOne text="Select and"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.tableSelectOne2}"
    id="tableSelectOne2">
    <af:commandLink text="Удалить"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.commandLink5}"
    id="commandLink5"
    action="#{backing_documents_outcoming_unprocessing_type_15_edit_01.deleteRow}"
    styleClass="tableControlButton"
    immediate="false"/>
    </af:tableSelectOne>
    </f:facet>
    <f:facet name="actions">
    <h:panelGroup binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.panelGroup2}"
    id="panelGroup2">
    <af:commandLink text="Добавить"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.commandLink6}"
    id="commandLink6"
    styleClass="tableControlButton"
    immediate="false"
    action="#{backing_documents_outcoming_unprocessing_type_15_edit_01.addRows}"
    useWindow="true" windowHeight="500"
    windowWidth="600"
    returnListener="#{backing_documents_outcoming_unprocessing_type_15_edit_01.returnHandlerGoods}"
    rendered="#{bindings.JdDoctype02rspType.inputValue == 9&amp;&amp;bindings.JdDoctype02orderrspId.inputValue==null}"/>
    <af:commandLink text="Пересчитать" id="commandLink31"
    styleClass="tableControlButton"
    binding="#{backing_documents_outcoming_unprocessing_type_15_edit_01.commandLink31}"
    action="#{backing_documents_outcoming_unprocessing_type_15_edit_01.calc}"
    useWindow="true" immediate="false">
    <af:setActionListener from="#{row.rowKeyStr}"
    to="#{processScope.mainRowKeyStr}"/>
    </af:commandLink>
    </h:panelGroup>
    </f:facet>
    </af:table>

  • N8 Update. A message from Stephen Elop

    The following is a message from Mr S Elop in response to an Email that I sent to him:
    Dear Stephen,
    Not happy with yesterdays announcement that Nokia is joining forces with Microsoft. I have been a loyal customer of Nokia since 1995 and feel that the symbian operating system is the best. I certainly will not buy a Nokia device running Windows phone 7. I have been using windows mobile devices since 1997 and apart from the fact that they are unreliable Microsoft abandons the devices support wise after a short period of time.
    Also another complaint. I cannot get the latest update to my Nokia N8 which was announced this week (release 1.1). So it looks to me that Nokia have also abandoned support to the N8.
    Shame on you Mr Elop. Nokia has just lost me as a customer. Instead of going with Microsoft, your company (Nokia) should have concentrated improving the best mobile phone platform that there is.
    Shame, shame, shame.
    Hopefully the Nokia board will soon see the error of your ways and your head will soon be on the chopping block.
    And his reply
    Thanks for the note.
    The update for the N8 should be available soon.
    As for Windows Mobile, that older operating system was abandoned by Microsoft.  They started from scratch with the new Windows Phone operating system, and it is on that basis that we are moving forward. I hope we can prove that our expertise with mobile devices can deliver to you a great experience in the future.
    Regards,
    Stephen
    Comments welcome. 

    Hi Stephen
    I believe that you did what you needed to do. Hope all the good for you and Nokia with that decision.
    But, please do understand that Symbian is what was bringing Nokia to it's position, and is quite good today (even if the development has been sometimes unbelievable slow). It's a really a pity that more people don't know it well enough to find it's beauty. Much more customizable than commonly understood. Much more capable to satisfy different users than commonly understood. But, there still are a couple, a couple of xmillions actually. So it is still worth to maintain and keep the needed resources for serious development efforts. If Nokia cares their lojal customers, and wants successfully make the transition. So from my understanding, Nokia needs Symbian anyway for years. WP7 will not take Symbian's position in one night. And perhaps not taking it's position ion developing countries even in two nights. 
    And, I was actually quite surprised about your public (you knew your letter to leak) words about Symbian and the work done so far. Sounded like you would want to shut down Symbian as quickly as possible. As a CEO you need to understand that your words already violated seriously the business of Symbian devices, violation easily counted in hundreds of millions of Euros. I can't really understand this part of the behavior. But, if Symbian really is useless, please sell it to someone by 1 Euro. Perhaps there is still someone who want to make money with it. Wants to differentiate, and serve the number of users, decreasing, but anyway.    

  • Update table with select from another table

    Hallo,
    I'd like to update table b with codes from a mapping table a.
    a has:
    town_id, town_code, town_name
    b has town_code, town_id, town_population, town_zip_code,...
    Table a has all the details - town_id, town_code and town_name and acts as the mapping between town_id and town_code
    In table b, town_code is null. I want to update the column b.town_code with town_code from table a where a.town_id = b.town_id.
    How will the update query look like?
    I tried
    UPDATE B SET town_code = (SELECT A.town_code FROM A,B WHERE A.town_id=B.town_id)
    and I get the error 'single-row subquery returns more than one row'
    Will appreciate your assistance

    This is what I did.
    First, I created and populated the TOWN_INFO table:
    CREATE TABLE "TOWN_INFO"
    (     "TOWN_ID" NUMBER,
         "TOWN_CODE" NUMBER,
         "E_MAIL" CHAR(15 BYTE)
    Table Created.
    insert all
    into TOWN_INFO (TOWN_ID, E_MAIL) values (3024,'[email protected]')
    into TOWN_INFO (TOWN_ID, E_MAIL) values (3040,'[email protected]')
    into TOWN_INFO (TOWN_ID, E_MAIL) values (3052,'[email protected]')
    into TOWN_INFO (TOWN_ID, E_MAIL) values (3065,'[email protected]')
    into TOWN_INFO (TOWN_ID, E_MAIL) values (3066,'[email protected]')
    select * from dual
    5 rows created.
    The following creates and populates the mapping table:
    CREATE TABLE "TOWN_MAPP"
    (     "TOWN_CODE" NUMBER,
         "TOWN_ID" VARCHAR2(255 BYTE),
         "TOWN_NAME" CHAR(6 BYTE)
    insert all
    into TOWN_MAPP (TOWN_ID,TOWN_CODE, TOWN_NAME) values (3024,'1001','TOWN_1')
    into TOWN_MAPP (TOWN_ID,TOWN_CODE, TOWN_NAME) values (3040,'1003','TOWN_3')
    into TOWN_MAPP (TOWN_ID,TOWN_CODE, TOWN_NAME) values (3052,'1002','TOWN_2')
    into TOWN_MAPP (TOWN_ID,TOWN_CODE, TOWN_NAME) values (3065,'1004','TOWN_4')
    into TOWN_MAPP (TOWN_ID,TOWN_CODE, TOWN_NAME) values (3066,'1006','TOWN_6')
    into TOWN_MAPP (TOWN_ID,TOWN_CODE, TOWN_NAME) values (3088,'1007','TOWN_7')
    into TOWN_MAPP (TOWN_ID,TOWN_CODE, TOWN_NAME) values (3020,'1009','TOWN_9')
    select * from dual
    7 rows created.
    And now the update query:
    UPDATE TOWN_INFO
    SET TOWN_CODE=(SELECT B.TOWN_CODE FROM TOWN_MAPP B, TOWN_INFO C
    WHERE B.TOWN_ID=B.TOWN_ID)
    SET TOWN_CODE=(SELECT B.TOWN_CODE FROM TOWN_MAPP B, TOWN_INFO C
    ERROR at line 2:
    ORA-01427: single-row subquery returns more than one row
    Thanx in advance
    Edited by: user9954260 on Apr 13, 2010 7:40 AM
    Edited by: user9954260 on Apr 13, 2010 7:44 AM

  • Problem sending a SMS message from mobile phone t809

    Hello!
    I am trying to send a SMS message from my cell phone. This is Samsung t809 phone with CLDC 1.1 and MIDP 2.0
    The code that I am using is next:
    MessageConnection smsconn = null;
    try
    smsconn = ( MessageConnection )Connector.open( "sms://:50000" );
    TextMessage txtMsg = ( TextMessage )smsconn.newMessage( MessageConnection.TEXT_MESSAGE );
    txtMsg.setAddress( "sms://18885552233" );
    txtMsg.setPayloadText( "Hello SMS!" );
    smsconn.send( txtMsg );
    catch( Exception e )
    e.printStackTrace();
    System.out.println( e.getMessage() );
    form_main.append( "\nError occured!" );
    if( smsconn != null )
    try
    smsconn.close();
    catch( IOException e )
    e.printStackTrace();
    System.out.println( e.getMessage() );
    Seems like on cell phone I have an exception because I can see the line "Error occured!"
    I have no idea why... :(
    Will appreciate any help and comments.
    Thank you!
    P.S. Oh yes... the phone 18885552233 is not real, I just used my friend cell phone to test. Does not work... :(
    Message was edited by:
    viva_unix

    hello,
    when you use smsconn = ( MessageConnection )Connector.open( "sms://:50000" ); it means that you are trying to connect to a sms server. So if you don't have a sms server on your computer, an exception is thrown !
    if you just wanna test sms sending, put the phone number in the string like this
    smsconn = ( MessageConnection )Connector.open( "sms://123456789" );<b>reference</b>:
    http://developers.sun.com/techtopics/mobility/midp/articles/wma/index.html
    hope it will help you
    peace
    supareno

  • Problem with Serialization from Threads

    I'm quite new to java threads, and i'm doing a simple server.
    It opens a thread for every socket connection that is opened, so the Socket is extern to the Thread.
    When I try to serialize on the socket a Vector (that contains Vectors, etc..) that is extern to the Thread, the first time everything goes ok, but when the thread modifies some variables in some objects contained in a vector(that, i repeat is extern to the thread), the serialized object doesn't seem to change, and the client continues receiving the same variables, without change.
    In a first time i thought that maybe creating a thread, the second one took a copy of the space of addresses of the main one(and so when i modify a variable from a thread the variable in the main thread didn't change), but i read that java uses the same space of addresses for every thread, so i don't really know what it could be.
    Maybe i've not been clear so i make an example:
    MyType is a class containing some fields, let's put x and y
    In the class MainClass i have an istance of this class, and also a socket and from here i open a thread of class MyThread
    MyThread modifies x and y in a object of MyType contained in the "3D array" that is in MainClass
    Then from that thread i serialized on the socket (which was been passed by MainClass).
    Well, doing this way the vector that the client receives has always the x and y fields unchanged.
    Please help me, cause i've been thinking all day of what it could be and found nothing on the web.
    Also sorry for my poor english.

    I thought that could be the problem, but it wasn't.
    The client still receives the vector with objects
    unchanged.
    I think the problem is that the thread can only access
    to a copy of the class that contains the vector, and
    so when i send the real one, it isn't changed.not likely. one of the things about threads is that they share everything but local (read: non-Object) data. All objects are accessible to any thread of your application, as long as that thread has a reference to it.

  • Problem updating view with triggers

    I created a view with instead-of triggers for updating. When I try to update the view with an ADO 2.7 recordset I receive errormessages.
    rsAns.CursorLocation = adUseServer
    rsAns.Open "select * from callcenter.v_ans where kidno = 1534", adoConn, adOpenKeyset, adLockOptimistic
    rsAns.fields("Name").value = "Thomas"
    The last line creates the error:
    -2147217888
    Consumer's event handler called a non-reentrant method in the provider.
    When I try the same lines of code with...
    rsAns.CursorLocation = adUseClient
    I get:
    -2147217887
    Multiple-step operation generated errors. Check each status value.
    By the way, when using client side cursors with Microsoft's OLE DB for Oracle it works fine.
    Any ideas?

    I had the same problem but without triggers. I only changed some values in different records (always automatically commited) and after the third change I got this error message. At the same time I was connected with TOAD to the databse and there was no problem to change the data - so it doesn't look like a database problem.
    UPDATE "BLATABLE"."KEYS" SET "BLAVALUE" = "abcdef" WHERE ROWID = 'AAA2c1AADAAAHa5AAH' AND ORA_ROWSCN = '7738949481842'
    One error saving changes to table "BLATABLE"."KEYS":
    Row 6: ORA-01000: maximum open cursors exceeded

  • Problem updating infoobject master data from a dso.

    Hi all,
    i'm updating the master data of an infoobject from another ods, the two table have the same key.
    When i update the infoobject with full repair i get errors about duplicate records and the data load stops, when i delete the request and launch the infopackage again all goes well but it seems it doesn't insert any new record in the master data, what could be the problem?
    If you need more info ask me.
    Thanks a lot.
    Stefano

    Hi Sadeesh,
    i checked the master data table and it seems it has been updated, i check some order number with recordmode N added today in the dso and the entries were in the infoobject, though i don't know why in the request tab it shows 0 added records.
    To be completely sure tomorrow i will check again the number of entries in the 'p' table of the infoobject.
    Anyway this is the exact error message i get:
    7 duplicate record found.     6478 recordings usedin table /BIC/XZDOCDSO
    7 duplicate record found.     6478 recordings usedin table /BIC/PZDOCDSO
    After that i run the change run for the IO and when i launch again tha data load it goes well.
    Regards
    Stefano

  • Problem updating RH8 with Windows 7

    I've been using RH8 with XP, but I got a new Windows 7 machine last week so I had to do a fresh install of RH8. I got through the install with no problems and the un-updated version of RH seems to work OK, but I need to apply both the 8.0.1 and 8.0.2 updates.
    I attempted to run the install for 8.0.1 from the Adobe installer and though it seemed to go too fast, I received a message that the install was finished. However, when I tried to install 8.0.2, it said that I had to install 8.0.1 first, so apparently that install hadn't worked after all.
    I downloaded 8.0.1 directly from the Adobe support center and tried to install it that way, but it dies directly after choosing the install language (English). I've restarted several times, restored the computer to a point before my first attempt in hopes of getting a clean try, etc. All to no avail.
    I typically use RoboHelp HTML and the unpatched version is working, but I really need the 8.0.2 patch because I'm concerned about the integrity of the links and folders as the project grows. I'm at my wits end as far as what to do next (reinstall the whole thing?).
    I would really appreciate any suggestions as to what to try next.
    Thanks,
    Tamara

    UPDATE: FIXED!!
    Hi Peter, I'll file your RevoUninstaller tip for next time...and I hope all is well on that side of the pond!
    My problem appears to be with the semantics of the installer.
    When ran the 8.0.1 updater, I was presented with a dialog that only allowed me to remove program and all related components. (uncomfortable phrasing, but refers simply to the updater, not RoboHelp itself)
    Once I ran the "uninstall" on 8.0.1, I was able to run the "install" successfully.
    This was also the case for the 8.0.2 update and the Captivate 5 update
    SUGGESTION:
    restructure the offending dialog to explain why a user might get the uninstall option, and explain that only the update will be uninstalled.
    I'll certainly be writing a blog post and also posting at adobe.com/go/wish!
    -Matt

  • Problem Updating iTunes with Windows Vista

    I downloaded iTunesSetup.exe and ran as an Admin and during the installation I get an error message that says "Could not access network location %APPDATA%\."
    What does this mean and how do I fix it?

    Apple, apparently, had a fix up for an earlier version of itunes, but that is gone from the web page, and has been yanked.
    Yes, there are big problems with iTunes for Windows. Until these are rectified, your Ipod will be a paper weight.

Maybe you are looking for

  • Hey my brother just got an ipod touch and i can't get it to connect to itunes what to i do he's really excited HELP!! :)

    hey my lil brother just got an ipod touch and its saying connect to itunes and its plugged into my computer and im at the itunes website but i can't get it to connect can anyone HELP ME??!! my mom said that she wants his ipod to be connected so that

  • Iphone 4 no longer can hold a signal

    My not-quite 2-year-old iPhone 4 (not S) now cannot hold a solid 3G signal. Whereas I used to be able to make calls from my office (concrete tilt-up, outside wall, near window) and from anywhere within my home, I now get dropped calls all the time or

  • Oracle Application Request number information

    Can you show me a pl/sql procedure to see all informations about a specified concurrent request, giving your request_id number ? @c:\show_request 31810589 I´d like see an Oracle Application Request number, in a line command. In Oracle Application for

  • PLS-00487: Invalid reference to variable 'RC_PARAMSGET'

    Oracle 9.2 client ORA 8.1.7 Server: Trying to run an SP in SQL navigator ( or PL/SQL) I get the following error(s) ORA-06550: line 6, column 16: PLS-00487: Invalid reference to variable 'RC_PARAMSGET' ORA-06550: line 6, column 3: ++++++++++++++++++++

  • PO Based Downpayment

    Hi Gurus, If we make PO based downpayment of Rs 100000 to a vendor. There is an invoice related to this PO of 40000 and there is one invoice related other PO of 30000. So, While running APP, system should block payment for 40000 and should make payme