XSQL-014 on Solaris

I'm getting an XSQL-014 when executing helloworld.xsql from browser.
When I run command line xsql ../demo/helloworld.xsql I get back xml.
Any ideas???
System is configured:
ES10000 Solaris 2.6
Oracle 8.1.6
Sun Java Web Server 2.0
Here is java info from snoop servlet:
Java version: 1.2.2
Java home: /usr/jdk1.2.2/jre
Java vendor: Sun Microsystems Inc.
Java class version: 46.0
Java class path:
/d001/app/oracle/product/xml/servlet/xsql/lib/oraclexsql.jar
/d001/app/oracle/product/xml/servlet/xsql/lib/xmlparserv2.jar
/d001/app/oracle/product/xml/servlet/xsql/lib/oraclexmlsql.jar
/d001/app/oracle/product/xml/servlet/xsql/lib
/d001/app/oracle/product/8.1.6/jdbc/lib/classes12.zip
/usr/JavaWebServer2.0/classes
/usr/JavaWebServer2.0/lib/jsp.jar
/usr/JavaWebServer2.0/lib/pjbean.jar
/usr/JavaWebServer2.0/lib/servlet.jar
/usr/JavaWebServer2.0/lib/jst.jar
/usr/JavaWebServer2.0/lib/x509v1.jar
/usr/JavaWebServer2.0/lib/ssl.jar
null

Steven,
Has a fix for this problem been released?
Thanks,
Mike
I debugged this problem last night.>The problem is that Java Web Server 2.0>returns null for the Servlet API
call:>request.getRealPath(request.getServletPath())>It appears
one must diverge from>the expected Servlet API call above>and
instead use the deprecated:> request.getPathTranslated()>instead
when running against JWS 2.0>A future release of XSQL may add>a
config-file switch to turn on>the use of this deprecated
behavior,>but the 0.9.9.1 and 1.0.0.0 releases>do not have this
switch.>Are you able to use any of the servlet engines listed in
the XSQL Servlet release notes that we've tested it against?>null

