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.

How does an ORBlet finds a server-side ORB?

17 posts in General Discussion (old) Last posting was on 2000-03-16 15:24:00.0Z
sanjay Posted on 2000-03-16 15:24:00.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 16 Mar 2000 10:24:00 -0500
From: sanjay <radhaksi@tvratings.com>
Organization: Cognizant technology solutions
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: How does an ORBlet finds a server-side ORB?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 32
Message-ID: <347_38D0FC8F.3415AFF6@tvratings.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.easerver:45319
Article PK: 174700

I understand that one of the advantages of CORBA is Location
Transparency(the client does not need to know ,in which server/location
the components reside in).

1. My first question is a general CORBA question?

If you do not provide the server ip/location then how does the ORB
on the client locates the ORB on the server?

2. My second question is to do with PowerJ and Jaguar.

When i built my prototype i created some components in EA server3.0 and
i added that component to the component palette in PowerJ 3.0.

I used the JaguarInitialContext component/object(on the component
palette in powerj) and in the properities for the Contextobject i
choose to use URL option on the Jaguar CTSserver tab and gave the
following URL iiop://a0336067:9000 which was the URL for my Jagaur
server.

Then i created a component object/handle in my applet project and
assigned the context which i had created earlier as the intialcontext
for the component object/handle.

My question is , by doing this(the above) are we not giving the actual
location of the Server side ORB. Is there a way by which the ORBlet can
find the sever-side ORB without us giving the URL of the server.

Thanks for your time
Sanjay


Ronald Nasby Posted on 1999-11-30 22:49:31.0Z
Newsgroups: sybase.public.easerver
Date: Tue, 30 Nov 1999 16:49:31 -0600
From: Ronald Nasby <rnasby@minn.net>
X-Mailer: Mozilla 4.51 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: How does an ORBlet finds a server-side ORB?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 48
NNTP-Posting-Host: stpns.guidant.com 132.189.76.10
Message-ID: <347_3844547B.A2DB36BE@minn.net>
References: <347_38D0FC8F.3415AFF6@tvratings.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:33488
Article PK: 162429

As far as the CORBA part of the question, there are two kinds of servers.
There is a "naming server" and there is a "component server". They can
both be running on the same box, but you do have to address the "name
server" by url and port number. When a cluster has been configured, the
"name server" through Jaguar's naming service, takes care of finding a
"component server" that implements the requested component. The
"transparency" comes in when there are multiple component servers. The
client can utilize a cluster of them through the naming server.

sanjay wrote:

> I understand that one of the advantages of CORBA is Location
> Transparency(the client does not need to know ,in which server/location
> the components reside in).
>
> 1. My first question is a general CORBA question?
>
> If you do not provide the server ip/location then how does the ORB
> on the client locates the ORB on the server?
>
> 2. My second question is to do with PowerJ and Jaguar.
>
> When i built my prototype i created some components in EA server3.0 and
> i added that component to the component palette in PowerJ 3.0.
>
> I used the JaguarInitialContext component/object(on the component
> palette in powerj) and in the properities for the Contextobject i
> choose to use URL option on the Jaguar CTSserver tab and gave the
> following URL iiop://a0336067:9000 which was the URL for my Jagaur
> server.
>
> Then i created a component object/handle in my applet project and
> assigned the context which i had created earlier as the intialcontext
> for the component object/handle.
>
> My question is , by doing this(the above) are we not giving the actual
> location of the Server side ORB. Is there a way by which the ORBlet can
> find the sever-side ORB without us giving the URL of the server.
>
> Thanks for your time
> Sanjay


Dave Wolf [Sybase] Posted on 1999-11-30 22:58:01.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: How does an ORBlet finds a server-side ORB?
Date: Tue, 30 Nov 1999 17:58:01 -0500
Lines: 54
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 157.133.41.86
Message-ID: <347_cqpR7Z4O$GA.331@forums.sybase.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com> <347_3844547B.A2DB36BE@minn.net>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:33486
Article PK: 162428

