JAVA and XML files suddently becomes read only files ---- is this a bug ?

Hi all,
I run into this problem about 1 to 3 times a day. What happens is that all of a sudden all the files containing code that i was editing becomes read-only well the write cursor disapears this is kinda bothering me the only way to fix this is to reboot jdev. In the console there are no errors which i found weird. i am using the latest jdev version under the enterprise red hat.
Regards,
Carl

Hi brian,
yeah strangely this happens to all the files but i can still edit them using the control palette lets say i want to add a component it will work fine but i cant type in any code. I am not using version control system. I dont think i run out of memory but ill double check this.
Carl

Similar Messages

  • Files and folders moved to NAS become read only.

    I just got an Iomega NAS. When I move files and folders to it from my Macbook, they become read only when they get there. Files from my girlfriend's PC stay read/write when they are moved to the NAS.
    I first noticed this with iTunes. I changed the location of my iTunes folder to be on the NAS and I let iTunes copy the music itself. Now, I can add music by new artists, but if I try to add an artist that I already have a folder for, it won't let me because the folder is read only. Also, I can't change any of the info for any files in iTunes.
    I'm not sure if this has anything to do with it, but it looks like all of the files and folders on my Mac are set up so that only I can see them. When I click "get info" on any file on the computer, it shows:
    me : read/write
    staff: read only
    everyone: read only

    When I open a finder window, I see two icons for the NAS in the "shared" section. The first one is:
    hmnhd-ti2mkg
    When I click "get info" it shows "Kind: PC Server" and there is no mention of permissions in the "get info" box.
    The second one is:
    hmnhd-TI2MKG.local
    When I click "get info" it shows "Kind: Server" and there is no mention of permissions in the "get info" box.
    Clicking on either one of these icons lets me browse through the exact same shares and folders. There is no difference between going in to one or the other. They both have the same permissions on all folders, as well.
    "Jacob's iTunes Music" is a share on the NAS. All of my read only files (that I want to change to read/write) are already in this share.
    Clicking "get info" on any of the shares shows them as "Kind: Sharepoint" with no mention of permissions.
    I think I'm going to try to have iTunes copy all the files to my computer, change the permissions, then have it copy them back to the NAS. Is there a way to change permissions of folders, subfolders, and files without having to click "get info" on each and every one?

  • Files and folders becoming read-only

    Lots of my files and folders have become read-only after
    downloading Eclipse (I have used the Europa version as I needed to
    also download CFEclipse as well to program in ColdFusion) and Adobe
    ColdFusion. When you right-click and go to properties, the
    read-only button is highlighted, so I have clicked this off, but it
    reappears when you right-click and look at it again.
    Does anybody know what has caused this and how I can fix
    this?

    Hi,
    After opening your eclipse,
    Hit alt+shift+w and click "Navigator"
    and then select your project folder -> right click it,
    Go to properties and turn off read only.

  • Java Does Not Throw Exception When Writing To Read-Only Files

    I have noticed that when I try to write to a read-only file in a window environment, Java does not throw an IOExcpetion, it just dosn't write to the file.
    I am writing an FTP server and here is the code:
         public static long copyStream(InputStream in, OutputStream out)throws IOException
              IOException exception = null;
              long copied = 0;
              try
                   byte buffer[] = new byte[1024];
                   int read;
                   while((read = in.read(buffer)) != -1)
                        out.write(buffer, 0, read);
                        copied += read;
              catch(IOException e)
                   //ensures that the streams are closed.
                   exception = e;
              try
                   in.close();//ensures output stream gets closed, even if there is an
                   //excption here.
              catch(IOException e){exception = e;}
              out.close();//try to close output.
              if(exception != null)
                   //exception is not null, an exception has occured.
                   //rethrow exception.
                   throw exception;
              return copied;//all ok, return bytes copied.
         }Is this a bug in JAVA VM? Is so, how should I report it?

    I have noticed that when I try to write to a read-only file in a window environment,
    Java does not throw an IOExcpetion, it just dosn't write to the file.C:\source\java\Markov>attrib readonly.out
    A R C:\source\java\Markov\readonly.out
    �C:\source\java\Markov>java b
    java.io.FileNotFoundException: readonly.out (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at b.main(b.java:5)
    import java.io.*;
    public class b {
        public static void main(String[] args) {
         try     {
              OutputStream os = new FileOutputStream ( "readonly.out");
         catch (Exception e) {
              e.printStackTrace();
    }

  • Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only. However opening a CSS file does not prompt that it is alr

    Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only.
    However opening a CSS file does not prompt that it is already open on or from any machine which is causing code edits to be lost.
    What we found from out testing:
    - The file can be saved from one user to the server and WILL NOT PROMPT on other machines until the saving machine has the Dreamweaver program closed completely
    - The file can be closed and  Dreamweaver minimised to the launch bar but it still will not register on other machines that it has been changed.
    - Also, until the  Dreamweaver program is closed on the machines, it will continue to open it's saved version of the file. 
    Example Scenario:
    - User 1 opens test.css (which is 2000 lines) and adds some code to the end of the file to bring it up to 2500 lines
    - Meanwhile User 2 opens test.css as well (opens as 2000 lines as User 1’s edits have not yet been saved) and adds in code to bring it to 2300 lines
    - User 1 saves his file and closes it - but  Dreamweaver is still open.
    - User 2 also saves his file and leaves  Dreamweaver  open.
    - The server will report the size and last edit of the file the same as User 2 as he was the last person to save it (and if you open from the Win7 Machine it will show as User 2’s 2300 line version)
    - If User 1 then open's the file again (from either the 'recent' in Dreamweaver OR clicking on the file directly in Finder...which version opens.... The version that User 1 saved! Not the true version on the server, but the version that User 1 edited and saved with 2500 lines in it.
    - Same for User 2, he will open 'his' version with 2300 lines in.
    Other information:
    - Files are opened directly from the server
    - Sometimes the users will save incrementally and re-open
    - Most of the time users will save incrementally and keep the files open
    - The users will never not save incrementally and just save when closing the file once finished
    - The users are usually working on the files all day
    - It is always the bottom lines of code that are lost. It could be a case of the two versions being mixed up and cutting off the newly added lines based on the line count (possibly).
    It is as if Dreamweaver is holding a cache of the version locally and then only properly looking back to the server when it has been completely closed. It is very difficult to see how the server is causing such an impact on these files, there are very few logs which are giving any indication to the root cause of the problems.
    Anyone know if this is a known issue?
    Is there a way that there can be a featured implemented on the server that doesn't allow another user to open a file if it is already open on another machine?
    Thanks

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • All new files and folders show up as READ ONLY

    I am new to the iMac, and am having problems with files an folders. My account is an administrator's account, but when ever I create a new folder, or move a file into it, it shows up as READ ONLY. This is really annoying as I am moving hundreds of files from my PC to the iMac. How do I set things up so that new folders and files are not READ ONLY? Thanks!

    Creative Cloud applications unexpectedly revert to trial mode | CS6, CCM

  • Crashes and read-only file systems

    Notice: I apolgize for the long post, I've tried to be as thorough as possible.  I have searched everywhere for possible solutions, but things I've found end up being temporary workarounds or don't apply to my situation.  Any help, even as simple as, "have you checked out XYZ log, it's hidden here", would be greatly appreciated.  Thanks
    I'm not sure what exactly caused the issues below, but they did start to happen within a day of running pacman -Syu.  I hadn't run that since I first installed Arch on December 2nd of this year.
    Setup:
    Thinkpad 2436CTO
    UEFI/GPT
    SSD drive
    Partitions: UEFISYS, Boot, LVM
    The LVM is encrypted and is broken up as: /root, /var, /usr, /tmp, /home
    All LVM file systems are EXT4 (used to have /var and /tmp as ReiserFS)
    The first sign that something was wrong was gnome freezing.  Gnome would then crash and I'd get booted back to the shell with all filesystems mounted as read-only.  I started having the same issues as this OP:
    https://bbs.archlinux.org/viewtopic.php?id=150704
    At the time, I had /var and /tmp as ReiserFS, and would also get reiserfs_read_locked_inode errors.
    When shutting down (even during non-crashed sessions) I would notice this during shutdown:
    Failed unmounting /var
    Failed unmounting /usr
    Followed by a ton of these:
    device-mapper: remove ioctl on <my LVM group> failed: Device or resource busy
    Nother of these errors had ever appeared before.
    After hours of looking for solutions (and not finding any that worked) I was convinced (without any proof) that my Reiser file systems were corrupt and so I reformatted my entire SSD and started anew - not the Arch way, I know   I set all logical volumes as EXT4.
    After started anew, I noticed
    device-mapper: remove ioctl on LVM_SysGroup failed: Device or resource busy
    was still showing up, even with just a stock Arch setup (maybe even when powering off via Arch install ISO, don't remember).  After a lot of searching, I found that most people judged it a harmless error, so I ignored it and continued setting up Arch.
    I set up Gnome and a basic LAMP server, and everything seemed to work for a couple of hours.  Soon after, I got the same old issues back.  The System-journald issue came back and per the workaround on https://bbs.archlinux.org/viewtopic.php?id=150704 and a couple other places, I rotated the journals and stopped journald from saving to storage.  That seemed to stop THOSE errors from at least overwhelming the shell, but I would still get screen freezes, crashes, and read-only file systems.
    I had to force the laptop to power off, since poweroff/reboot/halt commands weren't working (would get errors regarding the filesystems mounted as read-only).
    I utilized all disk checking functions possible.  From running the tests (SMART test included) that came as part of my laptop's BIOS to full blown fsck.  All tests showed the drive was working fine, and Fsck would show everything was either clean, or
    Clearing orphaned inode ## (uid=89, gid=89, mode=0100600, size=###
    Free blocks count wrong (###, counted=###)
    Which I would opt to fix.  Nothing serious, though.
    I could safely boot back into Arch and use the system fine until the system decides to freeze/crash and do the above all over again.
    The sure way of recreating this for me is to run a cron job on a local site I'm developing. After a brief screen freeze (mouse still moveable but everything is otherwise unreponsive) I'll systemctl status mysqld.service and notice that mysqld went down.
    It seems that it's at this point my file systems are mounted as read only, as trying to do virtually anything results in:
    unable to open /var/db/sudo/...: Read-only file system
    After some time, X/Gnome crashes and I get sent back to shell with
    ERROR: file_stream_metrics.cc(37)
    RecordFileError() err = 30 source = 1 record = 0
    Server terminated successfully (0)
    Closing log file.or_delegate.h(30)] sqlite erro1, errno 0: SQL logic error or missing database[1157:1179
    rm: cannot remove '/tmp/serverauth.teuroEBhtl': Read-only file system
    Before all this happened, I was using Arch just fine for a few weeks.  I wiped the drives and started anew, and this still happens with just the minimal number of packages installed.
    I've searched for solutions to each individual problem, but come across a hack that doesn't solve anything (like turning off storing logs for journal), or the solution doesn't apply to my case.
    At this point, I'm so overwhelmed I'm not even sure where exactly to pick up figuring this issue out.
    Thanks in advance for any help

    Did this occur when you booted from the live/install media?
    What is your current set up? That is, partitions, filesystems etc. I take it you have not yet reinstalled X but are in the default CLI following installation?
    If turning off log storage didn't help, reenable it so that you may at least stand a chance of finding something useful.
    What services, if any, are you running? What non-default daemons etc.?
    Does it happen if you keep the machine off line?
    Have you done pacman -Syu since installation and dealt with any *.pacnew files?
    Last edited by cfr (2012-12-26 22:17:57)

  • How can I protect a PDF file to where when I am editing the file and another user opens the file, it is only a read-only file?

    I work for an auditing firm and we have recently gone paperless with our audit documentation. We have our files saved on a server and multiple people can access the same file at one time. We noticed that Acrobat does not give an message notifying a user that someone else is in that file, nor does Acrobat make that PDF file a read only file when someone else is in it editing the document. Is there a way to notify someone that another user is in the same PDF file? Or is there a way to make a PDF read only when someone else is working with the document?

    Hi ashleyr1936858
    You can restrict editing of a pdf by setting the password, such that anyone who wants to edit the pdf would need to input that password. This would make the pdf a read-only file.
    Here's a Link for more information : Acrobat Help | Securing PDFs with passwords
    Regards,
    Rahul

  • Read only file system and Problems witth pacman -S

    Hi im a newbie at Arch, and i have 2 problems...
    1) When I log in as a root user i can't modify any of the configuration files cause i only have a " Read only file System" does anyone know how  I can  change this cause im sick of using my live cd to modify the files i need to change..
    2) I have problems with pacman -S it says " Unable to lock database if you're sure pacman is not already running you can remove /tmp/pacman.lck"
    when i do rm /tmp/pacman.lck it says that it can't be done cause the file doesn't exist.. and Im sure that my dhcp and dns is working fine... (just in case of any wonder)
    Well if someone could help me i really would appreciate it
    thanks

    # <file>      <dir>           <type>     <options>           <dump>      <pass>
    none                 /dev/pts        devpts     defaults               0          0
    none                 /dev/shm        tmpfs      defaults           0          0
    /dev/cdrom           /mnt/cd          iso9660   ro,user,noauto,unhide  0          0
    /dev/dvd             /mnt/dvd         udf       ro,user,noauto,unhide  0          0
    /dev/fd0         /mnt/fl          vflat     user,noauto            0          0   
    /dev/hda6          swap            swap      default                0          0
    /dev/hda5/            ext3        defaults      0  0
    /dev/hda7/mnt/windows vfat  rw,usev,auto,umask = 000 0 0
    fsck -fC /dev/hda5 didnt work it said... "Error while executing fsck.ext3 for /dev/hda5

  • (Read-only file system) ,EXT3-fs error (device sda6) in start_transaction, FOR MY MCS7825I3-K9-CMC1

    I got this problem for my cucm version System version: 7.0.2.20000-5
    Product Part Number: MCS7825I3-K9-CMC1
    java.io.FileNotFoundException: /var/log/active/platform/log/cli.bin (Read-only file system)
    log4j:ERROR No output stream or file set for the appender named [CLI_LOG].
    EXT3-fs error (device sda6) in start_transaction: Journal has aborted   SeverityMatch - Critical kernel: EXT3-fs error (device sda6) in start_transaction: Journal has aborted   SeverityMatch - Critical kernel: EXT3-fs error (device sda6) in
    Any Advice to solve this issue ?
    Kind Regards
    Mohammed khamis
    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:212)
            at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.restoreIndex(c                                                                            iscoRollingFileAppender.java:100)
            at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.setFile(ciscoR                                                                            ollingFileAppender.java:43)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.                                                                            java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces                                                                            sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.jav                                                                            a:196)
            at org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.jav                                                                            a:155)
            at org.apache.log4j.xml.DOMConfigurator.setParameter(DOMConfigurator.jav                                                                            a:530)
            at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja                                                                            va:182)
            at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat                                                                            or.java:140)
            at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi                                                                            gurator.java:153)
            at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM                                                                            Configurator.java:415)
            at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:3                                                                            84)
            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:6                                                                            87)
            at sdMain.main(sdMain.java:511)
    java.lang.NullPointerException
            at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.updateIndex(ci                                                                            scoRollingFileAppender.java:117)
            at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.nextFileName(c                                                                            iscoRollingFileAppender.java:92)
            at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.append(ciscoRo                                                                            llingFileAppender.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.info(Category.java:674)
            at sdMain.main(sdMain.java:525)
    log4j:ERROR No output stream or file set for the appender named [CLI_LOG].
       Welcome to the Platform Command Line Interface
    admin:java.io.FileNotFoundException: /var/log/active/platform/log/cli.bin (Read-only f                                                                            ile system):java.io.FileNotFoundException: /var/log/active/platform/log/cli.bin (Read-only f                                                                            ile system)

    Hello
    Thanks Manish .
    I found many articles in cisco which says that this error is related to the bug which need firmware upgrade , but I don't have support from cisco because EOS.
    https://supportforums.cisco.com/document/49511/updated-16-february-2011-ibm-7816-i4-782x-i4-filesystem-errors
    Solution
    The file-system going read-only issue which has recently been affecting server models MCS-7816-I4, MCS-7825-I4, and MCS-7828-I4 (or their IBM equivilants) in the field is addressed by CSCti52867 - "IBM 7816-I4 and 782x-I4 READONLY file system".
    The fix for CSCti52867 is now available and requires the application of two patch files.  Install both of these patch files in the order listed below.
    1. First install ciscocm.ibm-diskex-1.0.cop.sgn 
         The Readme file ciscocm.ibm-diskex-1.0.cop.sgn includes installation instructions for this .cop.sgn.
         Make sure to only install this utility when show hardware CLI output indicates the array is in a healthy state.
         If your server has never had the filesystem go readonly then this step is optional. 
    2. Next install Cisco-HDD-FWUpdate-3.0.1-I.ISO .
         The Readme file Cisco-HDD-FWUpdate-3.0.1-I.Readme.pdf includes installation instructions for this ISO.
         This installer is completely independant of the OS installed on the server.
    Note:  Installing the FWUpdate v3.0(1) or later will get you firmware with the fix for this defect.  It is always recommended that you apply the latest FWUCD available for your server.
    Refer to the Release Note of CSCti52867 and the Readme file for each of the above mentioned patch files for more details.
    Symptoms
    The file system goes READONLY, then CUCM services may go down, the server may become "unresponsive" meaning that it is not possible to ssh into the server, login to the console, or web into the server although it may still respond to pings.
    Traces from all services stop writing (including syslog)
    You see the following error on the server console
    EXT3-fs error (device sda6) in start_transaction: Jornal has aborted

  • OS 10.5 Sharing – Files appear as "Read Only" – SOLUTION!

    I have been having problems with sharing files between two macs since upgrading to 10.5 Leopard. Files and catalogs were available on both machines and both were set to "read & write" however files would only open as "read only" and files could not be saved between macs.
    After an entire day of trying to find an answer (and talking to Apple Care for hours) I have found the solution. And it's a very simple fix. The UUID needs to be changed on the computer giving you trouble.
    Here's the solution from the original post below:
    In OS X 10.5, you can change the UUID for your account by going to the "Accounts" system preferences and clicking the lock to authenticate. Then right-click (control-click) your account name and select "Advanced Options." Then click the "Create New" button next to the UUID field, and a new number will be generated. This should be done on the computer that you cannot properly connect to, and not on the computer you are connecting from. All this will do is provide a new identifier for your account when you are logging in remotely, and should clear problems with authentication and permissions mismatches.
    Hope this helps!
    Here's the original post from MacFixIt (I am including the entire post so that anyone searching for these phrases or error messages can find it quickly):
    Apple Discussion poster "Thomas Kranz1" writes:
    "I am suddenly getting this message when I try to copy a file from my new MacBook Pro to my PowerBook running 10.4.9. 'You may need to enter the name and password for an administrator on this computer to change the item named [file I am trying to transfer] (stop, continue). I hit continue and get the error message: 'The item [that I am transferring] contains one or more items you do not have permission to read. Do you want to copy the items you are allowed to read?' I say continue and get the error: 'The operation cannot be completed because you do not have sufficient privileges for some of the items.' My network was working fine until today. I can copy fine to all other computers on my network. But not this one."
    When OS X transfers data between computers, you first log into the remote system and mount a readable or writable sharepoint from the remote system. Then when you transfer files they should be given ownership and permissions based on the account you're using on the remote computer (not the current computer). This ensures you can access the files anytime and from anywhere as long as you use the same credentials to log into the computer containing them.
    When problems with permissions in file transfers occur, you should first check your sharepoints to ensure the account you are using has read-and-write access to the share. To do this, open the "Sharing" system preferences and select the "File Sharing" service. Then ensure the sharepoint is listed in the "Shared Folders" list and then give the username you're logging in with both "Read & Write" permissions. If you are logging in from a PC, then click the "Options" button and enable "Share files and folders using SMB" and then select the account you wish to use to log in. Clicking "Done" should allow you to log into the system using the specified credentials.
    If the system keeps presenting insufficient privileges errors even after supplying appropriate credentials, the problem may be with how the computer is authenticating the account being used. For network directory authentication, OS X uses a "Universally Unique Identifier" or "UUID" number to identify user accounts, and if there is a problem with the UUID not matching, you may still be able to log in locally to the remote computer but may have permissions problems when using the same credentials remotely. Apple started implementing network directories that use UUIDs in OS X 10.3, and in 10.5 they're required, since Apple changed from the NetInfo authentication technologies to "Open Directory," which is built for network directory authentication and implements UUIDs.
    In OS X 10.5, you can change the UUID for your account by going to the "Accounts" system preferences and clicking the lock to authenticate. Then right-click (options-click) your account name and select "Advanced Options." Then click the "Create New" button next to the UUID field, and a new number will be generated. This should be done on the computer that you cannot properly connect to, and not on the computer you are connecting from. All this will do is provide a new identifier for your account when you are logging in remotely, and should clear problems with authentication and permissions mismatches.
    For people having problems with copying files to a 10.4 machine, it may help to ensure ownership on the shared resource is properly set. To do this, launch the terminal and type the following command, followed by a single space:
    sudo chown -R `id -un`
    NOTE: The command uses "grave accent" marks (`), which is the character under the "tilde" next to the "1", and not apostrophes or single-quotes.
    After this has been typed (with the space following it), drag the shared folder to the terminal and the full path to the folder should complete. Then press enter and supply your password to complete the command. When this has been run, try copying the files again.

    David,
    Of course the files are checked in; otherwise I wouldn't be able to create a configuration on them and base a workarea on the configuration in order to download the files.
    Here's my problem: I check-in and out files while developing a release. A release for me is a set of (checked-in) objects and folders grouped in a checked-in configuration.
    Once I'm finished I want to download the release. In order to do this I base a 'DOWNLOAD' workarea on the configuration that represents the release.
    Then I download the DOWNLOAD workarea; and have all files in the release on my file system. But I do not want them to be READ-ONLY !!, since the folders and files that make up my application have to be moved and copied around a couple of servers using FTP scripts and this is a whole lot more complicated when the files and folders are read-only.
    If this cannot be disabled than Oracle SCM is a lot less attractive for our way of doing SCM... although I have been able to adjust all my Java FTP classes so that write-access is enabled on all file and folders after download and before publishing the application to all servers.
    By the way I use the Java API of Oracle SCM to download the contents of the DOWNLOAD workarea.
    Regards,
    Rinse Veltman
    CIBER Solution Partners

  • Word 2010 document becomes Read-Only after saving it

    Hi,
    My Word 2010 document is becoming "Read Only" after saving it, for information my doucment is on the desktop . I searched on this forum and find a couple of solutions (deactivating auto saving, etc.) but it does not work at all. Any other ideas?
    Thanks,
    Sylvain.

    , I wonder why the docuemnt is becoming Read-Only when I am saving it on the Desktop...
    I've read articles and blogs of people arguing each side of whether you should use the Desktop as a storage folder and I really
    don't have anything substantial to add to either the pro or con side of the issue.
    However, what I know about Word is that it behaves a bit different and seems to have issues when you’re actively editing document that are stored
    on the Desktop.  I would speculate that the issue has something to do with the screen driver software.
    When you’re editing a document, Word is actually using something like a dozen or more temporary hidden files and some of these are stored in the
    same folder as the source document. If the source document’s folder is the Desktop, then there has to be interaction with the screen driver. 
    This interaction with the screen driver is one variable that makes the Desktop folder unique and possibly problematic and thus Word under certain conditions
    makes the file Read Only.
    Kind Regards, Rich ... http://greatcirclelearning.com

  • Repository files downloaded as READ ONLY

    Hi,
    We are using the repository for SCM of file based non-Oracle applications. When I download files from a folder in the repository they occur on the filesystem as Read-Only.
    How can I prevent/control this? After download I want the files to be without any OS attributes (like Archive or Read-only).
    Serverside: Windows NT 4.0, Ora817, Repos6iR4 version 6.5.52.2.0
    Clientside: Windows NT 4.0
    TIA
    Rinse Veltman
    CIBER Solution Partners

    David,
    Of course the files are checked in; otherwise I wouldn't be able to create a configuration on them and base a workarea on the configuration in order to download the files.
    Here's my problem: I check-in and out files while developing a release. A release for me is a set of (checked-in) objects and folders grouped in a checked-in configuration.
    Once I'm finished I want to download the release. In order to do this I base a 'DOWNLOAD' workarea on the configuration that represents the release.
    Then I download the DOWNLOAD workarea; and have all files in the release on my file system. But I do not want them to be READ-ONLY !!, since the folders and files that make up my application have to be moved and copied around a couple of servers using FTP scripts and this is a whole lot more complicated when the files and folders are read-only.
    If this cannot be disabled than Oracle SCM is a lot less attractive for our way of doing SCM... although I have been able to adjust all my Java FTP classes so that write-access is enabled on all file and folders after download and before publishing the application to all servers.
    By the way I use the Java API of Oracle SCM to download the contents of the DOWNLOAD workarea.
    Regards,
    Rinse Veltman
    CIBER Solution Partners

  • Getting started with Java and XML

    Hi,
    Although I am pretty familiar with Java, I am a total newbie with using it to parse XML. I have been reading quite a few tutorials so am getting a good understanding of it and am thinking of using the DOM model for my purposes.
    What I haven't been able to find, however, is how I can actually get started with this. I have tried compiling a few examples and have been getting errors such as:
    xmltest.java package javax.xml.parsers does not exist
    xmltest.java package org.w3c.dom does not existetc etc...
    It looks like these packages don't come with J2SE. Can anyone confirm this? Do I need to download and install the Java Web Services Developer Pack to solve this problem?
    Finally, I know I will need an XML parser but have read that JDK 1.4 has it's own parser (Crimson). Is this adequate for parsing XML files or will I also need a parser such as Xerces?
    Thanks so much for any help!

    Hi DrClap,
    Thanks for the reply. I have JDK 1.4.1_02 installed on my server but the following error keeps coming up when I try to run my example:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/NodeAre there any further packages I need to download in order to run Java with XML? I have read some people install JAXP and XERCES... are these necessary for parsing an XML document or should J2SE 1.4.1 be sufficient?
    Thanks for your help!
    Jill

  • Lightroom v1.0 Install Leaves Read-Only Files in Temp Directory

    I just installed v1.0 (fresh install, no previous betas, WinXP). There seem to be quite a few (20 to be exact) read-only files left in the folder:
    C:\Documents and Settings\**User**\Local Settings\Temp\
    These all appear to be related to Sonic Solutions (CD/DVD burning in LR?)
    i.e.
    pxhelp20.sys
    pxwave.dll
    pxmas.dll
    px.dll
    etc.
    Do these files serve any function after Lightroom is installed? Can they be safely deleted?

    you naming convention is confussing. you should follows Java naming convention..you have a getXXX but decalred the return type as "void"...get usully means to return something...
    your code is doing too much..and hard to follows..
    1. get the selected files
    for each selected file
    process the file and return the result
    write out the result.
    /** close the precious resource */
    public void closeResource(Reader in){
        if (in != null){
            try{ in.close(); }
            catch (Exception e){}
    /** get the total number of line in a file */
    public int getLineCount(File file) throws IOException{
        BufferedReader in = null;
        int lineCount = 0;
        try{
            in = new BufferedReader(new FileReader(file));
            while ((in.readLine() != null)
                lineCount++;
            return lineCount;
        finally{ closeResource (in);  }
    /** read the file */
    public void processFile(File inFile, File outFile) throws IOException{
        BufferedReader in = null;
        StringBuffer result = new StringBuffer();
        try{
            in = new BufferedReader(new FileReader(inFile));
            String line = null;
            while ((in.readLine() != null){
                .. do something with the line
                result.append(....);
            writeToFile(outFile, result.toString());
        finally{ closeResource (in);  }
    public void writeToFile(File outFile, String result) throws IOException{
        PrintWriter out = null;
        try{
            out = new PrintWriter(new FileWriter(outFile, true));  // true for appending to the end of the file
            out.println(result);
        finally{  if (out != null){ try{ out.close(); } catch (Exception e){} }  }
    }

Maybe you are looking for