Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

jdbc problem?

Posted on 1998-07-31
4
158 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 50 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
custom annotations 9 42
varialbe initialization 11 37
throw exception 21 58
maven module vs maven project 3 46
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to implement Singleton Design Pattern in Java.

809 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