As for how to find the EAS name service, look waaay back in this newsgroup.
I posted some code to do this by having our name service write out and IOR
and a class to dowload that IOR.

Dave Wolf
Internet Applications Division

Ronald Nasby <rnasby@minn.net> wrote in message
news:3844547B.A2DB36BE@minn.net...
> As far as the CORBA part of the question, there are two kinds of servers.
> There is a "naming server" and there is a "component server". They can
> both be running on the same box, but you do have to address the "name
> server" by url and port number. When a cluster has been configured, the
> "name server" through Jaguar's naming service, takes care of finding a
> "component server" that implements the requested component. The
> "transparency" comes in when there are multiple component servers. The
> client can utilize a cluster of them through the naming server.
>
> sanjay wrote:
>
> > I understand that one of the advantages of CORBA is Location
> > Transparency(the client does not need to know ,in which server/location
> > the components reside in).
> >
> > 1. My first question is a general CORBA question?
> >
> > If you do not provide the server ip/location then how does the ORB
> > on the client locates the ORB on the server?
> >
> > 2. My second question is to do with PowerJ and Jaguar.
> >
> > When i built my prototype i created some components in EA server3.0 and
> > i added that component to the component palette in PowerJ 3.0.
> >
> > I used the JaguarInitialContext component/object(on the component
> > palette in powerj) and in the properities for the Contextobject i
> > choose to use URL option on the Jaguar CTSserver tab and gave the
> > following URL iiop://a0336067:9000 which was the URL for my Jagaur
> > server.
> >
> > Then i created a component object/handle in my applet project and
> > assigned the context which i had created earlier as the intialcontext
> > for the component object/handle.
> >
> > My question is , by doing this(the above) are we not giving the actual
> > location of the Server side ORB. Is there a way by which the ORBlet can
> > find the sever-side ORB without us giving the URL of the server.
> >
> > Thanks for your time
> > Sanjay
>


Dave Wolf [Sybase] Posted on 1999-11-30 22:56:39.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: How does an ORBlet finds a server-side ORB?
Date: Tue, 30 Nov 1999 17:56:39 -0500
Lines: 60
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 157.133.41.86
Message-ID: <347_7Mj7KZ4O$GA.331@forums.sybase.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com> <347_3844547B.A2DB36BE@minn.net>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:33487
Article PK: 162430

In our case there is only one process for EAS. That process acts as both
the component server and the name server. In the case of a cluster, each
server binds to each other servers name service. When a client does a
lookup on a component, they are returned a Factory object. That object
contains a list of IOR's for each server in the cluster that has an object
available. EAS's client use every IOR in the list. The third party client
ORB will simply use the first in the list. So really the third party ORB
gets load balanced just not failover.

Dave Wolf
Internet Applications Division

Ronald Nasby <rnasby@minn.net> wrote in message
news:3844547B.A2DB36BE@minn.net...
> As far as the CORBA part of the question, there are two kinds of servers.
> There is a "naming server" and there is a "component server". They can
> both be running on the same box, but you do have to address the "name
> server" by url and port number. When a cluster has been configured, the
> "name server" through Jaguar's naming service, takes care of finding a
> "component server" that implements the requested component. The
> "transparency" comes in when there are multiple component servers. The
> client can utilize a cluster of them through the naming server.
>
> sanjay wrote:
>
> > I understand that one of the advantages of CORBA is Location
> > Transparency(the client does not need to know ,in which server/location
> > the components reside in).
> >
> > 1. My first question is a general CORBA question?
> >
> > If you do not provide the server ip/location then how does the ORB
> > on the client locates the ORB on the server?
> >
> > 2. My second question is to do with PowerJ and Jaguar.
> >
> > When i built my prototype i created some components in EA server3.0 and
> > i added that component to the component palette in PowerJ 3.0.
> >
> > I used the JaguarInitialContext component/object(on the component
> > palette in powerj) and in the properities for the Contextobject i
> > choose to use URL option on the Jaguar CTSserver tab and gave the
> > following URL iiop://a0336067:9000 which was the URL for my Jagaur
> > server.
> >
> > Then i created a component object/handle in my applet project and
> > assigned the context which i had created earlier as the intialcontext
> > for the component object/handle.
> >
> > My question is , by doing this(the above) are we not giving the actual
> > location of the Server side ORB. Is there a way by which the ORBlet can
> > find the sever-side ORB without us giving the URL of the server.
> >
> > Thanks for your time
> > Sanjay
>


