Problem with Oracle 8i and XSQL Servlet
Date: 2000/02/18
Message-ID: <88j2i7$k6e$1_at_nnrp1.deja.com>#1/1
I have a problem using the XSQL Servlet with Oracle 8i.
When I want to access to the database I get the following
message from the browser:
XSQL-007: Cannot acquire a database connection to process page.
java.lang.ArrayIndexOutOfBoundsException: 0
The Oracle Listener registers that someone wants to connect to the database via JDBC, but after a while the browser writes the message above.
I use the following configuration:
Databaseserver: IBM RS6000 AIX 4.3.2
Webserver: IBM RS6000 AIX 4.3.2 (runs not on the DB-Server)
Apache 1.3.11 with JServ 1.1, JDK 1.1.6 and JSDK 2.0
My XSQLConfig (the connection-section):
<connectiondefs dumpallowed="no">
<connection name="TEDV8">
<username>scott</username>
<password>tiger</password>
<dburl>jdbc:oracle:thin:_at_157.1.202.68:1521:TEDV8</dburl>
<driver>oracle.jdbc.driver.OracleDriver</driver>
</connection>
<connection name="TEDV8">
<username>system</username>
<password>manager</password>
<dburl>jdbc:oracle:thin:_at_157.1.202.68:1521:TEDV8</dburl>
<driver>oracle.jdbc.driver.OracleDriver</driver>
</connection>
</connectiondefs>
The JServ works and the JDBC works.
I hope someone can help me.
Thanx
Done
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Feb 18 2000 - 00:00:00 CET