Setting up the XSQL Servlet engine

I am trying to set up the XSQL servlet component of 9iAS. From what I read all of the necessary components are included in 9iAS, there is no need to download the XSQL servlet from technet. Is this true? I try to run the demo's (e.g. hello world) but am always getting a connection refused error. I edited the XSQLConfig.xml file to include the host, port and sid but still no luck.
I am at a loss. I have 8.1.7 SE database installed with JDBC drivers, 9iAS 1.0.2. Is this all I need or do I have to download something else.

Steven,
Thanks for responding. I am a DBA so I'm only 50% incompetent. The 9iAS version is 1.0.2.1.0 Solaris and the DB is 8i SE, right now on the same Solaris box. The Jserv and JSP demos on the initial install home page work fine and I was able to get Oracle Portal running etc. so I think the Server is working. When I check the installed products for the DB I see several JDBC drivers appear to be installed.
segmet from XSQLConfig.xml:
<connection name="demo">
<username>scott</username>
<password>tiger</password>
<dburl>jdbc:oracle:thin:@192.100.146.22:1521:NPGSDEV</dburl>
<driver>oracle.jdbc.driver.OracleDriver</driver>
</connection>
I can connect scott/tiger@npgsdev in sqlplus as well as tnsping npgsdev and the port is 1521 so the tnslistener is up and running.
I can call up the demo page at: http://192.100.146.22:7777/xsql/java/xsql/index.html
but any attempt to run them gives:
Oracle XSQL Servlet Page Processor 1.0.0.0 (Production)
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=135294976)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
Any help would be greatly appreciated. -quinn