gt bradley Posted on 1999-11-06 08:12:32.0Z
Newsgroups: sybase.public.easerver
Date: Sat, 06 Nov 1999 00:12:32 -0800
From: gt bradley <gt6@nospam.beachscene.com>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: "bad magic number error"
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 19
NNTP-Posting-Host: 207.155.14.213
Message-ID: <347_3823E2F0.9AC95ADD@nospam.beachscene.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2.sybase.com
Xref: forums-1-dub sybase.public.easerver:34755
Article PK: 164087

We have several components with long names, when our application tries
to
load the XXXSeqHelper.class file from
the jaguar (http) server, we get a "bad magic number error". if the file
is
loaded locally it loads fine (so we can assume the java byte code is ok)

Using a network analyser, we were able to watch the HTTP traffic and
noticed
that the reponse from the server had a good header, with the proper
length BUT
the data was filled entirely with Zero's. At the end of the response,
there
were a few lines which looked to me like a http 500 status (server
error), but
the server-log
only shows the 200 status file OK. This appears on both jaguar 3.0 and
3.0.1


Any suggestions???
GT


Dave Wolf [Sybase] Posted on 1999-11-06 15:40:41.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: "bad magic number error"
Date: Sat, 6 Nov 1999 10:40:41 -0500
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 130.214.144.186
Message-ID: <347_PhPw01GK$GA.212@forums.sybase.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com> <347_3823E2F0.9AC95ADD@nospam.beachscene.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2.sybase.com
Xref: forums-1-dub sybase.public.easerver:34750
Article PK: 164082

Please open a case with support.

Dave Wolf
Internet Applications Division

gt bradley <gt6@nospam.beachscene.com> wrote in message
news:3823E2F0.9AC95ADD@nospam.beachscene.com...
>
> We have several components with long names, when our application tries
> to
> load the XXXSeqHelper.class file from
> the jaguar (http) server, we get a "bad magic number error". if the file
> is
> loaded locally it loads fine (so we can assume the java byte code is ok)
>
> Using a network analyser, we were able to watch the HTTP traffic and
> noticed
> that the reponse from the server had a good header, with the proper
> length BUT
> the data was filled entirely with Zero's. At the end of the response,
> there
> were a few lines which looked to me like a http 500 status (server
> error), but
> the server-log
> only shows the 200 status file OK. This appears on both jaguar 3.0 and
> 3.0.1
>
>
> Any suggestions???
> GT
>
>
>
>


gt bradley Posted on 1999-11-06 08:10:56.0Z
Newsgroups: sybase.public.easerver
Date: Sat, 06 Nov 1999 00:10:56 -0800
From: gt bradley <gt6@nospam.beachscene.com>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Net-Library routine net_write() failed in srv_rawwrite
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 16
NNTP-Posting-Host: 207.155.14.213
Message-ID: <347_3823E28F.2BC337BE@nospam.beachscene.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2.sybase.com
Xref: forums-1-dub sybase.public.easerver:34756
Article PK: 164088

in our jaguar server log, we see many lines of the form:


Nov 05 15:10:56 1999: SRVLIB Message: 16240/10/0: Net-Library routine
net_write() failed in srv_rawwrite
Network error: status = 60 - Attempt to use invalid endpoint handle

Nov 05 15:10:56 1999: SRVLIB Message: 16240/10/0: Net-Library routine
net_read()
failed in srv_rawread
Network error: status = 29 - Net-Library operation terminated due to
disconnect

they then to run in bursts, with several errors occuring at once.


