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.

ActiveXProxy.Initialize Error!

5 posts in General Discussion (old) Last posting was on 2000-03-17 00:35:20.0Z
Park InChul Posted on 2000-03-16 08:48:42.0Z
Newsgroups: sybase.public.easerver
From: "Park InChul" <arisong@penta.co.kr>
Subject: ActiveXProxy.Initialize Error!
Date: Thu, 16 Mar 2000 17:48:42 +0900
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: arisong.penta.co.kr 210.108.181.181
Message-ID: <347_Nm1geVyj$GA.202@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26313
Article PK: 156982

Hello,

I've created a very simple MFC/ATL component and deployed to my local Jaguar
server.
Everything looks ok, but I can't call any method of that component.

Here's my sample code in PB.

--
n_OleObject AXProxy
integer li_rc

AXProxy = Create n_OLEObject

li_rc = AXProxy.ConnectToNewObject ( "ComTest.SampleCOM_JagSample" )

IF li_rc = 0 THEN
AXProxy.UserName = "jagadmin"
AXProxy.Password = ""
AXProxy.Host = "localhost:9000"
AXProxy.Initialize //<- exception!
/*
Exception code 9005: The creation of Component xxx failed. Component
impl. was not deployed ... bla..
But I registered that dll and checked them twice or more!
*/
AXProxy.hello () // Just say hello using AfxMessageBox ().
ELSE
MessageBox ( this.ClassName(), "Error connecting to new object" )
END IF
--

Actually, I need reach that component with VB and in VB, the situation is
same as.

What did I miss or mess?

TIA.

InChul Park.


Park InChul Posted on 2000-03-16 12:57:41.0Z
Newsgroups: sybase.public.easerver
From: "Park InChul" <arisong@penta.co.kr>
Subject: Re: ActiveXProxy.Initialize Error!
Date: Thu, 16 Mar 2000 21:57:41 +0900
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: arisong.penta.co.kr 210.108.181.181
Message-ID: <347_IY34mg0j$GA.261@forums.sybase.com>
References: <347_Nm1geVyj$GA.202@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26302
Article PK: 156971

Well, I found what was wrong.

But... still I have some questions.

1. I created COM components with VB and VC. Importing them into Jaguar using
Jaguar manager is simple. Creating a new Package, importing components...
But, why the Component Properties dialog displays my component's type as
"JAVA-CORBA"? <- That is what I missed. I should change the selection to
COM/ActiveX and type correct PROG ID manually. Is this behavior normal? or
somthing goes wrong with ONLY me?

2. After adding or changing some interfaces/methods of that ActiveX
components, how can I redeploy them? Remove old one, and re-import new one?
What's the easist way to redeploy ActiveX components?

3. If I clustered Jaguar, does the Synchronize command still make sense
about ActiveX components, too?

4. I read the chapter 16 of the "Jaguar Programmer's Guide" and noticed that
"No client managed transaction". I don't understand completely what that
noticement means. Would you like to explain me more easier?

Any comment appreciated.

Thank you.

InChul Park.


Dave Wolf [Sybase] Posted on 2000-03-16 13:28:31.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: ActiveXProxy.Initialize Error!
Date: Thu, 16 Mar 2000 08:28:31 -0500
Lines: 54
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: vpn-eme-022.sybase.com 130.214.8.22
Message-ID: <347_JpLdcw0j$GA.111@forums.sybase.com>
References: <347_Nm1geVyj$GA.202@forums.sybase.com> <347_IY34mg0j$GA.261@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26301
Article PK: 156969


"Park InChul" <arisong@penta.co.kr> wrote in message
news:IY34mg0j$GA.261@forums.sybase.com...
> Well, I found what was wrong.
>
> But... still I have some questions.
>
> 1. I created COM components with VB and VC. Importing them into Jaguar
using
> Jaguar manager is simple. Creating a new Package, importing components...
> But, why the Component Properties dialog displays my component's type as
> "JAVA-CORBA"? <- That is what I missed. I should change the selection to
> COM/ActiveX and type correct PROG ID manually. Is this behavior normal? or
> somthing goes wrong with ONLY me?

You should have had a box with three radio buttons and one said ActiveX?
Did you choose that?

>
> 2. After adding or changing some interfaces/methods of that ActiveX
> components, how can I redeploy them? Remove old one, and re-import new
one?
> What's the easist way to redeploy ActiveX components?

Go through the wizard again and reimport.

>
> 3. If I clustered Jaguar, does the Synchronize command still make sense
> about ActiveX components, too?

yes

>
> 4. I read the chapter 16 of the "Jaguar Programmer's Guide" and noticed
that
> "No client managed transaction". I don't understand completely what that
> noticement means. Would you like to explain me more easier?

EJB allows the client to demarcate the servers transactions. We dont
support this with the COM proxy.

