Solved

jdbc problem?

Posted on 1998-07-31
4
154 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
Comment Utility
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
Comment Utility
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
Comment Utility
You can find more information on code signing at the following location

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

Expert Comment

by:johnbarber
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
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:

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now