How can we get this to stop?
what does this mean?
any help would be appreciated
GT


Dave Wolf [Sybase] Posted on 1999-11-06 15:40:25.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: Net-Library routine net_write() failed in srv_rawwrite
Date: Sat, 6 Nov 1999 10:40:25 -0500
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 130.214.144.186
Message-ID: <347_OCuGr1GK$GA.84@forums.sybase.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com> <347_3823E28F.2BC337BE@nospam.beachscene.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2.sybase.com
Xref: forums-1-dub sybase.public.easerver:34751
Article PK: 164083

Would you happen to be using IE?

Dave Wolf
Internet Applications Division

gt bradley <gt6@nospam.beachscene.com> wrote in message
news:3823E28F.2BC337BE@nospam.beachscene.com...
>
>
> in our jaguar server log, we see many lines of the form:
>
>
> Nov 05 15:10:56 1999: SRVLIB Message: 16240/10/0: Net-Library routine
> net_write() failed in srv_rawwrite
> Network error: status = 60 - Attempt to use invalid endpoint handle
>
> Nov 05 15:10:56 1999: SRVLIB Message: 16240/10/0: Net-Library routine
> net_read()
> failed in srv_rawread
> Network error: status = 29 - Net-Library operation terminated due to
> disconnect
>
> they then to run in bursts, with several errors occuring at once.
>
>
> How can we get this to stop?
> what does this mean?
> any help would be appreciated
> GT
>


gt bradley Posted on 1999-11-07 08:20:59.0Z
Newsgroups: sybase.public.easerver
Date: Sun, 07 Nov 1999 00:20:59 -0800
From: gt bradley <gt6@nospam.beachscene.com>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Net-Library routine net_write() failed in srv_rawwrite
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 32
NNTP-Posting-Host: 207.155.14.213
Message-ID: <347_3825366B.FDACC687@nospam.beachscene.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com> <347_3823E28F.2BC337BE@nospam.beachscene.com> <347_OCuGr1GK$GA.84@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2.sybase.com
Xref: forums-1-dub sybase.public.easerver:34743
Article PK: 164075


"Dave Wolf [Sybase]" wrote:

> Would you happen to be using IE?
>

No,... This is an intranet application, all clients should be the corporate
standard Netscape 4.5 browser, with our client application running from
with-in sun's 1.2.1 or 1.2.2 java-plug-in.

Since HTTP is a state-less protocol, I am assuming that these messages are
from the IIOP connection, is that a reasonable assumption?

GT

>
> Dave Wolf
> Internet Applications Division
>
> gt bradley <gt6@nospam.beachscene.com> wrote in message
> news:3823E28F.2BC337BE@nospam.beachscene.com...
> >
> >
> > in our jaguar server log, we see many lines of the form:
> >
> >
> > Nov 05 15:10:56 1999: SRVLIB Message: 16240/10/0: Net-Library routine
> > net_write() failed in srv_rawwrite
> > Network error: status = 60 - Attempt to use invalid endpoint handle
> >
> > Nov 05 15:10:56 1999: SRVLIB Message: 16240/10/0: Net-Library routine
> > net_read()
> > failed in srv_rawread
> > Network error: status = 29 - Net-Library operation terminated due to
> > disconnect
> >
> > they then to run in bursts, with several errors occuring at once.
> >
> >
> > How can we get this to stop?
> > what does this mean?
> > any help would be appreciated
> > GT
> >


Dave Wolf [Sybase] Posted on 1999-11-07 16:31:17.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: Net-Library routine net_write() failed in srv_rawwrite
Date: Sun, 7 Nov 1999 11:31:17 -0500
Lines: 56
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: PPPa23-ResaleBoston8002-4R1012.saturn.bbn.com 4.16.24.178
Message-ID: <347_so8gACWK$GA.211@forums.sybase.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com> <347_3823E28F.2BC337BE@nospam.beachscene.com> <347_OCuGr1GK$GA.84@forums.sybase.com> <347_3825366B.FDACC687@nospam.beachscene.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2.sybase.com
Xref: forums-1-dub sybase.public.easerver:34737
Article PK: 164068

