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
Similar Messages
-
- 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. -
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 -
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.
nullThat 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. -
Unable to setup/mapping of XSQL Servlet
We have installed Apache web server with Tomcat Servlet engine. We have downloaded XDK 9i for Java and we have done the setup of Classpath in tomcat.bat.
When we try to run the XSQL file from the browser (IE5), it opens as a text file instead of running the query and converting into XML document.
We are facing the problem in servlet mapping since the file WEB-INF/web.xml is not found in the distribution whereas it is mentioned in the installation document it should be available.
Please help us on this.
ThanksHi!
I think your problem happens because you haven't told Tomcat what to do when a xsql file is invoked.
Respecting to this, I have the following lines in my web.xml file:
<servlet>
<servlet-name>
xsql
</servlet-name>
<servlet-class>
oracle.xml.xsql.XSQLServlet
</servlet-class>
<load-on-startup>
-2147483646
</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>
xsql
</servlet-name>
<url-pattern>
/home/user/*.xsql
</url-pattern>
</servlet-mapping>
I hope this helps!
Best Regards,
Andri Rocha
PT Inovagco
Porto - Portugal
null -
How to configure XSQL-Servlet with Weblogic 6.0
Hi,
what are the steps to configure the xsql-servlet? I downloaded ora xdk 9.2 and getting the following error when requesting demo via url= http://localhost:7001/xsql/home.xsql:
Oracle XDK Java 9.2.0.6.0 Production
XSQL-001: Cannot locate requested XSQL file. Check the name.
In general, I can't run either demo that came with XDK... please help!
Vipul,
Can you try adding them as the first entry in the classpath in the
startWebLogic.smd file.
Raj Alagumalai -
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
cleoBirgit,
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 -
OAS4.0.8.1 + JSP Patch for XSQL Servlet
Hi,
In the release notes for the latest XSQL Servlet it mentions that the servlet will run on OAS 4.0.8.1 wiht the "JSP Patch".
Can you elaborate what the JSP patch ?
Is it the JSP download available from technet or is it something I need to download through the PATCHES link in Metalink.
ThanksHi,
In the release notes for the latest XSQL Servlet it mentions that the servlet will run on OAS 4.0.8.1 wiht the "JSP Patch".
Can you elaborate what the JSP patch ?
Is it the JSP download available from technet or is it something I need to download through the PATCHES link in Metalink.
Thanks -
XDL & XSQL servlet, where is it?
I downloaded the XDK (Java) for windows and cannot find the XSQL servlet that the HTML doc's talk about. Has anyone else ran into this problem?
Any help is appreciated...thanks!Ok I found the Servlet now it seems like there are a lot of discrepencies between the Oracle HTML documentation and the XDK. For instance it tells me:
"The XSQL Pages distribution includes a ......along with the xsql-wtg.bat script to start the server with all XSQL Servlet settings setup properly."
Yet I cannot find that Batch file anywhere?
Any ideas?
Thanks!
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,
- ManishHello 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 -
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 -
ANN: XSQL Servlet 1.0.2.0 Available
The second maintenance release of Oracle XSQL Pages, release 1.0.2.0, is now available.
This release includes bug fixes and adds the following new features:
[list]
[*]Improve Database Performance with True Bind Variables Anywhere SQL Queries are Allowed
[*]Set Default Date Format for <xsql:query> and <xsql:ref-cursor-function>
[*]Produce Custom Output From Your XSQL "Data Page" with Custom Serializers
[*]Serialize XSQL Data Pages in Binary Formats
[*]Produce PDF Output from XSQL Pages via Integration with Apache FOP for XSL-FO
[*]Optionally Use XSQL Pages with XML Parser 2.1.0.0 Beta
[*]Optionally Use XML SQL Utility 2.1.0.0 Beta
[*]Insert, Update, Delete Via XML Using Non-Oracle JDBC Drivers
[*]Produce Inline XML Schema for Queried Data
[list]
See http://technet.oracle.com/tech/xml/xdk_java.html
and click on "XSQL Servlet".Hi Guenter
Just so you know. You should remove the download trial link from the official addt page on this site. It is there for download, but nothing happens. I was expecting a notification as promised on email, when addt was released. But no such email.
I have after a total reinstall of all my system MAC OSX 10.5.6 finally succeeded in installing all of Design Premium CS4. (Shame on adobe for making this such a hastle!!!).
But when i install ADDT 1.0.1 downloaded today it appears in my extensionmanager, but nowhere to be found in DW CS4. I have restarted DW before checking and all seems to appear ok in Extension Manager.
What could this be and are others having same issues
Atb Sofus -
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
BoeingDownloaded 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 -
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? -
Does the XSQL servlet support dynamic SQL? Take a stock screening page as an example. In this example you want to dynamically build the where clause based on user input. Thus if a Minimum PE Ratio of 3 was entered, the where clause of "where PE_Ratio >= 3" would be appended to the query. In this case there may be up to 20 different parameters or more to be mapped dynamically, so it wouldn't be feasible to nest all of the different combinations.
XSQL Supports lexical substitution parameters
so any and every part of any query can be parameterized.
The extreme case is:
<query> {@sql} </query>
where the entire query is passed in
in a parameter (named "sql").
But any combination of parameters
and substitutions is legal and can
be used to do what you want.
Since the variables are not BIND
variabled, but instead lexical
substitution variables, you can
do things like:
<query>
select {@collist}
from {@table}
where {@where}
order by {@orderby}
</query>
You can provide default parameter values
using XML attributes on the <query>
element which then can be overridden
if a value is passed in in the request...
<query collist="ename, sal"
orderby="sal desc"
where="1=1"
from="dept">
select {@collist}
from {@table}
where {@where}
order by {@orderby}
</query>
And then a request to the page
can pass in a orderby=decode(comm,null,1,0)
or something to override the defaults.
null
Maybe you are looking for
-
SB live 5.1 not working even with original new installation cd.Pls H
Hi, I have purchased just last week a brand new PC with intel 95 chipset asus mbd P5-GL-MX having on -board azalia sound component.Along with just got box packed Li've 5. sound card. This has in pack original installation cd.after installing card and
-
I get an Error: "The system cannot find the file specified" when trying to print to PDF w/ Acrobat 9.5 using Windows 7. This just started happening after upgrading to MS 2013 suite and also installed Adobe Reader at that same time. I had problems in
-
Mobile Server on BI Platform - IPAD Performance
Hello, i created a Report with BO Design Studio and assigned it to Mobile Category. The BO Server is 4.1 - SP01. When opening the Report on an IPAD 2 (newest BI Mobile) it takes about 5-8 seconds longer than in Browser. Even an empty Report (just the
-
How to Deploy 2 project together?
I have created a Web Application[Default] project and the wizard has generated 2 projects. How can I deploy them together to run in my aplication server?
-
I received an Error 1335 when installing PE 10.
How do I correct this error 1335 received while installing Photoshop Elements 10. I was also told that the cabinet file Data13.cab is corrupt. How do I fix this problem and finish the install? thanks