Xsql Servelet

Hi!
I download and XSQL serverlet from oracle site.
But i have problems running the demo.
when ever i click on one the demo for example hello world it give me this error
Oracle XSQL Servlet Page Processor 1.0.0.0 (Production)
XSQL-004: Could not acquire a database connection named: demo
XSQL-007: Cannot acquire a database connection to process page.
Could anyone please help me . I really appricate it.
Thanks
Kaiser
[email protected]
null

Try changing the configuration file in both
the places,the directory like c:\xsql as well as c:\xsql\lib. For me It couldn't able
to start the Web-to-Go server without the configuration file in the root directory.Once I modified the XsqlConfig.xml file in the c:\xsql directory, I got the same error message that you got. Then I did the same
cut and paste in the .\lib directory XsqlConfig.xml file it started working fine.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by kaiser [email protected]):
Hi!
I download and XSQL serverlet from oracle site.
But i have problems running the demo.
when ever i click on one the demo for example hello world it give me this error
Oracle XSQL Servlet Page Processor 1.0.0.0 (Production)
XSQL-004: Could not acquire a database connection named: demo
XSQL-007: Cannot acquire a database connection to process page.
Could anyone please help me . I really appricate it.
Thanks
Kaiser
[email protected]
<HR></BLOCKQUOTE>
null

