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.

Apache and Jaguar

2 posts in General Discussion (old) Last posting was on 2000-02-12 05:49:18.0Z
Olaf Musch Posted on 2000-02-11 14:13:13.0Z
Newsgroups: sybase.public.easerver
Date: Fri, 11 Feb 2000 15:13:13 +0100
From: Olaf Musch <Olaf.Musch@gzs.de>
Organization: GZS Gesellschaft =?iso-8859-1?Q?f=FCr?= Zahlungssysteme mbH
X-Mailer: Mozilla 4.7 [de] (WinNT; U)
X-Accept-Language: de,en,en-US,en-GB
MIME-Version: 1.0
Subject: Apache and Jaguar
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 13
NNTP-Posting-Host: 195.143.119.22
Message-ID: <347_38A418F9.76D1A7A6@gzs.de>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28910
Article PK: 161282

Hi folks,

I'm trying to call Jaguar components from WebSites served by Apache
1.3.11 (NT)

Which configuration steps do I have to go in which sequence ?

First, Apache itself is up and running.

Second, I copied the CGI-BINs to the Apache-directory

Third, do I really have to have this CGI-Helper running constantly ?

Then, which listeners do I have to configure, and finally

how do I write web-pages calling the components ??

Are there any public examples for this chain ??

TIA

Olaf


Bruce Armstrong [TeamSybase] Posted on 2000-02-12 05:49:18.0Z
Newsgroups: sybase.public.easerver
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Organization: TeamSybase[207.217.249.247]
X-Newsreader: AspNNTP 1.41 (Advent 2000, Inc.)
Subject: Re: Apache and Jaguar
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Sat, 12 Feb 2000 00:49:18 -0500
Lines: 58
NNTP-Posting-Host: 207.156.232.4
Message-ID: <347_Acw1mzRd$GA.327@forums.sybase.com>
References: <347_38A418F9.76D1A7A6@gzs.de>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28859
Article PK: 161238

On Fri, 11 Feb 2000 15:13:13 +0100,
in powersoft.public.easerver

Olaf Musch <Olaf.Musch@gzs.de> wrote:
>I'm trying to call Jaguar components from WebSites served by Apache
>1.3.11 (NT)
>Which configuration steps do I have to go in which sequence ?
>First, Apache itself is up and running.
>Second, I copied the CGI-BINs to the Apache-directory
>Third, do I really have to have this CGI-Helper running constantly ?
>Then, which listeners do I have to configure, and finally
>how do I write web-pages calling the components ??
>Are there any public examples for this chain ??

You need to have the Helper Application for CGI running all the time.
Assuming you're running an NT server, you can make it a service by using
the Service Wizard from the NT resourse kit.

Create a mapping (dynamic) in Sybase Central for the directory that the files
that you will be calling Jaguar components will be located in.

In the link to those files, you will need to include a reference to the
CGI file:

http://your_servername/cgi-bin/dycgi03.exe/drive_mapping/your_file.stm

There are a number of methods for calling the objects. The two primary ones
that aren't restricted to returning only results sets use either Java stubs
(CreateComponent) or the ActiveX proxy (CreateObject) to talk to the Jaguar
component.

If you want to use the CreateComponent method, you have to generate Java
stubs from Jaguar Manager and then compile them.

If you want to use the CreateObject method, you have to generate the TLB/REG
files and register them.

Using the CreateObject method, you need code something along these lines:

<!--SCRIPT
myobject=CreateObject("packagename.objectname");
myobject.Initialize();
stringvalue=myobject.returnstring();
document.writeln ( stringvalue );
-->

That's a trivial example anyway.
---
Bruce Armstrong [TeamSybase] | KFORCE.com
mailto:Bruce.Armstrong@teamsybase.com | http://www.kforce.com

Preach the gospel at all times. If necessary, use words. [Francis of Assisi]
http://www.kidbrothers.org | http://www.fccwc.org
http://www.harvest.org/text/knowgod.html | http://www.needhim.org

-----------== Posted via the PFCGuide Web Newsreader ==----------
http://www.pfcguide.com/_newsgroups/group_list.asp