Solved

jdbc problem?

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

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