Similar Messages

  • XSQL-007 and list of XSQL error codes.

    I have a situation where I need to replay a request if I cannot acquire a database connection, and to not replay a request otherwise. Is the XSQL-007 code the only code that deals with database connections?
    XSQL-007: Cannot acquire a database connection to process page.
    Do you have a published list of XSQL codes? Is there a method in java code to generate the full list of XSQL codes? For example to get a list of database error codes, one can in PL/SQL use:
    set serveroutput on size 2000
    begin
    for i in 1..9999 loop
    dbms_output.put_line ( sqlerrm(-i) ) ;
    end loop ;
    end ;
    Steve.

    There's not a way to loop through the errors in Java. Here's the list.
    XSQL-001: Cannot locate requested XSQL file. Check the name.
    XSQL-002: Cannot acquire database connection from pool: {0}
    XSQL-003: Failed to find 'XSQLConfig.xml' file in server CLASSPATH.
    XSQL-004: Could not acquire a database connection named: {0}
    XSQL-005: XSQL page is not well-formed.
    XSQL-006: XSLT stylesheet is not well-formed: {0}
    XSQL-007: Cannot acquire a database connection to process page.
    XSQL-008: Cannot find XSLT Stylesheet: {0}
    XSQL-009: Missing arguments on command line
    XSQL-010: Error creating: {0}\nUsing standard output.
    XSQL-011: Error processing XSLT stylesheet: {0}
    XSQL-012: Cannot Read XSQL Page
    XSQL-013: XSQL Page URI is null or has an invalid format.
    XSQL-014: Resulting page is an empty document or had multiple document elements.
    XSQL-015: Error inserting XML Document
    XSQL-016: Error parsing posted XML Document
    XSQL-017: Unexpected Error Occurred
    XSQL-018: Unexpected Error Occurred processing stylesheet {0}
    XSQL-019: Unexpected Error Occurred reading stylesheet {0}
    XSQL-020: XSQLConfig.xml file is not well-formed.
    XSQL-021: Serializer {0} is not defined in XSQLConfig.xml
    XSQL-022: Cannot load serializer class {0}
    XSQL-023: Class {0} is not an XSQL Serializer
    XSQL-024: Attempted to get response Writer after getting OutputStream
    XSQL-025: Attempted to get response OutputStream after getting Writer

  • Bug in XSQLServlet when using the XSQLDMLHandler?

    Hi all & Steve,
    I am trying to call the XSQLDMLHandler as a nested Handler inside my own handler. But I always get this error message:
    XSQL-014: Resulting page is an empty document or had multiple document elements.
    I was checking the result for the call and it seems to be ok, I get the usual status message for my update. But when my actionhandler finishs and the XSQLServlet tries to carry on, I get the error above .
    I am doing this already with the XSQLQueryHandler and it works fine. So it seems to me that the XSQLServlet has a problem if the XSQLDMLHandler is called as a nested handler?
    Any suggestion or help will be appreciated.
    Thanks
    Peter

    Yeah unfortunately if you tried to send an e-mail
    before discovering that bug, you will have an error
    message show every time you access Mail saying "the
    sender address [email protected]@gmail.com was
    rejected by the server."
    I can't get it to go away even by deleting the
    account on iPhone and not setting it to sync.
    Anybody know of a fix?
    -AJT
    Yes. Create the GMail account on your iPhone using the Other shortcut instead of the GMail shortcut. That will let you specify whatever address you want.

  • Parameters causing problems.

    I have installed the XSQLServlet ( 0.9.8.6 ) on IIS with ServerExec.
    The XSQL is processed and database accessed successfully. If I don't pass a parameter on the URL. i.e. use the program default.
    When I place the parameter on the URL it comes back with the XSQL-014 error.
    Any ideas?
    Mike.
    null

    The problem disappeared when I changed the JAVAHOME to point to a JDK1.2 RTE.
    The previous version was 1.7.
    The problem seemed to be due to a CHARSET conversion problem.
    DETAIL LOG:
    [Tue Feb 15 14:51:49 2000] ServletExec: Java VM message: [Loaded sun/io/CharToByteISO8859_1.class from C:\Program Files\Oracle\jre\1.1.7\bin\..\lib\rt.jar]
    [Tue Feb 15 14:51:49 2000] ServletExec: Java VM message: [Loaded java/lang/IllegalArgumentException.class from C:\Program Files\Oracle\jre\1.1.7\bin\..\lib\rt.jar]
    Hope that is useful.
    null

  • XSQL and BEA Weblogic 6.1

    I spent a lot of time trying to figure out how to configure
    the XSQL servlet to run on BEA Weblogic 6.1
    It is really simple once you understand that you should work
    off expanded directory instead of trying to get a .war or .ear
    file uploaded.
    I decided to give my explanation to help others...
    This works with the current XDK (9.0.2.0.0D) on OTN and I got it
    running on Windows 2000 and/or Solaris.
    I based these instructions on Steve Muench for
    "ANN Deploy Oracle XSQL Pages to OC4J" off the OTN web site.
    1) get the latest xdk_java off the OTN web site.
    2) create a directory (or subdirectory) named xsql (to hold the entire application
    3) create /xsql/META-INF
    /xsql/WEB-INF
    /xsql/WEB-INF/lib
    /xsql/WEB-INF/classes
    structure to hold the XSQL servlet
    4) create a /xsql/META-INF/application.xml with the following code:
    <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN'
    'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
    <application>
    <display-name>Oracle XSQL Servlet</display-name>
    <description>Oracle XSQL Servlet</description>
    <module>
    <web>
    <web-uri>xsql.war</web-uri>
    <context-root>xsql</context-root>
    </web>
    </module>
    </application>
    5) create the file /xsql/WEB-INF/web.xml with the following content
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
    <web-app>
    <servlet>
    <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>
    <servlet-mapping>
    <servlet-name>oracle-xsql-servlet</servlet-name>
    <url-pattern>/xsql/*</url-pattern>
    </servlet-mapping>
    </web-app>
    6)extract the xdk_java (that you copied from the OTN) on a temporary directory. (/otn)
    7) copy the following files (they are in the /otn/lib subdirectory) into /xsql/WEB-INF/lib
    oraclexsql.jar
    xsqlserializers.jar
    xmlparserv2.jar
    xsu12.jar
    8) copy /otn/xdk/admin/XSQLConfig.xml to xsql/WEB-INF/classes
    9) copy the entire directory and subdir /otn/xdk/demo/java/xsql to /xsql/demo
    10) no need to create a war or ear file as Weblogic will work better from the expanded directory
    anyway and it is simpler to implement.
    11) Now you need to copy that entire directory structure /xsql over to the Weblogic Application Server
    config/domain-name/applications area so in my case it is
    /bea/wlserver6.1/config/your_domain/applications/xsql
    12) If Weblogic is running in development mode, it should deploy and load the servlet automatically.
    If it is running in production mode, then we would need to restart it.
    13) You should be able to test this with http://your_host:7001/xsql/demo/index.html
    Any URL that specifies the /xsql will then be treated by the
    XSQL Servlet.
    It works for me...

    Hi Denis,
    I followed your procedure to deploy XSQL Servlet on WebLogic 6.1. First I deployed as expanded directory structure although I turned 'Auto Deployed Enabled' flag to on for my domain, WebLogic couldn't pick up the application. Then I tried to create ear application and deployed it (In your message you are saying that don't need to create ear or war, you mean this is not just a necessity or it never could be deployed as ear/war files). I saw on the as deployed on console but when I tried the http://myhost:7001/xsql/demo/index.html, I got the following error message.
    Oracle XDK Java 9.2.0.2.0 Production
    XSQL-013: XSQL Page URI is null or has an invalid format.
    Oracle XDK Java 9.2.0.2.0 Production
    XSQL-013: XSQL Page URI is null or has an invalid format.
    Can you help me to trouble shoot this problem? Thank you very much
    Deha Peker

  • How to Install XSQL On Apache 1.3.12 Tomcat 3.1 ?

    We are trying to install the XSQL 1.0.0 Servlet to the Apache 1.3.12 With Tomcat 3.1 (production verion) on Solaris 2.6 platform. We followed the instructions on the XSQL Release Note. However, it does not work. More specifically, we modified the tomcat.sh file under the <APACHE_HOME>/ext_app/apache_1_3_12_tc_3_1/bin directory, to add the correct CLASSPATH for the XSQL Java classes. Then we edited the "sever.xml" file under the ../conf directory to add the Context for xsql. When we re-started the Web Server, we could see that the path for the XSQL were set in the CLASSPATH. However, the Web Server did not pick up the *.xsql files at all. What kind of problems could it be?
    One observation we had on the "server.xml" file was, there is no "Context" entry at all, not like in the examples given by the Release Note, where you might (by default) have already got /example. /test. /admin, context in the file.
    Our experience with the XSQL product is very frustrating at the moment, please help.
    Thanks,
    null

    I am going to have to look into this and get back to you. I will do so and get back to you ASAP.
    Thanks for your patience,
    -Kishore

  • 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

  • Apache not serving XSQL pages properly.

    java 1.2
    apache 1.3.12
    tomcat 3.2.1 (w/ mod_jk)
    Solaris 7
    XSQL 1.0.4.3
    The XSQL Servlet appears to be working fine through TOMCAT stand-alone. So for example, this
    "http://192.168.0.2:8080/xsql/demo/helloworld/helloworld.xsql" works fine...
    When I try to hit it through Apache (w/out the 8080 port) however I simply get the original XSQL query page instead of the query results. In other words, it appears Apache doesn't forward *.xsql requests to the XSQL Servlet...I think? Any ideas - thanks.

    Thanks for your responses...I think I've figured it out for both mod_jserv and mod_jk.
    The mapping of *.xsql to the oracle.xml.xsql.XSQLServlet is taken care of in the web.xml supplied in the XDK. This tells Tomcat to handle all *.xsql files with the XSQLServlet and that was working all along (Tomcat stand-alone).
    What's missing is that Apache needs to direct all *.xsql files to Tomcat. This is taken care of by adding the following lines to the httpd.conf:
    (for mod_jserv add)
    AddType text/xsql .xsql
    AddHandler jserv-servlet .xsql
    (for mod_jk add)
    JkMount /xsql/*.xsql ajp12
    In general, I simply mimiced the configuration of *.jsp files.
    I noticed a posting a few weeks back where someone was getting "rubbish" when they tried to access http://localhost/xsql/ - my guess is that apache was serving up the xsql pages "as is", without passing them onto Tomcat. This should hopefully do the trick...
    Comments?

  • Xsql-007 Error

    Oracle 9.0.1 on Solaris 9, SPARC hardware. XDK is the one that came on the CD with the original install.
    Had XSQL queries working fine, then had to change the nodename of the machine when we got a domain.
    Now all DB queries return "XSQL-007: Cannot acquire a database connection to process page.
    Io exception: The Network Adapter could not establish the connection"
    Apparently the Servlet doesn't get it's DB connection from Localhost, but from the nodename defined in /etc/nodename.
    Anybody know how to redirect from the old nodename to Localhost or the new nodename? Also, does anybody know where all the XSQL error messages are documented? I've searched OTN, no luck.
    Thanks,
    Ben

    Thanks for your reply!
    You got me on the right track! TNSNAMES.ORA had the correct hostname, but I still had the wrong hostname in $ORACLE_HOME/network/admin/listener.ora.
    What had me confused was the fact that Windows SQLPlus clients could connect just fine but the server couldn't find it's own database.
    Thank you!!!
    Regards,
    -Ben

  • 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

  • Xsql and excel

    I am generating excel output from my xsql page.
    when trying on tomcat environment loaded on windows 2000 OS i get the correct output, while trying the same on Apache on Solaris(UNIX) i get error as
    "The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document."
    Do we require seperate settings for Unix environment? Or i need to get excel dll registered somewhere on Apache/Solaris?
    Regards
    Raju Dave

    <?xml version="1.0"?>
    <!-- Written by Marcelo F. Ochoa "[email protected]" -->
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
    <xsl:processing-instruction name="cocoon-format">type="application/vnd.ms-excel"</xsl:processing-instruction>
    <html>
    <table>
    <tr><th>ID</th><th>City</th><th>Point</th><th>Stock</th></tr>
    <xsl:for-each select="sales/name">
    <xsl:sort select="point"
    data-type="number"
    order="ascending"/>
    <tr>
    <td><xsl:value-of select="@id"/></td>
    <td><xsl:value-of select="city"/></td>
    <td><xsl:value-of select="point"/></td>
    <td><xsl:value-of select="stock"/></td>
    </tr>
    </xsl:for-each>
    </table>
    </html>
    </xsl:template>
    </xsl:stylesheet>Note the mime type returned is not text/html, it must be application/vnd.ms-excel, this stylesheet is for DB Prism / Cocoon integeration but with a litle modification will be work with XSQL.
    null

  • XSQL Command-Line, parameters with blanks

    Is it possible to use XSQL Command-Line with parameters containing blanks (space characters).
    In an URL parameter spaces can be encoded with "+" or "%20", but this does'nt seem to work with XSQL Command-Line parameters.
    -- Peter

    I can't make this work on Unix (solaris), but I can see it is a shell script problem, not a XSQL problem.
    The normal syntax for Unix shell script would be
    $ script.sh foo="one two"
    but the standard Oracle-supplied xsql unix shell script sets environment and passes all command-line parameters to the java program with
    oracle.xml.xsql.XSQLCommandLine $*
    and thereby the quotes disappear.
    The problem is not really big, since I could just do
    oracle.xml.xsql.XSQLCommandLine test.xsql "foo=one two"
    after setting classpath. Anyway, if anybody knows how to make the xsql script work with quoted parameters, let me know.
    -- Peter

  • Oracle lite xsql web to go installation error

    I have installed Oracle lite in windows 2000 professional. I installed the XSQL also. I configureged web to go. I get the demo (index.html) screen. I changed the connection name in helloworld.xsql to lite. WhenI try to run it
    I am getting the following error
    XSQL-007: Cannot acquire a database connection to process page.
    java.lang.ClassNotFoundException: oracle.lite.poljdbc.POLJDBCDriver
    What should I do to correct this?
    null

    the web-to-go server portion of Oracle Lite can only be installed on NT at this time. the future relase version 4.1.1 should support solaris (per oracle support).
    After installation on the server side is complete, the web-to-go client software can be pushed down by connecting through a web browser to your web-to-go server by
    typing http://yourwebtogoservername/webtogo/setup
    the client setup.exe file that will download can be run on 95,98 and NT (per Oracle support)

  • Oracle XSQL not working : XSQL-017

    Hi XML Experts,
    I have installed 9iAS 1.0.2.2 on Sun Solaris 2.6 (DB-8.1.7.0.0)
    and have configured XDK. But I am not able to run XSQL pages.
    When I try to access
    http://machinename:port/xsql/java/xsql/demo/emp/emp.xsql the
    following error message is displayed:
    XSQL-017: Unexpected Error Occurred
    java.lang.NullPointerException
    at oracle.xml.xsql.XSQLConfigManager.getNamedConnection(Compiled
    Code)
    at oracle.xml.xsql.XSQLConnectionManager.getPool(Compiled Code)
    at oracle.xml.xsql.XSQLConnectionManager.getConnection(Compiled
    Code)
    at oracle.xml.xsql.XSQLPageRequestImpl.setConnectionName
    (Compiled Code)
    at oracle.xml.xsql.XSQLPageProcessor.process(Compiled Code)
    at oracle.xml.xsql.XSQLServlet.doGet(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(Compiled Code)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    I checked the xml.properties file and also the XSQLConfig.xml
    and all the configuration seems to be OK. I also added the path
    to XSQLConfig.xml file in jserv.properties but still this error
    persists.
    Java version on our machine is 1.1.3. Does it matters? We tried
    to install jdk1.2 and also set the PATH variable still the
    version remains the same.
    Any tips or workaround for this problem.
    Thanks in advance.

    I have installed Java 1.2 and set the PATH variable. I also
    changed the wrapper.bin pointing to the new JDK.
    Still the error persists. Any Solution ???

  • 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

Maybe you are looking for

  • Error while running netca

    When I run netca I receive this: INFO: Starting to execute configuration assistants INFO: Command = /u01/oracle/product/10.2.0/db/jdk/jre//bin/java -Duser.dir=/u01/oracle/product/10.2.0/db/network/jlib -classpath /u01/oracle/product/10.2.0/db/jdk/jre

  • Help! iPhoto Library appears to be unusable.

    I have a large library so my iPhoto is loaded onto an external Lacie drive. Was viewing pics when my 3 month old Macbook Pro's battery went dead. When I plugged in and rebooted, I received a message telling me to upgrade my iPhoto. I did, and now whe

  • HT4060 My iPad 2 won't recharge after 4-6 hours

    My iPad 2 won't recharge after 4-6 hours and the screen is still black. Are there any methods of getting it to come back to life?

  • Is there any Content Management System better then Drupal?

    Hi everybody, I am in search of content management system for my new project it is for the collaboration of high school teacher. I want to provide following feature in it: *Blog *Lesson Plan *Chat  *Email *Virtual Class Room features *Personal Resour

  • Euro - USD conversion problems

    I have an issue concerning euro -usd conversion. I have maintain the table in OB08 with 2 entries for USD to EUR conversion. one until 07 July 2009 and the other from then on. When I make a quotation with pricing date 06 July 2009 it gets the right c