File not found with jfilechooser

When I try to open a file with jfilechooser, nothing happens except in command line it says File not found, has anyone got any clues as to why it is doing this. The code I am using for the filechooser is directly below and then the code I am using to read the file is below that. Thanks for anyhelp.
if (e.getSource() == Open)
log = new JTextArea(5,20);
log.setMargin(new Insets(5,5,5,5));
log.setEditable(false);
JFileChooser fc = new JFileChooser();
int returnVal = fc.showOpenDialog(this);
if (returnVal == JFileChooser.APPROVE_OPTION) {
File file = fc.getSelectedFile();
File directory = file.getParentFile();
teststore.loadStoreFromSerialFile(file.getName());
log.append("Opening: " + file.getName() + "." + newline);
} else {
log.append("Open command cancelled by user." + newline);
log.setCaretPosition(log.getDocument().getLength());
public static CarStore loadStoreFromSerialFile(String fileName)
CarStore store = null;
try {
ObjectInputStream os = new ObjectInputStream(
new BufferedInputStream(new
FileInputStream(fileName)));
try {
Object obj = os.readObject();
if (obj instanceof CarStore) {
store = (CarStore) obj;
} finally {
os.close();
} catch (Exception ex) {
System.out.println("File not found");
return store;
}

Why are you changing your
File file = fc.getSelectedFile();into
file.getName()?
Simple use: [http://java.sun.com/j2se/1.4.2/docs/api/java/io/FileInputStream.html#FileInputStream(java.io.File)]

Similar Messages

  • Error 1308.Source file not found with 9.4.2 Admin Install point

    I'm including as much information in this post as possible to help narrow down my problem, so if it's too wordy I appologize.
    I've created an Admin install point for Acrobat 9 patching it up to Acrobat 9.4.2 using the following commands in a batch file:
    D:
    cd \Adobe\Acrobat\AcrobatPro9
    md \Adobe\Acrobat\AcrobatPro9AIP
    start /wait msiexec /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP /Liv D:\Adobe\Acrobat\AcrobatPro9AIP\install900.log /qn
    cd \Adobe\Acrobat\AcrobatPro9AIP
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcroProStdUpd910_T1T2_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install910.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd912_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install912.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd920_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install920.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd930_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install930.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd932_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install932.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd933_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install933.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd940_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install940.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd941_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install941.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd942_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install942.log /qn
    I rename the folder "AcrobatPro9AIP" to reflect the current version (e.g. "Acrobat9.4.2"), copy the folder to my DFS, create an MST with the Customization Wizard, and then deploy with Group Policy.
    Before I deploy I always run a few test installations on two Windows XP 32-bit machines, and two Windows 7 64-bit workstations. I've been using this method to build my install point for the last 5 Adobe patches without a problem, but suddenly with version 9.4.2 my test workstations pop up with the following error during the installation via the standard installation method "msiexec /i acropro.msi TRANSFORMS=acropro.mst":
    I built my installation package for acrobat9.4.1, 9.4.0 and 9.3.3 exactly the same way and the installations did not have this error. The file in question "Adobe.Acrobat.Dependencies.manifest" does not exist in my 9.4.1, or 9.4.0 package folders, nor does it exist in the 9.4.2 folder. Any suggestions?

    I am having the same problem, all the relevant info was already covered in the "thewaker" post above.   I too have made a script to make a Admin install with patches up to 9.4.2.  The script worked for 9.3.3 but when I remade the AdobeAIP for 9.4.2, I too got this error when installing it, even manually.  (Error 1308.Source file not found.  Adobe.Acrobat.Dependencies.manifest ) Running on Windows 7 32bit.
    Here is my Script.
    C:
    cd\AcroBatPro9
    md \AcrobatPro9AIP
    start /wait msiexec /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP /Liv c:\AcrobatPro9AIP\install900.log /qn
    cd \AcrobatPro9AIP
    start /wait msiexec /p c:\AcrobatPro9\AcroProStdUpd910_T1T2_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install910.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd912_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install912.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd920_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install920.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd930_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install930.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd932_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install932.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd933_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install933.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd940_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install940.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd942_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install942.log /qn
    I did notice though that the "thewaker" has added AcrobatUpd941_all_incr.msp to his script, which is a security update. Which may be "a" problem, but I don’t think this is related to the problem we are having.
    Administrative deployment
    Administration Installation Point (AIP) deployments must not apply a quarterly update AIP in which a security update was the most recently applied update. Because a quarterly update includes the changes implemented in all recent security updates, the quarterly update forcibly bypasses those updates entirely. To deploy a quarterly update from an AIP, create a AIP which includes only quarterly updates as follows:
        Acceptable:      Acrobat 9.0.0 -> 9.1.0 (Quarterly) -> 9.1.2 (Quarterly) -> 9.2.0 (Quarterly) -> 9.3.0 (Quarterly) -> 9.3.2 (Quarterly) -> 9.3.3 (Quarterly) ->  9.4.0 (Quarterly) -> 9.4.1 (Security)
        Acceptable:      Acrobat 9.0.0 -> 9.1.0 (Quarterly) -> 9.1.2 (Quarterly) -> 9.2.0 (Quarterly) -> 9.3.0 (Quarterly) -> 9.3.2 (Quarterly) -> 9.3.3 (Quarterly) -> 9.4.0 (Quarterly) -> 9.4.2 (Quarterly)
        Unacceptable:  Acrobat 9.0.0 -> 9.1.0 (Quarterly) -> 9.1.2 (Quarterly) -> 9.2.0 (Quarterly) -> 9.3.0 (Quarterly) -> 9.3.2 (Quarterly) -> 9.3.3 (Quarterly) -> 9.4.0 (Quarterly) -> 9.4.1 (Security) -> 9.4.2 (Quarterly)
    Anyway.. Any help with this would be helpful as I would like to deploy it soon.
    Thanks.

  • "File not found" with CF 8 Developer Edition

    Hello
    I just installed CF 8 Developer Edition on a Windows XP Pro machine. CF Admin works well, so I know the CF server itself works. But whenever I try to run any of my own .cfm files from localhost or 127.0.0.1 it gives me a "file not found" error. Not sure what's going on.
    Thanks
    Khaled

    How did you install ColdFusion?  What web server are you using?  What operating system? There are several possible combonations where ColdFusion looks for files and how one accesses them with a browser.
    Depending on the choices you made during installation you could need to be using port 80, 8300 or 8500.As well as, your web files could need to be in c:\\inetpub\wwwroot\, /var/www, \Apache22\htdocs, c:\\Jrun4\servers\cfusion\cfusion-ear\cfusion-war\ or many other possibilites.

  • HTTP 404 - File not found with frames

    Hi,
    I am using a frameset that has 3 frames. The frameset happened to be my home page. The problem is this frameset comes up with HTTP 404 - File not found in place of all the other three frames. Below is a code snippet from my jsp. What should I do? Urgent help appreciated.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <frameset rows="109,*" cols="*" framespacing="10" frameborder="yes" border="10" bordercolor="#CC0000">
    <frame src="logo.jsp" name="topFrame" scrolling="NO" noresize >
    <frameset rows="*" cols="161,*" framespacing="10" frameborder="yes" border="10" bordercolor="#CC0000">
    <frame src="navBar.jsp" name="leftFrame" scrolling="NO" noresize>
    <frame src="home.jsp" name="mainFrame">
    </frameset>
    </frameset>
    <noframes><body>
    </body></noframes>
    </html>

    What is the url you use to access the frameset?
    Are the logo.jsp navBar.jsp and home.jsp in the same folder as the frameset?
    Do you use any server side forwards to change the URL?
    Because you are using relative urls to load the pages, it will look for those pages in the folder that you requested in your initial URL. It will not take into account any serverside forwarding (the browser knows nothing of these)

  • Files not found with ls -a -l

    I'm trying to write a BASH script for ripping DVDs with ffmpeg that we've been making at work for decades.  I can see all of the VOB files in finder, and when I use ls in terminal.  But when I use ls -a -l, files 2, 3, and 5 are listed as not found.  Using test -f in the BASH script gives similar results.
    Just tried using Ubuntu in VirtualBox.  ls -a -l lists all files.  Weird.
    Any thoughts?

    I'm not able to add anything here, but would like to see,
    (if in that directory) what does
    ls -al VTS_01_2.VOB
    produce?
    added...
    or what about,
    file (set the path to ) VTS_01_2.VOB
    just to see if can read that old millenium file.
    Message was appended by: roam

  • Firefox will only show the google home page or a File not Found error, no matter which site I try to go to

    Ever since 3.64.4 was installed, Firefox opens in my default homepage but whenver I try to navigate anywhere else, it goes to http://www.google.fr/ (I live in France, therefore the .fr) OR it says Error 404 File not Found with the Google logo. Also the google logo shows up beside lots of my bookmarks though they are not google websites.
    The same thing happens when opening in Safe Mode, and after installing the Adobe Flash 10.1 plugin.
    I've used Firefox for years and never had a problem.
    == This happened ==
    Every time Firefox opened
    == Installed 3.64.4 ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Creative ZENcast v1.02.10)

    You can check the connection settings in Tools > Options > Advanced : Network : Connection
    See "Firefox connection settings":
    * https://support.mozilla.com/kb/Firefox+cannot+load+websites+but+other+programs+can
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    * https://support.mozilla.com/kb/Server+not+found
    * https://support.mozilla.com/kb/Firewalls
    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    <br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • 404 File not Found error trying servlet under https

    Hi,
    This is the first time that I've had to work with SSL. I have a servlet that worked fine under regular http. I had to implement SSL and run my site over https. When I try to access my servlet under HTTPS, I get the 404 File not found error. Is there something that I need to setup for servlets to run under SSL in apache or server.xml? or Do I need to modify my JSP and Servlet code?
    I call my servlet from my JSP on the action method of the form like such:
    * JSP call to servlet
    <form action="https://www.benefitserver.com:8081/FDFServlet" method="post">
    * Servlet code
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.net.ssl.*;
    import java.io.*;
    import java.util.*;
    import com.yoursummit.benefitserver.*;
    import com.adobe.fdf.*;
    import com.adobe.fdf.exceptions.*;
    public class FDFServlet extends HttpServlet
    private static final String CONTENT_TYPE = "text/html";
    private String fileout = "";
    //Initialize global variables
    public void init() throws ServletException
    System.setProperty("java.protocol.handler.pkgs","sun.net.ssl.internal.www.protocol");
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    //Process the HTTP Get request
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    doPost( request, response);
    //Process the HTTP Post request
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    String planID = request.getParameter("planID");
    String empID = request.getParameter("empID");
    HttpSession session = request.getSession();
              try {
                   FDFDoc outputFDF = null;
                   /* Create a new FDF. */
                   outputFDF = new FDFDoc();
    // Set the form fields with values from the database
    if ( planID.equalsIgnoreCase("31") )
    formDeltaPopulation formDP = new formDeltaPopulation();
    fileout = formDP.populateDeltaForm( outputFDF, planID, empID, request );
    if (planID.equalsIgnoreCase("29") )
    formUnicarePopulation formUC = new formUnicarePopulation();
    fileout = formUC.populateUnicareForm( outputFDF, planID, empID, request );
    if (planID.equalsIgnoreCase("30") || planID.equalsIgnoreCase("32") || planID.equalsIgnoreCase("33") || planID.equalsIgnoreCase("34") || planID.equalsIgnoreCase("35"))
    formSunLifePopulation formSL = new formSunLifePopulation();
    fileout = formSL.populateSunLifeForm( outputFDF, planID, empID, request );
    response.sendRedirect(com.yoursummit.utils.urlRewrite.getServletURL(request,"emp_main.jsp?empID=" + empID));
    } catch(FDFException fdfe) {
    /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught FDF exception");
    out.println(fdfe.toString());
    fdfe.printStackTrace(out);
    IOException e = new IOException ( fdfe.getMessage() );
    throw e;
    catch(IOException ioe) {
         /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught FDF exception");
    out.println(ioe.toString());
    ioe.printStackTrace(out);
    throw ioe;
    catch(Exception e) {
    /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught tomcatDB exception");
    out.println(e.toString());
    e.printStackTrace(out);
    IOException ioe = new IOException ( e.getMessage() );
    throw ioe;
    //Clean up resources
    public void destroy()
    }

    I have been told that there is problem with my configuration of Tomcat. I have followed the documentation found at
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
    and it doesn't work. I have been working on this for a week now and can't seem to get it to work. Can someone please take a look at it and tell me what I am doing wrong? THANKS!
    I get "HTTP 404 - File not Found" with the URL https://www.benefitserver.com/FDFServlet
    I get "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request" with the URL https://www.benefitserver.com/servlet/FDFServlet
    I've looked at the log files for Apache and I don't see any errors listed. No errors logged in the Tomcat log file either.
    * httpd.conf
    ## Include line for mod_jk.so (Jakarta-Tomcat installation)
    #Include /usr/home/summimps/usr/local/jakarta/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto
    LoadModule jk_module libexec/mod_jk.so
    AddModule mod_jk.c
    JkWorkersFile /usr/home/summimps/usr/tomcat4.1.24/conf/worker.properties
    JkLogFile /usr/home/summimps/var/log/mod_jk.log
    JkLogLevel info
    #JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    #JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
    #JkRequestLogFormat "%w %V %T"
    JkMount /*.jsp benefitserver
    JkMount /solarc/*.jsp benefitserver
    JkMount /servlet/* ajp13
    JkMount /solarc/servlet/* ajp13
    # Should mod_jk send SSL information to Tomcat (default is On)
    #JkExtractSSL On
    # What is the indicator for SSL (default is HTTPS)
    JkHTTPSIndicator HTTPS
    # What is the indicator for SSL session (default is SSL_SESSION_ID)
    JkSESSIONIndicator SSL_SESSION_ID
    # What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
    JkCIPHERIndicator SSL_CIPHER
    # What is the indicator for the client SSL certificated (default is SSL_CLIENT_CERT)
    JkCERTSIndicator SSL_CLIENT_CERT
    <Directory />
    AllowOverride None
    </Directory>
    <Directory "/usr/tomcat4.1.24/webapps/ROOT">
      Options Indexes
      <IfDefine SSL>
        SSLRequireSSL
        SSLOptions +StdEnvVars +ExportCertData +StrictRequire
        SSLVerifyClient require
        SSLVerifyDepth 1
      </IfDefine>
    </Directory>
    <VirtualHost benefitserver.com www.benefitserver.com>
    SSLRequireSSL
    ServerName benefitserver.com
    ServerAdmin [email protected]
    DocumentRoot /usr/local/etc/httpd/htdocs/benefitserver
    TransferLog /usr/local/etc/httpd/logs/bsAccess_log
    ErrorLog /usr/local/etc/httpd/logs/bsError_log
    </VirtualHost>
    * server.xml
    <?xml version='1.0' encoding='utf-8'?>
    <Server className="org.apache.catalina.core.StandardServer" debug="0" port="8006" shutdown="SHUTDOWN">
      <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" debug="0" jsr77Names="false"/>
      <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" debug="0"/>
      <GlobalNamingResources>
      </GlobalNamingResources>
      <Service className="org.apache.catalina.core.StandardService" debug="0" name="Tomcat-Standalone">
        <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    redirectPort="8443" bufferSize="2048" port="8081" connectionTimeout="20000" scheme="https" enableLookups="true" secure="true" protocolHandlerClassName="org.apache.coyote.http11.Http11Protocol" debug="0" disableUploadTimeout="true" maxKeepAliveRequests="100" proxyPort="0" tcpNoDelay="true" minProcessors="5" maxProcessors="75" acceptCount="100" useURIValidationHack="false" connectionLinger="-1" compression="off">
          <Factory className="org.apache.catalina.net.SSLServerSocketFactory" keystoreFile="//.keystore" keystoreType="JKS" algorithm="SunX509" clientAuth="false" protocol="TLS"/>
        </Connector>
        <Engine className="org.apache.catalina.core.StandardEngine" mapperClass="org.apache.catalina.core.StandardEngineMapper" debug="0" defaultHost="localhost" name="Standalone">
          <Host className="org.apache.catalina.core.StandardHost" appBase="webapps" liveDeploy="true" mapperClass="org.apache.catalina.core.StandardHostMapper" autoDeploy="true" configClass="org.apache.catalina.startup.ContextConfig" errorReportValveClass="org.apache.catalina.valves.ErrorReportValve" debug="9" deployXML="true" contextClass="org.apache.catalina.core.StandardContext" unpackWARs="true" name="localhost">
            <Context className="org.apache.catalina.core.StandardContext" crossContext="false" reloadable="false" mapperClass="org.apache.catalina.core.StandardContextMapper" useNaming="true" debug="0" swallowOutput="false" privileged="false" displayName="Welcome to Tomcat" wrapperClass="org.apache.catalina.core.StandardWrapper" docBase="/usr/tomcat4.1.24/webapps/ROOT" cookies="true" path="" cachingAllowed="true" charsetMapperClass="org.apache.catalina.util.CharsetMapper">
              <Environment name="uploadUrl" override="true" type="java.lang.String" description="URL to display uploaded file in Benefit Server" value="http://www.benefitserver.com:8081/bsup"/>
              <Environment name="exportPath" override="true" type="java.lang.String" description="Export Path for Benefit Server Export Utility" value="/usr/tomcat4.1.24/webapps/ROOT/bsex"/>
              <Environment name="uploadPath" override="true" type="java.lang.String" description="Upload Path for Benefit Server" value="/usr/tomcat4.1.24/webapps/ROOT/bsup/"/>
              <Environment name="tempPath" override="true" type="java.lang.String" description="Temporary Directory for File Upload in Benefit Server - Developm" value="/usr/home/summimps/tmp/benefitserver"/>
              <Resource name="BS_Data" type="javax.sql.DataSource" scope="Shareable"/>
              <ResourceParams name="BS_Mail">
                <parameter>
                  <name>mail.smtp.host</name>
                  <value>localhost</value>
                </parameter>
              </ResourceParams>
              <ResourceParams name="BS_Data">
                <parameter>
                  <name>url</name>
                  <value>jdbc:mysql://localhost/BS_Data</value>
                </parameter>
                <parameter>
                  <name>password</name>
                  <value>kdsusa1350</value>
                </parameter>
                <parameter>
                  <name>maxActive</name>
                  <value>50</value>
                </parameter>
                <parameter>
                  <name>maxWait</name>
                  <value>5000</value>
                </parameter>
                <parameter>
                  <name>driverClassName</name>
                  <value>com.mysql.jdbc.Driver</value>
                </parameter>
                <parameter>
                  <name>username</name>
                  <value>summimps</value>
                </parameter>
                <parameter>
                  <name>maxIdle</name>
                  <value>5</value>
                </parameter>
              </ResourceParams>
            </Context>
            <Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="localhost_log." directory="logs" timestamp="true" suffix=".txt"/>
          </Host>
          <Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="catalina_log." directory="logs" timestamp="true" suffix=".txt"/>
          <Realm className="org.apache.catalina.realm.UserDatabaseRealm" debug="0" resourceName="UserDatabase" validate="true"/>
        </Engine>
      </Service>
    </Server>
    * web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
           <servlet>
                 <servlet-name>FDFServlet</servlet-name>
                 <servlet-class>FDFServlet</servlet-class>
           </servlet>
           <servlet-mapping>
                <servlet-name>FDFServlet</servlet-name>
                <url-pattern>/FDFServlet</url-pattern>
           </servlet-mapping>
    </web-app>

  • Problem with Vision Builder and LabView: Error -1074395995, File not found

    I have created an inspection with Vision Builder AI 2009 SP1. In it I load some pictures from the HDD and run some checks over it. It works fine. Then I have migrated it to LabView 2010, I get a message that the migration is successfull, but when I run the VI on LabView I get a fail status. I have been checking my program and I have found and error when I try to load the picture from file: Error -1074395995 occurred at IMAQ ReadImageAndVisionInfo
    Possible reason(s): IMAQ Vision:  File not found.
    But I am not sure which file it refers to. At first I thought it was the picture I wanted to load, but I have checked the path and it is correct, so maybe it refers to another thing. What puzzles me most is that it works perfectly on Vision Builder and I have changed nothing in LabView, maybe it is a problem with the migration. Any clues?

    Here's a screenshot of what I'm talking about. Put a break point here and see what the path is and compare that with what Vision Builder AI is using (described where to find this in the previous post). You could find where this global is used to make debugging easier.
    Hope this helps,
    Brad
    Attachments:
    Generated Code.png ‏43 KB

  • HTTP 404 File not Found running a page created with the wizard

    Hi all,
    I created a page "tabular form" with the wizard to delete and update records in a table.
    All pages of the application are ok. Only this page, when refresh after click on the "delete" or "submit" button send the message "HTTP 404 - File not found".
    OS - Windows XP
    DB - 10.1.0.4
    HTMLDB 2.0
    any idea?
    thanks in advance.

    Hi Scott,
    this is the error.log
    [Fri Oct 06 11:39:41 2006] [error] [client 10.20.101.243] [ecid: 1160127581:10.20.101.243:3860:2904:21,0] mod_plsql: /pls/htmldb/wwv_flow.accept HTTP-404
    wwv_flow.accept: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: F51,F52,F53,F54,F55,F56,F57,F58,F59
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
    This is my first application with htmldb and i don't understand where is the error because i don't added parameter after the wizard creation. I just created the page and run. If this page start the first time when is called from another page, why after refresh fail?
    thanks, Fabio

  • File Not Found bug with long audio file names?

    Hello -
    Crazy problem. I'll probably post way too much information, but I want to make sure I cover everything. Help!
    We run Logic Studio/Logic 8 on multiple 10.4.10/11 computers - G5 Power PC, new intel iMac, intel mini, G4 laptops. We are working on an audio post job using very messy OMFs that were prepared in Final Cut. We had problems opening them in Logic, so we opened the OMFs in Soundtrack Pro, exported to AAFs, and opened those in Logic.
    The sessions look fine in Logic now (all files relinked), and the session is consolidated - ie, all files are local/in the project folder's Audio Files folder. I see this in the Audio Bin and can confirm in the finder.
    Here's the problem. With the sessions closed:
    (A) I renamed the project folder by adding an asterix to the front of the folder name, and changed the color label of the folder in the finder in order to mark it as the original folder.
    (B) I made a copy of the whole folder (session files & audio files) in order to have something to work from and not mess up the original. When I opened up the session in the new folder, it immediately said audio file not found, do you want to search, locate, or skip. It couldn't find the file in a search, and obviously when you skip, then skip, then skip all, it opens the session with the data (regions are there but grayed) - so all the audio files are orphaned.
    So when I try to locate the file, here's what happens. . . The audio file names are really horrendously long (must be some artifact of working in Final Cut). We're talking: "1087-001A SERG AIRPORT WAITING * 1-1channel_00044D02AA9- 363A-4CC5-A86B-0741023DB062.aif" - one bazillion characters.
    So the audio file locate dialog box truncates the name of the file that's missing by using the first 20 characters or so, and then a "#" character, and then some random string of 3-6 characters that is not at all related to the file name. So who knows which of the 4-30 SERG AIRPORT files is supposed to go there!
    Obviously if this were a 2 minute session file of 10 files or something, we could figure it out and relink everything, but we're talking about a feature-length session with a bazillion files.
    (C) Okay, so I tried to open the original session, in the folder that I had renamed by prefacing the original name with an * and changing the color of the folder. But I started to get the file not found errors. OH GEEZ. So I didn't save. I re-renamed the folder by taking out the * and changing the color label back. Then I tried to open the session again, but I still kept getting the file not found problem.
    I have to stress that I didn't move any of the audio files, or change ANYTHING in the session.
    So I thought - is all of this because I tried to open a new instance of the session, in a new instance of the folder? Is it because I renamed the folders? Normally you can rename folders, even session names, no problems, and Logic corrects the paths to the audio files!
    (D) So, crap. I reopened the original AAF file in logic and saved it in a new place. I closed the file, reopened it, closed, reopened, just to make sure everything was working! I checked the location of the files in the audio bin, and everything was great.
    (E) So now I copied the folders to an external hard drive to be able to work on another computer. But when I tried to open the sessions on a new computer. . . You guessed it, nada.
    So. . . the questions are:
    (1) Those original sessions that now will not work - is there anything I can do to recover their functionality? We had work in there that I would prefer not to lose. . .
    (2) Is this a known bug having to do with the length of the Audio File names?
    (3) How do we get over this? My only idea so far is we could select all in a working logic session and say "Audio Tracks names to regions" or something and will that change the actual file names on teh computer? Then hopefully things would work on mulitple systems. . .
    Okay. HELP! Thanks!
    Polly

    OK I got it.
    It is necessary to use prefix "file:///" before file name.
    Thanx everyway.

  • Problems with cached previews and File Not Found errors in preview and build

    I am having serious issues with Encore CS5.
    When I try and build a preview or disk/image I am getting File Not Found errors. I have emptied the media cache in the preferences but my project still seems to be referencing previously cached files or rendered menus. Is there any way to manually delete previous previews or the cache. I know that there are no missing files in my project. Any help would be very much appreciated.
    I am running Mac OS 10.6.4 and Encore 5.0

    To fix your locales, see http://wiki.archlinux.org/index.php/Configuring_locales -- in specific, you'll need to uncomment the en_US.utf8 locale at least, since that's the one that's specified in your rc.conf

  • My iPad2 cannot synchronize with iPhoto on my Mac, error message "...cannot synchronize.  File not found"

    Have upgraded my iPad to an iPad 2. When synchronizing with my iPhoto Library (8500 photos) on my MacBook I get an error message saying "...cannot synchronize. File not found" (transalted from swedish). It works well with my iPad. I restored the iPad2 tand began from scratch but the problem reocurred.

    i have similar problem too.  it seems the problem is from iphoto 08.
    i have two ipad 2-
    ipad A:
    new ipad with new sync with 6 photo album with iphoto, error occurred.
    restored iOS to 4.3.3, problem still exist.
    ipad B:
    synced 6 photo album with iphoto no problem for a long time.
    tried to de-select album 1 and synced, no problem...
    then re-select album 1 and synced, error message occurred.
    my solution:
    copy album 1's photo to desktop, then copy the desktop photo back to iphoto album folder...after that, i can sync back album 1 to my ipad. 
    i have no idea why iphoto has such problem on some of my photo albums =(
    Do anyone have a more clever solution?

  • Quicktime would fail to write/export to server windows share with "Error -43: file not found" errors

    Summary:
    With the combination of Windows 7 and Quicktime 7.x, Quicktime would fail to write/export to server windows share with "Couldn't create output movie storage" and "Error -43: file not found" errors
    Steps to Reproduce:
    Trying to render to Quicktime files using network shared folders as a destination:
    Unable to open file. (-1610153459)
    The funny thing: it only happens when there are at least two shared folders mapped on the workstation, and the destination folder used for the rendered movie is not the first one.
    If we have only two mapped drives, F: and G: for example, and we try to render something to F:, everything works fine and no error is showed. But, when the destination is the G: drive, rendering never works, the error is showed, but a zero-byte file is created in F: (!!). ODD! If we remap F: drive with a different letter, but a letter BEFORE G:, the problem always happens. If we remap drive F: to any letter AFTER G:, making G: the first available network drive, rendering works. Also, simply unmapping F: and leaving G: as the only connected network folder makes render to work.
    We do not have a D: drive in our Windows 7 workstations, they are all C: only.
    It is a 100% reproducible problem. We tried with three different Active Directory networks and workstations. It has all of the features of a software bug.
    Any help would be appreciated.
    Cheers!
    Expected Results:
    Error -43: file not found
    Actual Results:
    The workaround seems to be to use the full path to the servers instead of the mapped mount point (ie //server/z/... instead of Z:/...
    Regression:
    All versions of quicktime 7 in combination with windows 7 client and more than one smb share point mapped in a letter.
    Notes:
    All software that uses quicktime movie exports showed this error.

    Not sure what file your are referencing?  Thanks for your suggestion, however, it's not relavant.
    It renders fine if you render to either the UNC path or the first mapped drive.
    i.e. If you have two mapped drives G: and H:
    they both point to \\fileserver\share1\folder
    If you render to H: it will fail, if you render to G: it works!  Same path, same user, same permissions.
    The only difference is H comes after G, so it fails... BUG.  If it was to do with anything else, underscores, permissions etc, it would fail on both.

  • ISE upgrade failing with "% Manifest file not found in the bundle"

    Hello
    I am trying to upgrade a brand new ISE 3395 from 1.0.3.337 to 1.0.4 (latest).  It keeps failing with
    % Manifest file not found in the bundle
    Here is the output:
    company-ise-01/admin# application upgrade ise-appbundle-1.0.4.573.i386.tar.gpg ftp
    Save the current ADE-OS running configuration? (yes/no) [yes] ?
    Generating configuration...
    Saved the ADE-OS running configuration to startup successfully
    Initiating Application Upgrade...
    % Manifest file not found in the bundle
    fusd-ise-01/admin# sh application version ise
    Cisco Identity Services Engine
    Version      : 1.0.3.377
    Build Date   : Fri May  6 19:30:37 2011
    Install Date : Wed Oct 12 22:18:26 2011
    I can't find anything about this for ISE, although there are a lot of topics for the same error for ACS.  Thanks in advance.
    Saro

    Same problem with 1.1.2 and 1.1.1 patch 5:
    ISEcdemo/admin# sh ver
    Cisco Application Deployment Engine OS Release: 2.0
    ADE-OS Build Version: 2.0.4.018
    ADE-OS System Architecture: i386
    Copyright (c) 2005-2011 by Cisco Systems, Inc.
    All rights reserved.
    Hostname: ISEcdemo
    Version information of installed applications
    Cisco Identity Services Engine
    Version      : 1.1.1.268
    Build Date   : Mon Jun 25 05:49:23 2012
    Install Date : Wed Sep 12 09:12:53 2012
    Cisco Identity Services Engine Patch
    Version      : 1
    Install Date : Wed Sep 12 10:01:22 2012
    Cisco Identity Services Engine Patch
    Version      : 2
    Install Date : Wed Sep 12 13:10:36 2012
    Cisco Identity Services Engine Patch
    Version      : 3
    Install Date : Tue Nov 27 12:33:19 2012
    Cisco Identity Services Engine Patch
    Version      : 4
    Install Date : Tue Nov 27 12:52:50 2012
    ISEcdemo/admin# patch install ise-patchbundle-1.1.1.268-5-68046.i386.tar.gz my2
    Save the current ADE-OS running configuration? (yes/no) [yes] ? yes
    Generating configuration...
    Saved the ADE-OS running configuration to startup successfully
    Initiating Application Patch installation...
    % Manifest file not found in the bundle
    ISEcdemo/admin#
    ISEcdemo/admin# application upgrade ise-appbundle-1.1.2.145.i386.tar.gz my2
    Save the current ADE-OS running configuration? (yes/no) [yes] ? yes
    Generating configuration...
    Saved the ADE-OS running configuration to startup successfully
    Initiating Application Upgrade...
    % Manifest file not found in the bundle
    Can someone verify the downloaded file details? They are different from cisco.com values:
    -bash-4.1$ /usr/bin/md5sum.exe /cygdrive/c/munka-unenc/tftp/ise-appbundle-1.1.2.145.i386.tar.gz
    2aa9b75ef5d7c1662a1a51844f178b77 */cygdrive/c/munka-unenc/tftp/ise-appbundle-1.1.2.145.i386.tar.gz
    -bash-4.1$ /usr/bin/ls -lAp /cygdrive/c/munka-unenc/tftp/ise-appbundle-1.1.2.145.i386.tar.gz
    -rwx------+ 1 Administrators Domain Users 1583851520 Nov 29 00:14 /cygdrive/c/munka-unenc/tftp/ise-appbundle-1.1.2.145.i386.tar.gz

  • When I attempt to load a new webpage, I receive a "File not Found" message, then multiple new tabs open with the same message; additional browsers pop up with same message. This happens when attempting to load any page. I've unloaded Firefox once already.

    File not found
    Firefox can't find the file at /C:/Program Files/Common Files/SYSTEM/MSMAPI/1033/ÂvSÀ×4ÏF2drÀ‰«W8Œ µ{ö8ÉÀ%0CðìSz%06@%6éRƒTk%1D¡%15ppÓw­%7F@%07:,`Æb.
    * Check the file name for capitalization or other typing errors.
    * Check to see if the file was moved, renamed or deleted.

    Click here and follow the instructions, or if there’s a type of adware not covered by them on the computer, these ones. If you're willing to use a tool to remove it(you don't need to, but may find it easier), you can instead run Adware Medic; this link is a direct download.
    (122872)

Maybe you are looking for

  • How to change attributes of multiple devices ?

    This is something I thought would be straightforward but for the life of me I can not see how is it done in ZCM. I just want to set a property for a number of devices - based on a manual selection or maybe search results. E.g. I would like to set a l

  • How to get count of last 30 days and total of count of rows in a single query

    Hi All, My requirement is to write a sql query with the following requirement I have a table TEST which has 6500 rows out of which the created date > 30 which means records from last 30 days are like 60.So if i write a query like this  Select Count(*

  • Safari 5.1.2 in 10.6.8 won't start

    I ran software update on an iMac last Sunday and there was a Security Update along with a couple other updates that I don't remember. Ever since then Safari will not open and gets a crash report every time.  I just ran Repair Permission and that didn

  • I installed Adobe Reader X and i can't print PDF's without opening Reader first

    Hi, i am using windows XP and i just installed Adobe Reader X onto a workstation within' my office. I use to have Adobe Reader 9 where i could just open a folder with my PDF's. For example, My Documents folder and right click on the PDF i want to pri

  • Retrive files from multiple source directories

    Hi,   I need to retrive diffirent formet files from multiple directories and based on file name I need to send it to destination folders. Can anybody suggest me How can I impliment this interface. Thanks & Regards VenkatK