Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Communicator

7 posts in JDBC Connect (product renamed to JConnect) Last posting was on 1997-07-28 18:44:08.0Z
Jim Lynch Posted on 1997-07-24 21:06:19.0Z
Message-ID: <33D7C3CB.41C6@zazu.mcit.com>
Date: Thu, 24 Jul 1997 15:06:19 -0600
From: Jim Lynch <jlynch@zazu.mcit.com>
Organization: MCI Communications
X-Mailer: Mozilla 3.0 (X11; I; AIX 1)
MIME-Version: 1.0
Subject: Communicator
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 23
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:467
Article PK: 252219

I get the following error running Communicator from a PC client trying
to connect to a remote host:

*** Security Exception: Couldn't connect to rafiki with origin from ***
sun.applet.AppletSecurityException: security.Couldn't connect to rafiki
with origin from


As you can see there is no "from" host. It works fine using
appletviewer when I have the CLASSPATH set to JDBC_HOME/syb102.zip. I
get the same error message using appletviewer when my CLASSPATH is set
to null.

I went through some of the other messages and found that the "origin
from" should be <local-classpath-classes> but don't know how to set this
on a pc.

Here's my environment:

jConnect version 2.1
Communicator 4.0
Web Server - Apache 1.2.1 running on rafiki
http.sh running on host rafiki
jdk 1.0.2

I am using jdk 1.1 to start the httpd script.

thanks in advance,
jim
jlynch@rafiki.mcit.com


David Wolf Posted on 1997-07-25 14:19:13.0Z
Message-ID: <33D8B5E0.99C9134F@sybase.com>
Date: Fri, 25 Jul 1997 07:19:13 -0700
From: David Wolf <dwolf@sybase.com>
Reply-To: dwolf@sybase.com
Organization: Sybase Professional Services
X-Mailer: Mozilla 4.0 [en] (Win95; U)
MIME-Version: 1.0
Subject: Re: Communicator
X-Priority: 3 (Normal)
References: <33D7C3CB.41C6@zazu.mcit.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 33
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:465
Article PK: 252217

Jim-

Communicator seems to favor the local CLASSPATH rather than the
<CODEBASE> in the HTML page. Make sure the jConnect driver is NOT in
your CLASSPATH when you invoke the HTML page and applet. This will
force the jConnect driver to get downloaded.

Dave Wolf
Sybase Professional Services

Jim Lynch wrote:

> I get the following error running Communicator from a PC client trying
>
> to connect to a remote host:
>
> *** Security Exception: Couldn't connect to rafiki with origin from
> ***
> sun.applet.AppletSecurityException: security.Couldn't connect to
> rafiki
> with origin from
>
> As you can see there is no "from" host. It works fine using
> appletviewer when I have the CLASSPATH set to JDBC_HOME/syb102.zip. I
>
> get the same error message using appletviewer when my CLASSPATH is set
>
> to null.
>
> I went through some of the other messages and found that the "origin
> from" should be <local-classpath-classes> but don't know how to set
> this
> on a pc.
>
> Here's my environment:
>
> jConnect version 2.1
> Communicator 4.0
> Web Server - Apache 1.2.1 running on rafiki
> http.sh running on host rafiki
> jdk 1.0.2
>
> I am using jdk 1.1 to start the httpd script.
>
> thanks in advance,
> jim
> jlynch@rafiki.mcit.com


Jesse Driver Posted on 1997-07-26 11:31:37.0Z
Message-ID: <33D9E018.5BD125A7@domain.com>
Date: Sat, 26 Jul 1997 12:31:37 +0100
From: Jesse Driver <defaultuser@domain.com>
X-Mailer: Mozilla 4.01 [en] (WinNT; I)
MIME-Version: 1.0
To: dwolf@sybase.com
Subject: Re: Communicator
X-Priority: 3 (Normal)
References: <33D7C3CB.41C6@zazu.mcit.com> <33D8B5E0.99C9134F@sybase.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 54
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:463
Article PK: 252215

I'm not sure how to interpret this.. Does this mean if I'm on NT 4.0, to
go into
settings->console->System->Env and take out the %JDBC_HOME%\classes from

the CLASSPATH, then start communicator, and try my html page?

I'm getting there error right now:
#Security Exception: Couldn't connect to <localhost> with origin from
<local-classpath-classes>.

Everything is running on the local box, using jdk1.1.3. I have many of
the demos working
and connecting to my SQL Anywhere database using the Open Gateway. It's
only
now that I'm trying to develop an applet that I'm getting what seem to
be security
related errors. Do I need to have a web server running? I'm doing things
as files
at the moment...

