Read only method arguments

Can I make method arguments read only?? I want to send an object to a method and make it read only. i dont want a method to change public varables of the mthod argument object.
Can anyone help me on this??
Thanks,
Vaijayanti

Not possible, but you can pass a copy of the object, so that even if it's changed the changes aren't reflected to the original object.

Similar Messages

  • Updating read only attributes of class/method

    Hi,
    I have this standard class CL_QNAO_OBJECT, with MS_DATA as read only attribute.I have written my own class in an enhancement within this class and now trying to edit this MS_DATA within my own class. but I get an error sayng "write access to the READ only attribute is not allowed", is there any way I can change it?
    The attribute MT_STACK is changing attribute/parameter to my class, which in turn has this ms_data structure.
    Note - I did search sdn before I put it here, I got couple of threads which I dont find suitable for me.
    Thanks in advance,

    Since MT_STACK is also type ref to CL_QNAO_OBJECT, my earlier guidance still hold true.
    Step 1 - When you enhance the class, you would see empty table lines in the class editor. Create a new method in that.
    Public Instance Method name Z_SET_MS_DATA
    Importing parameter IS_DATA TYPE QNAOD_AOBJECT
    Method implementation:
      ME->MS_DATA = IS_DATA
    Step 2 - In you enhancement in the class, call the method to set the data
      Data: ls_Data type QNAOD_AOBJECT
      Ls_data-field1 = ‘xyz’.
      core_object->mt_stack->z_set_ms_data( ls_Data ).
    Regards,
    Naimesh Patel

  • SQL 2012 AlwaysOn cluster IP not moving after failover, causing database to be read-only

    SQL Server Cluster Name: SQLDAG01
    SQL Server Cluster IP: 10.0.0.50
    Cluster Listener IP: 10.0.0.60
    Node 1 Name: SQL01
    Node 1 IP: 10.0.0.51
    Node 2 Name: SQL02
    Node 2 IP: 10.0.0.52
    Everything is fine when SQL01 is the primary. When failing over to SQL02, everything looks fine in the dashboard but for some reason the cluster IP, 10.0.0.50, is stuck on node 1. The databases are configured to provide secondary read access. When executing
    a query on SQLDAG01, I get an error that the database is in read-only mode. Connectivity tests verify that SQLDAG01, 10.0.0.50, connects to SQL01 even though SQL02 is now the primary.
    I've been Googling this for the better part of the day with no luck. Any suggestions? Is there a Powershell command force the cluster IP to move to the active node or something? Also I'm performing the failover as recommended, from Management Studio connected
    to the secondary node.

    This was the answer, it had been setup to use the cluster name instead of the application name. Whoever installed Sharepoint connected it to SBTSQLDAG01 instead of SHAREPOINT01. Once we changed Sharepoint to connect to SHAREPOINT01, the failover worked as
    expected. We did have a secondary issue with the ARP cache and had to install the hotfix from http://support.microsoft.com/kb/2582281 to resolve it. One of the Sharepoint app servers was failing to
    ping the SQL node after a failover, the ARP entry was stuck pointing to the previous node. This article actually helped a lot resolving that: http://blog.serverfault.com/2011/05/11/windows-2008-and-broken-arp/
    One thing I did notice is that the SQL failover wizard does not move cluster groups "Available Storage" and "Cluster Group", I had to move those through the command line after using the wizard. I'm going to provide the client with a Powershell script that
    moves all cluster groups when they need to do a manual failover. This also happens to be why the Sharepoint issue started, "Cluster Group" is what responds to the cluster name SBTSQLDAG01. Moving that group over to the node that has the active SQL cluster
    group also made it work properly, but using the application name is the correct method.
    Thanks everyone for all your help. Although the nitpicking about terminology really didn't help, that was a pointless argument and we really could have done without it. Yeah I know 2008 called is "Failover Cluster Manager" and MSCS is the "2003 term" but
    really, they're basically the same thing and we don't really need to derail the conversation because of it. Also, If you look at the screenshot below you can clearly see "AlwaysOn High Availability" in SQL Management Studio. That's what it's called in SQL,
    that's where you do all the work. Trying to tell me it's "not a feature" is wrong, pointless, and asinine, and doesn't get us anywhere.
    Sorry it took so long to get back, I was off the project for a couple weeks while they were resolving some SAN issues that caused the failover to happen in the first place.

  • Fields appear as "Read Only" in an Int.Form called from a WD

    Hi Experts!
    I am having a doubt in an Adobe Int.Form, that is called from a WD application.
    The fields that are in my Form, always appear as a "read only". It is not possible to modify anything there.
    Here, I describe the steps that I follow.
    I create a very simple WD application. In its WD View, exist an unique Object (Adobe Interactive Form).
    In that object, I set the properties:
    "Data source": a context variable type "my structure". "My structure", is a simple structure with a couple or three fields, let´s say PERNR, BUKRS, WERKS... It is linked to the Form Interface (ABAP DICTIONARY-BASED INTERFACE). So in this way, the link between my WD and the AdobeInt.Form is working.
    "PDF Source": a context variable type XSTRING.
    "Template Source": here I have set my Int.Form. Currently, it only contains a couple of fields
    "Enabled": True.
    "Read Only": False.
    In the AdobeForm, I have drag & droped those 2 or 3 fields, save it, and activate it. I guess nothing more is needed, for my test.
    And at last, in the View´s method WDDOINIT, I am reading one of those fields, let´s say the employee number (PERNR), and I set by hardcoding its number (let´s say -> 00000001).
    Until here, everything seems to work fine. When I launch the WD test, the Adobeform appears, at the moment, with only one of my fields (Employee - PERNR), and its value is filled in with '00000001'.
    But now, I would like to write something by myself. And when I try to do it, it is not possible! Field PERNR, is displayed as a "READ ONLY".
    Someone knows what is happening here? I guess it should be possible, to activate as a "EDITABLE" that field in my Form.
    So here is my doubt.
    Am I doing anything wrong? Or am I doing any mistake?
    Thank you very much in advance!

    Finally I think I have found the problem.
    In the View where I am printing the ADOBEFORM, it is needed this code under the method WDDOMODIFYVIEW.
    method WDDOMODIFYVIEW .
      DATA: LV_INTERACTIVE_FORM   TYPE REF TO CL_WD_INTERACTIVE_FORM,
                 LV_METHOD_HANDLER     TYPE REF TO IF_WD_IACTIVE_FORM_METHOD_HNDL.
      LV_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT( 'INT_FORM' ). "   adobeform object in view
      IF LV_INTERACTIVE_FORM IS NOT INITIAL.
          LV_METHOD_HANDLER ?= LV_INTERACTIVE_FORM->_METHOD_HANDLER.
          LV_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( ABAP_TRUE ).
          LV_METHOD_HANDLER->SET_HIDE_NAVIGATION_PANEL( ABAP_TRUE ).
          LV_METHOD_HANDLER->SET_DISABLE_PRINT_BUTTON( ABAP_TRUE ).
          WD_THIS->M_METHOD_HANDLER ?= LV_INTERACTIVE_FORM->_METHOD_HANDLER.
          WD_THIS->M_METHOD_HANDLER->SET_HIDE_TOOLBARS( ABAP_TRUE ).
        ENDIF.
    endmethod.
    Regards,
    Carles

  • Read only user creation for Oracle EM Console 11.1.1.5

    Dear All.
    I have created Read only user for Oracle EM Console.
    I have followed below link to do the same
    http://moshe-soa.blogspot.com/2011/09/blog-post.html.
    I have noticed with read only user is that TEST button in EM Console is active means user with read only user can create a trans, in Prod scenario it is a risk.
    Raised a CR with Oracle and found that it is a bug
    Bug 14082464 - CANNOT DISABLE TEST/TEST WEB SERVICE BUTTON IN SOA EM COSOLE is there in Metalink.
    So my question is there any way by which i can disable the TEST button in EM Conasole.
    I think there are some WLST script or servlet java class available to resolve this issue.
    Can any one confirm this and please suggest if any one aware of any alternative method.
    Thanks,

    Hi, have you got any solution to this problem? I am having exact the same issue in 11.1.1.6.

  • Enter event not triggering for read-only checkbox

    I have some objects in a form that get "locked" when the user signs the form.  I'm not using the digital signatures.  Instead, when the user types their name into the signature text field, a script runs on the change event that makes all of the fields in the form read only.  It also unlocks the fields if the signature is deleted.
    I was worried that we would get a lot of phone calls with users that didn't understand that the form had locked ("Why doesn't this form work?!"), so I added some code to the enter event for all of the fields that would pop up a messagebox to explain to people trying to edit a signed form that the form was locked and that they would need to delete the signature to edit the form.
    This plan works perfect for my text fields and decimal fields.  It does NOT work at all for my checkboxes.  For some reason, the enter event is never triggered for read-only checkboxes.  I don't see any other events that would obviously work for me though.  Any ideas?
    Thanks

    Thanks, those are reasonable suggestions.
    In the first suggestion, I'm unclear about one aspect of how I would accomplish this.  I assume I would allow people to modify fields in the form, but that when they did, a msgbox would pop up that would inform them that, if they continued with this modification to a signed form, the signature would be removed.  I'm all good to that point.  But if they answered that they do not want to continue modifying that field and removing the signature, how can I code it to set the value back to what it was before the change?  Is there some method that will give me access to the value of the field BEFORE the attempted modification?  I went looking for something like $.previousvalue, but found nothing.
    I'd suggest that I could use a two-stage solution, in which I store the previous value on the enter event, and save it just in case they do not want to change the field when prompted by the msgbox, but since the enter event does not exist for checkboxes (my original problem), that seems like it won't work.
    As far as radio button suggestion, I like radio buttons very much except for one fatal flaw: they aren't (as far as I can tell) clearable.  That is a shame.  Clearly some people (like me) want both exclusivity AND clearability.  And we'd like the controls to have an enter event.  But I know I'm demanding   Anyway, as it is, I just end up having to use checkboxes and create a boatload of silly code to make them exclusive.
    Emily

  • CUCM 8.6.2 /common Partition on read-only mode

    Hi Guys.
    We have installed a CUCM 8.6.2 on a UCS C210 and everything was looking fine for the last two weeks.
    I´ve noticed that "CDR Repository Manager" and "Cisco CAR DB" was not running, so I´ve accessed the CLI to start the "Cisco CAR DB" service.
    For my surprise, after logging in, I received the following message:
    ============================
    Command Line Interface is starting up, please wait ...
    java.io.FileNotFoundException: /var/log/active/platform/log/cli.bin (Read-only file system)
            at java.io.RandomAccessFile.open(Native Method)
            at java.io.RandomAccessFile.<init>(RandomAccessFile.java:216)
            at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.restoreIndex(ciscoRollingFileAppender.java:100)
            at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.setFile(ciscoRollingFileAppender.java:43)
            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:597)
            at org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.java:196)
            at org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.java:155)
            at org.apache.log4j.xml.DOMConfigurator.setParameter(DOMConfigurator.java:530)
            at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:182)
            at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
            at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
            at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
            at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
            at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
            at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
            at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
            at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:584)
            at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:687)
            at sdMain.initialize(sdMain.java:479)
            at sdMain.main(sdMain.java:646)
    java.lang.NullPointerException
            at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.updateIndex(ciscoRollingFileAppender.java:117)
            at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.nextFileName(ciscoRollingFileAppender.java:92)
            at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.append(ciscoRollingFileAppender.java:74)
            at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
            at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
            at org.apache.log4j.Category.callAppenders(Category.java:187)
            at org.apache.log4j.Category.forcedLog(Category.java:372)
            at org.apache.log4j.Category.debug(Category.java:241)
            at com.cisco.iptplatform.cli.CliSettings.getInstance(CliSettings.java:112)
            at sdMain.initialize(sdMain.java:491)
            at sdMain.main(sdMain.java:646)
    log4j:ERROR No output stream or file set for the appender named [CLI_LOG].
       Welcome to the Platform Command Line Interface
    VMware Installation:
            1 vCPU: Intel(R) Xeon(R) CPU           E5649  @ 2.53GHz
            Disk 1: 80GB
            4096 Mbytes RAM
        WARNING:
            The /common file system is mounted read only.
            Please use Recovery Disk to check the file system using fsck.
    ============================
    In past months, we´ve noticed this error on MCS7800 servers, nothing about UCS servers.
    Here is the link for the correction on MCS:
    https://supportforums.cisco.com/docs/DOC-12955
    My doubt is how could be possible to have the same error on my CUCM virtual machine, since his Hard Drive is a vDisk?
    Did you already have this same problem?
    Any help would be appreciated.
    Thanks!

    Hi
    You get this type of corruption if the VM is powered off rather than being shut down, or if power is lost to the host for example (or it crashes for whatever reason).
    You just need to run the file check on the recovery CD, but at least you don't have to walk to the server to do it (you can just mount the ISO from vSphere).
    Aaron

  • How to make an assignment block in an overview page read only

    Hi Experts,
    We have the following requirement:
    In Campaign overview page we need to make the Partner and Product assignment block read only.
    Can this be achieved through coding or through configuration?
    Please give detail steps for the appropriate approach.
    Thanks in advance.
    Regards,
    Sayan

    Hi Leon,
    Is there any authorization group which can be customized to take care of this situation?
    For Product Assignment block in DO_PREPARE_OUTPUT method of class CL_CPGOE_AB_OVELPRODUCTS_IMPL (Component : CPGOE_ABLOCKS :: View : OVELProducts) it is checking some authority. Any pointers where those authorities are maintained will be helpful.
    Creating a new configuration is not helping as the views are 'Table View'.
    We are looking for an approach which will avoid coding or involve minimum coding.
    Regards,
    Sayan

  • Is there a way to create a "read only" inbox in mac mail?

    I am wondering if there is a way to set up a read only inbox...I would like to receive email from a specific address but block or not have the option to send from that address.

    Thanks! I was able to get to the sqlite prompt, but at that prompt I must not be copying/pasting correctly. Here is what I'm getting if you can correct me, perhaps I need to type it in differently? Thanks
    Last login: Tue Jun 10 14:04:28 on console
    Macintosh-3:~ ryanr$ sqlite3 ~/Library/Application\ Support/AddressBook/MailRecents-v4.abcdmr
    SQLite version 3.7.13 2012-07-17 17:46:21
    Enter ".help" for instructions
    Enter SQL statements terminated with a ";"
    sqlite> .mode csv
    sqlite> SELECT zfirstnamenormalized, zlastnamenormalized, zemailnormalized FROM zabcdmailrecent;
    sqlite>
    sqlite> .mode csv SELECT zfirstnamenormalized, zlastnamenormalized, zemailnormalized FROM zabcdmailrecent;
    Error: unknown command or invalid arguments:  "mode". Enter ".help" for help
    sqlite> .mode csv
    sqlite> SELECT zfirstnamenormalized, zlastnamenormalized, zemailnormalized FROM zabcdmailrecent;
    sqlite>

  • How to get the value of a parameter/field in a ADF Read-Only Form

    Hi,
    My requirement is as follows. Could anyone shed some light on this issue.
    I am showing the records from db table using ADF Read-Only Form ( which uses ViewObject created for the table). Now I want to capture(get) the value of a field in this form and then have to invoke an action based on the value in this field. I mean to say the next page depends the value of a field in this form.
    Please suggest how can I achieve this functionality?
    Thanks in advance.
    ~Sivaji

    That's indeed what Sivaji needs.
    In the page definition you can add a value to the parameters of a certain method. Like RJundi mentioned, point to the attribute of the current row.
    Example:
    The value of the read only textfield will be something like this:
    #{bindings.EmployeeName.inputValue}points to an attribute value in the pageDef of the page:
        <attributeValues id="EmployeeName" IterBinding="AllEmployees">
          <AttrNames>
            <Item Value="EmployeeName"/>
          </AttrNames>
        </attributeValues>The attribute value has also an iterator binding defined in the page def:
        <iterator id="AllEmployees" RangeSize="10"
                  Binds="AllEmployees" DataControl="MyService"/>If you want to 'pass' the attribute of the current row to the service, you can create a methodaction (eg: public void printEmpName(String name)) in the page def or you can drop the method from the datacontrol on to the page. After dropping the method, a screen will appear asking to fill in a value for the parameter ('name' in this example). Fill in '#{bindings.EmployeeName.inputValue}' if you want to pass the EmployeeName of the current row.
    Hope it helps,
    Koen Verhulst

  • How to retrieve data from a read-only Excel file

    Hi Developers,
    I'm trying to retrieve data from a read-only Excel file. I used the same code that I used to retrieve data from a normal Excel file, but it can't work.
    My code is as followed:
    try
    InputStream KpExcel = new FileInputStream("kp.xls");
    HSSFWorkbook Kpwb = new HSSFWorkbook(KpExcel);
    HSSFSheet Kpsheet = Kpwb.getSheetAt(0);
    catch(Exception e)
    e.printStackTrace();
    System.out.println("Exception: "+e.getMessage());
    The error I received is as followed:
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:224)
    at org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:160)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:163)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:210)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:191)
    at photoproductionsystem.IncomingWIPPanel.getKp(IncomingWIPPanel.java:118)
    at photoproductionsystem.IncomingWIPPanel.<init>(IncomingWIPPanel.java:76)
    at photoproductionsystem.TabbedDisplay.<init>(TabbedDisplay.java:47)
    at photoproductionsystem.Display.create(Display.java:73)
    at photoproductionsystem.Display.init(Display.java:44)
    at photoproductionsystem.Display.main(Display.java:229)
    Caused by: java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at org.apache.poi.hssf.record.UnknownRecord.<init>(UnknownRecord.java:62)
    at org.apache.poi.hssf.record.SubRecord.createSubRecord(SubRecord.java:57)
    at org.apache.poi.hssf.record.ObjRecord.fillFields(ObjRecord.java:99)
    at org.apache.poi.hssf.record.Record.fillFields(Record.java:90)
    at org.apache.poi.hssf.record.Record.<init>(Record.java:55)
    at org.apache.poi.hssf.record.ObjRecord.<init>(ObjRecord.java:61)
    ... 15 more
    Can someone please help me with my problem? Thanks a lot in advance!

    Madeline wrote:
    how do I ask at Apache mailing list?I wonder why it seems to be a strange idea to some people to look at the software vendor's site for product support. :p
    http://poi.apache.org/mailinglists.html

  • How to configure Mailbox Read-Only access for Mailbox's owner on Exchange Server 2010?

    I have to configure the Exchange Server 2010's mailbox to only grant Read-Only Access on the mailbox's owners.  So they can only allowed to read their messages and cannot modify or remove them.  Are there any references or methods to do?

    Hi,alexchy8
    We can make use of 2 PowerShell commands to achieve this goal.
    Add-MailboxPermission and Add-MailboxFolderPermission.
    Execute the Add-MailboxPermission command to delegate the read permission at mailbox level.
    Execute the Add-MailboxFolderPermission command to delegate the required permissions on specific folders inside the mailbox.
    You can read the following article as reference:
    http://www.exchangedictionary.com/articles/assign-read-only-mailbox-permission-on-exchange-2010-2013-powershell
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety,
    or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Best Regards.

  • Possible to view Keynote files / presentations as read only ?

    Keynote has been a wonderful study tool: I can tap the screen on my iPad2 or iPhone4, and the next bit of information appears (using the "builds" effects to make new info appear, eg: answers to questions). It's just like flash cards, but on an Apple mobile device.  However, the temptation is always there to keep editing the text (ie: cut/copy-paste, and break up more paragraphs into question-answer format).
    With the recent software upgrades (including a Keynote upgrade), is there now a way to make Keynote files "read-only," once they're on an iPad2 or iPhone4?  Last year I tried to make my files "read-only" on my Mac desktop, but when I downloaded them onto my iPad2, they were still editable.
    Or, does anybody know of any other app or program that can display Keynote on an iPad, with all its "builds" and effects, but in a read-only format so that it can't be edited in the iPad/iPhone?
    [email protected]

    Hi ,
    Please try with the following code in the feeder class in GET_DATA method( after  ct_data is assigned ) and check if it works.
       field-SYMBOLS: <fs_field> like line of CT_FIELD_USAGE.
       loop at CT_FIELD_USAGE ASSIGNING <FS_FIELD>.
         case <FS_FIELD>-NAME.
         when 'FIELD_NAME'.
             <FS_FIELD>-READ_ONLY = 'X'.
         ENDCASE.
    CV_FIELD_USAGE_CHANGED = abap_true.
    Regards,
    Harsha

  • Creating row in a recursive view having read-only attribute

    Hi All,
    I am using Oracle JDeveloper 11g Release 2.
    I have a view AppMenusVO with the participation of following entities:
    1. AppMenusEO *(Updateable)* with columns like MenuId, MenuName, MenuIcon, MenuParentId, MenuTaskflowId
    2. AppTaskflowsEO *(Reference)* with columns as TaskflowId, TaskflowName, and TaskflowURL
    3. AppMenusEO as ParentMenus *(Reference)* with columns as ParentMenuId, ParentMenuName
    Next I created a One..Many view link where source and destination entity is the AppMenusVO based on relation (MenuId=MenuParentId). The name of the view accessor is MenuChildren.
    This view is used to create af:treeTable component on the adf page. In order to create new row I am following the blog entry at http://jobinesh.blogspot.com/2010/05/crud-operations-on-tree-table.html.
    I created a business method in the application module with the following specification:
        public void createMenuChildren(RowIterator ri, Key selectedNodeKey) {
            if (ri != null && selectedNodeKey != null) {
                Row[] found = ri.findByKey(selectedNodeKey, 1);
                if (found != null && found.length == 1) {
                    System.out.println("Node found for : " + selectedNodeKey + " Parent Id : " +
                                       found[0].getAttribute("MenuParentId"));
                    Row foundRow = found[0];
                    RowSet childRows = (RowSet)foundRow.getAttribute("MenuChildren");
                    while (childRows.hasNext()) {
                        Row r = childRows.next();
                        System.out.println(r.getAttribute("MenuName"));
                    Row childrow = childRows.createRow();
                    childrow.setAttribute("MenuParentId", foundRow.getAttribute("MenuParentId"));
                    childRows.insertRow(childrow);
                } else {
                    System.out.println("Node not Found for " + selectedNodeKey);
        }When I invoke this method from the adf page it is giving the exception An attemp is made to validate an already invalid region site.
    The Jdeveloper console is also throwing the exception oracle.jbo.ReadOnlyAttrException: JBO-27008: Attribute ParentMenuName in view object AppMenusVO_MenuChildren_ParentMenusVL_AppMenusVO cannot be set.
    I searched Google and OTN but unable to resolve the error.
    The solution I have tried are:
    The default activity on the BTF is marked and is pointing to a valid view.
    Set the activation property of region to immediate ... etc.
    BUT the issue persists.
    Any help to create row programmatically in recursive view where some of the attributes are read-only?
    Thanks in advance
    Best Regards
    Bilal

    Hi Frank,
    Thanks for the response.
    The updateable property of ParentMenuName attribute is Never and is being disabled so I am unable to change its value. Moreover, never in my code I am changing value of this field. What I am doing is trying to create a new row and then insert it into rowset. I don't know how to proceed further.
    One more thing is that I have an LOV on another column MenuParentId which returns value in this field as well. It might be the reason? ...
    Any help will be highly appreciated.
    Thanks
    Regards
    Bilal

  • [Solved] Laptop Suspend puts Hard Drive into Read-Only

    My problem is that s2ram brings back X (and the virtual console, if I'm on one), but never the hard drive.
    s2ram -f -a 1 suspends just like s2ram -f. -a 2 and 3 just make a high pitched sound.
    I tried both http://wiki.archlinux.org/index.php/Suspend_to_RAM and http://wiki.archlinux.org/index.php/Pm-utils methods.
    I updated my BIOS drivers but that didn't help
    s2disk works perfectly.
    This is a COMPAQ Presario CQ60-215DX
    Here is my log of the trouble during resume:
    ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    sd 3:0:0:0: [sda] Starting disk
    ata4.00: qc timeout (cmd 0xec)
    ata4.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata4.00: revalidation failed (errno=-5)
    ata3.00: qc timeout (cmd 0xa1)
    ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata3.00: revalidation failed (errno=-5)
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata3.00: qc timeout (cmd 0xa1)
    ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata3.00: revalidation failed (errno=-5)
    ata3: limiting SATA link speed to 1.5 Gbps
    ata4.00: qc timeout (cmd 0xec)
    ata4.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata4.00: revalidation failed (errno=-5)
    ata4: limiting SATA link speed to 1.5 Gbps
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
    ata4: SATA link up <unknown> (SStatus 103 SControl 310)
    And my full log:
    Linux version 2.6.30-ARCH (root@T-POWA-LX) (gcc version 4.4.1 (GCC) ) #1 SMP PREEMPT Fri Jul 31 07:30:28 CEST 2009
    Command line: root=/dev/disk/by-uuid/9ae7dfa5-74b2-41e2-89bc-b344bbf47109 ro
    KERNEL supported cpus:
    Intel GenuineIntel
    AMD AuthenticAMD
    Centaur CentaurHauls
    libata version 3.00 loaded.
    pata_amd 0000:00:06.0: version 0.4.1
    pata_amd 0000:00:06.0: setting latency timer to 64
    scsi0 : pata_amd
    scsi1 : pata_amd
    ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0x30c0 irq 14
    ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x30c8 irq 15
    ahci 0000:00:09.0: version 3.0
    ACPI: PCI Interrupt Link [LSI0] enabled at IRQ 22
    ahci 0000:00:09.0: PCI INT A -> Link[LSI0] -> GSI 22 (level, low) -> IRQ 22
    ahci 0000:00:09.0: irq 25 for MSI/MSI-X
    ahci 0000:00:09.0: AHCI 0001.0200 32 slots 2 ports 3 Gbps 0x3 impl IDE mode
    ahci 0000:00:09.0: flags: 64bit ncq sntf led clo pmp pio slum part
    ahci 0000:00:09.0: setting latency timer to 64
    scsi2 : ahci
    scsi3 : ahci
    ata3: SATA max UDMA/133 abar m8192@0xc0004000 port 0xc0004100 irq 25
    ata4: SATA max UDMA/133 abar m8192@0xc0004000 port 0xc0004180 irq 25
    ata2: port disabled. ignoring.
    Clocksource tsc unstable (delta = 4397486409693 ns)
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata4.00: ATA-8: TOSHIBA MK2555GSX, FG002C, max UDMA/100
    ata4.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32)
    ata4.00: configured for UDMA/100
    ata3.00: ATAPI: Optiarc DVD RW AD-7580S, FH03, max UDMA/100
    ata3.00: configured for UDMA/100
    scsi 2:0:0:0: CD-ROM Optiarc DVD RW AD-7580S FH03 PQ: 0 ANSI: 5
    scsi 3:0:0:0: Direct-Access ATA TOSHIBA MK2555GS FG00 PQ: 0 ANSI: 5
    Driver 'sr' needs updating - please use bus_type methods
    sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
    Uniform CD-ROM driver Revision: 3.20
    sr 2:0:0:0: Attached scsi CD-ROM sr0
    Driver 'sd' needs updating - please use bus_type methods
    sd 3:0:0:0: [sda] 488397168 512-byte hardware sectors: (250 GB/232 GiB)
    sd 3:0:0:0: [sda] Write Protect is off
    sd 3:0:0:0: [sda] Mode Sense: 00 3a 00 00
    sd 3:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    sda: sda1 sda2 sda3 < sda5 > sda4
    sd 3:0:0:0: [sda] Attached SCSI disk
    EXT4-fs: INFO: recovery required on readonly filesystem.
    EXT4-fs: write access will be enabled during recovery.
    EXT4-fs: barriers enabled
    kjournald2 starting: pid 569, dev sda2:8, commit interval 5 seconds
    EXT4-fs: delayed allocation enabled
    EXT4-fs: file extents enabled
    EXT4-fs: mballoc enabled
    EXT4-fs: sda2: orphan cleanup on readonly fs
    ext4_orphan_cleanup: deleting unreferenced inode 148384
    ext4_orphan_cleanup: deleting unreferenced inode 147907
    ext4_orphan_cleanup: deleting unreferenced inode 147903
    EXT4-fs: sda2: 3 orphan inodes deleted
    EXT4-fs: recovery complete.
    EXT4-fs: mounted filesystem sda2 with ordered data mode
    rtc_cmos 00:06: RTC can wake from S4
    rtc_cmos 00:06: rtc core: registered rtc_cmos as rtc0
    rtc0: alarms up to one year, y3k, 114 bytes nvram, hpet irqs
    udev: starting version 141
    pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    ACPI: AC Adapter [ADP1] (on-line)
    forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64.
    ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 21
    forcedeth 0000:00:0a.0: PCI INT A -> Link[LMAC] -> GSI 21 (level, low) -> IRQ 21
    forcedeth 0000:00:0a.0: setting latency timer to 64
    sr 2:0:0:0: Attached scsi generic sg0 type 5
    sd 3:0:0:0: Attached scsi generic sg1 type 0
    usbcore: registered new device driver usb
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    cfg80211: Calling CRDA to update world regulatory domain
    input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
    ACPI: Power Button [PWRF]
    input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input3
    ACPI: Lid Switch [LID0]
    input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input4
    ACPI: Sleep Button [SLPB]
    input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input5
    ACPI: Power Button [PWRB]
    processor ACPI_CPU:00: registered as cooling_device0
    processor ACPI_CPU:01: registered as cooling_device1
    forcedeth 0000:00:0a.0: ifname eth0, PHY OUI 0x732 @ 1, addr 00:1f:16:74:cb:72
    forcedeth 0000:00:0a.0: highdma csum pwrctl mgmt lnktim msi desc-v3
    ACPI: PCI Interrupt Link [LUS2] enabled at IRQ 17
    ehci_hcd 0000:00:02.1: PCI INT B -> Link[LUS2] -> GSI 17 (level, low) -> IRQ 17
    ehci_hcd 0000:00:02.1: setting latency timer to 64
    ehci_hcd 0000:00:02.1: EHCI Host Controller
    ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
    ehci_hcd 0000:00:02.1: debug port 1
    ehci_hcd 0000:00:02.1: cache line size of 64 is not supported
    ehci_hcd 0000:00:02.1: irq 17, io mem 0xc0007000
    ACPI: WMI: Mapper loaded
    ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 3 ports detected
    i2c-adapter i2c-0: nForce2 SMBus adapter at 0x3040
    i2c-adapter i2c-1: nForce2 SMBus adapter at 0x3000
    ACPI: PCI Interrupt Link [LUS0] enabled at IRQ 17
    ohci_hcd 0000:00:02.0: PCI INT A -> Link[LUS0] -> GSI 17 (level, low) -> IRQ 17
    ohci_hcd 0000:00:02.0: setting latency timer to 64
    ohci_hcd 0000:00:02.0: OHCI Host Controller
    ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
    ohci_hcd 0000:00:02.0: irq 17, io mem 0xc0006000
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 3 ports detected
    ACPI: PCI Interrupt Link [Z011] enabled at IRQ 16
    ehci_hcd 0000:00:04.1: PCI INT B -> Link[Z011] -> GSI 16 (level, low) -> IRQ 16
    ehci_hcd 0000:00:04.1: setting latency timer to 64
    ehci_hcd 0000:00:04.1: EHCI Host Controller
    ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 3
    ehci_hcd 0000:00:04.1: debug port 1
    ehci_hcd 0000:00:04.1: cache line size of 64 is not supported
    ehci_hcd 0000:00:04.1: irq 16, io mem 0xc0007400
    ehci_hcd 0000:00:04.1: USB 2.0 started, EHCI 1.00
    usb usb3: configuration #1 chosen from 1 choice
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 4 ports detected
    ACPI: PCI Interrupt Link [Z010] enabled at IRQ 16
    ohci_hcd 0000:00:04.0: PCI INT A -> Link[Z010] -> GSI 16 (level, low) -> IRQ 16
    ohci_hcd 0000:00:04.0: setting latency timer to 64
    ohci_hcd 0000:00:04.0: OHCI Host Controller
    ohci_hcd 0000:00:04.0: new USB bus registered, assigned bus number 4
    ohci_hcd 0000:00:04.0: irq 16, io mem 0xc0008000
    usb usb4: configuration #1 chosen from 1 choice
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 4 ports detected
    thermal LNXTHERM:01: registered as thermal_zone0
    ACPI: Thermal Zone [TZS0] (68 C)
    ACPI: Battery Slot [BAT0] (battery present)
    thermal LNXTHERM:02: registered as thermal_zone1
    ACPI: Thermal Zone [TZS1] (68 C)
    usb 1-1: new high speed USB device using ehci_hcd and address 2
    nvidia: module license 'NVIDIA' taints kernel.
    Disabling lock debugging due to kernel taint
    usb 1-1: configuration #1 chosen from 1 choice
    Synaptics Touchpad, model: 1, fw: 7.0, id: 0x1a0b1, caps: 0xd04711/0xa00000
    acpi device:13: registered as cooling_device2
    input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:10/device:11/input/input6
    ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
    usb 3-4: new high speed USB device using ehci_hcd and address 2
    input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input7
    ath5k 0000:07:00.0: PCI INT A -> Link[Z012] -> GSI 23 (level, low) -> IRQ 23
    ath5k 0000:07:00.0: setting latency timer to 64
    ath5k 0000:07:00.0: registered as 'phy0'
    usb 3-4: configuration #1 chosen from 1 choice
    ACPI: PCI Interrupt Link [LGPU] enabled at IRQ 20
    nvidia 0000:02:00.0: PCI INT A -> Link[LGPU] -> GSI 20 (level, low) -> IRQ 20
    nvidia 0000:02:00.0: setting latency timer to 64
    NVRM: loading NVIDIA UNIX x86_64 Kernel Module 185.18.31 Tue Jul 28 17:52:27 PDT 2009
    EXT4 FS on sda2, internal journal on sda2:8
    Adding 3148700k swap on /dev/sda5. Priority:-1 extents:1 across:3148700k
    scsi 4:0:0:0: Direct-Access Generic- Multi-Card 1.00 PQ: 0 ANSI: 0 CCS
    sd 4:0:0:0: Attached scsi generic sg2 type 0
    usb-storage: device scan complete
    sd 4:0:0:0: [sdb] Attached SCSI removable disk
    scsi 5:0:0:0: Direct-Access USB Driver 0.00 PQ: 0 ANSI: 0 CCS
    sd 5:0:0:0: Attached scsi generic sg3 type 0
    usb-storage: device scan complete
    sd 5:0:0:0: [sdc] 7827456 512-byte hardware sectors: (4.00 GB/3.73 GiB)
    sd 5:0:0:0: [sdc] Write Protect is off
    sd 5:0:0:0: [sdc] Mode Sense: 23 00 00 00
    sd 5:0:0:0: [sdc] Assuming drive cache: write through
    sd 5:0:0:0: [sdc] Assuming drive cache: write through
    sdc:
    sd 5:0:0:0: [sdc] Attached SCSI removable disk
    forcedeth 0000:00:0a.0: irq 26 for MSI/MSI-X
    eth0: no link during initialization.
    NET: Registered protocol family 10
    lo: Disabled Privacy Extensions
    ADDRCONF(NETDEV_UP): eth0: link is not ready
    PM: Syncing filesystems ... done.
    Freezing user space processes ... (elapsed 0.00 seconds) done.
    Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
    Suspending console(s) (use no_console_suspend to debug)
    sd 3:0:0:0: [sda] Synchronizing SCSI cache
    sd 3:0:0:0: [sda] Stopping disk
    ath5k 0000:07:00.0: PCI INT A disabled
    forcedeth 0000:00:0a.0: wake-up capability disabled by ACPI
    forcedeth 0000:00:0a.0: PME# disabled
    forcedeth 0000:00:0a.0: PCI INT A disabled
    HDA Intel 0000:00:07.0: PCI INT A disabled
    ata2: port disabled. ignoring.
    ehci_hcd 0000:00:04.1: PCI INT B disabled
    ehci_hcd 0000:00:04.1: PME# disabled
    ohci_hcd 0000:00:04.0: PCI INT A disabled
    ohci_hcd 0000:00:04.0: PME# disabled
    ehci_hcd 0000:00:02.1: PCI INT B disabled
    ehci_hcd 0000:00:02.1: PME# disabled
    ohci_hcd 0000:00:02.0: PCI INT A disabled
    ohci_hcd 0000:00:02.0: PME# disabled
    ACPI: Preparing to enter system sleep state S3
    Disabling non-boot CPUs ...
    CPU 1 is now offline
    SMP alternatives: switching to UP code
    CPU0 attaching NULL sched-domain.
    CPU1 attaching NULL sched-domain.
    CPU0 attaching NULL sched-domain.
    CPU1 is down
    Extended CMOS year: 2000
    x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    Back to C!
    Extended CMOS year: 2000
    Enabling non-boot CPUs ...
    SMP alternatives: switching to SMP code
    Booting processor 1 APIC 0x1 ip 0x6000
    Initializing CPU#1
    Calibrating delay using timer specific routine.. 4001.76 BogoMIPS (lpj=6666816)
    CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
    CPU: L2 Cache: 512K (64 bytes/line)
    CPU: Physical Processor ID: 0
    CPU: Processor Core ID: 1
    x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
    CPU1: AMD Athlon Dual-Core QL-62 stepping 01
    CPU0 attaching NULL sched-domain.
    Switched to high resolution mode on CPU 1
    CPU0 attaching sched-domain:
    domain 0: span 0-1 level MC
    groups: 0 1
    CPU1 attaching sched-domain:
    domain 0: span 0-1 level MC
    groups: 1 0
    CPU1 is up
    ACPI: Waking up from system sleep state S3
    ohci_hcd 0000:00:02.0: restoring config space at offset 0x1 (was 0xb00007, writing 0xb00003)
    ehci_hcd 0000:00:02.1: restoring config space at offset 0x1 (was 0xb00006, writing 0xb00002)
    ohci_hcd 0000:00:04.0: restoring config space at offset 0x1 (was 0xb00007, writing 0xb00003)
    ehci_hcd 0000:00:04.1: restoring config space at offset 0x1 (was 0xb00006, writing 0xb00002)
    pata_amd 0000:00:06.0: restoring config space at offset 0x1 (was 0xb00005, writing 0xb80005)
    HDA Intel 0000:00:07.0: restoring config space at offset 0xf (was 0x5020100, writing 0x502010a)
    HDA Intel 0000:00:07.0: restoring config space at offset 0x4 (was 0x0, writing 0xc0000000)
    HDA Intel 0000:00:07.0: restoring config space at offset 0x1 (was 0xb00000, writing 0xb00002)
    ahci 0000:00:09.0: restoring config space at offset 0x1 (was 0xb00007, writing 0xb00407)
    pcieport-driver 0000:00:14.0: restoring config space at offset 0x7 (was 0x1f1, writing 0x200001f1)
    pcieport-driver 0000:00:14.0: restoring config space at offset 0x1 (was 0x100107, writing 0x1005
    nvidia 0000:02:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10a)
    nvidia 0000:02:00.0: restoring config space at offset 0x9 (was 0x1, writing 0x4001)
    nvidia 0000:02:00.0: restoring config space at offset 0x7 (was 0xc, writing 0xc400000c)
    nvidia 0000:02:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xd000000c)
    ath5k 0000:07:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
    nForce2_smbus 0000:00:01.1: PME# disabled
    ohci_hcd 0000:00:02.0: PME# disabled
    ohci_hcd 0000:00:02.0: PCI INT A -> Link[LUS0] -> GSI 17 (level, low) -> IRQ 17
    ohci_hcd 0000:00:02.0: setting latency timer to 64
    ohci_hcd 0000:00:02.0: PME# disabled
    ehci_hcd 0000:00:02.1: PME# disabled
    ehci_hcd 0000:00:02.1: PCI INT B -> Link[LUS2] -> GSI 17 (level, low) -> IRQ 17
    ehci_hcd 0000:00:02.1: setting latency timer to 64
    ehci_hcd 0000:00:02.1: PME# disabled
    usb usb1: root hub lost power or was reset
    ehci_hcd 0000:00:02.1: debug port 1
    ehci_hcd 0000:00:02.1: cache line size of 64 is not supported
    ohci_hcd 0000:00:04.0: PME# disabled
    ohci_hcd 0000:00:04.0: PCI INT A -> Link[Z010] -> GSI 16 (level, low) -> IRQ 16
    ohci_hcd 0000:00:04.0: setting latency timer to 64
    ohci_hcd 0000:00:04.0: PME# disabled
    ehci_hcd 0000:00:04.1: PME# disabled
    ehci_hcd 0000:00:04.1: PCI INT B -> Link[Z011] -> GSI 16 (level, low) -> IRQ 16
    ehci_hcd 0000:00:04.1: setting latency timer to 64
    ehci_hcd 0000:00:04.1: PME# disabled
    usb usb3: root hub lost power or was reset
    ehci_hcd 0000:00:04.1: debug port 1
    ehci_hcd 0000:00:04.1: cache line size of 64 is not supported
    pata_amd 0000:00:06.0: restoring config space at offset 0x1 (was 0xb00005, writing 0xb80005)
    pata_amd 0000:00:06.0: setting latency timer to 64
    ata2: port disabled. ignoring.
    HDA Intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 19 (level, low) -> IRQ 19
    HDA Intel 0000:00:07.0: setting latency timer to 64
    pci 0000:00:08.0: setting latency timer to 64
    ahci 0000:00:09.0: setting latency timer to 64
    forcedeth 0000:00:0a.0: wake-up capability disabled by ACPI
    forcedeth 0000:00:0a.0: PME# disabled
    ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    forcedeth 0000:00:0a.0: irq 26 for MSI/MSI-X
    eth0: no link during initialization.
    pci 0000:00:0b.0: setting latency timer to 64
    ath5k 0000:07:00.0: PCI INT A -> Link[Z012] -> GSI 23 (level, low) -> IRQ 23
    sd 3:0:0:0: [sda] Starting disk
    ata4.00: qc timeout (cmd 0xec)
    ata4.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata4.00: revalidation failed (errno=-5)
    ata3.00: qc timeout (cmd 0xa1)
    ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata3.00: revalidation failed (errno=-5)
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata3.00: qc timeout (cmd 0xa1)
    ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata3.00: revalidation failed (errno=-5)
    ata3: limiting SATA link speed to 1.5 Gbps
    ata4.00: qc timeout (cmd 0xec)
    ata4.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata4.00: revalidation failed (errno=-5)
    ata4: limiting SATA link speed to 1.5 Gbps
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
    ata4: SATA link up <unknown> (SStatus 103 SControl 310)
    ata4.00: qc timeout (cmd 0xec)
    ata4.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata4.00: revalidation failed (errno=-5)
    ata4.00: disabled
    ata3.00: qc timeout (cmd 0xa1)
    ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata3.00: revalidation failed (errno=-5)
    ata3.00: disabled
    sd 3:0:0:0: [sda] START_STOP FAILED
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 134590273
    Buffer I/O error on device sda2, logical block 1094141
    lost page write due to I/O error on sda2
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 135807281
    Buffer I/O error on device sda2, logical block 1246267
    lost page write due to I/O error on sda2
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 135815833
    Buffer I/O error on device sda2, logical block 1247336
    lost page write due to I/O error on sda2
    JBD2: Detected IO errors while flushing file data on sda2:8
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 155463993
    Aborting journal on device sda2:8.
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 155459417
    Buffer I/O error on device sda2, logical block 3702784
    lost page write due to I/O error on sda2
    JBD2: I/O error detected when updating journal superblock for sda2:8.
    PM: Device 3:0:0:0 failed to resume: error 262144
    usb 1-1: reset high speed USB device using ehci_hcd and address 2
    usb 3-4: reset high speed USB device using ehci_hcd and address 2
    Restarting tasks ... <2>ext4_abort called.
    EXT4-fs error (device sda2): ext4_journal_start_sb: Detected aborted journal
    Remounting filesystem read-only
    ext4_da_writepages: jbd2_start: 1024 pages, ino 131086; err -30
    Pid: 20, comm: pdflush Tainted: P 2.6.30-ARCH #1
    Call Trace:
    [<ffffffffa00d738d>] ? ext4_da_writepages+0x47d/0x4b0 [ext4]
    [<ffffffff8026c6a4>] ? bit_waitqueue+0x24/0xe0
    [<ffffffff802c8332>] ? do_writepages+0x32/0x60
    [<ffffffff80321b7a>] ? __writeback_single_inode+0xba/0x490
    [<ffffffff802406e6>] ? dequeue_task_fair+0x56/0x1d0
    [<ffffffff8020a95c>] ? __switch_to+0xdc/0x3b0
    [<ffffffff803223b3>] ? generic_sync_sb_inodes+0x193/0x530
    [<ffffffff803229c5>] ? writeback_inodes+0x65/0x120
    [<ffffffff802c85a6>] ? wb_kupdate+0xc6/0x160
    [<ffffffff802c995b>] ? pdflush+0x16b/0x2a0
    [<ffffffff802c84e0>] ? wb_kupdate+0x0/0x160
    [<ffffffff802c97f0>] ? pdflush+0x0/0x2a0
    [<ffffffff802c97f0>] ? pdflush+0x0/0x2a0
    [<ffffffff8026c204>] ? kthread+0x64/0xc0
    [<ffffffff8024af20>] ? schedule_tail+0x30/0x80
    [<ffffffff8020d4fa>] ? child_rip+0xa/0x20
    [<ffffffff8026c1a0>] ? kthread+0x0/0xc0
    [<ffffffff8020d4f0>] ? child_rip+0x0/0x20
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126637417
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126637417
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126637417
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126637417
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126637417
    done.
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 130097993
    EXT4-fs error (device sda2): ext4_find_entry: reading directory #139292 offset 0
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126637417
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126004889
    EXT4-fs error (device sda2): ext4_find_entry: reading directory #98457 offset 0
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126004889
    EXT4-fs error (device sda2): ext4_find_entry: reading directory #98457 offset 0
    ANY help would be much appreciated.
    Last edited by Cappy (2009-08-10 08:19:09)

    Nevermind .. *sigh* ... pci=msi on the kernel fixed it .. going to go cut myself now ...

Maybe you are looking for

  • Duplication of credit memo

    Hi, How can we check the duplication of credit memo. In case of invoice we can do setting " Set Check for Duplicate Invoices". similarly do we have any facility to set check for the duplication of credit memo. my client wants the system to throw an e

  • Spam in email sub-account

    I do not use any explicit spam protection tools other than what comes automatically with my Verizon DSL email service.  My primary user account gets no spam, but a sub-account is flooded with spam daily.  How can I extend anti-spam protection to the

  • Release date column

    Sometimes the release date for the podcast from the website is different, causing the podcast to be out of order when downloaded. Does anyone know why? Is there a way to fix it? I can't drag and drop to sort on the release date column.

  • Jtable in cell how to single mouse click make the cell selected.

    it seems need double click make cell selected. thanks!!!

  • InDesign Zoom Level

    I'm having a problem on zoom level. Whenever I create a new document, my zoom level always too high. It's always showing at 700%, making my insertion point large whenever I create an text frame.