Is this a Java applet client?

Dave Wolf
Internet Applications Division

gt bradley <gt6@nospam.beachscene.com> wrote in message
news:3825366B.FDACC687@nospam.beachscene.com...
>
>
> "Dave Wolf [Sybase]" wrote:
>
> > Would you happen to be using IE?
> >
>
> No,... This is an intranet application, all clients should be the
corporate
> standard Netscape 4.5 browser, with our client application running from
> with-in sun's 1.2.1 or 1.2.2 java-plug-in.
>
> Since HTTP is a state-less protocol, I am assuming that these messages are
> from the IIOP connection, is that a reasonable assumption?
>
> GT
>
> >
> > Dave Wolf
> > Internet Applications Division
> >
> > gt bradley <gt6@nospam.beachscene.com> wrote in message
> > news:3823E28F.2BC337BE@nospam.beachscene.com...
> > >
> > >
> > > in our jaguar server log, we see many lines of the form:
> > >
> > >
> > > Nov 05 15:10:56 1999: SRVLIB Message: 16240/10/0: Net-Library routine
> > > net_write() failed in srv_rawwrite
> > > Network error: status = 60 - Attempt to use invalid endpoint handle
> > >
> > > Nov 05 15:10:56 1999: SRVLIB Message: 16240/10/0: Net-Library routine
> > > net_read()
> > > failed in srv_rawread
> > > Network error: status = 29 - Net-Library operation terminated due to
> > > disconnect
> > >
> > > they then to run in bursts, with several errors occuring at once.
> > >
> > >
> > > How can we get this to stop?
> > > what does this mean?
> > > any help would be appreciated
> > > GT
> > >
>


gt bradley Posted on 1999-11-08 03:07:25.0Z
Newsgroups: sybase.public.easerver
Date: Sun, 07 Nov 1999 19:07:25 -0800
From: gt bradley <gt6@nospam.beachscene.com>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Net-Library routine net_write() failed in srv_rawwrite
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 44
NNTP-Posting-Host: 207.155.14.213
Message-ID: <347_38263E6D.9D5282EE@nospam.beachscene.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com> <347_3823E28F.2BC337BE@nospam.beachscene.com> <347_OCuGr1GK$GA.84@forums.sybase.com> <347_3825366B.FDACC687@nospam.beachscene.com> <347_so8gACWK$GA.211@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2.sybase.com
Xref: forums-1-dub sybase.public.easerver:34731
Article PK: 164063


"Dave Wolf [Sybase]" wrote:

> Is this a Java applet client?
>

Yes, and we use the Sybase Orb on the client...
Gt


>
> Dave Wolf
> Internet Applications Division
>
> gt bradley <gt6@nospam.beachscene.com> wrote in message
> news:3825366B.FDACC687@nospam.beachscene.com...
> >
> >
> > "Dave Wolf [Sybase]" wrote:
> >
> > > Would you happen to be using IE?
> > >
> >
> > No,... This is an intranet application, all clients should be the
> corporate
> > standard Netscape 4.5 browser, with our client application running from
> > with-in sun's 1.2.1 or 1.2.2 java-plug-in.
> >
> > Since HTTP is a state-less protocol, I am assuming that these messages are
> > from the IIOP connection, is that a reasonable assumption?
> >
> > GT
> >
> > >
> > > Dave Wolf
> > > Internet Applications Division
> > >
> > > gt bradley <gt6@nospam.beachscene.com> wrote in message
> > > news:3823E28F.2BC337BE@nospam.beachscene.com...
> > > >
> > > >
> > > > in our jaguar server log, we see many lines of the form:
> > > >
> > > >
> > > > Nov 05 15:10:56 1999: SRVLIB Message: 16240/10/0: Net-Library routine
> > > > net_write() failed in srv_rawwrite
> > > > Network error: status = 60 - Attempt to use invalid endpoint handle
> > > >
> > > > Nov 05 15:10:56 1999: SRVLIB Message: 16240/10/0: Net-Library routine
> > > > net_read()
> > > > failed in srv_rawread
> > > > Network error: status = 29 - Net-Library operation terminated due to
> > > > disconnect
> > > >
> > > > they then to run in bursts, with several errors occuring at once.
> > > >
> > > >
> > > > How can we get this to stop?
> > > > what does this mean?
> > > > any help would be appreciated
> > > > GT
> > > >
> >


