Running Xsql Serveltet

Hi !
I amreally new to this , I have the apache web server runnning in Sun. Wht are the step neccasry to run teh xsql servlet and how.
I really would appreciate your kind help.
Thanks in advance
Kaiser
null

Hi !
Thanks for your help. I am very new to this .But i am still confused.
Which one of thes add on do I useXML Parser/XSLT Processor for Java v2 2.0.2.9 7/12/00
XML Schema Processor for Java 1.0.0 7/28/00
XML Transviewer Beans 1.1.0 7/12/00
XML Class Generator for Java 1.0.2 5/19/99
XSQL Servlet 1.0.0.0 5/19/00
and I am try to run the xsqlt servelet on the Sun and I have the apache webserver running .
I tested it the servelet on windows Nt it was ok..
I am trying to make it work in Sun.
Please let me know wht step I need to follow.
I would really appreciate some detailed steps .
Thanks
Kaiser
null

Similar Messages

  • Error while running xsql-wtg.bat

    Hi,
    I have installed xsql servlet on NT 4.0 service pack 5 and also I have oracle 8.1.6. When I am running xsql-wtg.bat I am getting the following error messages:
    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
    Please let me know what mistake I am doing.
    Thanks
    Prasanta De
    null

    Check the:
    ./xsql/wtg/lib/webtogo.ora
    file, and make sure the setting for:
    ROOT_DIR=C:\
    reflects the drive location where you
    installed XSQL. For example , if you installed XSQL in E:\xsql, then you'll
    want to set ROOT_DIR=E:\
    so that the virtual path /xsql/index.html
    maps to the physical file E:\xsql\index.html
    The release notes for the 1.0.0.0 release
    mention this parameter that was inadvertently
    left out of the 0.9.9.1 instructions.
    null

  • Running xsql pages in oracle 8.1.5

    Hi,
    I would like to use xsql with the oracle product I 've got:
    - Oracle 8i (8.1.5)
    or - OAS 4.0.7.1
    Apparently, I need to process some changes before to run xsql pages with the http server of Oracle 8.1.5 for example.
    I read that xsql servlet need jdk 1.1.8 or above and a servlet engine to work fine in Oracle 8i.
    So, it seems I need to update my oracle 8.1.5 with jdk 1.1.8 and a servlet engine.
    What are the steps to follow to configure correctly Oracle 8.1.5 to make it able to run xsql pages?
    Thanks for your help

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steve Muench ([email protected]):
    Step 1: Get a servlet engine
    The XSQL Release notes list all the
    servlet engines that are supported.
    Step 2: Follow the installation instructions in the release note.
    Several of the most popular servlet engines are listed there.
    You won't be running the XSQL Page processor inside the Database in 8.1.5, so the JDK version of 1.1.8 refers to the JDK ver of
    your servlet engine.<HR></BLOCKQUOTE>
    Thanks for your reply.
    So, there is no way to run xsql pages with Oracle 8.1.5.
    I must necessarly acquire a servlet engine.Isn't it?
    OAS 4.0.7.1 doesn't include servlet engine?
    Thanks
    null

  • Server running xsql and JSP

    I made a xsql file (sql in xml file) and I want to deploy it. I have made JSP files too.
    Which server can run xsql and JSP files?
    Oracle 8.1.6 can run xsql and JSP files?
    Thank you

    Check out the [MIMES] section of webtogo.ora file which is located in %JDEVHOME%\lib. There is an entry which defines the handler for .xsql files (which in this case is the XSQL Servlet (oracle.xml.xsql.XSQLServlet). Same goes for jsps. You can run this on any Java enabled web server.
    The version of OAS which will provide this functionality is the soon expected 4.0.8.2

  • How to Run XSQL on the web

    I am having problems running my .xsql file on the web using JRUN. I have set the classpath and was able to run the xsql file from the command line and also was able to get the xml output. But here is the error that i get when i try to execute the same file on the web using the below URL.
    http://someserver.com/servlet/xsql/demo/helloworld/helloworld.xsql
    500 Internal Server Error
    xsql:
    Could not load servlet
    Could any one give some pointers about how to set up environment in JRUN on Solaris5.7 to run the xsql.

    Hi Steven,
    I read the installation / configuration documentation at http://technet.oracle.com/tech/xml/xsql_servlet/htdocs/relnotes.html#ID175 . It is very helpful. I ahev a question about how to map .xsql in JRUN as i dont have admin permissions on JRUN. Is there way i can setup in my environment or in the code itself. Please let me know.
    Thanks,
    Shivaji.

  • Error when running XSQL Page

    I've just installed JDeveloper and when I try to run any XSQL Page (i've tried about 10 different ones) I get this same trace with the same File Not Found error at the end. I'm sure it's some kind of configuration problem, but I don't where to fix this. Please help. Here's the trace:
    "C:\Program Files\Oracle\JDeveloper 3.1\java1.2\jre\bin\javaw.exe" -mx50m -classpath
    "C:\Program Files\Oracle\JDeveloper 3.1\myprojects\WebProvis_working\output\_pages;
    C:\Program Files\Oracle\JDeveloper 3.1\myprojects\WebProvis_working\output;
    C:\Program Files\Oracle\JDeveloper 3.1\lib\ojsp.jar;
    C:\Program Files\Oracle\JDeveloper 3.1\lib\ojc.jar;
    C:\Program Files\Oracle\JDeveloper 3.1\jswdk-1.0.1\lib\servlet.jar;
    C:\Program Files\Oracle\JDeveloper 3.1\lib\webtogo.jar;
    C:\Program Files\Oracle\JDeveloper 3.1\lib\xmlparser.jar;
    C:\Program Files\Oracle\JDeveloper 3.1\lib\jdev-rt.zip;
    C:\Program Files\Oracle\JDeveloper 3.1\lib\jbcl2.0.zip;
    C:\Program Files\Oracle\JDeveloper 3.1\lib\jdev-rt.zip;
    C:\Program Files\Oracle\JDeveloper 3.1\jdbc\lib\oracle8.1.6\classes12.zip;
    C:\Program Files\Oracle\JDeveloper 3.1\lib\connectionmanager.zip;
    C:\Program Files\Oracle\JDeveloper 3.1\lib;
    C:\Program Files\Oracle\JDeveloper 3.1\jdbc\lib\oracle8.1.6\classes111.zip;
    C:\Program Files\Oracle\JDeveloper 3.1\lib\oraclexsql.jar;
    C:\Program Files\Oracle\JDeveloper 3.1\lib\oraclexmlsql.jar;
    C:\Program Files\Oracle\JDeveloper 3.1\lib\xmlparserv2_2027.jar;
    C:\Program Files\Oracle\JDeveloper 3.1\lib\xmlparserv2.jar;
    C:\Program Files\Oracle\JDeveloper 3.1\jswdk-1.0.1\lib\servlet.jar;
    C:\Program Files\Oracle\JDeveloper 3.1\java1.2\jre\lib\rt.jar" oracle.jdeveloper.debugger.ServletMain WebProvis_working\xsqltest.xsql
    "C:\Program Files\Oracle\JDeveloper 3.1\myprojects\"
    "C:\Program Files\Oracle\JDeveloper 3.1\lib"
    log3: java.io.FileNotFoundException: C:\Program Files\Oracle\JDeveloper 3.1\myprojects" C:\Program\WebAppRunner.html
    (The filename, directory name, or volume label syntax is incorrect.)
    void java.io.FileOutputStream.open(java.lang.String)log3:
    void java.io.FileOutputStream.<init>(java.lang.String, boolean)log3:
    void java.io.FileOutputStream.<init>(java.lang.String)log3:
    void oracle.jdeveloper.debugger.ServletDebugger.showErrorPage(java.lang.Exception)log3:
    void oracle.jdeveloper.debugger.ServletDebugger.startListening()log3:
    void oracle.jdeveloper.debugger.WebServerThread.run()log3:
    null

    To use XSQLServlet with Microsoft Personal Web Server, you'll need to install a servlet engine that works with PWS. One with which XSQL Servlet has been tested is the ServletExec 2.2 and ServletExec 3.0 from New Atlanta (http://www.servletexec.com/). Others are available, too. Perhaps "Resin" from Caucho technologies as well (http://www.caucho.com).
    This means the XSQL Pages XML/XSLT publishing framework, along with a JDBC driver, will be running on your NT box, connecting to the database on your Unix box.
    For JDeveloper, it sounds like you haven't properly configured the name of your database machine, its SID, or the port on which its connection listener listens on.

  • ORA-00600: Internal Error when running XSQl Script

    Hi,
    when running a xsql script with JDeveloper 3.1
    the following message appears:
    <?xml version="1.0" ?>
    - <!-- IRON.xsql Return the results of a table
    -->
    - <xsql-error action="xsql:query">
    <statement>select ename,job,sal from emp where
    ename='ALLEN'</statement>
    <message>ORA-00600: Interner Fehlercode, Argumente: [ttcgcshnd-
    1], [0], [], [], [], [], [], []</message>
    </xsql-error>
    Does anybody knows, what's wrong ?
    Regards
    Andy

    looks like bug #1725012, fixed in either 9.0.1 or 8.1.7.2
    (these are RDBMS versions).

  • Apache + Tomcat - Can't run xsql demos

    I have the following setup -
    Apache 1.3.9
    Tomcat 3.1
    XSQL 1.0.4.3
    JDK 1.3
    HPUX 11.0
    Oracle 8.1.6
    I have followed the instructions in the XQL release notes on installation and configuration but I am having a problem running the demos. When I try the http://localhost/xsql/index.html url, I get a garbled page. Looks like the home.xsql/homecontent.xsql pages didn't run sucessfully. Anybody else run into something similar?
    fwiw, I have been able to sucessfully run the helloworld.xsql demo on the command line using the xsql executable.

    Found the resolution for this problem. I had to add the following two lines in my httpd.conf file -
    AddType text/xsql .xsql
    AddHandle jserv-servlet .xsql
    The demos work just fine after making this change and restartin the Apache server.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Bhadresh Patel ([email protected]):
    I have the following setup -
    Apache 1.3.9
    Tomcat 3.1
    XSQL 1.0.4.3
    JDK 1.3
    HPUX 11.0
    Oracle 8.1.6
    I have followed the instructions in the XQL release notes on installation and configuration but I am having a problem running the demos. When I try the http://localhost/xsql/index.html url, I get a garbled page. Looks like the home.xsql/homecontent.xsql pages didn't run sucessfully. Anybody else run into something similar?
    fwiw, I have been able to sucessfully run the helloworld.xsql demo on the command line using the xsql executable.<HR></BLOCKQUOTE>
    null

  • JDeveloper...Problem when running XSQL Page...

    I am able to create a connection to my oracle database from JDeveloper and test it successfully. I also have specified the details of my connection in the "XSQLConfig.xml" file for my project. However when I run the XSQL page I get the following error in my browser window.
    XML-25004: Could not acquire a database connection named: tssdtssadmin
    XSQL page is given below.
    <?xml version="1.0" encoding='windows-1252'?>
    <page xmlns:xsql="urn:oracle-xsql" connection="tssdtssadmin">
    <xsql:query xmlns:xsql="urn:oracle-xsql">
    select ID, KEY_ID, PRODUCT_TYPE, COLUMN_ORDER, SCREEN_DISPLAY_NAME
    from KEYING_ERROR_PRODUCT
    </xsql:query>
    </page>

    Re: XSQL xsql:set-page-param Bug

  • Error when running XSQL Servlet demo

    Environment:
    Sun Solaris5.7, Apache1.3.12, JRun2.3.3, Oracle8.1.5, IE5
    When clicking "Hello World page", the link to helloworld.xsql, it said "The page cannot be displayed. HTTP500 - Internal server error". There is no entry in Apache error_log. In access_log, it is "Get /xsql/demo/helloworld.xsql HTTP/1.1 500 213".
    When clicking other links, there was another error message "XSQL-011: Error processing XSLT stylesheet: newsstorylist.xsl
    sun.io.CharToByteUTF-8".
    Thank you very much.

    I am having the same problem, by any chance did you solve the problem..
    If so can please let me know the solution ..
    Thanks ..// Manohar //
    null

  • Running IIS, JRUN233, and xsql

    I am new to both JRUN and xsql. I couldn't the configuration for JRUN in the XSQL Servlet doc. Can someone post the configuration on JRUN in order to run xsql?
    Thanks.
    null

    I am new to both JRUN and xsql. I couldn't the configuration for JRUN in the XSQL Servlet doc. Can someone post the configuration on JRUN in order to run xsql?
    Thanks.
    null

  • XSQL-022 error on using FOP - serializer class not found; urgent!

    Hi all,
    currently using XDK 9.2.0.1.0. On trying to invoke Apache FOP serializer I just get the following error message:
    XSQL-022: Cannot load serializer class oracle.xml.xsql.serializers.fopserializer
    and I really don't know why....
    Running XSQL Servlet within Tomcat 4 Engine, but error pops up using both, Tomcat way and/or just the commandline invoker xsql.bat.
    Generally XSQL Servlet is working correctly.
    My classpath setting contains:
    xmlparserv2.jar; batik.jar; classes12.jar; fop.jar; fopserializer.jar; oraclexsql.jar; sax2.jar; xalan-2.0.0.jar; xalanj1compat.jar; xerces-1.2.3.jar; xschema.jar; XSQLConfig.jar; xsu12.jar
    The serializer being redefined in XSQLConfig is just:
    <serializer>
    <name>FOP203</name>
    <class>oracle.xml.xsql.serializers.fopserializer</class>
    </serializer>
    This is because of using FOP 0.20.3, so having my own serializer class due to API change in FOP 0.20.x; my fopserializer is looking like that:
    package oracle.xml.xsql.serializers;
    import org.w3c.dom.Document;
    import java.io.PrintWriter;
    import oracle.xml.xsql.*;
    import org.apache.fop.messaging.MessageHandler;
    import org.apache.fop.apps.*;
    import java.io.*;
    // FOP 0.20.3 Serializer implementation for XSQL
    public class fopserializer implements XSQLDocumentSerializer
    private static final String PDFMIME="application/pdf";
    public void serialize(Document doc, XSQLPageRequest req) throws Throwable
    try
    Driver FOPDriver = new Driver();
    FOPDriver.setRenderer(FOPDriver.RENDER_PDF);
    MessageHandler.setOutputMethod(MessageHandler.NONE);
    FOPDriver.setupDefaultMappings();
    req.setContentType(PDFMIME);
    FOPDriver.setOutputStream(req.getOutputStream());
    FOPDriver.render(doc);
    catch (Exception e)
    e.printStackTrace(System.err);
    In my XSQL file I'm using the following PI:
    <?xml-stylesheet type="text/xsl" href="listemps.fo" serializer="FOP203"?>
    Any suggestions what is wrong in here ?
    Can't use the original xsqlserializer.jar either - same error.
    Thanks in advance
    Jochen

    Hi Jochen,
    I'm working with Tomcat 4.0.3, FOP 20.0.3 and XDK 9.2.0.1.0, too.
    I've copied all the jar-files into tomcat/common/lib. I think that you can't use the MessageHandler in fop20.0.3. I'm using the following serializer:
    package diva.xml.xsql.serializers;
    import org.w3c.dom.Document;
    import java.io.PrintWriter;
    import oracle.xml.xsql.*;
    import org.apache.fop.apps.*;
    import org.apache.log.*;
    import org.apache.log.format.*;
    import org.apache.log.output.io.*;
    import org.apache.avalon.*;
    import java.io.*;
    public class XSQLFOP203Serializer implements XSQLDocumentSerializer {
    private static final String PDFMIME = "application/pdf";
    private static final String CONFPATH = "/usr/local/fop/conf/userconfig.xml";
    public void serialize(Document doc, XSQLPageRequest env) throws Throwable {
    try {
    // Open user config file
    File userConfigFile = new File(CONFPATH);
    Options options = new Options(userConfigFile);
    // First make sure we can load the driver
    Driver FOPDriver = new Driver();
    // Setup logging
    Hierarchy hierarchy = Hierarchy.getDefaultHierarchy();
    PatternFormatter formatter = new PatternFormatter("[%{priority}]: %{message}\n%{throwable}" );
    LogTarget target = null;
    target = new StreamTarget(System.out, formatter);
    hierarchy.setDefaultLogTarget(target);
    Logger log = hierarchy.getLoggerFor("fop");
    log.setPriority(Priority.INFO);
    FOPDriver.setLogger(log);
    // Then set the content type before getting the reader/
    env.setContentType(PDFMIME);
    FOPDriver.setRenderer(FOPDriver.RENDER_PDF);
    FOPDriver.setOutputStream(env.getOutputStream());
    FOPDriver.render(doc);
    catch (Exception e) {
    // Cannot write PDF output for the error anyway.
    // So maybe this stack trace will be useful info
    e.printStackTrace(System.err);
    Hope this helps
    Uwe

  • XSQL application migration from 9i to 10g

    Hi,
    I use windows 2000 professional platform.
    To run XSQL pages in 9i I have modified following oracle files:
    D:\oracle\ora9i\Apache\Apache\conf\httpd.conf
    after "# Include the Oracle configuration file for custom settings"
    on the bottom of the file add row:
    include "d:\oracle\ora9i\Apache\Apache\conf\xsqldemo.conf"
    D:\oracle\ora9i\Apache\Apache\conf\xsqldemo.conf
    added row:
    Alias /xsqldemo/ "d:/xsqldemo/"
    this tels to Apache to look into d:/xsqldemo/ directory for my xsql files.
    D:\oracle\ora9i\xdk\admin\XSQLConfig.xml
    should contain connection spec
    <connectiondefs>
    <connection name="xsqldemo">
    <username>scott</username>
    <password>tiger</password>
    <dburl>jdbc:oracle:thin:@localhost:1521:TREX</dburl>
    <driver>oracle.jdbc.driver.OracleDriver</driver>
    <autocommit>true</autocommit>
    </connection>
    </connectiondefs>
    Afterwards I called in my browser:
    http://jbanik:7778/xsqldemo/xsqldemo.xsql
    and I received response from the database.
    Apache was listening on port 7778 and redirected the http request to jserv which called xsql servlet. Everithing was handled for me OK.
    After I nstalled Oracle 10g I do not see the Apache.
    But on port 5501 the enterprise manger is served well.
    I do not know what ports are used and for what on 10g. I couldn't find it in documentation.
    I do not know how enterprise manager is served on
    http://jbanik:5501/em
    The xsql_userguide.html recomends to call http://localhost/xsql/index.html to get xsql demos. But I am getting nothing.
    How can I tell to Oracle 10g how to look for my d:/xsqldemo/xmldemo.xsql file and what should I specify in the browser to get it working?
    Thanks,
    Jozef

    I instaled Apcahe from 10g Companion CD but it seems not to contain XSQL infrastructure built in. How can I get my html and xsql pages served from one directory under 10g?

  • XSQL/XSL help (iPlanet): Error processing XSLT stylesheet

    hello-
    i am running XSQL and XSL pages on an iPlanet web server and i am receiving the following error:
    XSQL-011: Error processing XSLT stylesheet: /xslt/page/xsl_page.xsl
    XSL-1002: Error while processing include XSL file (\xslt\util\other_xsl.xsl (The system cannot find the path specified)).
    here's the deal: other_xsl.xsl (the one it says it can't find) is there in the right place, but the web server is not looking from the document root (which IS set correctly on the web server). it is looking for the file starting at the current directory.
    for example, the server is processing /xslt/page/xsl_page.xsl. it is then looking for the include file using this path: /xslt/page/XSLT/UTIL/other_xsl.xsl --- instead of the correct /xslt/util/other_xsl.xsl.
    the include statement uses the full path starting from the web root (<xsl:include href="/xslt/util/other_xsl.xsl"/>)
    any help would be appreciated.

    thanks for the response. the /xslt/util directory is browsable by the web server, and using relative paths does work (that is one of the ways i discovered what was going on in the first place), but i am rebuilding a machine and redeploying an exisiting application-- the intention is to not re-write any code.
    the part that is most confusing is that the current code/directory structure works on the current box, but not on my rebuilt box. i have gone through every config file with a fine tooth comb. it appears that the current box and my build are set up exactly the same-- but, like i said, on one it reads the include-path from the document root, on the other from the current directory.
    so confusing.

  • Using Sun Java Web Server 2.0 for XSQL

    In the documentation for XSQL, a number of Java Web servers are described but not Sun java web server. I need to know the configuration for Sun java web server 2.0 for running XSQL.
    null

    This is not enough information to be useful.

Maybe you are looking for

  • HT201250 i have plugged in a hard drive into my macbook, opened time machine, but my hard drive does not appear. why?

    i have plugged in a hard drive into my macbook, opened time machine, but my hard drive does not appear. why?

  • InDesign - export a PDF for web view and print

    I have a brochure created for print in InDesign. I need to create a PDF for the web, that would be a link to download and print on a home printer. How do I accomplish this? Thanks for any help!

  • Sockets problem

    Hi , I written a server class that simply writes the numbers and the client simply reads those numbers and prints them. When I run the both client and server on tha same machine there is no data loss found. But when I run the server on different mach

  • SQL Trace in Oracle

    Hello, I am a Software Engineer using Oracle 9i Client. We have a website which is using ASP at front-end,Oracle as a back-end and some dll which is created in VC++. This dll will interact with oracle. When the ASP pages gets executed, it will execut

  • [SOLVED] HP Touchpad not detected or working with kernel 3.4.6-1

    On my HP Folio 13 (https://wiki.archlinux.org/index.php/HP_Folio_13), the touchpad stopped working tonight after upgrading to kernel 3.4.6-1. Downgrading back to 3.4.5 fixed it. I've tried AUR xf86-input-synaptics-led and the stock xf86-input-synapti