Flight Finder XSQL servlet Sample Code Files Missing

Hi,
Just downloaded fly.zip and extracted 26 files, but could not find either xsql-wtg.bat or the Release Notes in xsql\doc directory as noted in the readme.html
Am I high and miss something here???
JF Kotas
Boeing

Downloaded XSQL servlet files and all is well...thanx.
Guess I was high!
jfk
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Robert.Hall:
JF Kotas,
The files you mention are included with the XSQL Servlet, which is a separate download. There's a link to the appropriate OTN page in the Required Software section at the top of the readme file.
The URL is: http://technet.oracle.com/tech/xml/xsql_servlet/index.htm
If that doesn't work, please let me know.
Thanks,
-rh
[email protected]<HR></BLOCKQUOTE>
null

Similar Messages

  • HelloWorld servlet sample code

    I followed simple deployment in readme file, but not sure how to run it, please have a directory structure that will help me to understand <path-to-servlet>/<sample directory>/.
    I also try to deploy it from WAR Deployment to OC4J using Standard J2EE way, I think it misses the input files to create archive file in "jar -cvfM HelloWorld.war" command.

    Hi,
    Please have a look at the sample applications hosted at http://www.oracle.com/technology/sample_code/tech/java/servlets/index.html.
    Hope this helps.

  • BC4J + XSQL, XSQL+EJB Sample Code

    I'm new to the XML/Java thing. Does anyone have sample code which uses BC4J or EJB components with XSQL (or other XML template files)?

    Sharon,
    Take a look at the XML wireless sample on this site.
    - Select Products from the menu on the left of this page
    - Select the JDeveloper link
    - Select Sample Code (at the top of the page)
    - Select the XML Wireless Sample link
    Blaise
    null

  • Configuring Universal Inbox -- Sample Workflow files missing.

    hi,
    On page 156 of the "Siebel Applications Administration Guide" for version 8.0 in the bookshelf, the following was mentioned. But in my sample applicaion installation I could not find any of these sample workflow xml files. Is anybody out there able to locate these sample workflow files ? Or if you have some samples that can be shared on working with the Universal Inbox ?
    Where to Find the Sample Workflow Files
    These sample workflows are provided as part of the sample database installation. You can find these
    workflow files in the SIEBEL_CLIENT_HOME\SAMPLE\WORKFLOWS directory. (For example, C:\Program
    Files\Siebel\7.8\web client\SAMPLE\WORKFLOWS)
    The names of the files that contain the sample workflows are:
    ■ Inbox - Service Demo Creation.xml
    ■ Inbox - Service Action.xml
    ■ Inbox - Service Detail Action.xml
    Thanks
    S

    I received the 3 sample WFPs from someone this morning. This question can be closed now.

  • Working Sample Code: File Download Servlet

    Pardon the cross-posting (Java Servlet Technology), but when I was researching this problem I found alot of people asking this question in here as well as in the servlet forum. So I thought this code would be helpful here too.
    Here is a complete working servlet for downloading virtually any type of file to a browser.
    It uses a file called application.properties to specify the location of the folder where the files to be downloaded reside. Of course you could modify this to allow the users to select the location as well.
    A sample URL to call the Servlet would look like this:
    http://localhost/website/servlet/DownloadAssistant?YourFileName.ext
    I tested this with varying filenames. It did have some issues if the file contained special characters like # symbol. This should be manageable however.
    Hope someone finds this useful.
    import java.io.*;
    import java.util.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.zip.GZIPOutputStream;
    public class DownloadAssistant extends HttpServlet
    private static final String DIR = "dir";
    private String separator;
    private String root;
    public DownloadAssistant()
    Properties propFile = null;
    FileInputStream in = null;
    String JAVA_HOME = "C:\\jrun\\servers\\default\\filetest\\application.properties";
    // Get a handle on the peoperties file
    try{
    in = new FileInputStream(JAVA_HOME);
    propFile = new Properties();
    propFile.load(in);
    catch (IOException ignore){}
    separator = "/";
    // Get the directory from the application.properties file
    // e.g. C:\\Temp\\Files\\
    root = propFile.getProperty("app.directory");
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
    processRequest(request, response);
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
    processRequest(request, response);
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException {
    PrintWriter out = null;
    ServletOutputStream stream = null;
    GZIPOutputStream zipstream = null;
    Object obj = null;
    String s = "";
    //determine if there is a filename appended to the url
    // If so, then decode it
    s = HttpUtils.getRequestURL(request).toString();
    int i;
    if((i = s.indexOf("?")) > 0)
    s = s.substring(0, i);
    String s1;
    if((s1 = request.getQueryString()) == null)
    s1 = "";
    else
    //s1 = decode(s1);
    s1 = URLDecoder.decode(s1);
    // No filename, so set contentType and generate error message
    if(s1.length() == 0)
    response.setContentType("text/html");
    out = response.getWriter();
    out.println("<html>");
    out.println("<p>Could not get file name ");
    out.println("</html>");
    out.flush();
    out.close();
    return;
    // Restriction while gaining access to the file
    if(s1.indexOf(".." + separator) > 0)
    response.setContentType("text/html");
    out = response.getWriter();
    out.println("<html>");
    out.println("<br><br><br>Restrictions on filename");
    out.println("</html>");
    out.flush();
    out.close();
    return;
    // Try to get a handle on the file
    File file = new File(root + s1);
    // Couldn't get the file, return an error message
    if(file == null)
    response.setContentType("text/html");
    out = response.getWriter();
    out.println("<html>");
    out.println("<p>Could not read file: " + s1);
    out.println("</html>");
    out.flush();
    out.close();
    return;
    // Either the file doesn't exist or it can't be read, return an error message
    if(!file.exists() || !file.canRead())
    response.setContentType("text/html");
    out = response.getWriter();
    out.println("<html><font face=\"Arial\" size=\"+1\">");
    out.println("<p>Could not read file " + s1);
    out.print("<br>Reasons are: ");
    if(!file.exists())
    out.println("file does not exist");
    else
    out.println("file is not readable at this moment");
    out.println("</font></html>");
    out.flush();
    out.close();
    return;
    // Looks like we can read/access the file, determine its type
    String s2 = request.getHeader("Accept-Encoding");
    // Is this a zip file?
    boolean flag = false;
    if(s2 != null && s2.indexOf("gzip") >= 0)
    flag = true;
    flag = false;
    if(flag)
    response.setHeader("Content-Encoding", "gzip");
    response.setHeader("Content-disposition", "attachment;filename=" + s1);
    stream = response.getOutputStream();
    zipstream = new GZIPOutputStream(stream);
    downloadFile(root + s1, zipstream);
    zipstream.close();
    stream.close();
    // It's not a zip file so treat it as any other file
    else
    response.setContentType("application/force-download");
    response.setHeader("Content-disposition", "attachment;filename=" + s1);
    stream = response.getOutputStream();
    downloadFile(root + s1, stream);
    stream.flush();
    stream.close();
    }// end processRequest()
    // This method downloads the file to the browser
    private void downloadFile(String s, OutputStream outstream)
    String s1 = s;
    byte abyte0[] = new byte[4096];
    try
    BufferedInputStream instream = new BufferedInputStream(new FileInputStream(s1));
    int i;
    while((i = instream.read(abyte0, 0, 4096)) != -1)
    outstream.write(abyte0, 0, i);
    instream.close();
    catch(Exception _ex) { }
    }//end downloadFile()
    public void init(ServletConfig servletconfig)
    throws ServletException
    super.init(servletconfig);
    String s;
    if((s = getInitParameter("dir")) == null)
    s = root;
    separator = System.getProperty("file.separator");
    if(!s.endsWith(separator))
    s = s + separator;
    root = s;
    }//end init()
    }//end servlet()

    Yes - it is useful

  • Cannot find sample code: how-to-jazn.war/jar

    Hi,
    As referenced in this online article
    http://otn.oracle.com/tech/java/oc4j/htdocs/how-to-jazn.html I cannot find where this sample code is located. Does anyone know where this is?
    Thanks

    Find it here
    http://download.oracle.com/otn/java/oc4j/how-to-jazn.zip
    Chandar

  • Can not make XSQL servlet running under Jrun 3.1! need help

    Hi,
    I tried to run Oracle XSQL servlet under JRun 3.1,I did servlet mapping, such as
    <servlet-name>oracle-xsql-servlet</servlet-name>
    <servlet-class>oracle.xml.xsql.XSQLServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>oracle-xsql-servlet</servlet-name>
    <url-pattern>*.xsql</url-pattern>
    </servlet-mapping>
    I set classpath for XSQL related library such as oraclexsql.jar, xmlparserv2.jar,etc, I believe everything is setup correctly, however when I invoke .xsql page, I did not get data instead of getting sql text!, here is my xsql file content:
    <?xml version="1.0"?>
    <!-- reports.xsql: List of reports by user id -->
    <?xml-stylesheet type="text/xsl" href="Filter.xsl"?>
    <page connection="reports_8i" xmlns:xsql="urn:oracle-xsql">
         <dataform target="reportFilter.jsp" submit="Go">
    <xsql:set-session-param name="userid" value="{@userid}" ignore-empty-value="no"/>
         <xsql:include-param name="userid"/>
         <xsql:set-session-param name="bu_id" value="{@bu_id}" ignore-empty-value="no"/>
         <xsql:include-param name="bu_id"/>
         <xsql:set-session-param name="client_id" value="{@client_id}" ignore-empty-value="no"/>
         <xsql:include-param name="client_id"/>
         <item type="list" name="targetPage" label="Available Reports">
         <xsql:ref-cursor-function bind-params="userid">
                   reports_generation.getReportList(?)
              </xsql:ref-cursor-function>
              </item>
         </dataform>
    </page>
    What I got when I invoked this page is reports_generation.getReportList(?)!!
    It seems that JRun 3.1 did not understand xsql syntax, it means it can not find XSQL servlet related libraries, come on, I did set classpath.
    Does anyone has this experience to help me out? Highly appreicate you in advance.
    Thanks.

    i think i solved this problem by specifying the full path to javac...
    what must i do to avoid this?

  • Error in XSQL Sample code ?!

    Hi,
    I recently tried the XSQL sample code with the latest (1.0.0.0 ?) version of the XSQL sevlet. But there seems to be an error in the example:
    In the hotels.xsql file (inside XSQLSample.jar, inside XMLUtilitySamples.zip)
    the query tags are specified as
    <query connection="xmlutil" rowset-element="Hotels" row-element="Hotel" >
    But I only got the example working with :
    <xsql:query xmlns:xsql="urn:oracle-xsql" .....>
    (both in the apache-jserv environment, as well as in the web-to-go server.
    Is the example indeed incorrect, or did I do sth wrong in trying to get the example to work ?
    -- olaf
    null

    The examples in that .zip file apparently were only tested by their author with a pre-0.9.8.6 version of XSQL Servlet.
    XSQL version 0.9.8.6 and later required the "xsql" namespace prefix.
    I'll find out who built the examples and get them corrected. Thanks for the tip.

  • XML Flight Finder Sample - Again

    Oracle XSQL Servlet Page Processor 1.0.0.0 (Production)
    XSQL-007: Cannot acquire a database connection to process page.
    Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    i still get the above error
    i have downloaded OracleXSU12 & the pkgs are
    loaded in the fly schema. also copied over
    also copied over xmlparserv2.jar & xsu12.jar
    to the c:\xsql\lib dir.....
    now what else do i need to do to get this to run ??
    if anyone can outline the exact steps i'd appreciate it
    thanx
    pete
    btw in response to roberts posting ...theres
    no firewall or proxy the oracle box is sitting below my desk

    Hi,
    I have just downloaded the project and I have tried to install on my notebook.
    I have modified the .bat correctly but when I have started it, the WTG respond me with this message:
    WTG-10109: Web-to-go could not locate requested URL
    Web-to-go could not locate requested URL /xsql/index.html
    Please contact the application vendor
    is there anything that I have forgotten?
    thanks!
    Pier Paolo.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Robert Hall ([email protected]):
    The XML Flight Finder sample application uses Oracle8i's XML capabilities to generate flight information for PCs, PDAs and cell phones. See how it's built using Oracle's XSQL Servlet.
    To read more and download the source code, visit: http://technet.oracle.com/software/index.htm
    Feel free to post questions, comments, etc., in this thread.
    Thanks,
    -rh<HR></BLOCKQUOTE>
    null

  • XML Flight Finder sample app

    The XML Flight Finder sample application uses Oracle8i's XML capabilities to generate flight information for PCs, PDAs and cell phones. See how it's built using Oracle's XSQL Servlet. To read more and download the source code, visit: http://technet.oracle.com/software/index.htm
    Please post questions, comments, etc., in the OTN Sample Code forum.
    Thanks,
    -rh

    Hi,
    I have just downloaded the project and I have tried to install on my notebook.
    I have modified the .bat correctly but when I have started it, the WTG respond me with this message:
    WTG-10109: Web-to-go could not locate requested URL
    Web-to-go could not locate requested URL /xsql/index.html
    Please contact the application vendor
    is there anything that I have forgotten?
    thanks!
    Pier Paolo.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Robert Hall ([email protected]):
    The XML Flight Finder sample application uses Oracle8i's XML capabilities to generate flight information for PCs, PDAs and cell phones. See how it's built using Oracle's XSQL Servlet.
    To read more and download the source code, visit: http://technet.oracle.com/software/index.htm
    Feel free to post questions, comments, etc., in this thread.
    Thanks,
    -rh<HR></BLOCKQUOTE>
    null

  • Cannot run OCCI sample code.. cant find Dbmanager.h

    Hi , I am trying to connect to my oracle 10g database and i am getting an error. I downloaded instantclient-sdk-win32-10.2.0.3-20061115.zip from
    [http://www.oracle.com/technetwork/topics/winsoft-085727.html| http://www.oracle.com/technetwork/topics/winsoft-085727.html]
    Then I used the following ever so popular code
    #include <DbManager.h>
    #include <iostream>
    using namespace std;
    using namespace oracle::occi;
    const string sqlString("select empno, ename from employee");
    int main(int argc, char **argv)
    if (argc != 2)
    cerr << "\nUsage: " << argv[0] << " <db-user-name>\n" << endl;
    exit(1);
    // Initialize OracleServices
    DbManager* dbm = NULL;
    OracleServices* oras = NULL;
    Statement *stmt = NULL;
    ResultSet *resultSet = NULL;
    try
    // Obtain OracleServices object with the default args.
    dbm = new DbManager(userName);
    oras = dbm->getOracleServices();
    // Obtain a connection
    Connection * conn = oras->connection();
    // Create a statement
    stmt = conn->createStatement(sqlString);
    int empno;
    string ename;
    // Execute query to get a resultset
    resultSet = stmt->executeQuery();
    while (resultSet->next())
    empno = resultSet->getInt(1); // get the first column returned by the query;
    ename = resultSet->getString(2); // get the second column returned by the query
    if (resultSet->isNull(1))
    cout << "Employee Number is null... " << endl;
    if (resultSet->isNull(2))
    cout << "Employee Name is null..." << endl;
    cout << empno << "\t" << ename <<endl;
    // Close ResultSet and Statement
    stmt->closeResultSet(resultSet);
    conn->terminateStatement(stmt);
    // Close Connection and OCCI Environment
    delete dbm;
    catch (SQLException& ex)
    if (dbm != NULL)
    dbm->rollbackActions(ex, stmt, resultSet); // free resources and rollback transaction
    return 0;
    But the problem is I cannot fint find DBManager.h. I read on a certain post we could use <occi.h> instead of dbmanager but then i get an error with the types
    Dbmanager,OracleService and ResultSet. Can anyone please help me out , The code wont even build i am using Visual studio 2010 and i included all the header files.
    Did the i download the wrong package or what am i doing wrong ????

    This website has some sample codes that I want to run, but I'm getting errors. For the very first sample code, I removed ; in line 1 and it reduced number of errors. I can't post image because MS has to verify my account first.
    Someone told me that this is missing MFC and main method. I googled and MFC is like SKD made by users. So, my guess is that I need to find the MFC this person used and include them as like #include ".h" and have int main(). Is this true? If it is
    true where can I get the MFC? and how do I know which MFC this person used?
    MFC stand for  Microsoft Foundation Class Library is a library that wraps portions of the Windows API in C++ classes, including functionality that enables them to use a default application framework. To work on MFC you have to download Visual
    Studio . As you are new to window So i will suggest you to start with VS2008 onward .And Before you start working with MFC have some fundamental of Win32 As well.
    Thanks
    Rupesh Shukla

  • File missing (file\BCD error code 0Xc0000034 help need for work!

    file missing (file\BCD  error code 0Xc0000034 help need for work!    what can i do?
    have an p 2000 notebook pc

     Hi bobkunkle, welcome to the HP Forums. I understand you cannot boot passed the error you are receiving.
    What is the model or product number of your notebook? What version of Windows is installed?
    Guide to finding your product number
    Which Windows operating system am I running?
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Can u please send me a sample code to upload and download a file using java

    Hi,
    Please can u send me a sample code to upload a file and to download the same file from a remote server using a java servlets. The file should be read byte by byte.
    Message was edited by:
    user461713

    Hi, Thank u.
    Sorry, I forgot to attach a code. Here it is.
    Actually i need to upload a file to a remote server and download it from a server to my machine. I'm trying it using servlets and using tomcat5.0 as a servlet container. Here i'm sening a code used to upload a file. Let me know whether it works. Only few lines are here.
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.lang.Object;
    import java.util.*;
    import java.lang.String;
    import com.oreilly.servlet.MultipartRequest;
    public class FileUpload extends HttpServlet{
         public void doPost(HttpServletRequest req, HttpServletResponse res)throws
         ServletException, IOException{
         MultipartRequest multi=new MultipartRequest(req);     
         String file="file1";
         byte[] b=file.getBytes();
         InputStream in=null;
         BufferedInputStream bis=null;
         FileWriter fw=null;
    try{
         in=multi.getInputStream("file1");
    bis=new BufferedInputStream(in);
         File output=new File("/fileuploadtest");
         fw=new FileWriter(output);
              int i;
              i=bis.read();
              while (i != -1) {
    fw.write(i);
    i = bis.read();
         catch(IOException e){
              System.out.println("Exception=" +e);
    finally{
         try{
              if(in!=null)
              in.close();
              if(bis!=null)               
              bis.close();
              if(fw!=null)
              fw.close();
         catch(Exception e){
              System.out.println(e);
    This code is giving error as: cannot resolve symbol: class MultipartRequest
    Why is this happening?
    Pls let me know whether this code works or no and also i have written form.html.
    Can u pls tel me whether there are ways in which i can write a code to upload a file using servlets without using third party packages. Pls help.
    Also how should be the servlet mapping for this code.?
    Regards
    Message was edited by:
    user461713

  • How do I find audio files missing from Mainstage?

    Having downloaded mainstage additional content I find a number of wave files are missing. Example Exs24 'Full Strings Legato.exs' audio file KB-L_legato_p_A(hash)1.wav. How can I find and download them?

    I've downloaded it twice already. You can't download what is not there.

  • Sample code converting binary data to image file

    Hi experts ,
    I need sample code to convert binary data (bytes) in to an image file.
    any help will be appreciated.
    Thanks and Regards,
    Naresh

    You need to show binary and decimal?  Or now just decimal?
    If binary and decimal, you can right click on your indicator and choose "Display Format...".  If you select the Advanced Editing Mode, you can make soft interesting display formats.  This includes showing the same value in mulitple ways in the indicator.  Try something like "%032b - %d" for the format string.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for

  • Cópia de Nota Fiscal

    Bom dia, Realizei a compra de um SDD Intel 530 Series 240GB na loja Best Buy 10760 NW 17th St Miami, FL 33172. A compra foi feita no dia 23/12/2014. Gostaria de saber como consigo uma cópia da nota fiscal, pois perdi a minha.

  • Problem attaching external .jpgs to movie clips

    Hi There, I am not able to attach a file (.jpg) outside of flash to a movieClip without it changing the scale of the image. Stepping through with the debugger, its clear the image loads correctly til it is applied to the movie clip, I assume with the

  • Photoshop CS5 bug, can not copy/cut from JS - PC only.

    I have stumbled upon what I believe is a serious bug in PS5 when using extensions or panels. It seems that copy and cut via JS do not work on Windows! Do this: Using Adobe Configurator 2.0 create a new panel with one JS button Use this JS code  var d

  • Error in a client 8.81

    Hi, In a first time I have upgrade SAP from 2007 to 8.81 on th server and all is ok. After I have installed Sap 8.81 on a customer client, and I have an error. I have upgarde/installed 15 client and all is ok, only on this I retrieve the error After

  • Weblogic Messaging Bridge stops working

    Hi, we are having a Weblogic Integration Domain (WLI 8.1). This domain has several JMS distibuted destinations and Messaging Bridges. In Production environment, the Messaging bridge stops then and there and lot of messages get piled up in the queues.