Dave Wolf [Sybase] Posted on 1999-11-08 04:29:33.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: Net-Library routine net_write() failed in srv_rawwrite
Date: Sun, 7 Nov 1999 23:29:33 -0500
Lines: 81
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 158.159.8.11
Message-ID: <347_jyx2LIaK$GA.304@forums.sybase.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com> <347_3823E28F.2BC337BE@nospam.beachscene.com> <347_OCuGr1GK$GA.84@forums.sybase.com> <347_3825366B.FDACC687@nospam.beachscene.com> <347_so8gACWK$GA.211@forums.sybase.com> <347_38263E6D.9D5282EE@nospam.beachscene.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2.sybase.com
Xref: forums-1-dub sybase.public.easerver:34730
Article PK: 164062

This likely means the client has been destroyed. So for instance, someone
closed the browser while the server still had data to send back to them.

Dave Wolf
Internet Applications Division

gt bradley <gt6@nospam.beachscene.com> wrote in message
news:38263E6D.9D5282EE@nospam.beachscene.com...
>
>
> "Dave Wolf [Sybase]" wrote:
>
> > Is this a Java applet client?
> >
>
> Yes, and we use the Sybase Orb on the client...
> Gt
>
>
> >
> > Dave Wolf
> > Internet Applications Division
> >
> > gt bradley <gt6@nospam.beachscene.com> wrote in message
> > news:3825366B.FDACC687@nospam.beachscene.com...
> > >
> > >
> > > "Dave Wolf [Sybase]" wrote:
> > >
> > > > Would you happen to be using IE?
> > > >
> > >
> > > No,... This is an intranet application, all clients should be the
> > corporate
> > > standard Netscape 4.5 browser, with our client application running
from
> > > with-in sun's 1.2.1 or 1.2.2 java-plug-in.
> > >
> > > Since HTTP is a state-less protocol, I am assuming that these messages
are
> > > from the IIOP connection, is that a reasonable assumption?
> > >
> > > GT
> > >
> > > >
> > > > Dave Wolf
> > > > Internet Applications Division
> > > >
> > > > gt bradley <gt6@nospam.beachscene.com> wrote in message
> > > > news:3823E28F.2BC337BE@nospam.beachscene.com...
> > > > >
> > > > >
> > > > > in our jaguar server log, we see many lines of the form:
> > > > >
> > > > >
> > > > > Nov 05 15:10:56 1999: SRVLIB Message: 16240/10/0: Net-Library
routine
> > > > > net_write() failed in srv_rawwrite
> > > > > Network error: status = 60 - Attempt to use invalid endpoint
handle
> > > > >
> > > > > Nov 05 15:10:56 1999: SRVLIB Message: 16240/10/0: Net-Library
routine
> > > > > net_read()
> > > > > failed in srv_rawread
> > > > > Network error: status = 29 - Net-Library operation terminated due
to
> > > > > disconnect
> > > > >
> > > > > they then to run in bursts, with several errors occuring at once.
> > > > >
> > > > >
> > > > > How can we get this to stop?
> > > > > what does this mean?
> > > > > any help would be appreciated
> > > > > GT
> > > > >
> > >
>


gt bradley Posted on 1999-11-06 08:09:29.0Z
Newsgroups: sybase.public.easerver
Date: Sat, 06 Nov 1999 00:09:29 -0800
From: gt bradley <gt6@nospam.beachscene.com>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: JagPseudoJava_getJNIEnv not found?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 10
NNTP-Posting-Host: 207.155.14.213
Message-ID: <347_3823E239.B6AD2476@nospam.beachscene.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2.sybase.com
Xref: forums-1-dub sybase.public.easerver:34757
Article PK: 164089

