?
Solved

jdbc problem?

Posted on 1998-07-31
4
Medium Priority
?
163 Views
Last Modified: 2012-05-04
Hi, I download Oracle thin jdbc driver. First I made a simple application(JDK 1.1), it works.
Then I tried to make an applet, no compile errors. Has the same connecion
string and so on, but when I load it from IE 4.0, it say error, "cannot access
"199.81.96.83":1521", when I load it from Netscape4.01, it even has
problem to load the oracle jdbc driver and stops there before trying to
connect. What's wrong with my program. Thanks.
Shane
0
Comment
Question by:xiaoxiangz
4 Comments
 
LVL 2

Expert Comment

by:shchuka
ID: 1229652
Can you provide a bit more details?  What is the connect string you're using to connect to oracle?  I have written applets that communicate with an oracle database.

The main thing you must remember is that your applet can only connect to the database which is residing on the same PHYSICAL machine as your web server, where the applet is loaded from.  I.e. if your applet is loaded from www.yoursite.com then it can only connect to the Oracle database residing on www.yoursite.com  (unless you're dealing with trusted signed applets and oracle version 8.0.0 or later)

0
 

Author Comment

by:xiaoxiangz
ID: 1229653
Yeah, that may be my problem. The web server(IIS 3.0) is under NT 4.0, and the
Oracle 7.0 is under unix. How to generate trusted signed applets. I don't
understand why java impose such limitation. When I use asp, there
is no such reqirement.
Thanks.
Shane
0
 
LVL 2

Accepted Solution

by:
aziz061097 earned 200 total points
ID: 1229654
You can find more information on code signing at the following location

http://www.suitable.com/Doc_CodeSigning.shtml
0
 

Expert Comment

by:johnbarber
ID: 1229655
We are currently setting up a simular environment testing 1.1.6 jdk and 1.2beta4 jdk.
I have information from oracle that if you use conection manager as a router for
socket request that you can run applets/applications on a different platform from
the database.  Once we have this up and working (wed 8/3/98) I will post the
CM config file and a sample applet/application with connection info.  There are
several bugs in the CM GUI module and we are working trying to resolve these
issues.  Oracle has forwarded some docs and said they had it working there.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month14 days, 21 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question