Path or file name "java" not found error

I am getting the error, path or file name "java" not found, when I type in sqlj -version.
I am using a NT server and I have added the CLASSPATH and path to it.
Does anyone have any ideas.

What version of SQLJ are you using? What do you see when you type
java
or
java -version
on the command line?

Similar Messages

  • Query string read as part of file name, throwing not found errors

    Hi all, I host a number of Web sites under a CF7 installation, Win2003.
    One site in particular is throwing not-found errors in response to certain search bot requests.
    In the IIS log, I noticed that for these requests, the query part of the URL is part of cs-uri-stem field value, but is not in the cs-uri-query field where it belongs:
    cs-uri-stem=                                               /index.cfm?template=24hour5.cfm
    cs-uri-query=<blank>
    instead of
    cs-uri-stem=                                               /index.cfm
    cs-uri-query=template=24hour5.cfm
    Evidently something somewhere is interpreting the entire URL as a filename, instead of a file name and a query string. When CF tries to locate the file it is throwing a not-found error.
    Maybe there is something weird about the question mark, but it looks normal to me.
    I can't seem to stop this error, since it is occuring at the OS, IIS, CF or jrun layer. Does anyone have any idea what is going on here, and what I can do about it?
    Thanks in advance.
    Joe

    Hey Reed, thanks for responding.
    I have a Cf utility that parses logs, so I modifed it to print out the ASCII codes for each character. They look normal, as far as I can tell. The question mark has a code of 63 which is correct, and no non-alphabetic characters precede or follow.
    One interesting thing is that the stem being called is an index.cfm file, and the query string argument happens to be a template name, and it ends in .cfm. That's why it is making it all the way to CF, which chokes on it, instead of IIS logging a 404 error.
    Often an identifiable bot is requesting these bad URLs, though I have spotted another request with agent 'Mozilla/4.0.' I suspect that is some kind of automated scan. (I also see other requests with the same agent name, though a different IP, that look like errononeously URL-encoded requests. These get filtered by URLScan.)
    I don't know for sure is whether the specific clients that make these bad calls always make them them wrong way. They appear to. Most clients that access the site do so normally.
    I wonder if there could be something in the request header, perhaps that instructs IIS to expect a different charset than what is actually used, or something like that.

  • Sometimes getting a load: class name .class not found error

    I have an applet running in a hidden frame. It runs fine with Microsoft JVM but when run with Sun JVM it sometimes is fine and other times fails with the error message below.
    Does anyone know why this is happening?
    load: class <name>.class not found.
    java.lang.ClassNotFoundException: <name>.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.net.SocketException: Malformed reply from SOCKS server
         at java.net.SocksSocketImpl.readSocksReply(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.net.www.http.HttpClient.privilegedOpenServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)
         at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         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

    After some more investigation... I have finally found the problem... I think!!!
    Suns JVM took my browsers default connection settings:
    HTTP IP PORT
    SECURE IP PORT
    FTP IP PORT
    GOPHER IP PORT
    SOCKS IP PORT
    All of these are set in my browser.
    It seems that Suns JVM orders the way it connects to the Internet.
    Basically the JVM was trying to access the Internet via the SOCKS server settings and not the HTTP.
    To fix the problem I un-ticked the "use browser settings" check box in the Java plugin proxies tab and just added the HTTP IP and PORT of our proxy server that goes out onto the Internet.
    I then tried the applet and it worked!!!
    Does anyone know why the JVM orders connections in this way?

  • 404 -File or directory not found error

    We have had several users report the following error message that appears inside the Rich Text Editor that is used for Instructions on the Process Steps of Formulation specs, in 6.1.0.1.32.
    +404 -File or directory not found. The resource you are looking for mighthave been removed, had its name changed, or is temporarily unavailable.+
    Here's the scenario. They are in edit mode on the Formulation Spec.
    They go to the Process tab.
    Click A Step, and see that there are several blank lines at the end of the instructions, and they want to clean up this blank space.
    So they click the Instructions link, and the Instructions pop-up in a rich text editor.
    They click in the editor near the bottom to get a prompt on the last blank line.
    They then hit the backspace key to delete the blank lines.
    As soon as they hit the backspace key the error is thrown in the editor; Not in an error message popup and no error log is recorded in the event logs.
    And to make it even more interesting it doesnt happen all the time!
    Has anyone else seen this behavior within Formulation specs?
    P.S. Its not the IE pop-up blocker either.

    Trey, i just did a quick test and was able to duplicate with the following steps:
    1. open instructions
    2. instead of clicking in the edit textbox, click below the edit textbox (ie. b/w the textbox and keywords)
    3. hit backspace
    404
    my guess is, users are working quickly, think they click in the textbox, but accidently click outside the textbox. backspace is then trying to register a previous page command.
    However, we changed the rich text control in 6.1.1, and it looks like this issue has been corrected.
    if you find a different set of steps to recreate that triggers the 404, let us know.
    thanks,
    -M

  • Report file not found error

    We recently upgraded from JBoss 4.2 to JBoss 5.1.  Our Crystal reports were working fine in JBoss 4.2, but we've had several issues in 5.1. 
    after resolving several issues, I have reached a point where the application iis unable to locate the .rpt file.  See error below.    Here is my configuration:
    1.  .rpt files in the WEB-INF/classes folder
    2.  CRConfig.xml - reportLocation tag is removed.  It is placed under WEB-INF.
    3.   My code is as below:
    private void init() {
              String report = "MyReport.rpt";
              IReportSourceFactory2 rptSrcFactory = (IReportSourceFactory2) new JPEReportSourceFactory();
              try {
                   this.reportSource = (IReportSource) rptSrcFactory
                             .createReportSource(report, l);
              } catch (ReportSDKException e) {
                   log.error(e.getMessage());
                   e.printStackTrace();
    4.  My .ear file has the following files in the lib folder:
    antlr-runtime.jar
    commons-beanutils.jar
    drools-api.jar
    drools-compiler.jar
    drools-core.jar
    janino.jar
    core.jar
    jboss-el.jar
    jboss-seam-remoting.jar
    jbpm-jpdl.jar
    mvel2.jar
    richfaces-api-3.2.2.GA.jar
    webreporting-jsf.jar
    webreporting.jar
    CrystalCommon2.jar
    CrystalReportsRuntime.jar
    jrcerom.jar
    logging.jar
    keycodeDecoder.jar
    commons-configuration-1.2.jar
    commons-lang-2.1.jar
    5.  My .war file has the follwing files in the WEB-INF/lib folder
    commons-digester.jar
    jboss-seam-debug.jar
    jboss-seam-ioc.jar
    jboss-seam-ui.jar
    jboss-seam-pdf.jar
    jboss-seam-excel.jar
    jboss-seam-mail.jar
    jsf-facelets.jar
    richfaces-impl-3.2.2.GA.jar
    richfaces-ui-3.2.2.GA.jar
    DatabaseConnectors.jar
    JDBInterface.jar
    QueryBuilder.jar
    XMLConnector.jar
    com.azalea.ufl.barcode.1.0.jar
    commons-collections-3.1.jar
    commons-logging.jar
    cvom.jar
    icu4j.jar
    jai_imageio.jar
    keycodeDecoder.jar
    logging.jar
    pfjgraphics.jar
    xpp3.jar
    mvel2.jar
    jxl.jar
    jfreechart.jar
    jcommon.jar
    jboss-el.jar
    logging.jar
    xpp3.jar
    jrcerom.jar
    6.  Error from server.log
    2011-09-15 19:42:07,139 ERROR [com.businessobjects.reports.sdk.JRCCommunicationAdapter] (http-127.0.0.1-8080-1) The report file was not found
    2011-09-15 19:42:07,186 ERROR [edu.cmu.heinz.hcis.view.bean.ReportsBean] (http-127.0.0.1-8080-1) Report file ParameterNew.rpt not found
    2011-09-15 19:42:07,186 ERROR [STDERR] (http-127.0.0.1-8080-1) com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Report file ParameterNew.rpt not found---- Error code:-2147215356 Error code name:fileNotOpened
    2011-09-15 19:42:07,186 ERROR [STDERR] (http-127.0.0.1-8080-1)      at com.businessobjects.reports.sdk.JRCAdapterSDKException.a(SourceFile:92)
    2011-09-15 19:42:07,186 ERROR [STDERR] (http-127.0.0.1-8080-1)      at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2299)
    2011-09-15 19:42:07,186 ERROR [STDERR] (http-127.0.0.1-8080-1)      at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:275)
    2011-09-15 19:42:07,186 ERROR [STDERR] (http-127.0.0.1-8080-1)      at com.businessobjects.sdk.erom.jrc.a.<init>(SourceFile:43)
    2011-09-15 19:42:07,186 ERROR [STDERR] (http-127.0.0.1-8080-1)      at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46)
    2011-09-15 19:42:07,186 ERROR [STDERR] (http-127.0.0.1-8080-1)      at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(SourceFile:703)
    2011-09-15 19:42:07,186 ERROR [STDERR] (http-127.0.0.1-8080-1)      at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662)
    2011-09-15 19:42:07,186 ERROR [STDERR] (http-127.0.0.1-8080-1)      at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632)
    2011-09-15 19:42:07,186 ERROR [STDERR] (http-127.0.0.1-8080-1)      at com.
    Where is the Java Reporting Component looking for the files?
    Thanks.

    Help me ...
    Ambient:
    Crystal Reports Viewer 14.0.0.0
    java.vendor = Sun Microsystems Inc.
    java.version = 1.6.0_37
    os.name = Windows NT (unknown)
    os.version = 6.2
    os.arch = amd64
    Exception:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com.businessobjects.sdk.erom.jrc.ReportAgentFactory---- Error code:-2147215357 [CRSDK00000026] Error code name:internal
              at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ReportSDKException.java:112)
              at com.crystaldecisions.proxy.remoteagent.RemoteAgent.createDefaultAgent(RemoteAgent.java:1000)
              at com.crystaldecisions.sdk.occa.report.application.ClientDocument.initRemoteAgent(ClientDocument.java:770)
              at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(ClientDocument.java:961)
              at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.open(ReportClientDocument.java:226)
              at src.HelloWorldSwing.createAndShowGUI(HelloWorldSwing.java:54)
              at src.HelloWorldSwing.main(HelloWorldSwing.java:24)
    Source:
    import java.awt.BorderLayout;
    import javax.swing.JFrame;
    import com.crystaldecisions.ReportViewer.ReportViewerBean;
    import com.crystaldecisions.sdk.occa.report.application.DatabaseController;
    import com.crystaldecisions.sdk.occa.report.application.OpenReportOptions;
    import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
    import com.crystaldecisions.sdk.occa.report.data.IConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;
    public class HelloWorldSwing {
               * @param args
              public static void main(String[] args) {
                        HelloWorldSwing pgm = new HelloWorldSwing();
                        try {
                                  pgm.createAndShowGUI();
                        } catch (Exception e) {
                                  e.printStackTrace();
                                  //JOptionPane.showMessageDialog(null, e.toString());
               * @throws Exception
              public void createAndShowGUI() throws Exception {
                        // Make sure we have nice window decorations.
                        JFrame.setDefaultLookAndFeelDecorated(false);
                        // Create and set up the window.
                        JFrame frame = new JFrame("HelloWorldSwing");
                        frame.setTitle("Titolo del Report");
                        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                        ReportViewerBean viewer = new ReportViewerBean();
                        viewer.init(new String[0], null, null, null);
                        ReportClientDocument rpt = new ReportClientDocument();
                        rpt.setReportAppServer(ReportClientDocument.inprocConnectionString); // inproc:jrc
                        rpt.open("Report.rpt", OpenReportOptions._openAsReadOnly);
                        IReportSource rptSource = rpt.getReportSource();
                        viewer.setReportSource(rptSource);
                        frame.getContentPane().add(viewer, BorderLayout.CENTER);
                        frame.setSize(1930, 1030);
                        frame.setVisible(true);
                        viewer.start();

  • Breadcumbs don't work online: '404 - File or directory not found'

    Breadcrumbs all work fine when testing my AirHelp application offline on my Windows 7 pc, (or if I access it as online browser based help). However, when I try to test the online Airhelp most of the breadcrumbs return a '404 - File or directory not found' error.
    My RoboHelp Project has been created as follows:
    1. There is a homepage created inside of RoboHelp
    2. Then I have linked a number of framemaker books, for each of which the FM table of contents is being converted to create a new associated TOC.
    3. In the master TOC I have added a New TOC Book for each framemaker book (making it a book with a link to a htm), under the New TOC Book I have inserted a TOC placeholder for the appropriate associated TOC.
    When the Online AirHelp version is run, the breadcrumbs can only be used to navigate to the homepage and to the New TOC Books at the level immediately beneath the home page. The links to these pages seem to make sense, being of the form:
    Breadcrumb
    Link
    Home
    event:homepage.htm
    Home/User Guide
    event:../../../User_Guide.htm
    Where it goes wrong is for the breadcrumbs futher down the path which have links similar to those shown below:
    Breadcrumb
    Link
    Home/User Guide/Introduction
    event:introduction.htm
    Home/Handbook/Sign_Conventions
    event:Sign_Conventions.htm
    In both of the above the URL request that is being passed to the online server is not the full path, (it seems to be a relative path?) Is this the reason why the breadcrumbs don't work, and if so can you suggest what I need to do to get them working?
    I am up against a deadline, and at the moment the only way forward I have is to abandon the converted Framemaker TOCs and have RoboHelp autocreate a TOC for the whole project for me, however this is not a practical solution because the folder structure is not the same when I do this and would require a great deal of manual editing each time it is rebuilt.
    Hoping somebody out there can please assist?
    Thanks.

    Thanks TP,
    I have many public IP's available. Do I need to install the RD Web access role on the DMZ server that has the RD Gateway role even if i have spare public IP's available? 
    I've basically have this setup "3.1. RD Gateway without AD DS in perimeter network deployment:"
    On the below link
    http://blogs.msdn.com/b/rds/archive/2009/07/31/rd-gateway-deployment-in-a-perimeter-network-firewall-rules.aspx
    currently there's an CNAME record in DNS for remote.external.com which points to Server3.internal.pri
    which holds the RD
    Connection Broker, RD Licensing and RD Web Access roles
    Are you saying to create an A record and point it to Server3.internal.pri
    internal IP? I'm not getting certificate errors (yet) so do i have to run the script? i ask this as the error message i'm getting (404 - File or directory not found) doesn't seem to be related to certificates, i'm making changes to a production environment
    so i have to be extra carefull!
    Cheers!

  • 404 - File Or Directory Not Found Upon Intersection Check Report Display

    In FDM 11.1.2.1, when there are intersection check errors, instead of the intersection check report automatically opening in a new tab, I get a "File Download" message box with Open and Save buttons. If I choose Open, I get the "404 - File or directory not found" error. If I choose Save and save the file to a local path, I never get the option to open the file and the "Processing. Please wait..." message runs forever.
    FDM is running on virtual Windows Server 2008 R2 64-bit, IIS 7, Excel 2007, with SQL Server 2008 R2 64-bit and IE 7 web client.

    Tony, thanks, I'd like to give your work around a shot. We've tried all of Oracle's recommendations with no luck. I have temporarily unhidden my e-mail address in my user profile. Please let me know if you need anything else.

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

  • "file not found" error in VI Logger when running an imported VI Logger task

    I'm having trouble getting all of my imported tasks to run in VI Logger.
    I'm using VI Logger 2.0, with an SCXI-1100.  The data acquisition tasks I import run fine.  One of the VI Logger tasks I've imported runs OK, but the other one gives an error:
    "Engine Error!
    Error Code = 7
    LabView: File not found.  The file may have been moved or deleted, or the file path might be incorrectly formatted for the OS."
    If I create a new VI Logger task, the new task works OK.  And my 1st VI Logger task to be imported works OK.  So I know my setup mostly works.  But our company has never been able to figure out importing tasks very well, so I'm looking for help.
    Question 1: What file is LabView looking for?  I've checked my Export path and database path, and they are identical in both the working task and the non-working task.
    Question 2: Where else might I look for the difference between the 2 VI Logger tasks?  Neither task uses any weird characters in the name, both have analog input channels and calculated channels.  And I've mixed and matched the data acquisition tasks with no change (the good VI Logger task will run with either data task, the bad VI Logger task won't run with either data task), so I'm pretty sure the problem is in the VI Logger task, and not the data task.  I've also tried importing the 2nd task on its own, as a separate import function, but that gave the same error.
    Thanks for the help in advance,
    Jake

    Hi Spex,
    I can import the VI Logger task OK (from another PC running VI Logger 2.0), but I can't run the task.  I've attached the file.  The "1 channel" task runs OK.  The "x-probe" task starts, takes 1 or 2 data points, then hangs for a few seconds, then pops up the "file not found" error. The data acquisition taks run OK, so I don't think they're the problem.
    This file I've attached includes 2 good data tasks ("1 channel" and xprobe"), 1 good VI Logger task ("1 channel"), and my non-working VI Logger task ("x-probe", which works fine on the PC it was exported from).
    I have also tried exporting the non-working VI Logger task on its own, and it still imports OK, but still doesn't run, and gives the same error.
    Thanks,
    Jake
    Attachments:
    configData1.zip ‏353 KB

  • File not found error on some computers running the same program

    Dim pList As System.Diagnostics.Process
    retval = 0
    PTRName = "F:\myprogram.exe"
    If My.Computer.FileSystem.FileExists(PTRName) Then
    System.Disgnostics.Process.Start(PTRName)
    pList = System.Diagnostics.Process.GetProcesses
    For each proc As System.Diagnostice.Process in pList
    If proc.ProcessName = "myprogram" Then
    retval = proc.Id
    Exit For
    End If
    Next
    If retval > 0 then
    'continue
    Else
    'error message
    End If
    End If
    PTRName = "F:\myprogram.exe"
    If My.Computer.FileSystem.FileExists(PTRName) Then
    Retval = Shell(PTRName,4)
    If Retval > 0 Then
    'Continue
    Else
    'Error message
    End If
    End IF
    I have created a program which:
    opens a file
    reads the records and massages the records
    writes the records to a new file
    Launches a program that uses the resultant file.
    The program was written on Windows xp MCE using Visual Studio 10. The resulting program works fine.
    I places The executable and the input file onto a flashdrive, and then tested it on other machines.
    Two of the machines are both Win 7 Pro 64bit with .Net 4. On one machine it works great. On the other I get a "File not found" error when starting the second process. This is the failing code:
    The problem is with the Shell command. When I rewrite it as:
    it works on both machines
    So my question is: Why does exactly the same code (The same flashdrive was used on both machines) work on one machine and not the other (when both machenes appear to be at the same level)?
    In both cases I verify the file exists in the correct place before I try to start it.
    Any help would be appreciated.
    Thanks in advance
       John 

    The use of F is just an example. I use:
    OutputPath = My.Application.Info.DirectoryPath 'Where app is run from (root)
        'Make sure the path ends in \
        If VB.Right(OutputPath, 1) <> "\" Then
          OutputPath = OutputPath & "\"
        End If
    to get the correct information.
    Then
      PTRName = OutputPath & "myprogram.exe"
    BTW "myprogram.exe" is not the correct name it is just an example.
    Sorry if this caused confusion
    However all of this is not the point. If:
     My.Computer.FileSystem.FileExists(PTRName)
    is true then the file is in the right place. Therefore:
    Retval = Shell(PTRName,4)
    must also work. However it does not on some machines.
    Is the problem in .Net, VB or VS because it is not in my code. 
    I have also used a routine similar to you (in VB6) to find a particular volume, but used the volume label. That worked better in my case.
    John

  • Reading .txt file into char array, file not found error. (Basic IO)

    Iv been having some trouble with reading characters from a text file into a char array. I havnt been learning io for very long but i think im getting the hang of it. Reading and writing raw bytes
    and things like that. But i wanted to try using java.io.FileReader to read characters for a change and im having problems with file not found errors. here is the code.
    try
    File theFile = new File("Mr.DocumentReadMe.txt");
    String path = theFile.getCanonicalPath();
    FileReader readMe = new FileReader(path);
    char buffer[] = new char[(int)theFile.length()];
    int readData = 0;
    while(readData != -1)
    readData = readMe.read(buffer);
    jEditorPane1.setText(String.valueOf(buffer));
    catch(Exception e)
    JOptionPane.showMessageDialog(null, e,
    "Error!", JOptionPane.ERROR_MESSAGE);
    The error is: java.io.FileNotFoundException: C:\Users\Kaylan\Documents\NetBeansProjects\Mr.Document\dist\Mr.DocumentReadMe.txt (The system cannot find the file specified)
    The text file is saved in the projects dist folder. I have tried saving it elsewhere and get the same error with a different pathname.
    I can use JFileChooser to get a file and read it into a char array with no problem, why doesnt it work when i specify the path manually in the code?

    Well the file clearly isn't there. Maybe it has a .txt.txt extensionthat Windows is kindly hiding from you - check its Properties.
    But:
    String path = theFile.getCanonicalPath();
    FileReader readMe = new FileReader(path);You don't need all that. Just:
    FileReader readMe = new FileReader(theFile);And:
    char buffer[] = new char[(int)theFile.length()];You don't need a buffer the size of the file, this is bad practice. Use 8192 or whatever.
    while(readData != -1)
    readData = readMe.read(buffer);
    }That doesn't make sense. Read the data into the buffer and repeat until you get EOF? and do nothing with the contents of the buffer? The canonical read loop in Java goes like this:
    while ((count = in.read(buffer)) > 0)
      out.write(buffer, 0, count); // or do something else with buffer[0..count-1].
    jEditorPane1.setText(String.valueOf(buffer));Bzzt. That won't give you the content of 'buffer'. Use new String(buffer, 0, count) at least.

  • Path in Classpath for file SapMetamodelWebdynproContent.zip not found.

    How to get rid of these warnings?
                   [Warning]: Path in Classpath for file SapMetamodelWebdynproContent.zip not found.          
    Warning               [Warning]: Version for file SapMetamodelWebdynproContent.zip not found.          
    Warning               [Warning]: Versions of 'SapDictionaryTypeServices.jar' have different prefix.          
    Warning               [Warning]: Versions of 'SapDictionaryTypesRuntime.jar' have different prefix.     
    thanks in advance.

    Hi,
    This is a common problem when you import projects to NWDS. Do like this.
    1.Change to Navigator tab in NWDS and delete gen_wdp folder.
    2.Switch to Web Dynpro Explorer. Select the Project -> Right click-> Select properties -> in the wizard select Java Build Path -> Select Libraries tab -> You will find jar files with warnings
    3.Remove the jar and add the jar file with same name to the project one by one.
    4.For each jar file repeat step 3.
    5.Save the project
    Or
    removed the read-only property from all folders / files of the project and it solved my problem.
    Hope this helps!!
    Thanks & Regards
    Vijay K

  • Sumtotal error 404 - file or directory not found

    Hi,
    We have a SCORM 1.2 compliant content created using Captivate 5. It's a multiple SCO (6 modules) combined into a single SCORM package. When the package was loaded in Sumtotal LMS, one of the modules alone does not launch and throws the below error.
    404 - File or directory not found.
    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    However all the modules get loaded when tested in Saba LMS. Any ideas on what could the issue in Sumtotal? Would greatly appreciate a resolution at the earliest.
    Thanks,
    Sudarsan

    r_sudarsan,
    I 've seen that error 404 numerous times in the past. It always seems to be related to the configuration of the web server not able to match the Domain name with the IP address, wrong path name, check the spelling, browser startup default settings to locate the website. etc. It always seems to be a configuration problem.
    Good Luck.

  • File not found error from scheduler

    Hi,
            We have a scheduler file with .cfa extension  in the cf scheduler  which trigger some mails to certain recipients on execution.
    At the bottom option fo the scheduled task, we have checked the option to 'save output to file' and has given the file
    path. On direct execution of the given url, the  file is executed successfully and mails are fired.
    But while trying to execute the same via scheduler it is not firing the mails. On investigation of the output file,
    found the error message 'File not found'.
    Is it possible that the file get  executed when directly browsing the url and shows 'file not found' error
    while executing via cf scheduler?(CF 8 is used.)

    To be more specific,
    the url format given in the cf admin scheduler is like this:
    "http://www.domainname.com/myfolder/myfile.cfa"
    A file path to log the output is also given to publish.
    If we copy the above url to a browser and execute, the file gets executed and mails are fired.
    If we set the interval or run the scheduler from the administrator,mails are not sent.On examination of log file given in the scheduler section, it is
    showing error '/myfolder/myfile.cfa' file not found.

  • File Not Found Error on Fresh MX7 Installation

    After spending days getting CFMX 7.0.2 installed on a CentOS5.3 (production) server running Apache 2.2.3 and WHM/cPanel 11, by religiously following Bill Mitchell's lifesaving guide, CF is up and running but I cannot access the administrator or anything else in user public_html directories.
    If I place a simple foo bar test file in the /usr/local/apache/htdocs/testfile.cfm directory, I can call it at http://[IPaddress]/testfile.cfm and it parses properly.
    However, if I place the same file at /home/cfusion/public_html/testfile.cfm and call it at http://[IPaddress]/~cfusion/testfile.cfm, I get a CF-generated 404 "File Not Found" error.
    cfusion is a cPanel account I created via WHM prior to installing ColdFusion as a repository for my CFIDE directory.
    If I place a symlink for /usr/local/apache/htdocs/CFIDE -> /home/cfusion/public_html/CFIDE:"File Not Found". If I cp -R my CFIDE into htdocs: "File Not Found." These files are physically there. I can easily verify that of course. But CF is still saying File Not Found. In fact, if I disconnect Apache - JRun, Apache finds the files all by itself no problem. They are definitely there.
    I thought this might be a permissions issue, but all my .cfm files are nobody:root 775.
    Here's what I'm seeing in the exception.log:
    coldfusion.runtime.TemplateNotFoundException: File not found: /~cfusion/filetest.cfm
        at coldfusion.filter.PathFilter.invoke(PathFilter.java:83)
        at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
        at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
        at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
        at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
        at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
        at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
        at coldfusion.CfmServlet.service(CfmServlet.java:107)
        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
        at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
        at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
        at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
        at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
        at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
        at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
        at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    I guess maybe I need to know where the config for webroots is set from the CF/JRun perspective? I'm a decent hand with web server admin stuff, but despite being a CF dev for 10 years, CF admin stuff is still a bit over my head. Any help would be GREATLY appreciated. I'm at my wit's end!

    Thanks Mack. I set verbose to true in my httpd.conf, restarted Apache, restarted CF, but I can't see any difference in the logging. Errors seem the same, and no additional info.
    The Apache error_log file is filled with cryptic stuff that looks like it's referencing JRun. Does any of this mean anything to you? Is there another log file I should be looking at?
    [Thu Aug 06 00:06:52 2009] [notice] jrApache[8608: 15070]  filtering / (/usr/local/apache/htdocs/) HOST=null
    [Thu Aug 06 00:06:52 2009] [notice] jrApache[8608: 15070]  filterRequest:   no match
    [Thu Aug 06 00:06:52 2009] [notice] jrApache[8608: 15070]  jrun_trans: sub-request so DECLINED
    [Thu Aug 06 00:06:52 2009] [notice] jrApache[8608: 15070]  jrun_trans: sub-request so DECLINED
    [Thu Aug 06 00:06:52 2009] [notice] jrApache[8608: 15070]  jrun_trans: sub-request so DECLINED
    [Thu Aug 06 00:06:52 2009] [notice] jrApache[8608: 15070]  jrun_service: r is 0x9d1aa98, server is 0x99df290, virtual 1
    [Thu Aug 06 00:06:52 2009] [notice] jrApache[8608: 15070]  jrun_service: no handler, return DECLINED
    [Thu Aug 06 01:10:01 2009] [notice] jrApache[8548: 18910]  jrun_trans: r is 0x9d169d8, server is 0x99df290, virtual 1
    [Thu Aug 06 01:10:01 2009] [notice] jrApache[8548: 18910]     HOST: <null>
    [Thu Aug 06 01:10:01 2009] [notice] jrApache[8548: 18910]  filtering /whm-server-status (/usr/local/apache/htdocs/whm-server-status) HOST=null
    [Thu Aug 06 01:10:01 2009] [notice] jrApache[8548: 18910]  filterRequest:   no match
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  jrun_trans: r is 0x9e5b930, server is 0x99df290, virtual 1
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]     HOST: <null>
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  filtering / (/usr/local/apache/htdocs/) HOST=null
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  filterRequest:   no match
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  jrun_trans: sub-request so DECLINED
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  jrun_trans: sub-request so DECLINED
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  jrun_trans: sub-request so DECLINED
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  jrun_service: r is 0x9e5b930, server is 0x99df290, virtual 1
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  jrun_service: no handler, return DECLINED
    [Thu Aug 06 00:15:01 2009] [notice] jrApache[8519: 59314]  jrun_trans: r is 0x9f96cc8, server is 0x99df290, virtual 1
    [Thu Aug 06 00:15:01 2009] [notice] jrApache[8519: 59314]     HOST: <null>
    [Thu Aug 06 00:15:01 2009] [notice] jrApache[8519: 59314]  filtering /whm-server-status (/usr/local/apache/htdocs/whm-server-status) HOST=null
    [Thu Aug 06 00:15:01 2009] [notice] jrApache[8519: 59314]  filterRequest:   no match

Maybe you are looking for

  • Display of Month and year in Y-axis of horizontal bar chart

    Hi, We are using Webi XI R2 version. Could you please let me know how we can display date in chart.  I am having objects as Month name (July, Aug etc) and year (2009). I want to display on the Y-axis as Jul-09, Aug-09 Please advise. Kindly let me kno

  • ITunes 10.6.1.7 uses 99% of CPU / Win7

    iTunes consumes over 90% of my PC CPU when syncing my iPad 1. The sync does go thru but it takes a huge amout of time and while it's doing it I can't do anything with the PC as 90-99% of the CPU time is consumed by iTunes. When iTunes is "idle" (= no

  • New songs synced to my ipod wont play, the songs play fine on itunes and appear on ipod but wont play..any help appreciated

    New songs synced to my ipod wont play, the songs play fine on itunes and appear on ipod but wont play..any help appreciated

  • Calling the pcsclite lib on Linux

    Hi folks, I'm trying to access the pcsclite library on an Ubuntu, however without any experiences with C++ programming it seems to be really hard. Well, I use JNA to access native libraries and on Windows it just works fine, but on Linux I get the er

  • Contacts app

    I almost never look thru these apple support communities, so if this is in the wrong forum, MODS please move this to the appropriate thread. I have been looking for a contact app that works a lot like the stock iphone contact app. These are my requir