I upgraded a 3.0 jaguar server to 3.0.1 (build 30031), and it seems to
work
fine, except that when I start
jagmanager I get 8 message boxes (in series) that say The Prodedure entry
point
JagPseudoJava_getJNIEnv could not be located in the dynamic link library
libjcc.dll, after that everything else seems to run fine...

does this seem familiar to any one...
GT


Dave Wolf [Sybase] Posted on 1999-11-06 15:40:07.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: JagPseudoJava_getJNIEnv not found?
Date: Sat, 6 Nov 1999 10:40:07 -0500
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 130.214.144.186
Message-ID: <347_9heag1GK$GA.211@forums.sybase.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com> <347_3823E239.B6AD2476@nospam.beachscene.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2.sybase.com
Xref: forums-1-dub sybase.public.easerver:34752
Article PK: 164084

I believe you have a CLASSPATH or PATH issue. It seems the wrong version of
libjcc is being loaded. Be sure your PATH is correct. I would rem out any
references to the PowerBuilder directories as these would have thir own
version of libjcc.

Dave Wolf
Internet Applications Division

gt bradley <gt6@nospam.beachscene.com> wrote in message
news:3823E239.B6AD2476@nospam.beachscene.com...
>
>
> I upgraded a 3.0 jaguar server to 3.0.1 (build 30031), and it seems to
> work
> fine, except that when I start
> jagmanager I get 8 message boxes (in series) that say The Prodedure entry
> point
> JagPseudoJava_getJNIEnv could not be located in the dynamic link library
> libjcc.dll, after that everything else seems to run fine...
>
> does this seem familiar to any one...
> GT
>


gt bradley Posted on 1999-11-09 06:25:03.0Z
Newsgroups: sybase.public.easerver
Date: Mon, 08 Nov 1999 22:25:03 -0800
From: gt bradley <gt6@nospam.beachscene.com>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: JagPseudoJava_getJNIEnv not found?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 27
NNTP-Posting-Host: 207.155.14.213
Message-ID: <347_3827BE3F.8163C0A1@nospam.beachscene.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com> <347_3823E239.B6AD2476@nospam.beachscene.com> <347_9heag1GK$GA.211@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2.sybase.com
Xref: forums-1-dub sybase.public.easerver:34659
Article PK: 163990

I couldn't find any path references to PowerBuilder or sybase common, so I just
renamed the offending dll (in those directories) and the problem went away..

thanks..
gt

"Dave Wolf [Sybase]" wrote:

> I believe you have a CLASSPATH or PATH issue. It seems the wrong version of
> libjcc is being loaded. Be sure your PATH is correct. I would rem out any
> references to the PowerBuilder directories as these would have thir own
> version of libjcc.
>
> Dave Wolf
> Internet Applications Division
>
> gt bradley <gt6@nospam.beachscene.com> wrote in message
> news:3823E239.B6AD2476@nospam.beachscene.com...
> >
> >
> > I upgraded a 3.0 jaguar server to 3.0.1 (build 30031), and it seems to
> > work
> > fine, except that when I start
> > jagmanager I get 8 message boxes (in series) that say The Prodedure entry
> > point
> > JagPseudoJava_getJNIEnv could not be located in the dynamic link library
> > libjcc.dll, after that everything else seems to run fine...
> >
> > does this seem familiar to any one...
> > GT
> >


Dave Wolf [Sybase] Posted on 1999-09-29 20:22:05.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: How does an ORBlet finds a server-side ORB?
Date: Wed, 29 Sep 1999 16:22:05 -0400
Lines: 59
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <347_bRf16erC$GA.305@forums.sybase.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:37284
Article PK: 166616


sanjay <radhaksi@tvratings.com> wrote in message
news:38D0FC8F.3415AFF6@tvratings.com...
> I understand that one of the advantages of CORBA is Location
> Transparency(the client does not need to know ,in which server/location
> the components reside in).
>
> 1. My first question is a general CORBA question?
>
> If you do not provide the server ip/location then how does the ORB
> on the client locates the ORB on the server?

