J2me file access problem

hi,I try to read and write a file with j2me. The file which is file.txt in the root1 directory in filesystem.when running one emulator i can access the file,but running multi emulator cant access the file.Seeing "file not found" error.
How can acces this file by two or three emulator?

can u send me the code for reading a file from root in linux platform
and how can i read a file that can travell within MIDlet suite like the images
in /res folder mail me at [email protected] i have tried the following segment
having no success
public void writeFile()
FileConnection fc;
StreamConnection conn = null;
InputStream is;
try{  
OutputConnection con =(OutputConnection)Connector.open("file:///root/riz.txt",Connector.WRITE);
OutputStream out =con.openOutputStream();
PrintStream ps = new PrintStream(out);
ps.println("rizwan");
ps.close();
con.close();
}catch (Exception e){System.out.println(e);}
hoping for an early reply

Similar Messages

  • Perl/DB_File file-access problems on Solaris 86

    I have Perl software that runs fine on Apache/FreeBSD using DB_File. I have
    just ported that software to an Apache/Solaris 86 server, and the DB_File
    file-access is not working.
    Specifically it breaks down at the tie statement - where I am trying to tie
    to an existing DB_BTREE file - saying things like "Cannot tie to file
    because it already exists". Which sounds like a file access mode problem.
    I use O_CREAT|O_RDWR as the file access mode parameter, asking the tie
    function to create the file if it does not exist or to open it on a
    read/write basis if it does. I 'use Fcntl' to set the mode parameters that
    are (supposedly) correct for the system.
    Any help or suggestions?
    Many thanks

    There are a few things possibly going on:
    1. The problem where the Berkeley DB example is not being found is related
    to the default tar program on Solaris, which doesn't handle long file names.
    The result is that some files don't make it. The simplest solution is to use
    a gnu tar if you can.
    2. The Compiler issue in Xerces may be that the default compiler found is the
    Solaris compiler, and not g++/gcc if that's what you want. The compiler can be
    specified using the -c <C compiler> and -x <C++ compiler> flags to buildall.sh.
    e.g. buildall.sh <other options> -c gcc -x g++
    Regards,
    George

  • NFS File Access problem

    Hello,
    I am having problems trying to "tail" an existing file.
    When the file is being written into, I can tail it without any problem.
    The problem rises when the file is already complete, and I try to open it.
    I tried to make a small demo program but for some reason I am unable to get the demo program to give the same behaviour.
    Below is the class in which it all goes wrong.
    I basically opens the file usring RandomAccessfile.
    when I try to retrieve the length of the file a bit further, my ascii file I am viewing already changed to .nfs01231353434 something.
    But all gets displayed ok.
    When I then close the text pane in which this tail class is logging, the file itself is deleted.
    As this has something to do with NFS here is the setup :
    The java jar file is located on a remote solaris disk, so is the ASCII file I am trying to view.
    The local machine where I am running my application is Red Hat Linux 3.2.3-52.
    Apologies if this information is kinda vague but as I am unable to supply a demo program, I dont know else how to explain my problem.
    The class that does the "tailing"
    package com.alcatel.tamtam.main;
    import java.io.*;
    import java.util.*;
    public class Usr_LogFileTrailer extends Thread
       * How frequently to check for file changes; defaults to 5 seconds
      private long sampleInterval = 5000;
       * Number of lines in a row we output, otherwise problems with large files
       private int lineBuffer = 250;
       * The log file to tail
      private File logfile;
       * Defines whether the log file tailer should include the entire contents
       * of the exising log file or tail from the end of the file when the tailer starts
      private boolean startAtBeginning = false;
       * Is the tailer currently tailing ?
      private boolean tailing = false;
       * Is the thread suspended or not ?
      private boolean threadSuspended = true;
       * File pointer where thread last logged a line
      private long filePointer = 0;
       * Set of listeners
      private Set listeners = new HashSet();
       * Creates a new log file tailer that tails an existing file and checks the file for
       * updates every 5000ms
      public Usr_LogFileTrailer( File file )
        this.logfile = file;
       * Creates a new log file tailer
       * @param file         The file to tail
       * @param sampleInterval    How often to check for updates to the log file (default = 5000ms)
       * @param startAtBeginning   Should the tailer simply tail or should it process the entire
       *               file and continue tailing (true) or simply start tailing from the
       *               end of the file
      public Usr_LogFileTrailer( File file, long sampleInterval, boolean startAtBeginning )
        this.logfile = file;
        this.sampleInterval = sampleInterval;
        setPriority(Thread.MIN_PRIORITY);
      public void addLogFileTailerListener( Usr_LogFileTrailerListener l )
        this.listeners.add( l );
      public void removeLogFileTailerListener( Usr_LogFileTrailerListener l )
        this.listeners.remove( l );
       *  Methods to trigger our event listeners
      protected void fireNewLogFileLine( String line )
        for( Iterator i=this.listeners.iterator(); i.hasNext(); )
          Usr_LogFileTrailerListener l = ( Usr_LogFileTrailerListener )i.next();
          l.newLogFileLine( line );
      public void stopTailing()
        this.tailing = false;
      public void restart()
        filePointer = 0;
      public synchronized void setSuspended(boolean threadSuspended)
        this.threadSuspended = threadSuspended;
        if ( ! threadSuspended ) notify();
      public void run()
        try
          while ( ! logfile.exists() )
            synchronized(this)
              while ( threadSuspended ) wait();
            Thread.currentThread().sleep(1000);
            File parentDir = logfile.getParentFile();
            if ( parentDir.exists() && parentDir.isDirectory() )
              File[] parentFiles = parentDir.listFiles();
              for ( File parentFile : parentFiles )
                if ( parentFile.getName().equals(logfile.getName()) ||
                     parentFile.getName().startsWith(logfile.getName() + "_child") )
                  logfile = parentFile;
                  break;
        catch(InterruptedException iEx)
          iEx.printStackTrace();
        // Determine start point
        if( this.startAtBeginning )
          filePointer = 0;
        try
          // Start tailing
          this.tailing = true;
          RandomAccessFile file = new RandomAccessFile( logfile, "r" );
          while( this.tailing )
            synchronized(this)
              while ( threadSuspended ) wait();
            try
              // Compare the length of the file to the file pointer
    //          long fileLength = 0;
              //long fileLength = file.length();
              long fileLength = this.logfile.length();
              if( fileLength < filePointer )
                // Log file must have been rotated or deleted;
                // reopen the file and reset the file pointer
                file = new RandomAccessFile( logfile, "r" );
                filePointer = 0;
              if( fileLength > filePointer )
                // There is data to read
                file.seek( filePointer );
                String line = file.readLine();
                int lineCount = 0;
    //            this.fireBlockTextPane();
                while( line != null && lineCount < lineBuffer)
                  this.fireNewLogFileLine( line );
                  line = file.readLine();
                  lineCount++;
                filePointer = file.getFilePointer();
                this.fireFlushLogging();
    //            this.fireNewTextPaneUpdate();
              // Sleep for the specified interval
              sleep( this.sampleInterval );
            catch( Exception e )
                e.printStackTrace();
          // Close the file that we are tailing
          file.close();
        catch( Exception e )
          e.printStackTrace();
      }

    Hi,
    Below is my NFS mount statement on database server and application server. BTW, the directory DocOutput has permission of 777.
    fstab on the Database Server
    appserver:/database/oracle/app/prod/DocOutput /DocOutput nfs rw,hard,retry=20 0 0
    exports file in the Application Server
    /database/oracle/app/prod/DocOutput -anon=105,rw=dbserver,access=dbserver

  • Time Capsule (A1409): slow file access problem and how do we create a back up of the files on timecapsule?

    Time Capsule: We have a model no A1049 our network (installed by someone no longer working with us, so I don't know how it was set up or how to access any settings other than via Airport Utility)
    We use it for our central file storage, and as a disk for timemachine backups from the several macs we use here.
    The time capsule is running but we have slow access to files, it takes ages to bring up the list of files available, can I fix this?
    I have just updated the firmware.
    I would also like to know how I can back up these files to another disk.
    I have searched the manuals and also the support community but I can't find the answers or any instructions other than the manuals  and would appreciate help.
    Thank you

    The Time Capsule was designed to handle Time Machine backups from one or more Mac computers, and it will work reasonably well for that purpose.
    But.....and this is a big BUT......it will not work very well at all if you try to make it act as a file server, since the disk spin up time is quite slow among other things like slow read times from the disk.
    Suggest that you get with an IT specialist who can recommend the right file server solution for your network based on your needs.
    As far as backing up the data on the Time Capsule, the simplest way to do this is connect a USB drive to the USB port on the Time Capsule and use the built in Archive function in AirPort Utility to make a complete copy of all of the data on the Time Capsule.
    Unfortunately, the simplest way is also the slowest and the Time Capsule will not be available for Time Machine backups or file serving during the Archive procedure, which will likely take 4-6 hours or so depending on how much data might be on the Time Capsule.  A good time to do this might be late at night, so the Archive copying will run overnight.
    Another better option would be to use a commercially available application, like Carbon Copy Cloner to automatically back up the Time Capsule disk each day at a time that you choose.  The advantage to doing it this way is that CCC will only back up the changes that have occurred since the last back up, so once the first "master" backup is done, the subsequent "incremental" backups will only take a few minutes each day.
    Your IT specialist / consultant will likely have other suggestions for you as well. The advice that we have offered here is meant to be general in nature and not specific to your particular needs.

  • Application Server file Accessing problem

    Hi all,
        In my program  i am writing data to the application server file ( temp.txt ) in Appending mode.
    I am having 1000 records to write. In the mean time ( while temp.txt have 200 records ) i am running the same program using same application server file ( temp.txt ) same client but different user. That time writting option for both programs are successfully done.
    But in my case i have to restrict the file writing at that time only one user.
    Is there any way to lock the application server file for particular user while writting.
    Thanks in Advance,
    Florian.
    Edited by: Florian Thiruselvan on Dec 22, 2008 6:51 AM

    Hi Kishan Singh,
          You are exactly write. Its working but i got some more problem in that.
          Importing Parameter
          VOLDIR_SET    TYPE   TXW_LOCK2-VOLDIR_SET
          VOLDIR_SET     TXW_VOLSET    CHAR     10     0     Data file directory set
    But the Data file directory set length is more than 10.
    What shall i do? do you have any idea please suggest me.
    Thanks
    Florian

  • Applet file access problem

    Hi, I am new to applets and I am trying to build an applet that needs input from other files on the server. How can I give my applet access to these files? I found some code with URLConnection, but I cannot seem to make it work. I am getting AppletNotLoaded appearing on the bottom of the webpage. Here is some of the URLConnection code, if anyone knows of mistakes in it:
    URL url;
    URLConnection urlConn;
         //DataInputStream     cfile;
         url = new URL(getCodeBase().toString() + "/R2Code/ourcode/data/"+filename+".con");
         urlConn = url.openConnection();
    urlConn.setDoInput(true);
    urlConn.setUseCaches(false);
    BufferedReader cfile = new BufferedReader(new InputStreamReader(urlConn.getInputStream()));
    //BufferedReader cfile = new BufferedReader(new FileReader (filename+".con"));
         cfile.readLine();
         StringTokenizer st = new StringTokenizer(cfile.readLine());
    I am trying to read in a text file, which has the ending ".con" if that concerned anyone. Any advice would be great, thanks.

    Here is the specific error from java console:
    load: class ProteinApplet3.class not found.
    java.lang.ClassNotFoundException: ProteinApplet3.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 10 more
    I am also getting errors saying that certain classes cannot be found, like point3f or anything from vecmath. Is there something to be done to fix this?
    It has to be finding the applet, just not loading it because its reading through the list of imports...

  • Troubleshooting file access problem

    using finder, going into a sub folder in my documents folder, finder blows up... disappears, no message, nothing, just goes away. If I go in via terminal, everything is there in the correct folder and accessible. I can even gently go in using finder and opening up the folder hierarchy clicking on the delta flags I can see the listing.
    this is a restored directory from time machine. I ran the disk utility to check permissions, that didn't seem to help. any suggestions?
    Thanks

    So Finder relaunches when you try to access a subfolder - or quits but fails to relaunch - but only on the documents folder? You might try looking at the system logs in console but first I'd do the basic thing and blame a corrupted .plist for Finder.
    I would then move the files out of the documents folder - since you can get at them in terminal - and try making a new folder. You might have to do it in parts, half and then half and if the second half crashes do that half by half, etc.
    I wonder if it's possible that some folder action has been attached to a subfolder and that script is crashing Finder. You might be able to see that in console logs.

  • Computer file access problem wrt54g

    i have a wrt54g hooked up to 2 computers  the the back computer can access the front one and use its printer but the front computer cannot access any thing on the back computer i have turned file and printer sharing on and still says i do not have permissio9n to access that computer. any help would be appriciated
    Message Edited by burkes on 09-16-2009 09:57 AM

    Make sure both the computer's are in the same workgroup...
    The default workgroup name in Windows Vista has been changed to WORKGROUP. In WindowsXP, the default workgroup name is MSHOME...
    Also go into the computer software firewall on each computer, and set it to "trust" the other computers on your network.
    If your firewall or PC security program keeps a list of trusted applications (also known as a "trusted zone"), then make sure that your router is in the trusted zone on your firewall...

  • Swing file access problem in browser

    I have created a applet program in swing. The output displays in browser(IE). In the applet, i put a JTextPane.
    1) Is there any way to open the local file ( html/ text) to the TextPane from the local file system.
    2) Is there any way to save the content which is typed in the JTextPane as a html or text file t o the local file system.
    Is this possible or not from a browser applet?
    if it possible, Pls give me an idea or examples.
    GOVARTHANAN

    you might create a jar-archive for your applet and include the html-file inside.
    so you should be able to load the file from inside the applet.
    hope it helps :-)

  • File access problem while using BULK INSERT

    I'm creating a script to automatically convert a large mess of data.  Here's a test query I was using to bring a file into the database:
    INSERT [ImportTestTable]
    SELECT a.*
    FROM
    OPENROWSET(
    BULK 'D:\TestFile.csv',
    FORMATFILE = 'D:\TestStyle.fmt',
    FIRSTROW = 2
    ) AS a;
    SELECT * FROM ImportTestTable
    I've used queries like this on other networks and machines before, but when I run that query on the particular machine I'm working with now, I get the following error:
    Msg 4861, Level 16, State 1, Line 13
    Cannot bulk load because the file "D:\TestFile.csv" could not be opened. Operating system error code 21
    (The device is not ready.).
    Here's some relevant facts I can think of that might help:
    I am running the query from SQL Server Management Studio on a remote machine running Windows 7 Ultimate.  I am connected to this server using SQL authentication.  I believe we are on the same domain / network.  I am not the DBA.  I do
    have the permission "Administer Bulk Operations" explicitly granted to me by the DBA.  The user I am currently logged in as in windows is capable of opening, editing, and saving the file in windows explorer.  The format file is a NON-XML
    format file.
    Any pointers as to where to look for more detailed information would be greatly appreciated!

    I know this is a little old by now, but this is what I used just this week:
    bulk insert [dbo].[Test_Table]
    from 'C:\Documents and Settings\rshuell\Desktop\Test_File.txt'
    WITH (
    FIELDTERMINATOR=',',
    ROWTERMINATOR = '\n',
    KEEPNULLS,
    FIRSTROW=2
    That worked fine for me.
    Of course, we Naomi stated, the file has to be ON THE SERVER.  Or, if you're using an FTP site, for instance, the path would have to point to the FTP site.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Constant file permission problems

    Hello out there..
    I'm currently trying to sort out a problem with - what I guess is my - file permissions.
    The problem reappears, even after a long disk repair session, where loads of issues are found and repaired.
    At the end it says everything is ok, but if I click repair again, it starts again , and even after restart, the problem is back again?!?!
    I've set my permission as follows, (to those of you who doesn't speak Danish - it's "read & write"), but it still says I have "special access"?
    Why? and what can I do to fix it..
    Please help me..
    Michael

    Michael Abel wrote:
    Hello out there..
    I'm currently trying to sort out a problem with - what I guess is my - file permissions.
    The problem reappears, even after a long disk repair session, where loads of issues are found and repaired.
    Disk Repair or Permission Repair?
    Long list from a Permission Repair that come back is normal. Nothing wrong. See http://support.apple.com/kb/ts1448
    Long lists of problems from a Disk Repair that keep coming back is bad news. Likely failing disk.
    Special Access means you have Access Control List entries set for the particular directory/file.
    Did you every change permissions and then "Apply to Enclosed?"
    Do you actually have file access problems, or are you just repairing permissions and think the long list indicates a problem?

  • Problem in compiling j2me file

    Hello friends,
    friends my problem in compiling j2me file..
    when i compile my j2me file through WTK2.2 (toolkit)
    then it creates extra file including j2me" .class" file..
    for example if my j2me file is "aman.java" and when i compile it
    then it will covert into "aman.class" file but it creates one more file like "aman1$.class" ..plz help me to get out of this problem..coz its increase my j2me file size..
    thanks
    Aman

    That is an inner class in aman.java that you are seeing there.
    If you use inner anonymous classes, for example;
    public class MyMIDlet extends MIDlet {
       // code for the MIDlet
       // Anonymous inner class
       setCommandListener(new CommandListener() {
          public void commandAction(Command c, Displayable d) {
            // implementation;
            // may access MyMIDlet's private fields
    }then the command listener you create will become another class named MyMIDlet$1.class.
    In this example you can get rid of the inner class by making one of the existing classes implement that CommandListener interface:
    public class MyMIDlet extends MIDlet implmements CommandListener {
       public void commandAction(Command c, Displayable d) {
         // implementation;
         // may access MyMIDlet's private fields
       // code for the MIDlet
       // Instead of the anonymous inner class, we can now use MyMIDlet since it
       // implements CommandListener
       setCommandListener(this);
       // etc. etc. etc.
    }shmoove

  • Problem with file access in other computer in jsp

    I have problem with file accessing in other computer in jsp.
    The follow code
    File folder=new File("Z:"+File.separator+"sharefolder");//Z is a net share driver
    File[] files=folder.listFiles();
    System.out.println("test");
    System.out.println("length="+files.length);
    will throw exception at the second print.
    but it works well in main funtion.
    Is anybody know what is the problem.
    JSP works on windows2003 server,tomcat 5.0.28 JDK1.4 net share folder on windows2000 server

    no error code for this.But when I start tomcat I get the follow error.
    java.lang.IllegalArgumentException: Document base Z:\ does not exist or is not a readable directory
         at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
         at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3910)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4138)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
         at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
         at org.apache.commons.digester.Rule.end(Rule.java:276)
         at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
         at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1567)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.core.StandardService.start(StandardService.java:480)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error in resourceStart()
    Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error getConfigured
    Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context startup failed due to previous errors
    Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
    SEVERE: Exception during cleanup after start failed
    LifecycleException: Container StandardContext[msgstore] has not been started
         at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4466)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
         at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
         at org.apache.commons.digester.Rule.end(Rule.java:276)
         at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
         at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1567)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.core.StandardService.start(StandardService.java:480)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)

  • File access/locking problems, most notably with AutoCAD

    A number of sporadic problems of AutoCAD users who've been working away
    suddenly not able to write to the file they've been working on. If
    multiple people try to use the same Xrefs, often some will get that the
    file is corrupted report by AutoCAD.
    What is reproducible is one of the Xref problems and it has given us a
    bit of a work around to keep working.
    To Reproduce:
    Start AutoCAD(2009), open a file with base(Xref)
    Save the base (no change needed) without closing, and refresh
    the base disappears from view, and when we look in the 'Xref Manager'
    we see that the Base has a status of 'Needs Recovery'. This applies
    even when multiple people had the Xref in read only view, that it is
    now unavailable, but when the full drawing is shut down and reopened
    by the one who had saved, the Xref is just fine.
    Autosave is not triggering the problem.
    This has been reproduced on the newest version of ACAD as well, just
    slightly different wording of errors.
    OES2 sp3 servers (in VMWare) with mostly XPsp3 clients but a few
    Windows 7 ones as well. The clients mostly have the newest clients
    installed, but there are some of the XP boxes with 4.91.4 still on
    them.
    Just migrated the main data volume from NetWare 6.5.8 to OES2 Linux and
    immediately started having the problem. 100% of file access is via
    NCP. no CIFS is configured, to the point we have cross-protocol-locks
    set to 0 (Zero, i.e. Off).
    I think I've been through every combination of file locking settings of
    server vs workstation without any apparent change.
    Still working out different tests to do to find what makes a
    difference.
    Observations that might just lead to clues toward the root cause:
    - On NetWare, if a user left files open over night, we could still see
    those being listed as opened in Monitor. Past history with these users
    is that there was always several showing as open every night even when
    we were sure they'd all been gone for hours. Now when we check the all
    the volumes late in the evening, they've been showing no files open.
    perhaps that is a clue to a problem in lock tracking.
    - While still at OES2 sp2, the pilot team kept giving vague
    descriptions of problems using ACAD against files on OES2, but those
    all went away after applying SP3, so after 2 months of one small group
    running ACAD against files stored on OES2-linux, we migrated the bulk
    of the data as the last volume from a failing NetWare 6.5.8 cluster
    (recreating SBDs was getting tiring).
    Andy Konecny
    KonecnyConsulting.ca in Toronto
    Andy's Profile: http://forums.novell.com/member.php?userid=75037

    Originally Posted by HvdHeuvel
    On Tue, 19 Jul 2011 14:19:33 +0000, Andy Konecny wrote:
    > In article <NvZTp.3150$[email protected]>, Hans van den
    > Heuvel wrote:
    >> This sounds as bug #691870
    >>
    > yup, it is, and that bug has actually been marked as a duplicate of
    > another and has been merged. The other related to opening and saving
    > PDF files, which we were also hitting as well. One user who had to
    > generate many PDFs off of a set of drawings was particularly nailed by
    > this.
    >
    > I have the FTF and applied it last night, just had to chase a few
    > stragglers to take a break to activate it since doing so does briefly
    > break links (reports/broadcasts as server 'down', but only for a
    > minute). The users are much happier this morning, got very nice
    > greetings as I arrived on-site. So far no sign of any other related
    > issues.
    Glad to hear that your (and our) customer's life became less complicated.
    Keep up doing the good work !
    Best regards
    Hans
    Hi Hans,
    i have just helped a customer to migrate their data from NW65SP8 to OES2SP3 and hit the same problem with the CAD group using AutoCAD 2004 on Windows XP with NC491SP3 + some Postpatches
    Do we have a release date for the next OES2 SP3 Scheduled Maintenace Patch?
    The last available is from May and has been apparently released the 31st of May.
    Do we have a chance to get the ftf in someway?
    Many thanks in advance and best regards,
    Stefano Barello
    LANworks AG - IT Engineering

  • Problem with default file access permission

    Hi,
    I am accessing a common area '/NFS_DATA' by both my java and oracle codes by the users 'javaUsr' and 'oraUsr' respectively.
    As per the requirement, the oracle code (oraUsr) needs to create some file in the specified location and then the java code (javaUsr) needs to update those files (created by oraUsr) with some new data.
    At present scenario the 'oraUsr' creates files with default access permission 644, which does not permit 'javaUsr' to update them.
    Constraints : I am not supposed to set umask at the .profile of 'oraUsr'.
         Execution of any shell script from oracle procedure is not permitted.
    Is it possible to specify file-system specific default file access permissions??
    Any idea to overcome this issue??

    Hi,
    I am accessing a common area '/NFS_DATA' by both my
    java and oracle codes by the users 'javaUsr'
    and 'oraUsr' respectively.
    As per the requirement, the oracle code
    (oraUsr) needs to create some file in the
    specified location and then the java code
    (javaUsr) needs to update those files (created
    by oraUsr) with some new data.
    At present scenario the 'oraUsr' creates files
    with default access permission 644, which does
    not permit 'javaUsr' to update them.
    Constraints : I am not supposed to set
    umask at the .profile of 'oraUsr'.
    Execution of any shell script from oracle
    oracle procedure is not permitted.
    Is it possible to specify file-system specific
    default file access permissions??
    Any idea to overcome this issue??You might like to try using File ACLs
    man setfacl(1)
    as oraUsr
    setfacl -s user:oraUsr:rw-,user:javaUsr:rwx,group::r--,other:---,mask:rwx file
    This way the oraUsr can not execute file
    but javausr can
    getfacl will show the ACL
    user::rw-
    user:javaUsr:rwx #effective:rwx
    group::rw- #effective:rw-
    mask:rwx
    other:---
    hope this helps a bit

Maybe you are looking for

  • Ipod touch 4th gen wont turn on or go into restore mode

    my 8g 4th generation touch died one day and now it wont turn on at all. ive tried charging it for about 45min and nothing. ive tried using laptops and wall chargers to turn it back on but nothing happens. i tried pressing the lock button and home but

  • What's the difference between MP3 and M4a?

    The "convert selecton to MP3" in itunes is giving me files labeled "M4a" What's the difference between the two?

  • Using Photoshop (v12.0.4) on a cloned disk isn't working.

    Using Photoshop (v12.0.4) on a cloned disk isn't working.  I've cloned (for years) my main hard drive to another for safety.  Recently my main drive shows signs of going bad and needs replacement.  When I boot to the cloned drive (no problem) I can't

  • Help! Lost data on my ancient, not synced Tungsten E

    My long-serving Tungsten E has been on it's last legs, and I finally pushed it too far.  It has not held a charge well for a while, but if it ever completely lost it's battery in the past it has always had the data still there when it powered back up

  • Search feature not working on os 10.8.4

    For some reason, I haven't been able to use the search feature in an open window since I upgraded to OS 10.8.4. To test it, I was looking at a file on my computer in that folder and typed in the name exactly, but the search feature returned zero resu