473,326 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

java.lang.ArrayIndexOutOfBoundsException when i want connect me to Oracle 9i

CM
Hi,

when i want connect me in my BD with a JSP (with this simple code),
this exception is throw.

Thank's for ur help
Mathieu

CODE of my JSP
---------------------
.... blah ....
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn =
DriverManager.getConnection("jdbc:oracle:thin:@139 .165.123.198:1521:fultrans
","fultrans","g4g8888v");

.... blah ....
EXCEPTION
----------------
java.lang.ArrayIndexOutOfBoundsException: 0
at oracle.jdbc.util.CryptDES.scrunch(CryptDES.java)
at oracle.jdbc.util.CryptDES.des_dec(CryptDES.java)
at oracle.jdbc.util.WorkBench.decrypt(WorkBench.java)
at oracle.jdbc.ttc7.O3log.(O3log.java)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.j ava)
at oracle.jdbc.driver.OracleConnection.(OracleConnect ion.java)
at oracle.jdbc.driver.OracleDriver.getConnectionInsta nce(OracleDriver.java)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriv er.java)
at java.sql.DriverManager.getConnection(DriverManager .java:512)
at java.sql.DriverManager.getConnection(DriverManager .java:171)
at
org.apache.jsp.SelectPersUtilSsSaisie_jsp._jspServ ice(SelectPersUtilSsSaisie
_jsp.java:55)
Jul 19 '05 #1
1 10635
In article <c1********@aix4.segi.ulg.ac.be>, CM says...

Hi,

when i want connect me in my BD with a JSP (with this simple code),
this exception is throw.

Thank's for ur help
Mathieu

CODE of my JSP
---------------------
... blah ....
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn =
DriverManager.getConnection("jdbc:oracle:thin:@13 9.165.123.198:1521:fultrans
","fultrans","g4g8888v");

... blah ....
EXCEPTION
----------------
java.lang.ArrayIndexOutOfBoundsException: 0
at oracle.jdbc.util.CryptDES.scrunch(CryptDES.java)
at oracle.jdbc.util.CryptDES.des_dec(CryptDES.java)
at oracle.jdbc.util.WorkBench.decrypt(WorkBench.java)
at oracle.jdbc.ttc7.O3log.(O3log.java)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.j ava)
at oracle.jdbc.driver.OracleConnection.(OracleConnect ion.java)
at oracle.jdbc.driver.OracleDriver.getConnectionInsta nce(OracleDriver.java)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriv er.java)
at java.sql.DriverManager.getConnection(DriverManager .java:512)
at java.sql.DriverManager.getConnection(DriverManager .java:171)
at
org.apache.jsp.SelectPersUtilSsSaisie_jsp._jspSer vice(SelectPersUtilSsSaisie
_jsp.java:55)

Sounds like a bug to me. I don't see how your code could cause this error. I
would get the latest version of the Oracle client code for your version
(whatever it is) and try the connection again. If you have the latest and you
have a support contract, I would contact Oracle Support for the help.

Rick

Rick Wessman
Oracle Corporation
The opinions expressed above are mine and do not necessarily reflect
those of Oracle Corporation.

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: mailkhurana | last post by:
Hii , I am trying to use a type 2 driver to connect to DB2 0n AIX 5 I have a small java test to class to establish a conneciton with the db .. I am NOT using WAS or any appserver When I try to...
12
by: Mark Fink | last post by:
I wrote a Jython class that inherits from a Java class and (thats the plan) overrides one method. Everything should stay the same. If I run this nothing happens whereas if I run the Java class it...
6
by: ganesh.m | last post by:
Hi, I am new to DB2. I am getting this error while loading the DB2Driver. I don't have any idea about where i might have gone wrong. please help me. Below is the stack trace. Stack Trace:...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
22
oll3i
by: oll3i | last post by:
i get Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2 at Producent.main(producent.java:605) when i run it from bat @start "Supply Chain Management-Producer to...
1
by: CM | last post by:
Hi, when i want connect me in my BD with a JSP (with this simple code), this exception is throw. Thank's for ur help Mathieu CODE of my JSP ---------------------
2
by: ksheerasagar17 | last post by:
Hello All, Scenario: Sending an image through webservice as byte array to an Java webservice. The Problem1: The webservice method image property expects (data type) SByte rather than Byte...
2
by: yeshello54 | last post by:
so here is my problem...in a contact manager i am trying to complete i have ran into an error..we have lots of code because we have some from class which we can use...anyways i keep getting an error...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.