Similar Messages

  • Help XSQL Servelet

    Hi!
    Could any please help in XSQL SERVELET
    I downloaded the xsql servelet for genrating XML pages.
    But when I run the demo file that come with it, It gives me this error :
    " Oracle XSQL Servlet Page Processor 1.0.0.0.0
    XSQL-004: Could not acquire a database connection named: demo
    XSQL-007: Cannot acquire a database connection to process page"
    Even though I have set up a connection name Demo.
    I would really appreciate your help.
    Look forward to hearing from you soon
    Thanks
    Kaiser
    [email protected]

    hi
    i am not able to connect to the remote database
    my xsqlconfig file is
    <connection name="demo1">
    <username>itrade</username>
    <password>itrade</password>
    <dburl>jdbc:oracle:thin:@itrade.itradeB2B:1521:itradeEnglish</dburl>
    <driver>oracle.jdbc.driver.OracleDriver</driver>
    </connection>
    where itrade.itradeB2B is my connectstring
    and my sid of the Remoteserver is itradeEnglish.
    any where i have gone wrong
    the error is
    XSQL-007: Cannot acquire a database connection to process page.
    I/O?????: The Network Adapter could not establish the connection
    thanks
    null

  • Chaining stylesheets with XSQL!

    I am attemping to post a form to an XSQL page and insert the parameters into an Oracle database. The easiest way to do the tranformation is to apply a stylesheet to the XML generated automatically by the XSQL servelet and then apply another stylesheet to the result of the first transformation. I guess my real question is how can I apply a series of XSLT stylesheets in succession with each one operating on the results of the previous transformation?
    Thank you in advance for your time,
    Jason Long

    Dear Steve,
    My problem is that the <OPTIONS>...</OPTIONS> is not present in the orginal post. I am having a problem selecting this node in order to apply ext:xmlMarkup. The following is the exact code I am trying to use:
    This is the stylesheet that I am applying to the posted request. This works just fine.
    addItem.xsl
    <?xml version="1.0" encoding="iso-8859-1" ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ext="http://www.oracle.com/XSL/Transform/java/MarkupExtensions"
    exclude-result-prefixes="ext">
    <xsl:output method="xml" indent="no" />
    <!-- Root template -->
    <xsl:variable name="sku" select="//sku" />
    <xsl:template match="/">
    <ROWSET>
    <ROW>
    <xsl:apply-templates select="//sku | //quantity | //specialRequests | //customerID"/>
    <OPTIONS>
    <xsl:apply-templates select="//dropDown | //checkbox | //addOn"/>
    </OPTIONS>
    </ROW>
    </ROWSET>
    </xsl:template>
    <xsl:template match="dropDown">
    <dropdown id="{substring-before(text(),'|')}" value="{substring-after(text(),'|')}" />
    </xsl:template>
    <xsl:template match="OPTIONS">
    <OPTIONS>
    <xsl:value-of select="ext:xmlMarkup(*)" />
    </OPTIONS>
    </xsl:template>
    <xsl:template match="addOn">
    <addOn sku="{text()}" />
    </xsl:template>
    <xsl:template match="checkbox">
    <checkbox value="{text()}" />
    </xsl:template>
    <xsl:template match="dropDown">
    <dropdown id="{substring-before(text(),'|')}" value="{substring-after(text(),'|')}" />
    </xsl:template>
    <xsl:template match="quantity">
    <QUANTITY><xsl:value-of select="//quantity" /></QUANTITY>
    </xsl:template>
    <xsl:template match="specialRequests">
    <SPECIAL_REQUESTS><xsl:copy-of select="//specialRequests/text()" /></SPECIAL_REQUESTS>
    </xsl:template>
    <xsl:template match="customerID">
    <CUSTOMER_ID><xsl:value-of select="//customerID" /></CUSTOMER_ID>
    </xsl:template>
    <xsl:template match="sku">
    <SKU><xsl:value-of select="//sku" /></SKU>
    </xsl:template>
    <xsl:template match="submit" />
    </xsl:stylesheet>This is the XSQL page I am sending the request to for insert into the DB.
    addItem.xsql
    <?xml version = '1.0'?>
    <root xmlns:xsql="urn:oracle-xsql" connection="connJMLIE">
    <xsql:insert-request
    table="cart"
    transform="addItem.xsl" />
    </root>Every column is added except OPTIONS. This is null if any "<" are present. This is why I am trying to use ext:xmlMarkup.
    My problem is how do I apply the OPTIONS template to the results of the addItem.xsl in order to escape "<" and add the data as I intended?
    Thank you for your time Steve,
    Jason

  • XSQL and 8.0.5

    Does anyone have XSQL running with 8.0.5?
    null

    If you mean using XSQL Servelet and XSQL pages that retrieve, insert and update data then yes. I have used 7.3.4, 8.05, 8.1.5, 8.1.6 and 8.1.7 on Solaris and 8.1.7 on NT.
    Obviously you cannot use 8i features such as Objects and CURSOR queries if the database does not support them.
    null

  • Are there any loggin capabilities in the xsql servlet??

    Hi,
    I would like to log things like query results, errors etc on the file system when using the xsql servlet.
    Is there facility in say XSQLConfig.xml, that will allow me secify a file name that will be subsequently used by the xsql servelet to do this.
    Note I know this can be done using standard Java methods, when using the XSQLRequest object. I am trying to avoid doing this, if the xsql servlet itself can be used.
    Thanks,
    - Manish

    Hello Michael,
    You may use Java callouts with Oracle B2B for transformation purpose but it is not recommended to do heavy transformations in that. For light transformations you may use this. TP facing callouts are also supported.
    Please refer -
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10229/callouts.htm#CHDEFBDG
    Does the EDIFECS XEngine, used by the Oracle SOA Suite 11g B2B at runtime, have hooks that can be used to configure custom transformation logic and associate it with specific trading partner agreements or channels?No. EDIFECS Xengine is used for translation purpose only. It uses ecs file for translation and validation. In short, it is for translation support.
    Regards,
    Anuj

  • Xsl always escaping in attributes

    I am using latest XDK Beta on Solaris.
    Specifically, the xsql servelet.
    The servelet is always escaping an apostrophe (as &apos;) in xml attributes. It is required to escape < or >, but should allow '(in a "quoted" string") or "(in a 'quoted' string).
    At the same time, it escapes < and > in CDATA nodes, although not I believe ' or " in CDATA.
    Sample starting xml:
    <text name=" 'foo' ">foo</text>
    <![CDATA[ <foo> ]]>
    Will be translated to:
    <text name=" &apos;foo&apos; ">foo</text>
    <![CDATA[ <foo> ]]>
    I found this problem when trying to output html with embedded javascript activities. Which requires literal strings be quoted when referenced.
    Any help much appreciated. Thanks in advance.
    Gene Smith

    Hi,
    < and > shouldn't be (and aren't) escaped by the processor for the html output method if they are contained in a script or style element. You can either use a CDATA section as you described, or escape < and > in your stylesheet or source document using &;lt; and &;gt;.
    For example,
    escaping1.xsl:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html" />
    <xsl:template match="somefile">
    <html>
    <head>
    <script type="text/javascript">
    function lessThanTwo(number) {
    if (number &;lt; 2) return true;
    return false;
    </script>
    <script type="text/javascript">
    <![CDATA[
    function moreThanFive(number) {
    if (number > 5) return true;
    return false;
    ]]>
    </script>
    <script type="text/javascript">
    <xsl:value-of select="myscript" />
    </script>
    </head>
    <body>
    </body>
    </html>
    </xsl:template>
    </xsl:stylesheet>testescaping.xml:
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="escaping1.xsl" ?>
    <somefile>
    <myscript>
    function lessThanTwenty(number)
    if (number &;lt; 20) return true;
    return false;
    </myscript>
    </somefile>results in:
    output.html:
    <html>
    <head>
    <META http-equiv="Content-Type" content="text/html">
    <script type="text/javascript">
    function lessThanTwo(number) {
    if (number < 2) return true;
    return false;
    </script>
    <script type="text/javascript">
    function moreThanFive(number) {
    if (number > 5) return true;
    return false;
    </script>
    <script type="text/javascript">
    function lessThanTwenty(number)
    if (number < 20) return true;
    return false;
    </script>
    </head>
    <body></body>
    </html>null

  • 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

  • XSQL Hello World

    I am working with IE5 8i and Java Web Srvr 2.0
    I have done followings..
    1. set classpath for 4,5 jars
    2. added oracle servlet to JWS
    3. added servelet aliases
    4. configured xmlconfig for local database
    when i call http://hostname:9090/examples/test.xsql i get blank result back.
    test.xsql incluedes
    <xml>
    <xsql....connection=orcl
    select 'hello world' as 'testxml' from dual
    </xsql>
    any ideas?
    I am also looking for a specific example of inserting a xml output from html form into Oracle clob column.
    thanks
    syed

    You should check the log files for the servlet engine you are using to find out what is happening.
    Oracle XML Team
    null

  • Error while running a sample XSQL from XML bible book from Steve Muench

    I am running the sample XSQL code from Chapter 03, which deals with exporting XML and transform into SQL statements. I'm using JDeveloper and I believe I've setup libraries and HTML root directory etc. I'm getting the following error:
    XSQL-011 Error processing XSLT stylesheet.
    XSL-1009 Attribute xsl:version not found in xsl:stylesheet.
    Can I get some help in fixing this error?
    Thanks a lot,
    Murali
    null

    Hi,
    This is the example I took from Steve Muench's book.
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="text"/>
    <xsl:template match="/">
    </xsl:template1>
    </xsl:stylesheet>
    As you can see, I do have the version=1.0 attribute. Why is it complaining still?

  • Error when try to call a pl/sql procedure from the .xsql file

    I tried to call a pl/sql procedure like this:
    <?xml version="1.0"?>
    <page connection="omtest5" xmlns:xsql="urn:oracle-xsql">
    <xsql:include-owa>
    sampleowaxml.testone
    </xsql:include-owa>
    </page>
    but I got the following error message:
    <?xml version="1.0" ?>
    - <page>
    - <xsql-error action="xsql:include-owa">
    <statement>declare buf htp.htbuf_arr; param_names owa.vc_arr; param_values owa.vc_arr; rows integer := 32767; outclob CLOB;begin param_names(1) := 'HTTP_COOKIE'; param_values(1) := ''; param_names(2) := 'SERVER_NAME'; param_values(2) := 'mxfang-nt.us.oracle.com'; param_names(3) := 'SERVER_PORT'; param_values(3) := '80'; param_names(4) := 'SCRIPT_NAME'; param_values(4) := '/servlets/oracle.xml.xsql.XSQLServlet'; param_names(5) := 'PATH_INFO'; param_values(5) := '/xsql/test/myproject.xsql'; param_names(6) := 'HTTP_USER_AGENT'; param_values(6) := 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)'; owa.init_cgi_env(6,param_names,param_values); sampleowaxml.testone owa.get_page(buf,rows); dbms_lob.createtemporary(outclob,true,dbms_lob.session); for i in 1..rows loop dbms_lob.writeappend(outclob,length(buf(i)),buf(i)); end loop; ? := outclob; ? := DBMS_LOB.INSTR(outclob,CHR(10)&#0124; &#0124;CHR(10));end;</statement>
    <message>ORA-06550: line 3, column 3: PLS-00103: Encountered the symbol "OWA" when expecting one of the following: := . ( @ % ; The symbol ":=" was substituted for "OWA" to continue.</message>
    </xsql-error>
    - <xsql-error action="xsql:include-owa">
    <message />
    </xsql-error>
    </page>
    This error message is very similiar to the message that Shanthir posted on Jan, 21. I did run the dbmslob.sql, but it doesn't help. Anybody has ideas how to solve it?
    I used the PL/SQL web toolkit provided by OAS4.0.8.1. I believe oracle web agent is replaced by this toolkit.
    Thanks,
    Min
    null

    Hi,
    Glad that somebody else too got this problem. Well, as I had mentioned in my previous posting too, I think there are some procedures in the package, dbms_lob, like the writeappend, createtemporary etc.. which is not found in my dbms_lob.sql file, I am using 8.0.5, but I found these procedures in the 8i, I think it is becos of that.
    By the way if anybody got this solution and got any workaround, please help me too.
    I am still waiting for the solution to that.
    Shanthi

  • Unable to use the values returned by a PL/SQL stored procedure in a XSQL page

    Hi,
    I've been messing around with XML and XSQL in particular. I was trying to write a xsql page to display a report with account totals...I have the following .xsql which calls a PL/SQL stored procedure :
    <?xml version="1.0"?>
    <xsql:query connection="pfcdm" xmlns:xsql="urn:oracle-xsql">
    <xsql:set-session-param name="zasset_total" value="100">
    <xsql:dml connection="pfcdm">
    rraman.sp_vw_id(zasset_total,zinvm_total,zmkt_val);
    </xsql:dml>
    </xsql:set-session-param>
    select 'Asset total is {@zasset_total}' as "ASSET_TOTAL" from dual
    </xsql:query>
    My procedure sp_vw_id returns the values that it should. But, I am not sure how to declare variables within a page, and to output the return values. There is very scanty documentation on the usage of <xsql:dml> or <xsql:ref-cursor-function>.
    Any response would be greatly appreciated.
    Thanks,
    Raja

    Here is the example from the Oracle9i (complete rewrite) of the XSQL Chapter in our Oracle documentation.
    Question
    I using <xsql:dml> to call a stored procedure which has one OUT parameter, but I was not able to see any results. The executed code results in the following statement:
    <xsql-status action="xsql:dml" rows="0"/>
    Answer
    You cannot set parameter values by binding them in the position of OUT variables in this release using <xsql:dml>. Only IN parameters are supported for binding. You can create a wrapper procedure that constructs XML elements using the HTP package and then your XSQL page can invoke the wrapper procedure using <xsql:include-owa> instead.
    For an example, suppose you had the following procedure:
    CREATE OR REPLACE PROCEDURE addmult(arg1 NUMBER,
    arg2 NUMBER,
    sumval OUT NUMBER,
    prodval OUT NUMBER) IS
    BEGIN
    sumval := arg1 + arg2;
    prodval := arg1 * arg2;
    END;You could write the following procedure to "wrap" it, taking all of the IN arguments that the procedure above expects, and then "encoding" the OUT values as a little XML datagram that you print to the OWA page buffer:
    CREATE OR REPLACE PROCEDURE addmultwrapper(arg1 NUMBER, arg2 NUMBER) IS
    sumval NUMBER;
    prodval NUMBER;
    xml VARCHAR2(2000);
    BEGIN
    -- Call the procedure with OUT values
    addmult(arg1,arg2,sumval,prodval);
    -- Then produce XML that encodes the OUT values
    xml := '<addmult>'&#0124; &#0124;
    '<sum>'&#0124; &#0124;sumval&#0124; &#0124;'</sum>'&#0124; &#0124;
    '<product>'&#0124; &#0124;prodval&#0124; &#0124;'</product>'&#0124; &#0124;
    '</addmult>';
    -- Print the XML result to the OWA page buffer for return
    HTP.P(xml);
    END;This way, you can build an XSQL page like this that calls the wrapper procedure:
    <page connection="demo" xmlns:xsql="urn:oracle-xsql">
    <xsql:include-owa bind-params="arg1 arg2">
    BEGIN addmultwrapper(?,?); END;
    </xsql:include-owa>
    </page>This allows a request like:
    http://yourserver.com/addmult.xsql?arg1=30&arg2=45
    to return an XML datagram that reflects the OUT values like this:
    <page> <addmult><sum>75</sum><product>1350</product></addmult>
    </page>

  • Is there a for-each statement in XSQL like the one in XSL?

    I'm trying to do the following:
    <?xml version="1.0" ?>
    - <!-- <?xml-stylesheet type="text/xsl" href="/dvd/xsl/admin/listuser.xsl"?>
    -->
    - <database>
    - <request>
    - <parameters>
    - <row>
    <checkboxuser>jonathan</checkboxuser>
    </row>
    - <row>
    <checkboxuser>james</checkboxuser>
    </row>
    - <row>
    <checkboxuser>steve</checkboxuser>
    </row>
    - <row>
    <checkboxuser>richard</checkboxuser>
    </row>
    </parameters>
    - <session>
    <access>0</access>
    <user>malik</user>
    <adminfirstname>Malik</adminfirstname>
    <adminlastname>Graves-Pryor</adminlastname>
    </session>
    - <cookies>
    <JServSessionIdroot>v647ogyd8n</JServSessionIdroot>
    </cookies>
    </request>
    - <allusers>
    - <userinfo>
    <first-name>Jonathan</first-name>
    <last-name>Terry</last-name>
    <email>[email protected]</email>
    <user-name>jonathan</user-name>
    <password>terry</password>
    <access-level>1</access-level>
    </userinfo>
    </allusers>
    </database>Now as you can see, I have 4 instances of <checkboxuser> in my XSQL page. These values are being passed in from checkboxes on the previous page. Is there an XSQL command that will say something like <xsql:for-each select="/database/request/parameters/checkboxuser"> ?
    So that it'd look something like this in the original code:
    <?xml version="1.0"?>
    <!--<?xml-stylesheet type="text/xsl" href="/dvd/xsl/admin/listuser.xsl"?>-->
    <database connection="dvddb" xmlns:xsql="urn:oracle-xsql">
    <xsql:include-request-params/>
    <xsql:query id-attribute="" tag-case="lower" rowset-element="allusers" row-element="userinfo">
    SELECT FIRSTNAME AS "FIRST-NAME",
    LASTNAME AS "LAST-NAME",
    EMAIL AS "EMAIL",
    USERNAME AS "USER-NAME",
    PASSWORD AS "PASSWORD",
    ACCESSLEVEL AS "ACCESS-LEVEL"
    FROM LKUP_USER
    WHERE USERNAME = '<xsql:for-each select="/database/request/parameters/checkboxuser">'
    ORDER BY ACCESSLEVEL
    </xsql:query>
    </database>Or something like that... The XSL works fine, but not when I want to pull info from the DB.. :)
    Malik Graves-Pryor

    Ok I got a friend of mine to load everything up for me using 'javac' on he command line with -verbose and he got this back:
    C:\oracle\ora81>javac -verbose MultiValuedParam.java
    [parsed MultiValuedParam.java in 453 ms]
    [loaded C:\Oracle\ora81\lib\oraclexsql.jar(oracle/xml/xsql/XSQLActionHandlerImpl
    .class) in 62 ms]
    [loaded C:\jdk1.2.2\jre\lib\rt.jar(java/lang/Object.class) in 0 ms]
    [loaded C:\Oracle\ora81\lib\oraclexsql.jar(oracle/xml/xsql/XSQLActionHandler.cla
    ss) in 0 ms]
    [loaded C:\jdk1.2.2\jre\lib\rt.jar(java/sql/SQLException.class) in 15 ms]
    [loaded C:\jdk1.2.2\jre\lib\rt.jar(java/lang/Exception.class) in 0 ms]
    [loaded C:\jdk1.2.2\jre\lib\rt.jar(java/lang/Throwable.class) in 0 ms]
    [loaded C:\jdk1.2.2\jre\lib\rt.jar(java/io/Serializable.class) in 0 ms]
    MultiValuedParam.java:10: Package javax.servlet.http not found in import.
    import javax.servlet.http.*;
    ^
    MultiValuedParam.java:11: Package org.w3c.dom not found in import.
    import org.w3c.dom.*;
    ^
    [checking class MultiValuedParam]
    2 errors
    [done in 1266 ms]Any clues on what needs to be done to get those last two working? He has the oraclexsql.jar file listed in the system environment variable section of win2k.
    Thanks!
    Malik Graves-Pryor

  • XSQL error when trying to insert record

    hi,
    I encounter a problem using INSERT statement in xsql:query action. If I try to use INSERT statement in my xsql page like this:
    <xsql:ze_action bean="TaskentryIn">
    <xsql:query>
    INSERT
    Grundtab( Datum,Startzeit,Endzeit)
    VALUES
    ('{@date}',{'@begin}','{@ende}')
    </xsql:query>
    </xsql:ze_action>
    I always get this xsql-error:
    Statement.executeQuery - No result sets were produced by 'INSERT...'
    So far so good, I think this shouldn't be an error rather a warning.
    But this is not my primary problem.
    Anyway the record is inserted in the DB. But since I call the above <xsql:query>, from within my own action handler, I call a sendRedirect() to my next page after the <xsql:query> tag was processed.
    After sendRedirect(), when I am on my next page, I check the DB for the inserted records, and it shows up that the insert was made two times, so I have two identically records in my DB.
    If I am not sendRedirect() to the next xsql page, then the insert is only made once. So I assume that there is a problem if an xsql-error occurs and afterwards a sendRedirect().
    I am using the same way to make my SELECT statements and I dont have any trouble with them. Only when I use INSERT.
    Any adive or help is appreciated.
    Peter

    <xsql:query> is only for queries.
    Use <xsql:dml> for a DML statement.

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

  • XSQL Servlet Version 1.0.0.0 with ServletExec 3.0 on Windows2000 IIS 5

    I am attempting to establish an XML connection to Oracle 8i in a Windows2000 IIS 5 environment. The .xsql/index.htm loads perfectly, but when i try to run helloworld, I recieve the following error.
    "The XML page cannot be displayed
    Reference to undeclared namespace prefix: :'xsql'. Line 2 position 13
    <xsql:query>"
    The other examples load up the HTML but do not load any of the active XSQL information.
    Configuration:
    I have installed Suns JDK 1.2.2 and JRE 2, ServletExec 3.0 on a windows2000 box running IIS 5. ServletExec seems to be functioning perfectly. I installed the Oracle Servlet 1.0.0.0 by configuring ServletExec's ClassPath, Alias, and Servlet Configuration, mapped the .xsql extension to the servlet, and setup the XSQL virtual directory according to the documentation. I am trying to connect to to an external Oracle 8i database, and have adjusted the parameters in the XSQLConfig.xml accordingly.
    null

    The helloworld example doesn't work in XSQL 102. Tested using xsql command with http url. See below. If I put xsql: in front of connection in helloworld.xsql, the error moves from column 13 to 36, so now the trouble lies with xmlns:xsql="urn:oracle-xsql". What has changed? How do we solve this?
    C:\xsql\bin>dir c:\xsql\demo\helloworld\helloworld.xsql
    Volume in drive C has no label.
    Volume Serial Number is 24CD-3B6C
    Directory of c:\xsql\demo\helloworld
    08/03/2000 03:20p 306 helloworld.xsql
    1 File(s) 306 bytes
    0 Dir(s) 4,499,296,256 bytes free
    C:\xsql\bin>xsql file:///c:/xsql/demo/helloworld/helloworld.xsql
    <?xml version = '1.0'?>
    <!--
    | $Author: smuench $
    | $Date: 2000/03/08 23:20:17 $
    | $Source: C:\\cvsroot/xsql/src/demo/helloworld/helloworld.xsql,v $
    | $Revision: 1.1 $
    +-->
    <ROWSET>
    <ROW num="1">
    <GREETING>Hello World</GREETING>
    </ROW>
    </ROWSET>
    C:\xsql\bin>xsql http://aetius/xsql/demo/helloworld/helloworld.xsql
    Oracle XSQL Command Line Page Processor 1.0.2.0 (Production)
    XSQL-005: XSQL page is not well-formed.
    XML parse error at line 2, char 13
    Namespace prefix 'xsql' used but not declared.
    C:\xsql\bin>

Maybe you are looking for

  • Signal losses after restoring. Why?

    Hello, I currently have a problem with my iPhone5c's signal, bought from September last year. It suddenly started a few days ago. My signal on the phone keeps on failing. It keeps on saying "Searching-" and it sometimes catches the signal and would s

  • Lot size exclusion from planning run

    Hi Gurus                My scenario is some materials are maintained with lot sizes as EX , VB, HB ,  when planning run executed , the system should not consider the VB and HB lot sizes ( these are not bom components) and no procurement proposal shou

  • Hyperlink to local file

    This is very simple, and incredibly frustrating :-) I want to call a local file from a hyperlink (say c:\test.txt) but putting this in a hyperlink url does absolutely nothing, the link is completely dead. On a colleagues machine his link url gets a "

  • Rest Safari/remove all website data

    I thought I was clever and creating a faster way to delete all cookies as opposed to having to navigate all the way into - Safari/preferences/privacy/remove all website data/remove now Instead I set up - Safari/reset safari/remove all website data (t

  • DW/CS3 Preview in browser puts the file, not previews it.

    DW/CS3 When I preview in browser DW puts the file to the ftp remote server. It will not preview the local file in my primary or secondary browser. It was ok in Win XP but I now have Win7 64.