David Wolf wrote:

> Jim-
>
> Communicator seems to favor the local CLASSPATH rather than the
> <CODEBASE> in the HTML page. Make sure the jConnect driver is NOT in
> your CLASSPATH when you invoke the HTML page and applet. This will
> force the jConnect driver to get downloaded.
>
> Dave Wolf
> Sybase Professional Services
>
> Jim Lynch wrote:
>
> > I get the following error running Communicator from a PC client
> trying
> >
> > to connect to a remote host:
> >
> > *** Security Exception: Couldn't connect to rafiki with origin from
> > ***
> > sun.applet.AppletSecurityException: security.Couldn't connect to
> > rafiki
> > with origin from
> >
> > As you can see there is no "from" host. It works fine using
> > appletviewer when I have the CLASSPATH set to JDBC_HOME/syb102.zip.
> I
> >
> > get the same error message using appletviewer when my CLASSPATH is
> set
> >
> > to null.
> >
> > I went through some of the other messages and found that the "origin
>
> > from" should be <local-classpath-classes> but don't know how to set
> > this
> > on a pc.
> >
> > Here's my environment:
> >
> > jConnect version 2.1
> > Communicator 4.0
> > Web Server - Apache 1.2.1 running on rafiki
> > http.sh running on host rafiki
> > jdk 1.0.2
> >
> > I am using jdk 1.1 to start the httpd script.
> >
> > thanks in advance,
> > jim
> > jlynch@rafiki.mcit.com


Jesse Driver Posted on 1997-07-27 08:37:20.0Z
Message-ID: <33DB08BF.66138976@domain.com>
Date: Sun, 27 Jul 1997 09:37:20 +0100
From: Jesse Driver <defaultuser@domain.com>
X-Mailer: Mozilla 4.01 [en] (WinNT; I)
MIME-Version: 1.0
To: Jesse Driver <defaultuser@domain.com>
Subject: Re: Communicator
X-Priority: 3 (Normal)
References: <33D7C3CB.41C6@zazu.mcit.com> <33D8B5E0.99C9134F@sybase.com> <33D9E018.5BD125A7@domain.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 83
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:461
Article PK: 252213

In answer to my previous question :-)...

It really boiled down to using Netscape 3.02 instead of communicator.
However,
it would really be good to use communicator, and would like to know what
the
plans are for better communicator support. For instance, I find it much
better reading
this newsgroup with communicator. Also, why isn't this newsgroup
available
though dejanews? Many of us cannot read this group because it is not
available there.
At my job, for instance we don't seem to know the IP address through
our DNS server.

After realizing the the significant differences which were being
caused by using
communicator, the other changes I made were to keep all of my class
files under
%JDBC_HOME%\classes, rather than in the same directory as the html file
that
invoked the applet. So things are working fine now, but would sure like
to be able
to access this newsgroup when I'm at work and porting this from NT to
Solaris.

Jesse Driver wrote:

> I'm not sure how to interpret this.. Does this mean if I'm on NT 4.0,
> to
> go into
> settings->console->System->Env and take out the %JDBC_HOME%\classes
> from
>
> the CLASSPATH, then start communicator, and try my html page?
>
> I'm getting there error right now:
> #Security Exception: Couldn't connect to <localhost> with origin from
> <local-classpath-classes>.
>
> Everything is running on the local box, using jdk1.1.3. I have many of
>
> the demos working
> and connecting to my SQL Anywhere database using the Open Gateway.
> It's
> only
> now that I'm trying to develop an applet that I'm getting what seem to
>
> be security
> related errors. Do I need to have a web server running? I'm doing
> things
> as files
> at the moment...
>
> David Wolf wrote:
>
> > Jim-
> >
> > Communicator seems to favor the local CLASSPATH rather than the
> > <CODEBASE> in the HTML page. Make sure the jConnect driver is NOT
> in
> > your CLASSPATH when you invoke the HTML page and applet. This will
> > force the jConnect driver to get downloaded.
> >
> > Dave Wolf
> > Sybase Professional Services
> >
> > Jim Lynch wrote:
> >
> > > I get the following error running Communicator from a PC client
> > trying
> > >
> > > to connect to a remote host:
> > >
> > > *** Security Exception: Couldn't connect to rafiki with origin
> from
> > > ***
> > > sun.applet.AppletSecurityException: security.Couldn't connect to
> > > rafiki
> > > with origin from
> > >
> > > As you can see there is no "from" host. It works fine using
> > > appletviewer when I have the CLASSPATH set to
> JDBC_HOME/syb102.zip.
> > I
> > >
> > > get the same error message using appletviewer when my CLASSPATH is
>
> > set
> > >
> > > to null.
> > >
> > > I went through some of the other messages and found that the
> "origin
> >
> > > from" should be <local-classpath-classes> but don't know how to
> set
> > > this
> > > on a pc.
> > >
> > > Here's my environment:
> > >
> > > jConnect version 2.1
> > > Communicator 4.0
> > > Web Server - Apache 1.2.1 running on rafiki
> > > http.sh running on host rafiki
> > > jdk 1.0.2
> > >
> > > I am using jdk 1.1 to start the httpd script.
> > >
> > > thanks in advance,
> > > jim
> > > jlynch@rafiki.mcit.com


