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

Similar Messages

  • 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

  • File encoding problem in solaris sparc

    hi there,
    I wrote a simple program to create a text file that with the content of japanese character that same way I wrote in Windows JP Platform.
    However, the encoding is different from what window, oracle(solaris sparc) does.
    this is very interesting that we view from oracle and its workd fine from Oracle which run on the same machine(solaris Sparc) .
    I believe I missed out some setting for the internationalization for JDK in solaris, but I'm not familiar with solaris. Hence, I would like to seek is there one of you came across this before? Please help.
    Here is the String.
    \u6771\u9999\u91CC\u5357\u753A�T�W�|�T�|�P�O�P
    Please note that 58-5-101 is double full width JP character.
    The main problem is the "-" encoding for solaris. It changed to '?'
    My env are,
    -jdk1.3.1_03
    -Solaris Sparc LANG=ja
    pls feel fre to ask for more information if you need further details.
    regards,
    elvis
    scjp

    I don't fully understand what you're asking for, but I wonder if this might help : the default encoding of a Solaris machine is probably EUC (In Windows, this is SJIS). So you'll probably have to read the file using the EUC encoding. Have a look at InputStreamReader(InputStream in, String enc) where you can set the encoding of the input stream.
    (Note that there is also a forum called 'Internationalization' at java.sun.com)

  • 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.

  • 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

  • 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?

  • Fix many web access problems with IFS 9.0.1 on Solaris (and other OS's)...

    When the installation is done according to the documentation,
    web access does not work because the scripts that add entries to
    the jserv.properties file add duplicate references to
    wrapper.env and wrapper.classpath. Look at the jserv.properties
    file below and look at the remarked-out (#) lines of the
    duplicate references. For example, look at the references to the
    wrapper.env=LD_LIBRARY_PATH
    Oracle, please note this bug so the web access problems are
    minimized when the product is intstalled.
    Thank you,
    William T.
    # Apache JServ Configuration
    File #
    ################################ W A R N I N G
    # Unlike normal Java properties, JServ configurations have some
    important
    # extensions:
    # 1) commas are used as token separators
    # 2) multiple definitions of the same key are concatenated in
    a
    # comma separated list.
    # Execution parameters
    # The Java Virtual Machine interpreter.
    # Syntax: wrapper.bin=[filename] (String)
    # Note: specify a full path if the interpreter is not visible in
    your path.
    wrapper.bin=/d3/Apache/jdk/bin/java
    # Arguments passed to Java interpreter (optional)
    # Syntax: wrapper.bin.parameters=[parameters] (String)
    # Default: NONE
    wrapper.bin.parameters=-Xms64m
    wrapper.bin.parameters=-Xmx128m
    # Apache JServ entry point class (should not be changed)
    # Syntax: wrapper.class=[classname] (String)
    # Default: "org.apache.jserv.JServ"
    # Arguments passed to main class after the properties filename
    (not used)
    # Syntax: wrapper.class.parameters=[parameters] (String)
    # Default: NONE
    # Note: currently not used
    # PATH environment value passed to the JVM
    # Syntax: wrapper.path=[path] (String)
    # Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
    # "c:\(windows-dir);c:\(windows-system-dir)" for Win32
    systems
    # Notes: if more than one line is supplied these will be
    concatenated using
    # ":" or ";" (depending wether Unix or Win32) characters
    # Under Win32 (windows-dir) and (windows-system-dir) will
    be
    # automatically evaluated to match your system
    requirements
    # CLASSPATH environment value passed to the JVM
    # Syntax: wrapper.classpath=[path] (String)
    # Default: NONE (Sun's JDK/JRE already have a default classpath)
    # Note: if more than one line is supplied these will be
    concatenated using
    # ":" or ";" (depending wether Unix or Win32) characters.
    JVM must be
    # able to find JSDK and JServ classes and any utility
    classes used by
    # your servlets.
    # Note: the classes you want to be automatically reloaded upon
    modification
    # MUST NOT be in this classpath or the classpath of the
    shell
    # you start the Apache from.
    wrapper.classpath=/d3/Apache/jdk/lib/tools.jar
    wrapper.classpath=/d3/Apache/Jserv/libexec/ApacheJServ.jar
    wrapper.classpath=/d3/Apache/Jsdk/lib/jsdk.jar
    # An environment name with value passed to the JVM
    # Syntax: wrapper.env=[name]=[value] (String)
    # Default: NONE on Unix Systems
    # SystemDrive and SystemRoot with appropriate values on
    Win32 systems
    wrapper.env=PATH=/d3/bin
    # An environment name with value copied from caller to Java
    Virtual Machine
    # Syntax: wrapper.env.copy=[name] (String)
    # Default: NONE
    # Uncomment the following lines to set the default locale and
    NLS_LANG
    # setting based on the environment variables.
    # wrapper.env.copy=LANG
    # wrapper.env.copy=NLS_LANG
    # Copies all environment from caller to Java Virtual Machine
    # Syntax: wrapper.env.copyall=true (boolean)
    # Default: false
    # Protocol used for signal handling
    # Syntax: wrapper.protocol=[name] (String)
    # Default: ajpv12
    # General parameters
    # Set the default IP address or hostname Apache JServ binds (or
    listens) to.
    # If you have a machine with multiple IP addresses, this address
    # will be the one used. If you set the value to localhost, it
    # will be resolved to the IP address configured for the locahost
    # on your system (generally this is 127.0.0.1). This feature is
    so
    # that one can have multiple instances of Apache JServ listening
    on
    # the same port number, but different IP addresses on the same
    machine.
    # Use bindaddress=* only if you know exactly what you are doing
    here,
    # as it could let JServ wide open to the internet.
    # You must understand that JServ has to answer only to Apache,
    and should not
    # be reachable by nobody but mod_jserv. So localhost is usually a
    # good option. The second best choice would be an internal
    network address
    # (protected by a firewall) if JServ is running on another
    machine than Apache.
    # Ask your network admin.
    # "*" may be used on boxes where some of the clients get
    connected using
    # "localhost"and others using another IP addr.
    # Syntax: bindaddress=[ipaddress] or [localhost] or [*]
    # Default: localhost
    bindaddress=localhost
    # Set the port Apache JServ listens to.
    # Syntax: port=[1024,65535] (int)
    # Default: 8007
    port=8007
    # Servlet Zones parameters
    # List of servlet zones Apache JServ manages
    # Syntax: zones=[servlet zone],[servlet zone]... (Comma
    separated list of String)
    # Default: NONE
    zones=root
    # Configuration file for each servlet zone (one per servlet zone)
    # Syntax: [servlet zone name as on the zones list].properties=
    [full path to configFile]
    (String)
    # Default: NONE
    # Note: if the file could not be opened, try using absolute
    paths.
    root.properties=/d3/Apache/Jserv/etc/zone.properties
    # Thread Pool parameters
    # Enables or disables the use of the thread pool.
    # Syntax: pool=true (boolean)
    # Default: false
    # WARNING: the pool has not been extensively tested and may
    generate
    deadlocks.
    # For this reason, we advise against using this code in
    production environments.
    pool=false
    # Indicates the number of idle threads that the pool may contain.
    # Syntax: pool.capacity=(int)>0
    # Default: 10
    # NOTE: depending on your system load, this number should be low
    for contantly
    # loaded servers and should be increased depending on load
    bursts.
    pool.capacity=10
    # Indicates the pool controller that should be used to control
    the
    # level of the recycled threads.
    # Syntax: pool.controller=[full class of controller] (String)
    # Default: org.apache.java.recycle.DefaultController
    # NOTE: it is safe to leave this unchanged unless special
    recycle behavior
    # is needed. Look at the "org.apache.java.recycle" package
    javadocs for more
    # info on other pool controllers and their behavior.
    pool.controller=org.apache.java.recycle.DefaultController
    # Security parameters
    # Enable/disable the execution of org.apache.jserv.JServ as a
    servlet.
    # This is disabled by default because it may give informations
    that should
    # be restricted.
    # Note that the execution of Apache JServ as a servlet is
    filtered by the web
    # server modules by default so that both sides should be enabled
    to let this
    # service work.
    # This service is useful for installation and configuration
    since it gives
    # feedback about the exact configurations Apache JServ is using,
    but it should
    # be disabled when both installation and configuration processes
    are done.
    # Syntax: security.selfservlet=true (boolean)
    # Default: false
    # WARNING: disable this in a production environment since may
    give reserved
    # information to untrusted users.
    security.selfservlet=true
    # Set the maximum number of socket connections Apache JServ may
    handle
    # simultaneously. Make sure your operating environment has
    enough file
    # descriptors to allow this number.
    # Syntax: security.maxConnections=(int)>1
    # Default: 50
    security.maxConnections=50
    # Backlog setting for very fine performance tunning of JServ.
    # Unless you are familiar to sockets leave this value commented
    out.
    # security.backlog=5
    # List of IP addresses allowed to connect to Apache JServ. This
    is a first
    # security filtering to reject possibly unsecure connections and
    avoid the
    # overhead of connection authentication.
    # <warning>
    # (please don't use the following one unless you know what you
    are doing :
    # security.allowedAddresses=DISABLED
    # allows connections on JServ'port from entire internet.)
    # You do need only to allow YOUR Apache to talk to JServ.
    # </warning>
    # Default: 127.0.0.1
    # Syntax: security.allowedAddresses=[IP address],[IP Address]...
    (Comma
    separated list of IP addresses)
    #security.allowedAddresses=127.0.0.1
    # Enable/disable connection authentication.
    # NOTE: unauthenticated connections are a little faster since
    authentication
    # handshake is not performed at connection creation.
    # WARNING: authentication is disabled by default because we
    believe that
    # connection restriction from all IP addresses but localhost
    reduces your
    # time to get Apache JServ to run. If you allow other addresses
    to connect and
    # you don't trust it, you should enable authentication to
    prevent untrusted
    # execution of your servlets. Beware: if authentication is
    disabled and the
    # IP address is allowed, everyone on that machine can execute
    your servlets!
    # Syntax: security.authentication=[true,false] (boolean)
    # Default: true
    security.authentication=false
    # Authentication secret key.
    # The secret key is passed as a file that must be kept secure
    and must
    # be exactly the same of those used by clients to authenticate
    themselves.
    # Syntax: security.secretKey=[secret key path and filename]
    (String)
    # Default: NONE
    # Note: if the file could not be opened, try using absolute
    paths.
    #security.secretKey=./etc/jserv.secret.key
    # Length of the randomly generated challenge string (in bytes)
    used to
    # authenticate connections. 5 is the lowest possible choice to
    force a safe
    # level of security and reduce connection creation overhead.
    # Syntax: security.challengeSize=(int)>5
    # Default: 5
    #security.challengeSize=5
    # Logging parameters
    # Enable/disable Apache JServ logging.
    # WARNING: logging is a very expensive operation in terms of
    performance. You
    # should reduced the generated log to a minumum or even disable
    it if fast
    # execution is an issue. Note that if all log channels (see
    below) are
    # enabled, the log may become really big since each servlet
    request may
    # generate many Kb of log. Some log channels are mainly for
    debugging
    # purposes and should be disabled in a production environment.
    # Syntax: log=[true,false] (boolean)
    # Default: true
    log=true
    # Set the name of the trace/log file. To avoid possible
    confusion about
    # the location of this file, an absolute pathname is recommended.
    # This log file is different than the log file that is in the
    # jserv.conf file. This is the log file for the Java portion of
    Apache
    # JServ.
    # On Unix, this file must have write permissions by the owner of
    the JVM
    # process. In other words, if you are running Apache JServ in
    manual mode
    # and Apache is running as user nobody, then the file must have
    its
    # permissions set so that that user can write to it.
    # Syntax: log.file=[log path and filename] (String)
    # Default: NONE
    # Note: if the file could not be opened, try using absolute
    paths.
    log.file=/d3/Apache/Jserv/logs/jserv.log
    # Enable the timestamp before the log message
    # Syntax: log.timestamp=[true,false] (boolean)
    # Default: true
    log.timestamp=true
    # Use the given string as a data format
    # (see java.text.SimpleDateFormat for the list of options)
    # Syntax: log.dateFormat=(String)
    # Default: [dd/MM/yyyy HH:mm:ss:SSS zz]
    log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
    # Since all the messages logged are processed by a thread
    running with
    # minimum priority, it's of vital importance that this thread
    gets a chance
    # to run once in a while. If it doesn't, the log queue overflow
    occurs,
    # usually resulting in the OutOfMemoryError.
    # To prevent this from happening, two parameters are used:
    log.queue.maxage
    # and log.queue.maxsize. The former defines the maximum time for
    the logged
    # message to stay in the queue, the latter defines maximum
    number of
    # messages in the queue.
    # If one of those conditions becomes true (age > maxage || size
    maxsize),# the log message stating that fact is generated and the log
    queue is
    # flushed in the separate thread.
    # If you ever see such a message, either your system doesn't
    live up to its
    # expectations or you have a runaway loop (probably, but not
    necessarily,
    # generating a lot of log messages).
    # WARNING: Default values are lousy, you probably want to tweak
    them and
    # report the results back to the development team.
    # Syntax: log.queue.maxage = [milliseconds]
    # Default: 5000
    log.queue.maxage = 5000
    # Syntax: log.queue.maxsize = [integer]
    # Default: 1000
    log.queue.maxsize = 1000
    # Enable/disable logging the channel name
    # Default: false
    # log.channel=false
    # Enable/disable channels, each logging different actions.
    # Syntax: log.channel.[channel name]=[true,false] (boolean)
    # Default: false
    # Info channel - quite a lot of informational messages
    # hopefully you don't need them under normal circumstances
    # log.channel.info=true
    # Servlets exception, i.e. exception caught during
    # servlet.service() processing are monitored here
    # you probably want to have this one switched on
    log.channel.servletException=true
    # JServ exception, caught internally in jserv
    # we suggest to leave it on
    log.channel.jservException=true
    # Warning channel, it catches all the important
    # messages that don't cause JServ to stop, leave it on
    log.channel.warning=true
    # Servlet log
    # All messages logged by servlets. Probably you want
    # this one to be switched on.
    log.channel.servletLog=true
    # Critical errors
    # Messages produced by critical events causing jserv to stop
    log.channel.critical=true
    # Debug channel
    # Only for internal debugging purposes
    # log.channel.debug=true
    #wrapper.classpath=/d3/ord/jlib/ordim.zip
    #wrapper.classpath=/d3/ord/jlib/ordhttp.zip
    # Oracle XSQL Servlet
    wrapper.classpath=/d3/lib/oraclexsql.jar
    # Oracle JDBC
    wrapper.classpath=/d3/jdbc/lib/classes12.zip
    # Oracle XML Parser V2 (with XSLT Engine)
    wrapper.classpath=/d3/lib/xmlparserv2.jar
    # Oracle XML SQL Components for Java
    wrapper.classpath=/d3/rdbms/jlib/xsu12.jar
    # XSQLConfig.xml File location
    wrapper.classpath=/d3/xdk/admin
    # Oracle BC4J
    wrapper.classpath=/d3/ord/jlib/ordim.zip
    wrapper.classpath=/d3/ord/jlib/ordvir.zip
    wrapper.classpath=/d3/ord/jlib/ordhttp.zip
    wrapper.classpath=/d3/BC4J/lib/jndi.jar
    wrapper.classpath=/d3/BC4J/lib/jbomt.zip
    wrapper.classpath=/d3/BC4J/lib/javax_ejb.zip
    wrapper.classpath=/d3/BC4J/lib/jdev-rt.jar
    wrapper.classpath=/d3/BC4J/lib/jbohtml.zip
    wrapper.classpath=/d3/BC4J/lib/jboremote.zip
    wrapper.classpath=/d3/BC4J/lib/jdev-cm.jar
    wrapper.classpath=/d3/BC4J/lib/jbodomorcl.zip
    wrapper.classpath=/d3/BC4J/lib/jboimdomains.zip
    wrapper.classpath=/d3/BC4J/lib/collections.jar
    wrapper.classpath=/d3/Apache/Apache/htdocs/onlineorders_html
    #wrapper.classpath=/d3/Apache/Apache/htdocs/OnlineOrders_html/Onl
    ineOrders.jar
    # The following classpath entries are necessary for EJBs to run
    in IAS or DB when
    present
    wrapper.classpath=/d3/lib/aurora_client.jar
    wrapper.classpath=/d3/lib/vbjorb.jar
    wrapper.classpath=/d3/lib/vbjapp.jar
    # Oracle Servlet
    wrapper.classpath=/d3/lib/servlet.jar
    # Oracle Java Server Pages
    wrapper.classpath=/d3/jsp/lib/ojsp.jar
    # Oracle Util
    wrapper.classpath=/d3/jsp/lib/ojsputil.jar
    # Oracle Java SQL
    wrapper.classpath=/d3/sqlj/lib/translator.zip
    # Oracle JDBC
    #wrapper.classpath=/d3/jdbc/lib/classes12.zip
    # SQLJ runtime
    wrapper.classpath=/d3/sqlj/lib/runtime12.zip
    # Oracle Messaging
    wrapper.classpath=/d3/rdbms/jlib/aqapi.jar
    wrapper.classpath=/d3/rdbms/jlib/jmscommon.jar
    # OJSP environment settings
    #wrapper.env=ORACLE_HOME=/d3
    # The next line should be modified to reflect the value of the
    SID for your
    webserver.
    #wrapper.env=ORACLE_SID=cmpdb
    #wrapper.env=LD_LIBRARY_PATH=/d3/lib
    ## Enable the flag below if you are using jdk 1.2.2_05a or above
    #wrapper.env=JAVA_COMPILER=NONE
    # Advanced Queuing - AQXML
    wrapper.classpath=/d3/rdbms/jlib/aqxml.jar
    #wrapper.classpath=/d3/rdbms/jlib/xsu12.jar
    #wrapper.classpath=/d3/lib/xmlparserv2.jar
    wrapper.classpath=/d3/lib/xschema.jar
    #wrapper.classpath=/d3/jlib/jndi.jar
    wrapper.classpath=/d3/jlib/jta.jar
    oemreporting.properties=/d3/Apache/Jserv/oemreporting/oemreportin
    g.properties
    zones = root, oemreporting
    wrapper.classpath=/d3/jlib/share-opt-1_1_9.zip
    wrapper.classpath=/d3/jlib/caboshare-opt-1_0_3.zip
    wrapper.classpath=/d3/jlib/marlin-opt-1_0_7.zip
    wrapper.classpath=/d3/jlib/tecate-opt-1_0_4.zip
    wrapper.classpath=/d3/jlib/ocelot-opt-1_0_2.zip
    wrapper.classpath=/d3/jlib/regexp.jar
    wrapper.classpath=/d3/jlib/sax2.jar
    #wrapper.classpath=/d3/jlib/servlet.jar
    wrapper.bin.parameters= -DORACLE_HOME=/d3
    #wrapper.env=LD_LIBRARY_PATH=/d3/lib32
    wrapper.env.copy=DISPLAY
    wrapper.bin.parameters=-DORACLE_HOME=/d3
    #wrapper.classpath=/d3/lib/vbjorb.jar
    #wrapper.classpath=/d3/lib/vbjapp.jar
    wrapper.classpath=/d3/classes/classesFromIDLVisi
    wrapper.classpath=/d3/jlib/swingall-1_1_1.jar
    wrapper.classpath=/d3/jlib/ewtcompat3_3_15.jar
    wrapper.classpath=/d3/jlib/ewt-3_3_18.jar
    wrapper.classpath=/d3/jlib/share-1_1_9.jar
    wrapper.classpath=/d3/jlib/help-3_2_9.jar
    wrapper.classpath=/d3/jlib/ice-5_06_3.jar
    wrapper.classpath=/d3/jdbc/lib/classes111.zip
    wrapper.classpath=/d3/classes
    wrapper.classpath=/d3/jlib/oembase-9_0_1.jar
    wrapper.classpath=/d3/jlib/oemtools-9_0_1.jar
    wrapper.classpath=/d3/jlib
    wrapper.classpath=/d3/jlib/javax-ssl-1_1.jar
    wrapper.classpath=/d3/jlib/jssl-1_1.jar
    wrapper.classpath=/d3/jlib/netcfg.jar
    wrapper.classpath=/d3/jlib/dbui-2_1_2.jar
    #wrapper.classpath=/d3/lib/aurora_client.jar
    #wrapper.classpath=/d3/lib/xmlparserv2.jar
    wrapper.classpath=/d3/network/jlib/netmgrm.jar
    wrapper.classpath=/d3/network/jlib/netmgr.jar
    wrapper.classpath=/d3/network/tools
    wrapper.classpath=/d3/jlib/kodiak-1_2_1.jar
    wrapper.classpath=/d3/sysman/jlib/netchart360.jar
    wrapper.classpath=/d3/jlib/pfjbean.jar
    wrapper.env=SHLIB_PATH=/d3/lib32
    wrapper.env=LIBPATH=/d3/lib32
    wrapper.classpath=/d3/ultrasearch/lib/isearch_midtier.jar
    wrapper.classpath=/d3/ultrasearch/lib/isearch_query.jar
    wrapper.classpath=/d3/ultrasearch/lib/jgl3.1.0.jar
    wrapper.classpath=/d3/lib/mail.jar
    wrapper.classpath=/d3/lib/activation.jar
    wrapper.classpath=/d3/ultrasearch/jsp/admin/config
    # Additions for iFS
    ## DO NOT REMOVE OR ALTER THE FOLLOWING LINE ....
    # iFS true
    # Uncomment if you want to use the same Jserv as other
    applications
    wrapper.classpath=/d3/9ifs/custom_classes
    wrapper.classpath=/d3/9ifs/settings
    wrapper.classpath=/d3/9ifs/lib/adk.jar
    wrapper.classpath=/d3/9ifs/lib/email.jar
    wrapper.classpath=/d3/9ifs/lib/http.jar
    wrapper.classpath=/d3/9ifs/lib/release.jar
    wrapper.classpath=/d3/9ifs/lib/repos.jar
    wrapper.classpath=/d3/9ifs/lib/utils.jar
    wrapper.classpath=/d3/9ifs/lib/webui.jar
    wrapper.classpath=/d3/9ifs/lib/provider.jar
    wrapper.classpath=/d3/jlib/javax-ssl-1_2.jar
    wrapper.classpath=/d3/jlib/jssl-1_2.jar
    wrapper.env=ORACLE_HOME=/d3
    wrapper.env=ORACLE_SID=cmpdb
    wrapper.env=LD_LIBRARY_PATH=/d3/lib:/d3/ctx/lib:/d3/lib32
    wrapper.env=NLS_LANG=.US7ASCII
    ## Additions for the iFS zone
    # Uncomment if you want to use the same Jserv as other
    applications
    zones=ifs
    ifs.properties=/d3/Apache/Jserv/etc/ifs.properties
    # End iFS section

    About your home page; Manually set up Firefox with the window(s) and tab(s)
    the way you want them to be. Then;
    '''''Firefox Options > General > Homepage'''''.
    Press the button labeled ''''Use Current'''.'
    =====================================
    Open a new window or tab. In the address bar, type '''''about:config'''''.
    If a warning screen comes up, press the '''''Be Careful''''' button.
    This is where Firefox finds information it needs to run.
    At the top of the screen is a search bar. Enter '''''browser.newtab.url'''''
    and press enter. '''''browser.newtab.url'''''
    tells Firefox what to show when a new tab is opened.
    If you want, right click and select '''''Modify'''''. You can change the
    setting to;<BR><BR>about:home (Firefox default home page),<BR>
    about:newtab (shows the sites most visited),<BR>
    about:blank (a blank page),<BR>
    or you can enter any web page you want.<BR><BR>
    The same instructions are used for the new window setting, listed as
    '''''browser.startup.homepage'''''.

  • 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

Maybe you are looking for

  • Error: installing Java Add-in for Central instance

    Dear experts, i've installed the SCS and the Java Add-in for DB successful. While trying to install the java add-in for the central instance i get the following error: An error occurred while processing service SAP NetWeaver 7.0 Support Release 3 > S

  • When I try to download itunes I get the error message "ITunes.Setup_exe file could not be downloaded  Please help

    I had ITunes installed  up n running last November.  Few weeks ago I started getting error messages and said to reinstall ITunes to fix the problem.  So I went to control panel and deleted all Apple related programs, quick time n Itunes and reinstall

  • In the classroom

    I'd like to hear from classroom teachers. How do you use your ipad, whether it be for actual lessons, classroom management, or meetings, etc. I teach middle school language arts, but I'd love to hear from any teachers at any level.

  • Firefox crashes opening PDF's

    All software is up to date, Norton scans indicate no viruses. Most of the time when I click on a link that opens a PDF if the browser Firefox crashes and an error report is generated.

  • Reading a mac picture CD on a PC

    I wish to transfer to a PC running windows XP a whole photo album, or rather a folder containing subfolders of photos. They are in various formats (PICT, jpeg, png). I put them in a CD and tried to view them on the PC, but most of the pics could not