This topic is READ ONLY
import-bot (20212) [Avatar] Offline
#1
[Originally posted by treybigb]

I am running OR WebSite, and simple example from ch 3. When I am logged into
the internet (dialed up and connected) and I click on the link to the
distributed pb call, everything works fine. But, when I am NOT connected to
the internet (dialed out), I can browse the webpage (custlist.htm) no problem,
but the CGI call to the distributed pb simple fails just as if it were not
running.

This has to do with the WinSock driver right? What has to be in place for the
call to work?

What if I were trying an Intranet? Would I use the Local driver instead?
Does this have anything to do with needing a name server?

TIA
import-bot (20212) [Avatar] Offline
#2
Re: WebPB CGI fails when not *connected*
[Originally posted by ezad1]

Winsock should be working whether or not you are logged on. Are you using
"localhost" to access the server? If so, try 127.0.0.1 instead.
import-bot (20212) [Avatar] Offline
#3
Re: WebPB CGI fails when not *connected*
[Originally posted by treybigb]

Using LocalHost, 127.0.0.1, or my actual NIC tcp/ip address will give me my
custlist.htm page fine, but the link to the distributed server is what fails
when I have not logged into my ISP. It returns:

Error: PBWEBRunRequest: Failed to connect

irregardless of whether or not I use LocalHost, the loopback address, or my
NIC address in the link to the distributed function call:

http://localhost/cgi-shl/pbcgi60.exe/simple/u_demodb/df_get_client_list?

It seems that the browser just cannot find the distributed app when I am not
logged into the ISP, but I do not know why.
import-bot (20212) [Avatar] Offline
#4
Re: WebPB CGI fails when not *connected*
[Originally posted by ezad1]

Brad,

I wrote those samples off-line! What's your http server, website?
import-bot (20212) [Avatar] Offline
#5
Re: WebPB CGI fails when not *connected*
[Originally posted by treybigb]

> I wrote those samples off-line! What's your http server, website?

I figured it out. When I configured OR Website, I used my NIC TCP/IP address
as the Server Name. I changed it to LocalHost, with the same results. But
when I set it to http://LocalHost/ it works fine.

Thanks for you time and assistance...

PS Sybase indicates that it will not be supporting Distributed PB beyond ver
7, and we are supposed to move to EAServer. Are you considering a follow up
book?
import-bot (20212) [Avatar] Offline
#6
Re: WebPB CGI fails when not *connected*
[Originally posted by ezad1]

Hey, I'm glad you figured it out. I thought it might be something screwy with
website.

Anyway, I hadn't heard that Sybase was dropping DPB. Makes sense to me,
though. Mike Barlotta is writing an EAServer book as we speak. I'm doing the
PowerDynamo and PowerSite parts.
import-bot (20212) [Avatar] Offline
#7
DPB / Web.PB Support
[Originally posted by ptink]


> Hey, I'm glad you figured it out. I thought it might be something screwy with
> website.
>
> Anyway, I hadn't heard that Sybase was dropping DPB. Makes sense to me,
> though. Mike Barlotta is writing an EAServer book as we speak. I'm doing the
> PowerDynamo and PowerSite parts.

Tom

Firstly, your book is great. I think you have pitched it at exactly the right
level.

I am an experienced PB developer in a standard 2-tier client-server
environment. I am currently investing time in learning DPB and Web.PB, your
book being my major source for the latter.

How different do you see Sybase' commitment to Web and distributed
technologies in PBv7, in comparison to PBv6 / 6.5?

May be a more focused question on this point: how much will my commitment to
learning the PBv6 / 6.5 'flavour' of Web development, pay off for me in
understanding and learning the PBv7 'flavour'?

Thanks for taking the time to read and answer this!

Best regards,
Paul Tinker.
import-bot (20212) [Avatar] Offline
#8
DPB / Web.PB Support
[Originally posted by ezad1]

> Firstly, your book is great. I think you have pitched it at exactly the right
> level.
>
> I am an experienced PB developer in a standard 2-tier client-server
> environment. I am currently investing time in learning DPB and Web.PB, your
> book being my major source for the latter.
>
> How different do you see Sybase' commitment to Web and distributed
> technologies in PBv7, in comparison to PBv6 / 6.5?

In PB7, DPB and Web.PB are supported but they have not been enhanced AFAIK.
Sybase is dropping them for the EAServer duo of Jaguar and PowerDynamo.

>
> May be a more focused question on this point: how much will my commitment to
> learning the PBv6 / 6.5 'flavour' of Web development, pay off for me in
> understanding and learning the PBv7 'flavour'?

I would say that the PBv7 preferred tool of web development is EAServer. So
Web.PB/DPB will not help you much. However, anything you do in Web.PB/DPB will
carry over to 7.0.

>
> Thanks for taking the time to read and answer this!
>
> Best regards,
> Paul Tinker.
import-bot (20212) [Avatar] Offline
#9
DPB / Web.PB Support
[Originally posted by rk.porter]

Hi,

I only have PB7 (Enterprise), and therefore no O'Reilly Web Site, nor Web.pb

Can I utilise PowerDynamo's Personal Web Site in place of O'Reilly ?

What about the application server - any suggestions ??

(I'm just starting 'Internet Applications with PB6', having just finished
the DPB book)

regards,

Richard.