Lance Andersen Posted on 1997-07-28 12:16:34.0Z
Message-ID: <33DC8DA2.6704@sybase.com>
Date: Mon, 28 Jul 1997 08:16:34 -0400
From: Lance Andersen <lancea@sybase.com>
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 sun4m)
MIME-Version: 1.0
To: Jesse.Driver@Eng.Sun.COM
Subject: Re: Communicator
References: <33D7C3CB.41C6@zazu.mcit.com> <33D8B5E0.99C9134F@sybase.com> <33D9E018.5BD125A7@domain.com> <33DB08BF.66138976@domain.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 124
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:458
Article PK: 252209

Jesse,

The problems that you are encountering have nothing to do with
jConnect, it is simply how Netscape has pieced together
communicator.... The applet has not control how of the browser
will react to having $CLASSPATH set. Netscape is *very* fussy
about this and is in-consistent between platform and revisions.


I would suggest you contact netscape support for assistance.


We do have users successfully using Communicator. The key is
to not have your CLASSPATH variable set prior to engaging the
browser.


In order to use 0-install client, you will want to keep your
applets in $JDBC_HOME/classes. Your other option is to copy
$JDBC_HOME/classes/jdbc to the area where you keep your applets
(or if you are on unix, create a soft link).


Sorry, but I am not familiar with dejanews, within your news
reader, you may specify 207.121.184.226. This is the IP for
forums.sybase.com.


Regards,

-Lance

Jesse Driver wrote:
>
> In answer to my previous question :-)...
>
> It really boiled down to using Netscape 3.02 instead of communicator.
> However,
> it would really be good to use communicator, and would like to know what
> the
> plans are for better communicator support. For instance, I find it much
> better reading
> this newsgroup with communicator. Also, why isn't this newsgroup
> available
> though dejanews? Many of us cannot read this group because it is not
> available there.
> At my job, for instance we don't seem to know the IP address through
> our DNS server.
>
> After realizing the the significant differences which were being
> caused by using
> communicator, the other changes I made were to keep all of my class
> files under
> %JDBC_HOME%\classes, rather than in the same directory as the html file
> that
> invoked the applet. So things are working fine now, but would sure like
> to be able
> to access this newsgroup when I'm at work and porting this from NT to
> Solaris.
>
> Jesse Driver wrote:
>
> > I'm not sure how to interpret this.. Does this mean if I'm on NT 4.0,
> > to
> > go into
> > settings->console->System->Env and take out the %JDBC_HOME%\classes
> > from
> >
> > the CLASSPATH, then start communicator, and try my html page?
> >
> > I'm getting there error right now:
> > #Security Exception: Couldn't connect to <localhost> with origin from
> > <local-classpath-classes>.
> >
> > Everything is running on the local box, using jdk1.1.3. I have many of
> >
> > the demos working
> > and connecting to my SQL Anywhere database using the Open Gateway.
> > It's
> > only
> > now that I'm trying to develop an applet that I'm getting what seem to
> >
> > be security
> > related errors. Do I need to have a web server running? I'm doing
> > things
> > as files
> > at the moment...
> >
> > David Wolf wrote:
> >
> > > Jim-
> > >
> > > Communicator seems to favor the local CLASSPATH rather than the
> > > <CODEBASE> in the HTML page. Make sure the jConnect driver is NOT
> > in
> > > your CLASSPATH when you invoke the HTML page and applet. This will
> > > force the jConnect driver to get downloaded.
> > >
> > > Dave Wolf
> > > Sybase Professional Services
> > >
> > > Jim Lynch wrote:
> > >
> > > > I get the following error running Communicator from a PC client
> > > trying
> > > >
> > > > to connect to a remote host:
> > > >
> > > > *** Security Exception: Couldn't connect to rafiki with origin
> > from
> > > > ***
> > > > sun.applet.AppletSecurityException: security.Couldn't connect to
> > > > rafiki
> > > > with origin from
> > > >
> > > > As you can see there is no "from" host. It works fine using
> > > > appletviewer when I have the CLASSPATH set to
> > JDBC_HOME/syb102.zip.
> > > I
> > > >
> > > > get the same error message using appletviewer when my CLASSPATH is
> >
> > > set
> > > >
> > > > to null.
> > > >
> > > > I went through some of the other messages and found that the
> > "origin
> > >
> > > > from" should be <local-classpath-classes> but don't know how to
> > set
> > > > this
> > > > on a pc.
> > > >
> > > > Here's my environment:
> > > >
> > > > jConnect version 2.1
> > > > Communicator 4.0
> > > > Web Server - Apache 1.2.1 running on rafiki
> > > > http.sh running on host rafiki
> > > > jdk 1.0.2
> > > >
> > > > I am using jdk 1.1 to start the httpd script.
> > > >
> > > > thanks in advance,
> > > > jim
> > > > jlynch@rafiki.mcit.com

