XSQL-007 using Personal Oracle 8.1.6

I get
XSQL-007: Cannot acquire a database connection to process page.
Io exception: The Network Adapter could not establish the connection
message when running hello world demo.
I have set up Oracle 8i on Windows 98, installed Oracle 8.1.6 for Windows 98, installed XSQL.
Here is the tnsnames entry for the 8.1.6 database:
TEST.GLOBAL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dcmli)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = test.global)
I changed the word "demo" to "test" in helloworld.xsql and xsqlconfig.xml. xsqlconfig.xml now reads:
<connection name="test">
<username>scott</username>
<password>tiger</password>
<dburl>jdbc:oracle:thin:@localhost:1521:ORCL</dburl>
<driver>oracle.jdbc.driver.OracleDriver</driver>
</connection>
null

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
Is your database SID the four upper-case letters 'ORCL' ?
The demos are looking for a connection named "demo" (unless you edited the demo directories' XSQL files, too).
Can you ping your "localhost" from a DOS box?<HR></BLOCKQUOTE>
How do I check whether the SID is ORCL and if not, can I change it? I did a default database installation.
When I look at the tnsnames.ora their is no mention of SID=ORCL - I don't know where to look or how to make the SID=ORCL. I added it after CONNECT_DATA =
CONNECT_DATA =
(SID=ORCL) <== added line
following example of another database, restarted database, but it did no good. Another aspect I don't understand - I can start SQLPLUS without specifying a database, but if I specify test or test.global, which is in the tnsnames.ora, it does not work. So what connect string is it using when I don't provide one? When I look in the Oracle home for the database, it says ORACLE_SID=test, but neither test or test.global works as connect strings.
I can ping local host.
null

Similar Messages

  • Connecting two machines using personal oracle

    I have a personal oracle 8.0.4 installed on my machine, I tried to connect another machine to use the same database, as a networking both machines were able to access the other but upon trying to connect to oracle I always get TNS message.
    Would you please advise.

    Make sure that your listener is started along with the oracle version. use lsnrctl command to start view listener status
    lsnrctl> status tells status
    > start to start
    > stop to stop listener
    now you need to configure the tnsnames thru net8 easy config or manually. it works
    good luck
    null

  • Report (release 6.0.8.15.0) failure on tcp/ip connection to personal oracle 8.1.5

    hi,how can i resolve this problem?
    i use personal oracle with a tcp/ip connection and if i run a
    report(developed with report builder oracle) i receive a
    compiler error .if i run this same form on the server,the form
    has no problem.
    the only different is a client's call with tns (the listner is
    start up)
    thank and sorry for my bad english

    Hi, how are you?
    I read your file. On my computer, I got the same problem. First I installed Personal Oracle 8.15 version under window 98. The oracle home is e:\orale\ora81. Then I installed Form 8i in the orale home e:\oracle\ora. After installation, there are two SQLPLUS. One is under ora81 and another is ora. The one which is in e:\oracle\ora81 is working and it can bring up the database. Another one and Forms don't work. They can not connect to the local database. It means my client which is under e:\oracle\ora can't connect to my server which is under e:\oracle\ora81. I think I shoud set up the connection in tnsnames.ora by using Net8 Easy Config. I did it. It failed. Can you help me?
    Thanks.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by harry dhillon ([email protected]):
    No, you shouldn't have to to.
    If you have Personal Oraacle 8 running properly on your PC, then you can just connect to the database from Developer V6 using your normal username/password. For example, if you log on to SQLPLUS as scott/tiger, then the same will work for your forms and reports. You don't even need to enter a connect string. I have it working OK on a Windows '98 PC, with Personal Oracle 8i, and Forms v6i.<HR></BLOCKQUOTE>
    null

  • Problems with Personal Oracle Instal on WinME

    Hi,
    Can someone throw some light on this, please?
    I am trying to install Personal Oracle on a machine running ME.
    When I use Personal Oracle for '98, it stops with a message about the paths to Source and Destination of the software. I checked many times about the availability of the directories, but it does not go forward. I tried the JREW = ... in the COMPATIBILITY95 section of the WIN.INI without success.
    When I try to install Personal Oracle for Win2K, it apparently installs the EE, and tries to configure the network. Here it asks for the name of the host. When the server and the client are to be on the same machine, what is the need for a network connection?
    That aside, what is the correct version to install on a ME machine? Are there any work-arounds for these problems?
    Any help is appreciated.
    Thanks,
    [email protected]

    I have the same problem in ME
    null

  • Oracle Lite vs Personal Oracle

    Hi
    I use Oracle Server 8.1.7 at work and want to do some development work at home. Which version should I use on my Win 98 machine and what are the pros and cons of each?
    Cheers
    Phil

    I would advise you to use Personal Oracle.
    Personal Oracle has most of the features the Enterprise version of Oracle 8.1.7 has. Oracle Lite is a very light weight version of Oracle which doesn't really have anything to do with the normal versions.
    Especially when you want to develop things at home and deploy them at work you need Personal Oracle
    null

  • Personal Oracle 7

    I have a backup of data that was done using personal oracle 7. How can I restore it to personal oracle 8i.

    What backup utility? An operating system backup utility?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Configuration of XSQL for use with non-Oracle dbs

    If anyone has positive experiences with configuring XSQL for use with non Oracle databases I'd like to hear how they did it, see tutorials, configuration files, etc.
    Specifically setting up to use MySQL or Postgresql on Linux/FreeBSD would be very interesting.
    Also, does anyone use this without setting mime types? How would you go about this so you could point to the relevant servlets in the page?
    Josh

    I don't understand how setting up for Non-Oracle DB's is related to not setting up the servlet as an extension-mapped servlet.
    It might work, but would you run JSP's
    that way? XSQL behaves very similiarly
    inside to how a JSP runner works, which
    wants to be servlet-mapped.
    However, OAS 4.0.8.1 does not support
    extension mapping and XSQL works there
    so i'm assuming it would work on other
    servers set up that way. It's not
    a configuration we test/certify.
    null

  • Unable to get demo's working, "XSQL-007: Cannot acquire...."

    I must be missing something simple but when I try to run the demo's I get the following error...
    XSQL-007: Cannot acquire a database connection to process page.
    Io exception: The Network Adapter could not establish the connection
    My XSQLConfig file has the following connection information:
    <connection name="demo">
    <username>scott</username>
    <password>tiger</password>
    <dburl>jdbc:oracle:thin:@localhost:1521:ORCL</dburl>
    <driver>oracle.jdbc.driver.OracleDriver</driver>
    <autocommit>true</autocommit>
    Do I need to upload anything to an ORACLE table to get the demo's working?
    Thanks in advance...
    Stephen

    - Can you connect your database using your JDBC connection string?
    "jdbc:oracle:thin:@localhost:1521:ORCL"
    - What is your SQL query?
    null

  • 9.0.4: XSQL-003/XSQL-007

    My colleague is creating XSQL/XSL pages to return query results from an XML Schema in the DB. I have some JSPs that provide front-end UIs for these queries. We devoloped this in 9.0.3.3 and it worked fine. She sent the XSQL files and I included them into my project and called them from a JSP. Everything worked fine. I was forced to upgrade to 9.0.4 due to a bug and now when I call her XSQL files I get a connection not found error like follows:
    Oracle XSQL Servlet Page Processor 9.0.3.0.0 (Production)
    XSQL-004: Could not acquire a database connection named: iidev
    XSQL-007: Cannot acquire a database connection to process page.
    The connection iidev exists and I use it in the JSP that calls this xsql. I tried creating a new connection and a basic XSQL page like this:
    <?xml version="1.0" encoding='windows-1252'?>
    <page xmlns:xsql="urn:oracle-xsql" connection="TestConnection">
    </page>
    Which throws the same error.

    If you don't have an XSQLConfig.xml file, then XSQL won't work, so you must have one. :-)
    JDeveloper will include one in your classpath at runtime automatically. It also manages to keep your XSQLConfig.xml up to date with your IDE's connections. However, here's probably what's happening.
    You upgraded from 9.0.3 to 9.0.4
    In 9.0.3, each time you defined a new database connection in the JDeveloper IDE, JDeveloper fixed up your XSQLconfig.xml file to match, so that there was a corresponding entry in the XSQLConfig.xml file for each connection you defined in the IDE.
    When you migrate, even if you migrated all your settings, we don't migrate the XSQLConfig.xml file, so you're basically starting with a "fresh" one, which only has a "demo" connection defined for scott/tiger.
    What I'd recommend is to:
    1. Look at the top of your XSQL pages, and find the connection="XXXX" attribute in the file. It will be on the root element of the document.
    2. You probably have a connection named XXXX under your Jdeveloper connections node.
    3. Delete that "XXXX" connection in JDeveloper, and recreate a new "XXXX" connnection with the same information.
    Doing this, JDeveloper will add the newly created "XXXX" connection to your XSQLConfig.xml file.
    Then, it should work.

  • XSQL-007 Database connection error.

    I got following message when click sample heloworld.xsql:
    Oracle XSQL Servlet Page Processor 0.9.9.1 (Technology Preview)
    XSQL-007: Cannot acquire a database connection to process page.
    Invalid Oracle URL specified: OracleDriver.connect
    We're using RH Linux 6.1, Apache Tomcat 3.1 Beta and XSQL 0.9.9.1. The database connection string in XSQLConfig.xml is:
    <connection name="demo">
    <username>scott</username>
    <password>tiger</password>
    <dburl>jdbc:oracle:jdbc:@home:1521:home</dburl>
    <driver>oracle.jdbc.driver.OracleDriver</driver>
    </connection>
    null

    <dburl> as posted is incorrect.
    A sample that is correct for the JDBC thin
    driver is:
    <connection name="demo">
    <username>scott</username>
    <password>tiger</password>
    <dburl>jdbc:oracle:thin:@localhost:1521:xml</dburl>
    <driver>oracle.jdbc.driver.OracleDriver</driver>
    </connection>
    Note "jdbc:oracle:thin" and not "jdbc:oracle:jdbc"
    hope this helps.

  • XSQL-007: Cannot acquire a database connection to process page.

    Just getting started with XSQL with Oracle 8.1.7. Ran the
    helloworld demo and got XSQL-007 error. How do I map
    connection="demo" to a database service or SID name?

    I ran into somthing similar earlier. Checked an article off
    ORAMAG, january 01 called 'Generating XSQL Server Pages'.
    (http://www.oracle.com/oramag/oracle/01-jan/o11xml.html)
    I found that if I verified the settings in the jserv.properties
    file under Apache, and also verified the connetion info in the
    XSQLConfig.xml file (Do a search) that you can eliminate the
    issue. (I was using JDeveloper 3.2.3, and have some trouble with
    JDev 9i, but I assume you can get some good info none-the-less
    from this article).
    Best of luck.
    Scott Rappoport, OCP
    AT&T Enhanced Network Services

  • Error: XSQL-007

    I'm trying to get the Oracle XSQL servlet to work with MySQL (through
    the mm.mysql.jdbc-1.2c driver) under Solaris but I keep getting the
    following error message (using the xsql command-line tool):
    %> sh $XSQL/bin/xsql test.xsql test.htm
    Oracle XSQL Command Line Page Processor 1.0.4.1 (Production)
    XSQL-007: Cannot acquire a database connection to process page.
    Cannot disable AUTO_COMMIT
    My configuration is:
    test.xsql
    <?xml version="1.0"?>
    <DbTest elt="query" xmlns:xsql="urn:oracle-xsql"
    connection="xsqlDsin">
    <xsql:query>
    SELECT * AS text
    FROM text
    </xsql:query>
    </DbTest>
    XSQLConfig.xml
    <connection name="xsqlDsin">
    <username>USER_NAME</username>
    <password>PASSWORD</password>
    <dburl>jdbc:mysql://host:3306/xsqlDsinTest</dburl>
    <driver>org.gjt.mm.mysql.Driver</driver>
    </connection>
    jserv.conf
    ApJServAction .xsql /servlets/oracle.xml.xsql.XSQLServlet
    jserv.properties
    wrapper.classpath=/xsql/mm.mysql.jdbc-1.2c/org/gjt/mm/mysql/
    Driver.class
    null

    Download the XSQL 1.0.4.3 release that is part of the XDK for Java 8.1.7.1.
    It has a new feature that allows you to control the auto-commit setting of any connection (or not specifically declare it and use the default for your driver). See the XSQL 1.0.4.3 release notes.

  • How to Download Personal Oracle

    After trying several times to download Personal Oracle 9i, I perused this discussion group seeking a solution to a problem that I was having and finding that others were encountering the same problem.
    Perhaps you have encounted a difficulty in unzipping the Personal Oracle downloads... I and others have reported the fact that there are mutltiple CRC errors in the downloaded file when you try to unzip it.
    Well, after analysing the problem I have found a solution and surprise surprise it is marketedly similar to a problem I discovered with Oracle over 3 years ago... a problem which their tech support insisted had to do with the tuning of my companies server... well now I am not so sure that the problem is not inherant within Oracles handling of LOB's on the web. But instead of arguing an old point... let me detail for our users HOW TO DOWNLOAD AND INSTALL there ORacle products.
    Step by step:
    1. Download the product
    2. Download a second copy of the product and save it with a slightly different name
    3. Unzip both copies with Winzip 8 or better. You must unzip them into seperate directories. Save the unzip log which tells you which files contained CRC errors.
    4. Examine both logs and choose the version that contained the fewest CRC errors.
    HERE IS THE SECRET... as in the problem my old employer discovered years ago... the errors occur randomly in LOB downloads... therefore the chance of the same file being corrupt in both downloads is very low.
    5. The log will tell you which directory is being extracted and which file was corrupt... search the log for the string CRC in Wordpad... then find the missing file in the alternate tree and copy it to the working copy.
    6. Repeat for each corrupt file.
    7. when completed you can install the product from your working directory.
    Its not pretty... but it works.
    After searching for work for the last two months I thought it would be a good idea to refresh my skills with the latest version of Oracle... thank you Oracle for forcing me to use my skills to analyse your problems and develop a wotkaround... I now appreciate Postgres even more... I just wish there were employers who recognised that open source software is better supported than commercial products.
    Anyone have a job lead in Denver for a developer with 20 years experiance?

    Hello...
    Simply amazing what it takes to download the 9i.
    In fact I am still trying out your tip, and have had to work on 3 different ZIP sets so far!!
    Still have one or two files that refuse to download right! (Especially the big ones).
    I hope I get closer and closer to the final good set of install files soon!
    Anyway, from what you say, it sounds like Oracle employs certain airheads...

  • Personal Oracle 8.1.6 on Win 98

    I tried to install persaonal Oracle 8.1.6 on Win 98 and when I start the Oracle using svrmgrl I got the following error
    Cannot open registry
    software\oracle\homeo\SID_LIST
    starting with default sid
    Then it asks for password. I tried all passwords and finally got error
    ORA-01031 - Cannot logon to Oracle 8i
    I have used UNIX. What is the equivalent of ORACLE_SID and ORACLE_HOME of UNIX in WIN 98. Where all sid's of all startup and shutdown databases are stored.
    Any body knows.
    null

    There is NO need to have to installations of PO8 on single machine,you can create two or more instances of databases.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Sunil:
    Is it possible to have two Databases on a single instllation of personal oracle 8.1.6 on win 98.
    If not, is it possible to install personal oracle 8.1.6 two times on the same win 98 PC, on diffrent dir/oracle home and use both at the same time.<HR></BLOCKQUOTE>
    null

  • How to install Developer 6.0 Personal Oracle

    When I install personal Oracle 8 (trial)on my pc (Windows NT 4 sp4)I don't have problem and it work well. The problem is when I install developer 6.0,(in a different folder) I can't log on any applications any more.
    Thank for your help
    Patrice (Quebec)
    [email protected]

    IF you do not use that "miserable" Personal Oracle 8.04, but using the far much better Personal Oracle 8.1.5 you can mail me at [email protected]
    HTH
    Martin

Maybe you are looking for

  • External devices no longer recognized

    I have a Powerbook G4 that just recently started having issues with the external drives. Nothing put into the USB ports or CD/DVD drive show up on the desktop. Can anyone help me with this problem. I've already made sure they were checked as showing

  • ITunes 6.0.1 causes skips when ripping from CDs

    I have been using iTunes to convert my CDs to mp3 files on my Mac. With the advent of iTunes 6.0.1 the mp3 files skip (in the same places) using iTunes, VLC, and the SlimMusic player. The converted mp3 files from earlier versions of iTunes don't have

  • JavaScript Function to validate an item's value

    Can somebody please tell me how to write a Javascript Function that, upon losing focus on a text item, checks if the value just entered is a 6 digit number? Please show me the function and what the onblur command in the item would be. The name of the

  • Need to find the tcode

    Hi i have a requirement one of the table is updating with the filed value, i want to find out from which tcode the value is updating... is there any way to find out the tcode pls helop

  • Problem getting any .mov to play in IE9.

    Hello, I am writing a web site for a non profit online education company that specializes in video content. Some of the content needs to be in h.264 or other iPad friendly formats. When IE9 opens the demo page (http://nationaledonline.org/test/demo.h