Dave Wolf
Internet Applications Division

>
> Any comment appreciated.
>
> Thank you.
>
> InChul Park.
>
>


Park InChul Posted on 2000-03-17 00:35:20.0Z
Newsgroups: sybase.public.easerver
From: "Park InChul" <arisong@penta.co.kr>
Subject: Re: ActiveXProxy.Initialize Error!
Date: Fri, 17 Mar 2000 09:35:20 +0900
Lines: 78
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: arisong.penta.co.kr 210.108.181.181
Message-ID: <347_nbHUem6j$GA.201@forums.sybase.com>
References: <347_Nm1geVyj$GA.202@forums.sybase.com> <347_IY34mg0j$GA.261@forums.sybase.com> <347_JpLdcw0j$GA.111@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26240
Article PK: 156910


"Dave Wolf [Sybase]" <dwolf@sybase.com> wrote in message
news:JpLdcw0j$GA.111@forums.sybase.com...
>
> "Park InChul" <arisong@penta.co.kr> wrote in message
> news:IY34mg0j$GA.261@forums.sybase.com...
> > Well, I found what was wrong.
> >
> > But... still I have some questions.
> >
> > 1. I created COM components with VB and VC. Importing them into Jaguar
> using
> > Jaguar manager is simple. Creating a new Package, importing
components...
> > But, why the Component Properties dialog displays my component's type as
> > "JAVA-CORBA"? <- That is what I missed. I should change the selection to
> > COM/ActiveX and type correct PROG ID manually. Is this behavior normal?
or
> > somthing goes wrong with ONLY me?
>
> You should have had a box with three radio buttons and one said ActiveX?
> Did you choose that?
>

I've selected the radio button, "Import from ActiveX type Library".

> >
> > 2. After adding or changing some interfaces/methods of that ActiveX
> > components, how can I redeploy them? Remove old one, and re-import new
> one?
> > What's the easist way to redeploy ActiveX components?
>
> Go through the wizard again and reimport.
>

Uhm, an error occurred, saying "A component of the same name already
exists". I should remove old one before importing.

> >
> > 3. If I clustered Jaguar, does the Synchronize command still make sense
> > about ActiveX components, too?
>
> yes

I'm concerning about registering DLLs. Each DLLs should be registered to
each Jaguar server host machine, right? But, the sync command doesn't copy
and register that dlls as I know. That's why I'm concerned.

>
> >
> > 4. I read the chapter 16 of the "Jaguar Programmer's Guide" and noticed
> that
> > "No client managed transaction". I don't understand completely what that
> > noticement means. Would you like to explain me more easier?
>
> EJB allows the client to demarcate the servers transactions. We dont
> support this with the COM proxy.
>

Ok. Thank you.

> Dave Wolf
> Internet Applications Division
>
> >
> > Any comment appreciated.
> >
> > Thank you.
> >
> > InChul Park.
> >
> >
>
>

Thank you.


Dave Wolf [Sybase] Posted on 2000-03-16 12:54:23.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: ActiveXProxy.Initialize Error!
Date: Thu, 16 Mar 2000 07:54:23 -0500
Lines: 53
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: vpn-eme-022.sybase.com 130.214.8.22
Message-ID: <347_3BcEYd0j$GA.111@forums.sybase.com>
References: <347_Nm1geVyj$GA.202@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26303
Article PK: 156972

I would check the .REG file to see if the path to jagproxy.dll is correct in
it.

Dave Wolf
Internet Applications Division

"Park InChul" <arisong@penta.co.kr> wrote in message
news:Nm1geVyj$GA.202@forums.sybase.com...
> Hello,
>
> I've created a very simple MFC/ATL component and deployed to my local
Jaguar
> server.
> Everything looks ok, but I can't call any method of that component.
>
> Here's my sample code in PB.
>
> --
> n_OleObject AXProxy
> integer li_rc
>
> AXProxy = Create n_OLEObject
>
> li_rc = AXProxy.ConnectToNewObject ( "ComTest.SampleCOM_JagSample" )
>
> IF li_rc = 0 THEN
> AXProxy.UserName = "jagadmin"
> AXProxy.Password = ""
> AXProxy.Host = "localhost:9000"
> AXProxy.Initialize file://<- exception!
> /*
> Exception code 9005: The creation of Component xxx failed. Component
> impl. was not deployed ... bla..
> But I registered that dll and checked them twice or more!
> */
> AXProxy.hello () // Just say hello using AfxMessageBox ().
> ELSE
> MessageBox ( this.ClassName(), "Error connecting to new object" )
> END IF
> --
>
> Actually, I need reach that component with VB and in VB, the situation is
> same as.
>
> What did I miss or mess?
>
> TIA.
>
> InChul Park.
>
>