Javax.jms.MessageNotWriteableException: Message properties are read-only.

Hi all,
      Me again, i need to know, how can i, to make available to change a message, from a queue. The subject (up) it's show the problem. I'm setting a message in that way: "message.setStringProperty("estado","ReEnviado");". The reason, of this change is to make possible, the consume of the message and "delete it" from the queue.
Please if some, could help me,
Thanks in Advance.
Jorge.

gargula wrote:
I have copied tens of directories with JPG pictures from a CD (that I burnt using Windows XP while on a trip overseas) to my iMac's HD. The problem is that all the copied files are read-only now and I cannot edit them... I tried using Finder to make them "writable" but the yellow padlock at the bottom of the Info window of the affected files is disabled (it's pale yellow, I cannot click on it).
My questions are:
a) why are the files read-only in the first place?
did you copy those files while logged in as the current user? if yes, look at the permissions of the files on the CD. in general, when you copy something via drag and drop in finder the owner and the group of the file changes but posix permissions don't change. so if they were read for the owner and the group on the CD they will still be so when you copy them to the disk. this should not normally be the issue with windows burned disks though.
Was it the way that I copied them (drag and drop in Finder)?
no. that was the right way to copy.
b) is there a way to modify the properties of a directory and its content in one single command to remove the read-only attribute?
yes, but later on that.
c) why is the padlock disabled in Finder? I expected to be prompted for my Admin password when clicking the padlock.
that's strange. check the ambient folder. it could be locked for example. re the files sitting in some folder you made or are they on the desktop?
Any help is appreciated.
Message was edited by: gargula

