🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.database
Article #21871

Re: Applet to Oracle DB Connectivity Problem.

#21871
From: Martin Smith
Date: Mon, 20 Oct 1997 00:00
65 lines
2388 bytes
This is a multi-part message in MIME format.
--------------F3EF7F13E795EBA700C026CE
Content-Type: text/plain; charset=us-ascii
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

Ali--Security policies for applets that are built in to the java VM in
standard browsers (which are NOT, however, enforced in appletviewer)
require that your Oracle listener be on the SAME IP (host) as the http
server where you loaded the HTML page that contained the applet.

That appears to be your problem, though you didn't explain your setup in
detail.

Keep plugging!

Martin Smith


Ali Abu-Zayyad wrote:

> When I run my sample applet from AppletViewer it works as it should
> and
> when I run it from a Web Browser I get the following output. I am
> fairly
> new to
> Java and JDBC. Can anyone help !
>
> attempting connection
> Loading JDBC driver oracle.jdbc.driver.OracleDriver
> Connecting to jdbc:oracle:thin:user/passwd@dbs.iss.com:1521:ORCL
> security.Couldn't connect to dbs.iss.com with origin
>
> Thanks,
>
> Ali Ziad
> International Software Solutions, Inc.
> Orem, UT 84057



--------------F3EF7F13E795EBA700C026CE
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Martin Smith
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Martin Smith
n:              Smith;Martin
org:            US International Trade Commission
adr:            500 E Street SW;;;Washington;DC;20436;USA
email;internet: mfsmith@erols.com
title:          Director, Information Services
tel;work:       (202) 205-3258
tel;fax:        (202) 205-2024
tel;home:       (703) 734-1039
x-mozilla-cpt:  ;0
x-mozilla-html: TRUE
end:            vcard


--------------F3EF7F13E795EBA700C026CE--
Technical Details
Message-ID: <344C050E.F49F8B67@erols.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bcdd72$aa2b35a0$2a1fb3cf@ALI-PC.issnet.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1073da,8fd671786e7f3c9a
X-Google-Attributes: gid1073da,public
From: Martin Smith <mfsmith@erols.com>
Subject: Re: Applet to Oracle DB Connectivity Problem.
Date: 1997/10/20
Message-ID: <344C050E.F49F8B67@erols.com>
X-Deja-AN: 282095937
References: <01bcdd72$aa2b35a0$2a1fb3cf@ALI-PC.issnet.com>
X-Priority: 3 (Normal)
To: Ali Abu-Zayyad <ali@issnet.com>
Organization: USITC
Newsgroups: borland.public.jbuilder.database