The client does a call to find the name server on the client side. Each
vendor has their own method for bootstrapping to the name server. Once you
bootstrap to the nameservice you can do a lookup to find the actual
instance.

>
> 2. My second question is to do with PowerJ and Jaguar.
>
> When i built my prototype i created some components in EA server3.0 and
> i added that component to the component palette in PowerJ 3.0.
>
> I used the JaguarInitialContext component/object(on the component
> palette in powerj) and in the properities for the Contextobject i
> choose to use URL option on the Jaguar CTSserver tab and gave the
> following URL iiop://a0336067:9000 which was the URL for my Jagaur
> server.

Actually this is the URL to a name server (our way of bootstrapping using
the SessionManager API).

>
> Then i created a component object/handle in my applet project and
> assigned the context which i had created earlier as the intialcontext
> for the component object/handle.

Ok.

>
> My question is , by doing this(the above) are we not giving the actual
> location of the Server side ORB. Is there a way by which the ORBlet can
> find the sever-side ORB without us giving the URL of the server.

Becuase you are only giving the location of the NameServer not the actual
server. No one is saying that the component actually is residing on that
particular server. Rather that is the URL to a name server which will
return a Factory IOR (all occurs under the cover) that contains the actual
location of the component.

Dave Wolf
Internet Applications Division

>
> Thanks for your time
> Sanjay
>


Evan Ireland Posted on 1999-03-16 21:07:44.0Z
Newsgroups: sybase.public.easerver
Date: Wed, 17 Mar 1999 10:07:44 +1300
From: Evan Ireland <eireland@sybase.com>
Organization: Sybase, Inc.
X-Mailer: Mozilla 4.06 [en] (WinNT; I)
MIME-Version: 1.0
To: sanjay <radhaksi@tvratings.com>
Subject: Re: How does an ORBlet finds a server-side ORB?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 56
Message-ID: <347_36EEC820.7DB26656@sybase.com>
References: <347_38D0FC8F.3415AFF6@tvratings.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.easerver:45312
Article PK: 174694


sanjay wrote:

> I understand that one of the advantages of CORBA is Location
> Transparency(the client does not need to know ,in which server/location
> the components reside in).
>
> 1. My first question is a general CORBA question?
>
> If you do not provide the server ip/location then how does the ORB
> on the client locates the ORB on the server?
>

You always need to bootstrap the client ORB somehow.
Usually this is done by passing parameters to ORB.init.
What is frequently advised it to take these parameters
as applet parameters or application command-line
parameters.

Some ORBs require a client agent to be running if the client
does not want to provide any initial URLs. However for Java
clients it is a nuisance having to install additional client agent
software. For Jaguar CTS, there is no such concept anyway.

> 2. My second question is to do with PowerJ and Jaguar.
>
> When i built my prototype i created some components in EA server3.0 and
> i added that component to the component palette in PowerJ 3.0.
>
> I used the JaguarInitialContext component/object(on the component
> palette in powerj) and in the properities for the Contextobject i
> choose to use URL option on the Jaguar CTSserver tab and gave the
> following URL iiop://a0336067:9000 which was the URL for my Jagaur
> server.
>
> Then i created a component object/handle in my applet project and
> assigned the context which i had created earlier as the intialcontext
> for the component object/handle.
>
> My question is , by doing this(the above) are we not giving the actual
> location of the Server side ORB. Is there a way by which the ORBlet can
> find the sever-side ORB without us giving the URL of the server.
>

A few notes:

(1) If your client is an applet, you can use the URL "iiop://:9000"
(assuming your server has a listener on port 9000), i.e. the host
name can default to the one the applet was downloaded from.
Due to the applet-sandbox restrictions, in many cases this will
be the best solution.

(2) You can set the URL for the InitialContext object at run time.

(3) You can pass the URL as an applet/application parameter.