Similar Messages

  • I got the message, "Photos have read-only access."

    I got the message, "Photos have read-only access," when trying to save the metadata into a DNG file. I'm on windows 7, and just upgraded to Lightroom 5. The files in Windows have full write and read ability. What am I doing wrong? Or what box do I need to check or uncheck to be able to save my metadata into the DNG files. My catalogue is on an internal drive. The actual images are on an external drive.

    Okay, got it. I'm a bit confused why I had to this, but I did and it worked.Here is the solution.
    1. Go to my computer.
    2. Right click on the hard drive and select properties
    3. In the properties window, select the security tab
    4. Then click the edit button
    This is where it is weird. I'm logged in as an adminstrator, and the administrator account has allows all permissions (except special permission). You would think that since I'm working as in administrator mode, I could write into files. I can't.
    So, I checked the user account (same name as my admin account). Here the follwong boxes were not checked.
    1. Full control
    2. Modify
    3. Write
    I made sure all three of those were checked and now I can write metadata into the DNG files.

  • Fields for creation of BP in cProjects front-end are read-only

    Hi everyone,
    I'm a beginner in SAP-Development/Customizing so I hope this question isn't too easy
    I can't create a Business Partner using the cProjects front-end (Ressources > Staffing) because the necessary fields and buttons are read-only... (> web-Dynpro Component: DPR_ROL_STAFF; View-Info: VI_SEARCH_CREATE)
    I'm using CPRXRPM 450_700 patch 0006
    The field-control is standard-SAP (0SAP).
    My user-account has all cProject-roles + SAP-ALL
    I assume i can change the behaviour of these fields in the Field Control but I can't identify which is the corresponding Object Category to apply the changes.
    - Is there a documentation which field belongs to which Object Category in Field Control?
    - Or can somebody tell me a procedure to find it out on my own?
    Thanks in advance

    Hi,
    generally it is recommended to use transaction BP or ALE distribution to get the business partner be created.
    If you would like to create the BP in web UI directly, the user must have the Structural Authorization, see customizing path:
    Collaboration Projects -> Resource Management -> Organizational Management.
    It is very HR related topic, you may contact a HR consultant to know more details about it.
    Kind regard,
    Zhenbo

  • "The selected cells are read-only" error on Custom Field when trying to insert in Datasheet mode

    I have a custom field that works completely fine. Yesterday our QA team found out that when trying to insert in Datasheet format, the error "The selected cells are read-only" was thrown. Any ideas? I tried passing the following property to my fldtypes_field.xml file:
        <Field Name="ReadOnly">FALSE</Field>
    No luck.Victor Palma

    Unfortunately it did not work. I also developed the code and access the field and checked its property called "ReadOnlyField"  which is already set to false.
    Below is the xml that i am using. Can you please share the xml that you had used?
    <?xml version="1.0" encoding="utf-8"?>
    <FieldTypes>
      <FieldType>
        <Field Name="TypeName">MyCustomField</Field>
        <Field Name="ParentType">Text</Field>
        <Field Name="TypeDisplayName"> My Custom Field</Field>
        <Field Name="TypeShortDescription"> My Custom Field</Field>
        <Field Name="AllowBaseTypeRendering">True</Field>
        <Field Name="ReadOnlyField">False</Field>
        <Field Name="UserCreatable">TRUE</Field>
        <Field Name="ShowInListCreate">TRUE</Field>
        <Field Name="ShowInSurveyCreate">TRUE</Field>
        <Field Name="ShowInDocumentLibraryCreate">TRUE</Field>
        <Field Name="ShowInColumnTemplateCreate">TRUE</Field>
        <Field Name="FieldTypeClass">My Assembly Information goes here</Field>
      </FieldType>
    </FieldTypes>

  • Photographs all are read only??

    Hi folks. I wasn't sure where to put this question so it may not be in the right place. I have the iMac and my wife has a Dell PC (poor thing :0)). I copied all of the photo's she has collected onto a DVD to transfer them to my iMac for editing and future publishing to the web. I use Photo Shop Elements 6 to do this with, but it would not let me edit due to insufficient permissions! I must admit I chuckled when that came up since I took most of these photo's. So I opened Finder, browsed to the directory where the photo's are and using "Get Info" I found that all of these photo's and directories and subdirectories (literally hundreds of photo's) are read only permission. All I'm looking for is a way to make them all read/write en masse. Is there a way?
    Thanks,
    Rich

    Hi Richard
    I don't have a-lot of experience with the windows OS's, but do share hundreds of JPEG images every year with PC user's and that sounds like a problem with the photo files or the way they were burned onto the DVD. If you have a MS-DOS FAT 32 formatted External HD, a Flash Drive or Card Reader & Camera Card you should have no problems transferring the Original JPEG Photo Files back and forth between a Windows box and Mac.
    See → http://support.apple.com/kb/HT2518
    For network sharing, See ↓
    http://www.ifelix.net/tech/3020.html
    http://forums.mactalk.com.au/20/42765-how-share-files-between-mac-os-x-leopard-v ista.html
    Dennis

  • [10.0.7 ESR] Temporary documents are read-only again, even with the "browser.helperAppsbrowser.helperApps.deleteTempFileOnExit" parameter set on "false". Why?

    We currently updated from the old 3.6 Firefox to the ESR version 10.0.7. Eversince we've used Firefox we've had a problem with documents being read-only when downloaded temporarily. But we've found the solution by finding the entry
    browser.helperAppsbrowser.helperApps.deleteTempFileOnExit
    in the about:config and setting it on false. Documents were writeable again, and the world was full of fluffy unicorns and rainbows.
    But that doesn't seem to be sufficient when using Firefox 10.0.7 ESR, since that entry is set but all our documents are read-only again. We checked that it is a Firefox issue by deactivating all add-ons to be sure, that it's the browser itself that makes that setting.
    What is the cause and how can we change it back to them being writeable again?
    Andrea

    While that may be best practice, it doesn't help in this case.
    We use a system that creates documents by using templates and filling datafields with individual values based on the case that is being worked on. These documents are saved in the system and are only displayed for information purpose.
    Still some of these documents have to be altered. The system offers this possibility by letting you edit the temp file and load it back up, so that the altered document is saved in the system. The document gets a unique file name in the temp folder which includes numbers so that the system can identify which document in the system should be overwritten by the altered version.
    Since the documents aren't meant to be on the local harddrive anyway but in the system, "save as..." is no real solution in this case.

  • Word / excel files (from my XP computer)  on my external harddisk are read only!

    For merging my software from my old XP pc to my new Apple Imac i use an external  hard disk,
    Now I see that excel and word files are read only!
    What's the problem?

    Drag the files to the hard disk before opening them, or install a program such as Paragon NTFS.
    (59973)

  • Callback function may be NULL only when database handles are read-only

    Hi,
    I am getting some errors when trying to run my java code that will try to open a few cursors and join them to fetch the data.
    ath .:/usr/src/db-4.7.25.NC/java/src:/usr/local/BerkeleyDB.4.7/lib/db.jar bdbtest
    MyDbs: Callback function may be NULL only when database handles are read-only
    Error on inventory secondary cursor:
    java.lang.IllegalArgumentException: Invalid argument: Callback function may be NULL only when database handles are read-only
    What does that error mean? How can I resolve it? I am following the sample program and I can't find anything related.
    Here is my code.
    import com.sleepycat.db.DatabaseException;
    import com.sleepycat.db.Database;
    import com.sleepycat.db.SecondaryDatabase;
    import com.sleepycat.db.DatabaseConfig;
    import com.sleepycat.db.DatabaseType;
    import java.io.FileNotFoundException;
    import com.sleepycat.db.DatabaseEntry;
    import com.sleepycat.db.SecondaryCursor;
    import com.sleepycat.db.Cursor;
    import com.sleepycat.db.DatabaseException;
    import com.sleepycat.db.LockMode;
    import com.sleepycat.db.OperationStatus;
    import com.sleepycat.db.SecondaryCursor;
    import com.sleepycat.db.SecondaryConfig;
    import com.sleepycat.bind.EntryBinding;
    import com.sleepycat.bind.serial.SerialBinding;
    import com.sleepycat.bind.tuple.TupleBinding;
    import com.sleepycat.db.Cursor;
    import com.sleepycat.db.DatabaseEntry;
    import com.sleepycat.db.DatabaseException;
    import com.sleepycat.db.LockMode;
    import com.sleepycat.db.OperationStatus;
    import com.sleepycat.db.SecondaryCursor;
    public class bdbtest {
    public static void main(String args[]) {
    SecondaryDatabase myDatabase = null;
         Database primDB = null;
         Cursor cursor = null;
    try {
    // Open the database. Create it if it does not already exist.
    DatabaseConfig dbConfig = new DatabaseConfig();
         dbConfig.setErrorStream(System.err);
    dbConfig.setErrorPrefix("MyDbs");
         dbConfig.setType(DatabaseType.BTREE);
    dbConfig.setAllowCreate(true);
         SecondaryConfig mySecConfig = new SecondaryConfig();
         mySecConfig.setErrorStream(System.err);
    mySecConfig.setErrorPrefix("MyDbs");
         mySecConfig.setType(DatabaseType.BTREE);
    mySecConfig.setAllowCreate(true);
         primDB = new Database("/tmp/bdb_ca_db.db",
    "bdb_ca_db",
    dbConfig);
    dbConfig.setAllowCreate(true);
    myDatabase = new SecondaryDatabase("/tmp/bdb_ca_sdb.db",
    "ca_sdb_res_alias",
    primDB,
    mySecConfig);
         String res ="in-1";
         SecondaryCursor secCursor = null;
         DatabaseEntry searchKey =
    new DatabaseEntry(res.getBytes("UTF-8"));
         DatabaseEntry foundKey = new DatabaseEntry();
    DatabaseEntry foundData = new DatabaseEntry();
         secCursor =
    myDatabase.openSecondaryCursor(null, config);
    // Search for the secondary database entry.
    OperationStatus retVal =
    secCursor.getSearchKey(searchKey, foundKey,
    foundData, LockMode.DEFAULT);
         if (retVal == OperationStatus.SUCCESS){
              System.out.println("succ");
         }else {
              System.out.println("fail");
    while (retVal == OperationStatus.SUCCESS) {
    String keyString = new String(foundKey.getData(), "UTF-8");
    String dataString = new String(foundData.getData(), "UTF-8");
    System.out.println("Key | Data : " + keyString + " | " +
    dataString + "");
    secCursor.getNextDup(searchKey, foundKey,foundData, LockMode.DEFAULT);
         } catch (Exception e) {
    System.err.println("Error on inventory secondary cursor:");
    System.err.println(e.toString());
    e.printStackTrace();
         finally {
    // Make sure to close the cursor
              try {
              cursor.close();
              }catch (com.sleepycat.db.DatabaseException e) {
    System.out.println("All done.");
    }

    Hi,
    The error is because either the primary database or the secondary database is configured as read only and the callback to create the secondary keys is null. A quick glance of the code, it appears as if you did not set up the secondary database correctly. In the Getting Started Guide for JAVA API chap 10, we have detailed information on what needs to be done as well as a code example. Please refer to http://www.oracle.com/technology/documentation/berkeley-db/db/gsg/JAVA/index.html and look for Chap 10.
    regards,
    Mike Brey, Oracle Berkeley DB

  • I got the message, "Photos have read-only access."-Macintosh

    I've read this post, http://forums.adobe.com/message/5516195#5516195, but am having the same issues on a Macintosh (LR 5, 10.8.4) with random images.
    The folders all have read/write access and the images contained have the same.  I'm logged in as admin, and have full permission.
    The images reside on an external HDD connected to an Airport Extreme BaseStation, on a Macintosh formated (Journaled) HDD
    -Y = Metadata is written successfully
    -N = Photos have read-only access
    Folder01
    -Image01-Y
    -Image02-N
    -Image03-Y
    -Image04-Y
    Folder02
    -Image01a-N
    -Image02a-Y
    -Image03a-Y
    -Image04a-N
    If I modify the images in Preview, and save, and then go back to LR and save the LR changes "stick".
    I've even gone to the parent folder (Folder01, Folder02) and set permsisions to 777 (using PathFinder 6), and applied to all enclosed items, and it still won't change them.  I'm looking at the same images in Finder and the permissions are read/write for all users and the images are not "locked".

    Okay, got it. I'm a bit confused why I had to this, but I did and it worked.Here is the solution.
    1. Go to my computer.
    2. Right click on the hard drive and select properties
    3. In the properties window, select the security tab
    4. Then click the edit button
    This is where it is weird. I'm logged in as an adminstrator, and the administrator account has allows all permissions (except special permission). You would think that since I'm working as in administrator mode, I could write into files. I can't.
    So, I checked the user account (same name as my admin account). Here the follwong boxes were not checked.
    1. Full control
    2. Modify
    3. Write
    I made sure all three of those were checked and now I can write metadata into the DNG files.

  • Javax.jms.TextMessage messages truncated

    I use the following code to instantiate IBM MQ and create a text message
    MQQueueConnectionFactory factory = new MQQueueConnectionFactory();
    factory.setTransportType(JMSC.MQJMS_TP_CLIENT_MQ_TCPIP);
    factory.setQueueManager(qcf_jndiName);
    factory.setHostName(queueManagerHost);
    factory.setPort(queueManagerPort);
    factory.setChannel(channel_jndiName);
    qcon = factory.createQueueConnection();
    qcon.start();
    qsession = qcon.createQueueSession(false,
                             javax.jms.Session.AUTO_ACKNOWLEDGE);
    queue = qsession.createQueue("queue:///" + queueName +
                        "?targetClient=0");
    TextMessage textMsg = qsession.createTextMessage(reply);
    System.out.println("$$$Msg after qsession" + textMsg);
    From System.out.println statement, I found that textMsg only takes the first 100 characters of reply. Would you share your solution with us?
    Thanks

    Hi Scott,
    Not sure wht you wanted me to try...
    I have something like this in the code which is causing that error..
    BusinessEvent businessevent = new BusinessEvent(s1, s2);
    businessevent.setData("Opportunity " + s2 + "updated");
    ArrayList arraylist = new ArrayList(1);
    arraylist.add(oadbtransaction);
    businessevent.setObject(arraylist);
    businessevent.setStringProperty("pLeadId", getLeadId().toString());
    java.sql.Connection connection1 = oadbtransaction.getJdbcConnection();
    businessevent.raise(connection1);
    Its asking me to import jms..but ii could not find those files in Unix..is there anyway to import these files OR any other solution to fix this error?
    Please help..

  • Are 'read only' items causing my automatic row processing to fail?

    I have a form that uses automatic row processing to update my table.
    I recently had to add a check to lock down the fields using the read only condition where a record has been 'approved'. So, I turned off all of the fields and hid the update button.
    Now they want me to check to see if the user is a manager, and if so, allow them to see the update button, and make a single field on the form modifiable.
    I have the user identified as a manager, and can make the field accept the change (a yes/no combo box). Yet when they click the update button, the form just sits there. A branch is supposed to fire on hitting that button, taking them back to the previous report, but it doesn't happen. The source of the combo box in question uses a column on the table, and works fine when the form has all of the fields showing for modification.
    I had some validations that I finally set to never fire, thinking that they were failing and just not giving the error messages. I know a bad sql or pl/sql atatement in a validation will cause the form to just keep sitting there doing nothing, and thought it might help.
    Several of the various fields are combo boxes, several are text boxes.
    I'm stumped.
    Shall I keep the regular update button hidden whether it is a manager or not (because it has been 'approved'), and enable a new button that fires off a process to update the one field that the manager may want to change? Does making a field 'read only' always have a detrimental effect on the auto processes I've been counting on? Is that if fact what is happening now?
    Thanks in advance for any advice or comments on this.
    Clayton

    Hi, Scott.
    My version is 3.0.0.00.20
    I have received info to set up the application, though I have not activated it as yet. I'm reluctant to try to load up the various tables to make it work. It could be done.
    My workaround is to that the user (a manager) fires off to another form to show an individual record, and ask if he/she really wants to make this change. On submit, they will be taken back to the original locked down form, and I will update the single field in that process of returning them. This will actually be a plus, in that I expect to show them all of the 'duplicate' entries for that item, and show them that by 'activating' this particular item, they will 'deactivate' the one duplicate that is currently active. Or, if they are deactivating the sole item that is active, that there will in fact be no active items in the system. Convoluted as heck, but they swear this is how they've been doing business with their briefcases and file cabinets of Excel files. I'm surprise they even float at this point (these are ships we're talking about).
    This all may be due to the form originally having a next/previous/count process once arrived at my clicking on the edit button of the report of items. All of that has been hidden away, and though the fields exist of the form, they are not used. They only see the current item that they clicked on from the report.
    I read up a little on session state, as well as posts with the debug error I was getting. I'm still not on board with the whole issue of 'state'. Items stay as they are until they're changed, no? I suppose that sounds simplistic.
    One of the things that caught my eye was several combo box lists that on read only mode, showed [] square brackets. Which, in some cases is okay.
    What I'll try to do is set up a public application - for future use if nothing else. I'm going to be working on this for awhile. I have more than a bit of work to do to cleanse the data as well as get rid of the single sign on requirement (I'll assume that I should have to do this) in order to share the app.
    I know you're expecting me to have this up and running for you to look at, but I'm under the gun. And they actually like my workaround.
    I'll keep everybody informed, one way or another.
    Clayton

  • All of my files in OSX Lion are read only, why?

    I've just upgraded to a new Mac Mini which has OSX Lion, Version 10.7.3. I don't use the admin login for security reasons, I'm using a separate user login. When I want to modify a document (delete a document/folder or move a document into a folder) I have to type in the admin login every time. I've looked in the Get Info window of some, and the Sharing and Permissions all say Read Only.
    Why are all my files Read Only? Is there a way to make everything in my login Read and Write without manually changing them all individually?

    Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Drag or copy – do not type – the following line into the Terminal window, then press return:
    chmod -R -N ~
    The command will take a noticeable amount of time to run. When a new line ending in a dollar sign ($) appears below what you entered, it’s done. You may see a few error messages about an “invalid argument” while the command is running. You can ignore those. If you get an error message with the words “Permission denied,” enter this:
    sudo !!
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    Next, boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select  ▹ Restart from the menu bar.

  • Partitions are read-only after sleep mod, not able to sleep again etc.

    I have strange problem, after resuming from sleep mode the system is often lagging, even for minute or so nothing loads. Sometimes it even stops responding at all, I cannot log in and/or start XFCE4. If I succeed to reboot, I get messages about readonly filesystem. May the problem be bad settings in fstab? I tried several combinations of 0 and 1 for the dump and pass for the two NTFS file systems. But even the root talks about read-only than.
    Or other case is most things works fine but I cannot make it sleep again, it just writes something like **Message: xfsm-shutdown-helper.c:1411: Using org.freedesktop UPower to suspend on the console where I am logged in and nothing happens.
    This is my fstab:
    devpts                 /dev/pts      devpts    defaults            0      0
    shm                    /dev/shm      tmpfs     nodev,nosuid        0      0
    /dev/sdb4 / ext4 defaults 0 1
    /dev/sdb5 swap swap defaults 0 0
    /dev/sdb6 /boot ext4 defaults 0 1
    /dev/sda1 /home ntfs defaults,uid=1000,gid=100,umask=0027  0 0
    /dev/sdc1 /home/Instalace ntfs defaults,uid=1000,gid=100,umask=0027  0 0
    Last edited by Behemot (2011-04-20 13:03:00)

    From your statement "...after resuming from sleep mode the system is often lagging, even for minute or so nothing loads." I was thinking you might have the problem discussed in this thread: https://bbs.archlinux.org/viewtopic.php?id=116355&p=1 but I see you have XFCE. Strange because this is exactly what other users and I are experiencing under KDE.
    Try checking if your CPU or a core of your CPU is at 100% usage.
    Last edited by dncrash (2011-04-13 14:15:27)

  • Can I show correctly formatted text areas when they are read only.

    Hi all,
    I have an application that allows users to enter large blocks of descriptive text in a TextArea field. This is a simple TextArea field with no spell check etc and is not an HTML editor.
    As part of this entry I use the normal 'return' key to enter line breaks / new paragraphs as you would expect.
    This works fine and the data is stored correctly. When I extract this text, via XML, into a BI Publisher PDF document, the text is correctly formatted with line breaks where they are expected.
    However, when I try and display this information on the screen, in read only mode, the line breaks are lost and all I see is a continuos block of text with no line breaks.
    I am displaying this as a TextArea in a read only form (basically the page is a copy of the entry/maintenance page with all the fields set to ReadOnly = Always) and I cannot get it to display correctly. As soon as I make the field ReadOnly = Never the text dispaly OK, but then the user can go and change it.
    How can I get this field to display correctly?
    Many thanks,
    Martin

    Hi Dimitri,
    Thanks for your reply.
    I tried changing the field source to:
    select replace(replace(MANUAL_STEP_TEXT,CHR(10),'
    '),CHR(13),'
    from tpa_rel_patches
    where patch_id = :P40_PATCH_ID
    and now I get:
    1.Take a backup of existing jdbc driver files In all the Tiers (Admin, External & Middle Tiers)
    cd $JAVA_TOP
    cp jdbc111.zip jdbc111.zip_4899697
    cp jdbc12.zip jdbc12.zip_4899697
    cp jdbc14.zip jdbc14.zip_4899697
    2.Apply the Oracle JDBC Drivers Patch using ADPATCH
    u4899697.drv
    Any ideas?
    Martin

  • Mail attachments won't save - saying folders are Read Only

    Every time I try save an attachement, mail pops up saying this location is read-only,
    Any help?

    I still can't fix this issue.
    This is what happens when I try to create a new folder in the target folder that I want to save my attachments too. The target folder has Read & Write access for everyone.
    I've tried:
    Accessing Repair Utilities and typed in resetpassword
    Resetting the permissions on my computer
    Relaunch Finder
    But so far nothing works and I still get the Read Only error message when trying to create a new folder to save my attachments.
    UPDATE:
    I've used these steps by Linc Davis, who is like a savior for everything Mac!
    The thread to this problem can be found here - https://discussions.apple.com/thread/4925516?start=0&tstart=0
    Now my email is back to normal!
    Message was edited by: jajashahmohen

Maybe you are looking for