--
===============================================================================
Lance J. Andersen Email: lancea@sybase.com
Sybase Technical Support Phone:(617) 564-6336
77 South Bedford Street Fax: (617) 564-6148
Burlington, MA 01803

The Dark Knight Returns!!! Let's Go Penguins!!!
===============================================================================


Jesse Driver Posted on 1997-07-28 18:44:08.0Z
Message-ID: <33DCE877.9C4D2798@domain.com>
Date: Mon, 28 Jul 1997 19:44:08 +0100
From: Jesse Driver <defaultuser@domain.com>
X-Mailer: Mozilla 4.01 [en] (WinNT; I)
MIME-Version: 1.0
Subject: Re: Communicator
X-Priority: 3 (Normal)
References: <33D7C3CB.41C6@zazu.mcit.com> <33D8B5E0.99C9134F@sybase.com> <33D9E018.5BD125A7@domain.com> <33DB08BF.66138976@domain.com> <33DC8DA2.6704@sybase.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 143
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:456
Article PK: 252208

Thanks for the help. I have been successful in getting this app to work
on both
NT and Solaris, although it was necessary to use hotjava as the client
from the
Solaris desktop (the database and jConnect on a remote server). Found
alot of
inconsistencies between behavior of navigator and communicator in the
process.
This news group has been a great resource!

Lance Andersen wrote:

> Jesse,
>
> The problems that you are encountering have nothing to do with
> jConnect, it is simply how Netscape has pieced together
> communicator.... The applet has not control how of the browser
> will react to having $CLASSPATH set. Netscape is *very* fussy
> about this and is in-consistent between platform and revisions.
>
> I would suggest you contact netscape support for assistance.
>
> We do have users successfully using Communicator. The key is
> to not have your CLASSPATH variable set prior to engaging the
> browser.
>
> In order to use 0-install client, you will want to keep your
> applets in $JDBC_HOME/classes. Your other option is to copy
> $JDBC_HOME/classes/jdbc to the area where you keep your applets
> (or if you are on unix, create a soft link).
>
> Sorry, but I am not familiar with dejanews, within your news
> reader, you may specify 207.121.184.226. This is the IP for
> forums.sybase.com.
>
> Regards,
>
> -Lance
>
> Jesse Driver wrote:
> >
> > In answer to my previous question :-)...
> >
> > It really boiled down to using Netscape 3.02 instead of
> communicator.
> > However,
> > it would really be good to use communicator, and would like to know
> what
> > the
> > plans are for better communicator support. For instance, I find it
> much
> > better reading
> > this newsgroup with communicator. Also, why isn't this newsgroup
> > available
> > though dejanews? Many of us cannot read this group because it is not
>
> > available there.
> > At my job, for instance we don't seem to know the IP address
> through
> > our DNS server.
> >
> > After realizing the the significant differences which were being
> > caused by using
> > communicator, the other changes I made were to keep all of my class
> > files under
> > %JDBC_HOME%\classes, rather than in the same directory as the html
> file
> > that
> > invoked the applet. So things are working fine now, but would sure
> like
> > to be able
> > to access this newsgroup when I'm at work and porting this from NT
> to
> > Solaris.
> >
> > Jesse Driver wrote:
> >
> > > I'm not sure how to interpret this.. Does this mean if I'm on NT
> 4.0,
> > > to
> > > go into
> > > settings->console->System->Env and take out the
> %JDBC_HOME%\classes
> > > from
> > >
> > > the CLASSPATH, then start communicator, and try my html page?
> > >
> > > I'm getting there error right now:
> > > #Security Exception: Couldn't connect to <localhost> with origin
> from
> > > <local-classpath-classes>.
> > >
> > > Everything is running on the local box, using jdk1.1.3. I have
> many of
> > >
> > > the demos working
> > > and connecting to my SQL Anywhere database using the Open Gateway.
>
> > > It's
> > > only
> > > now that I'm trying to develop an applet that I'm getting what
> seem to
> > >
> > > be security
> > > related errors. Do I need to have a web server running? I'm doing
> > > things
> > > as files
> > > at the moment...
> > >
> > > David Wolf wrote:
> > >
> > > > Jim-
> > > >
> > > > Communicator seems to favor the local CLASSPATH rather than the
> > > > <CODEBASE> in the HTML page. Make sure the jConnect driver is
> NOT
> > > in
> > > > your CLASSPATH when you invoke the HTML page and applet. This
> will
> > > > force the jConnect driver to get downloaded.
> > > >
> > > > Dave Wolf
> > > > Sybase Professional Services
> > > >
> > > > Jim Lynch wrote:
> > > >
> > > > > I get the following error running Communicator from a PC
> client
> > > > trying
> > > > >
> > > > > to connect to a remote host:
> > > > >
> > > > > *** Security Exception: Couldn't connect to rafiki with origin
>
> > > from
> > > > > ***
> > > > > sun.applet.AppletSecurityException: security.Couldn't connect
> to
> > > > > rafiki
> > > > > with origin from
> > > > >
> > > > > As you can see there is no "from" host. It works fine using
> > > > > appletviewer when I have the CLASSPATH set to
> > > JDBC_HOME/syb102.zip.
> > > > I
> > > > >
> > > > > get the same error message using appletviewer when my
> CLASSPATH is
> > >
> > > > set
> > > > >
> > > > > to null.
> > > > >
> > > > > I went through some of the other messages and found that the
> > > "origin
> > > >
> > > > > from" should be <local-classpath-classes> but don't know how
> to
> > > set
> > > > > this
> > > > > on a pc.
> > > > >
> > > > > Here's my environment:
> > > > >
> > > > > jConnect version 2.1
> > > > > Communicator 4.0
> > > > > Web Server - Apache 1.2.1 running on rafiki
> > > > > http.sh running on host rafiki
> > > > > jdk 1.0.2
> > > > >
> > > > > I am using jdk 1.1 to start the httpd script.
> > > > >
> > > > > thanks in advance,
> > > > > jim
> > > > > jlynch@rafiki.mcit.com
>
> --
> ==
> ============================================================================
>
> Lance J. Andersen Email: lancea@sybase.com
> Sybase Technical Support Phone:(617) 564-6336
> 77 South Bedford Street Fax: (617) 564-6148
> Burlington, MA 01803
>
> The Dark Knight Returns!!! Let's Go Penguins!!!
> ============================================================
> ==================


Lance Andersen Posted on 1997-07-25 11:09:47.0Z
Message-ID: <33D8897B.1BF4@sybase.com>
Date: Fri, 25 Jul 1997 07:09:47 -0400
From: Lance Andersen <lancea@sybase.com>
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 sun4m)
MIME-Version: 1.0
To: Jim Lynch <jlynch@zazu.mcit.com>
Subject: Re: Communicator
References: <33D7C3CB.41C6@zazu.mcit.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 39
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:466
Article PK: 252218

Jim,

make sure your CLASSPATH is null prior to invoking communicator...

it appears to be very,very picky...


-lance

Jim Lynch wrote:
>
> I get the following error running Communicator from a PC client trying
> to connect to a remote host:
>
> *** Security Exception: Couldn't connect to rafiki with origin from ***
> sun.applet.AppletSecurityException: security.Couldn't connect to rafiki
> with origin from
>
> As you can see there is no "from" host. It works fine using
> appletviewer when I have the CLASSPATH set to JDBC_HOME/syb102.zip. I
> get the same error message using appletviewer when my CLASSPATH is set
> to null.
>
> I went through some of the other messages and found that the "origin
> from" should be <local-classpath-classes> but don't know how to set this
> on a pc.
>
> Here's my environment:
>
> jConnect version 2.1
> Communicator 4.0
> Web Server - Apache 1.2.1 running on rafiki
> http.sh running on host rafiki
> jdk 1.0.2
>
> I am using jdk 1.1 to start the httpd script.
>
> thanks in advance,
> jim
> jlynch@rafiki.mcit.com

--
===============================================================================
Lance J. Andersen Email: lancea@sybase.com
Sybase Technical Support Phone:(617) 564-6336
77 South Bedford Street Fax: (617) 564-6148
Burlington, MA 01803

The Dark Knight Returns!!! Let's Go Penguins!!!
===============================================================================