Similar Messages

  • How to invke the XSQL Servlet directly

    What I am really trying to achieve is the ability to forward an xml document to the XSQL servlet for further processing.
    How can I invoke the servlet rather than go via an xsql page and what parameters do I need to pass in order for it to work.
    I'm wondering out loud if the new filter capabilities of servlet 2.3 will achieve the desired effect.
    Any ideas?

    You can get the RequestDispatcher and call forward() on it
    to forward to an XSQL page. From another one of your posts
    it seems you might have already figured this out. :-)

  • Safari (Versjon 6.0.5 (8536.30.1)) does not remember my toolbar arrangement or other setting like the default search engine, homepage, etc. in OS X 10.8.4.  Private Browsing is OFF. Can someone help?

    Safari (Versjon 6.0.5 (8536.30.1)) does not remember my toolbar arrangement or other setting like the default search engine, homepage, etc. in OS X 10.8.4.  Private Browsing is OFF. Can someone help?

    Triple-click the line below on this page to select it:
    ~/Library/Preferences/com.apple.Safari.plist
    Right-click or control-click the highlighted line and select
    Services ▹ Show Info
    from the contextual menu.* An Info dialog should open.
    Does the dialog show "You can read and write" in the Sharing & Permissions section?
    In the General section, is the box labeled Locked checked?
    What is the Modified date?
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.

  • 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

  • ANN: XSQL Servlet 0.9.8.6 Release Available

    Oracle is excited to announce the 0.9.8.6 technology preview
    release of Oracle XSQL Pages and the XSQL Servlet with major
    new functionality.
    -----------------[ Download Info ]-------------------
    http://technet.oracle.com/tech/xml/xsql_servlet/
    Click on "Software" to Download
    Click on "Release Notes" for Full Documentation
    XSQL Pages are server-side XML templates that make it easy
    to exploit the powerful combination of SQL, XML and XSLT to
    prototype and deploy dynamic, data-powered sites and web
    services.
    The XSQL Servlet installs into your favorite Java Servlet
    environment and works with your favorite relational database,
    making it dead easy to:
    -> Assemble XML "DataPages" from multiple SQL Query
    Results (including full support for Oracle8i's
    richly-structured XML Objects Views), local or remote
    XML resources, Stored Procedure Calls, etc.
    -> Transform the "DataPages" in the server using XSLT,
    optionally using stylesheets that are appropriate to
    the requesting client, including the ability to
    let the client to the stylesheet processing for IE5
    or other clients in the future that support this.
    Our online support forum for XML is at:
    http://technet.oracle.com/support/bboard/discussions.htm
    The XSQL Servlet demos (included in the release) are
    installed on Oracle's OTN site and can be tested from the
    comfort of your browser before you download if you choose:
    http://technet.oracle.com/tech/xml/demo/demo1.htm
    This new 0.9.8.6 release includes...
    More Documentation
    ==================
    More extensive documentation and new tutorial material.
    New Demos
    =========
    New and enhanced demos with additional notes describing key
    points each demo is trying to illustrate.
    New API's and JavaDoc
    =====================
    Programmatically process XSQL Pages from your own Java
    programs using a new XSQLRequest object, as well as write
    custom page "action handlers" with new JavaDoc and
    example code.
    New Features
    ============
    <xsql:query>
    The <query> element from previous releases is now part of
    the xsql namespace and is referred to using the new
    <xsql:query> syntax in your XSQL Page. A new section details
    how to use <xsql:query> to produce XML query results with
    nested structure.
    <xsql:dml>
    Do DML and call stored procedures anywhere you need to in
    your XSQL Pages.
    <xsql:stylesheet-param>
    Use parametrized XSLT Stylesheets and set the stylesheet
    parameter values from your XSQL Page.
    <xsql:insert-request>
    Automatically insert posted XML or HTML Form parameters into
    the database.
    <xsql:include-xml>
    Include arbitrary XML resources at any point in your page by
    relative or absolute URL.
    <xsql:include-request-params>
    Include key information like HTTP Parameters, Session
    Variable values and Cookies into your XSQL Page for
    addressing them in your stylesheet.
    <xsql:include-xsql>
    Include the results of one XSQL Page at any point inside
    another. This allows sophisticated combinations of multiple
    XML data sources and multiple XSLT transformations.
    <xsql:include-owa>
    Include the results of executing a stored procedure that
    makes use of the Oracle Web Agent (OWA) packages inside the
    database to generate XML.
    <xsql:action>
    Invoke a user-defined action handler, implemented in Java,
    for executing custom logic and including custom XML
    information into your XSQL Page.
    null

    That error message is outdated and should read:
    Cannot find XSQLConfig.xml in your server-side classpath. The error is definitely that it's not finding XSQLConfig.xml on your classpath. The likely cause is that you did not add the directory:
    ./xsql/lib
    to your CLASSPATH in the JRun Servlet Engine Java environment.

  • Oracle XSQL Servlet Page Processor 0.9.9.1 (Technology Preview)

    I trying XSQL Servlet in oracle8.1.6,Java Web Server.
    When I access http://localhost:8080/xsql/index.html
    I am getting this error.
    "Oracle XSQL Servlet Page Processor 0.9.9.1 (Technology Preview)
    XSQL-013: XSQL Page URI is null or has an invalid format."
    Any suggestion....
    null

    JWS is not one of the supported Servlet Engines in 1.0.0.0 please see the release notes for supported engines (there are lots of them).
    The XSQL 1.0.1.0 release will support and
    additional set of engines that cause XSQL-013 errors becuase the return null for
    the Servlet API call:
    req.getRealPath(req.getServletPath());

  • Oracle XSQL Servlet & IIS4.0

    Is it possible for Oracle XSQL Servlet to work with IIS4.0 ?

    JWS is not one of the supported Servlet Engines in 1.0.0.0 please see the release notes for supported engines (there are lots of them).
    The XSQL 1.0.1.0 release will support and
    additional set of engines that cause XSQL-013 errors becuase the return null for
    the Servlet API call:
    req.getRealPath(req.getServletPath());

  • Character Set Problem with XSQL

    Hi!
    I am using xsql:insert-request of the xsql-servlet. On NT everything works fine.But on Solaris I get with the same configuration (Oracle 8.1.7 XSQL-Servlet 1.0.4.0) and the same xsl and xsql Files I get the following Error:
    Exception 'java.sql.SQLException:Non supported character set: oracle-character-set-46' encountered during processing ROW element 0All prior XML row changes were rolled back. in the XML document.
    I want to load Data into an object-relational Table.
    Has anyone of you had the same Problem? Has anybody a solution for this Problem. Today I tried different things wihtout any success.
    Thanks a lot,
    Harald

    hi manidhar,
    I am also facing the same problem.In my case the characters are getting garbled when it is passed to a javaScript function.
    Did u find a solution.
    If yes please post it.
    thanks in advance

  • ## NEW XSQL Servlet 0.9.9.1 OUT TODAY ##

    The new release of XSQL Pages and the XSQL Servlet is out today here on OTN. For complete information on what's new, and a much-improved "how to install" section, see:
    http://technet.oracle.com/tech/xml/xsql_servlet/htdocs/relnotes.htm
    The brand-new, unified demo, on-line help system is also staged on the live server at:
    http://technet.oracle.com/tech/xml/demo/demo1.htm
    and is included in the release. It's all built using XSQL Pages and XSLT stylesheets.
    Lot's of new features and enhancements based squarely on all of YOUR feedback, here on the OTN XML Forum.
    Keep the questions and suggestions coming.

    Richard,
    I have just applied patch to upgrade from Portal 3.0.9 to 3.0.9.8.1 (Patch applied to loginserver and portal schema) and the External Applications that were previously set up have gone from the portlet.
    Does this relate to your note at the bottom:
    "Minor issues with Bulk action. 1840420 CUSTOM WRITTEN EXTERNAL AUTH MODULE NEED TO BE UPDATED AFTER 3.0.9 UPGRADE SSOXOID.PKB DOESN'T LOAD.
    External authentication modules that were written before 3.0.9 need to be updated after upgrading to 3.0.9. ssoauthx.pks is updated in 3.0.9 and contains additional routines that need to be implemented." ??
    If I go to the "Login Server Administration" portlet and select the link "Administer External Applications" I get a list of 5 External Applications that have previously been set up.
    If I go back to the Home Page and select "customize" on the "External Applications" portlet I get the message "Your Login Server administrator has not registered any external applications".
    Does that mean I should just run 'ssoauthx.pks' & 'ssoxoid.pkb' or do I need to do something else ??
    Thanks
    Simo

  • Xsql servlet: creating pdf output

    hello,
    is it possible to create pdf output with the xsql servlet???
    i know that html is possible. i'm a beginner..
    thanks
    cleo

    Birgit,
    There was a bug with some german printer drivers where if you printed a report to that driver, afterwards you would see this behaviour with PDF output. This was fixed in an earlier 6i patch set. I would suggest that you download the latest 6i patchset from metalink and install that.
    Regards,
    Danny

  • XSQL Servlets download

    - http://technet.oracle.com
    - xsqlservlet.zip
    - anytime
    - Internet Explorer 6.0
    - Window XP Professional
    I have been trying to download the XSQL Servlets for oracle 9i by going to the site as follows:
    http://technet.oracle.com/tech/xml
    I cannot find the file like "xsqlservlet.zip" to download. All I can find is the XDK distribution. After I download the XDK, it does not have the xsql\lib\ directory to configure for the servlets engine.
    Can someone point me on how to download the XSQL Servlets on technet ?
    Thank you !

    Have not heard of this.
    Try the tar.gz file. WinZip knows how
    to open that, too.

  • Download of XSQL Servlet

    I have been trying to download the XSQL Servlets for oracle 9i by going to the site as follows:
    http://technet.oracle.com/tech/xml
    I cannot find the file like "xsqlservlet.zip" to download. All I can find is the XDK distribution. After I download the XDK, it does not have the xsql\lib\ directory to configure for the servlets engine.
    Can someone point me on how to download the XSQL Servlets on technet ?

    Steve,
    Thanks for the reply.
    I followed your lead.
    Could you please clarify this for me.
    I installed XDK for Java v. 9.0.1.1.0A (Linux, Oracle 8.1.7
    server, jdk 1.1.8).
    Loaded xmlparserv2.jar
    Loaded xmlplsql.jar
    Loaded oraclexsql.jar
    Loaded xsu111.jar (loaded with errors like
    oracleXMLSave, oracleXMLStatisSave, oracleXMLQuery could not be
    resolved).
    Executed xmlload.sql, dbmsxsu.sql, xdkplsql.sql.
    Now trying to execute script xsutest.sql from .../xdk/admin
    gives me the error 'ORA-29541: class
    SCOTT.oracle/xml/sql/query/OracleXMLStaticQuery could not be
    resolved...'
    Is it possible to say what I missed?
    Thank you
    Anatoliy

  • XSQL Servlet Page Processor 0.9.8.6 won't run

    Hi...
    I just upgraded the Servlet and keep getting
    XSQL-003: Failed to find 'XSQLConnections.xml' file in server CLASSPATH.
    XSQL-004: Could not acquire a database connection named: demo
    XSQL-007: Cannot acquire a database connection to process page.
    The classpaths are all setup correctly and the previous version worked fine. The
    setup xml file (XMLConfig.xml) is in the classpath.
    From what i can see, XSQLConnections.xml is
    not even included in the distribution so i don't understand why i get this error.
    I am using Apache + Jrun 2.3.3
    thanks for any help
    null

    That error message is outdated and should read:
    Cannot find XSQLConfig.xml in your server-side classpath. The error is definitely that it's not finding XSQLConfig.xml on your classpath. The likely cause is that you did not add the directory:
    ./xsql/lib
    to your CLASSPATH in the JRun Servlet Engine Java environment.

  • Direction Needed to Get Started With XSQL Servlet

    Hi, I am an ORACLE DBA. However, I am brand new to XML world. I tried to experiment and and understand the use of XSQL Servlet. I downloaded the software 1.0.0.0, and installed it on my PC, with the included Web-to-go. The installation seems to be OK, as I followed the instructions and twisted a little bit based on the intuition.
    When I clicked on the Demo pages, it seemed to work.
    The problem is, I want to understand the working of the XSQL Servlet. The only document I have is the Release Note of the software. It is very terse and seems to be for the ones who either worked on the previous release of the product or who knows the XML very well. I got lost in the reading of the document.
    Is there some documents that will provide some Intro level tutorial or help? Where should I begin to the learning of the software?
    Thanks for the help.

    Hello,
    I am new to Java and had a few questions regarding
    development. Please, if the questions are 'stupid'
    or obvious in your eyes, keep in mind I am new to
    this and just need a little boost to get started.
    1) Can you make 3D objects in Java? Such as
    landscapes and people.
    Yes.
    2) Which programs are needed for development?
    Please list a few programs you feel are best for
    Java Development as a whole. Links here would also
    be wonderful.A compiler. An editor.
    >
    3) Are there any websites which go threw Java
    Development? I can't seem to find one which fits the
    needs or a beginner.There are several.
    Sun's basic Java tutorial
    Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    http://javaalmanac.com . A couple dozen code examples that supplement The Java Developers Almanac.
    jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    Bruce Eckel's Thinking in Java (Available online.)
    Joshua Bloch's Effective Java
    Bert Bates and Kathy Sierra's Head First Java.
    >
    Sorry for the questions and thank you in advance for
    all the help. It's greatly apreciated.
    Cravepain

  • Troubleshooting XSQL Servlet

    Hi.
    I need some assistance troubleshooting
    a simple .xsql.
    I'm running Oracle 8.1.7 and JRUN 3.X as
    my servlet engine.
    I've mapped .xsql files to the XSQL servlet
    as specified in the installation guide.
    The servlet engine is running and I'm able
    to establish a connection w/ the database via
    that servlet.
    My xsql file is as follows:
    <xsql:query connection="gdsadmin" xmlns:xsql="urn:oracle-xsql">
    select gds_entity_id,
    entity_symbol,
    native_id
    from entity_xref_tab
    </xsql:query>
    In my browser, I see the following:
    <?xml version="1.0" ?>
    <xsql:query connection="gdsadmin" xmlns:xsql="urn:oracle-xsql">select gds_entity_id, entity_symbol, native_id from entity_xref_tab</xsql:query>
    Any ideas on what could be going wrong?
    XML generation via OracleXML getXML with
    the same connect string as in XSQLConfig.xml
    is successful.
    Thanks for your help,
    Tara
    null

    This symptom is the result of not having the servlet engine properly associate the *.xsql with the oracle.xml.xsql.XSQLServlet servlet. It's simply returning the raw template as a text file, rather than returning the result of having the servlet process the template server-side.

Maybe you are looking for