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.

EA Server 4.1.1 doesn't generate IDL properly with deploy strategy=FULL

4 posts in Java J2EE specific Last posting was on 2006-07-31 04:32:00.0Z
hope Posted on 2006-07-26 09:15:13.0Z
Sender: 4d5e.44c73125.1804289383@sybase.com
From: Hope
Newsgroups: sybase.public.easerver.j2ee
Subject: EA Server 4.1.1 doesn't generate IDL properly with deploy strategy=FULL
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <44c732a1.4d64.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 26 Jul 2006 02:15:13 -0700
X-Trace: forums-1-dub 1153905313 10.22.241.41 (26 Jul 2006 02:15:13 -0700)
X-Original-Trace: 26 Jul 2006 02:15:13 -0700, 10.22.241.41
Lines: 17
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7689
Article PK: 208138

Hi, all

I add a new class property, "newProperty" in a java
class and deploy to the EA Server by using jagtool with
deploy strategy="FULL".

Then I check EA Server's repository's IDL folder, the
corresponding IDL didn't update accordingly.i.e.
"newProperty" didn't show in the corresponding IDL.

The deployment process didn't show any error message
and other ejb service component can access the
"newProperty".

Question:
I don't understand why IDL didn't update accordingly?
Is this a bug?


"Alexander Pire" <Alexander_no_spam_ Posted on 2006-07-27 07:49:33.0Z
From: "Alexander Pire" <Alexander_no_spam_@powerobjects_dot_com>
Newsgroups: sybase.public.easerver.j2ee
References: <44c732a1.4d64.1681692777@sybase.com>
Subject: Re: EA Server 4.1.1 doesn't generate IDL properly with deploy strategy=FULL
Lines: 51
Organization: PowerObjects
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-Original-NNTP-Posting-Host: 71-215-236-220.mpls.qwest.net
Message-ID: <44c86e37$1@forums-2-dub>
X-Original-Trace: 27 Jul 2006 00:41:43 -0700, 71-215-236-220.mpls.qwest.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 27 Jul 2006 00:41:45 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 27 Jul 2006 00:49:33 -0700
X-Trace: forums-1-dub 1153986573 10.22.108.75 (27 Jul 2006 00:49:33 -0700)
X-Original-Trace: 27 Jul 2006 00:49:33 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7690
Article PK: 208139

Check if the Class is available in the EAServer ClassPath at deploy time.

Try to implement a manual deploy (using Sybase Central) and check if the IDL
was generated correctly.

Be sure you are looking your Class in the rigth module path in the IDL
Structure.

Check whether the class is Serializable (I don't believe this should be a
problem in the IDL generation, this should not be used by the IDL compiler,
this will be used in the Marshall process)

One explanation about why you can use the class for other component is
because you are not using CORBA calls, probably, you are using local
references in the JVM instead of Corba Calls.

Check the Scope of the Class, if the class is not public and is in the
package scope, other classes (in the same package) could access the class
and still this class should not be able in the IDL into the EAServer.

Best Regards
--

Alexander Pire
PowerObjects
www.powerobjects.com
612.339.3355
**IT Solutions - Outside the Box**

<Hope> wrote in message news:44c732a1.4d64.1681692777@sybase.com...
> Hi, all
>
> I add a new class property, "newProperty" in a java
> class and deploy to the EA Server by using jagtool with
> deploy strategy="FULL".
>
> Then I check EA Server's repository's IDL folder, the
> corresponding IDL didn't update accordingly.i.e.
> "newProperty" didn't show in the corresponding IDL.
>
> The deployment process didn't show any error message
> and other ejb service component can access the
> "newProperty".
>
> Question:
> I don't understand why IDL didn't update accordingly?
> Is this a bug?


hope Posted on 2006-07-31 04:21:14.0Z
Sender: 652a.44cd81cf.846930886@sybase.com
From: Hope
Newsgroups: sybase.public.easerver.j2ee
Subject: Re: EA Server 4.1.1 doesn't generate IDL properly with deploy strategy=FULL
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <44cd8349.6540.1681692777@sybase.com>
References: <44c86e37$1@forums-2-dub>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 30 Jul 2006 21:12:57 -0700, 10.22.241.42
Lines: 72
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 30 Jul 2006 21:13:00 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 30 Jul 2006 21:21:14 -0700
X-Trace: forums-1-dub 1154319674 10.22.108.75 (30 Jul 2006 21:21:14 -0700)
X-Original-Trace: 30 Jul 2006 21:21:14 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7693
Article PK: 208142

Hi,

I investigated the problem closely and I found out that
if the EJB interface contain a method that returns an array
of CLASSA.
By using jagtool with deploy strategy="FULL", it will only
generate IDL CLASSASeq.idl and it didn't generate
CLASSA.idl.
Please advice how am I able to trigger it to generate
CLASSA.idl with jagtool. The classes are in the package
scope and are Public.

Thanks in advance,
Hope

> Check if the Class is available in the EAServer ClassPath
> at deploy time.
>
> Try to implement a manual deploy (using Sybase Central)
> and check if the IDL was generated correctly.
>
> Be sure you are looking your Class in the rigth module
> path in the IDL Structure.
>
> Check whether the class is Serializable (I don't believe
> this should be a problem in the IDL generation, this
> should not be used by the IDL compiler, this will be used
> in the Marshall process)
>
> One explanation about why you can use the class for other
> component is because you are not using CORBA calls,
> probably, you are using local references in the JVM
> instead of Corba Calls.
>
> Check the Scope of the Class, if the class is not public
> and is in the package scope, other classes (in the same
> package) could access the class and still this class
> should not be able in the IDL into the EAServer.
>
> Best Regards
> --
>
> Alexander Pire
> PowerObjects
> www.powerobjects.com
> 612.339.3355
> **IT Solutions - Outside the Box**
>
>
> <Hope> wrote in message
> > news:44c732a1.4d64.1681692777@sybase.com... Hi, all
> >
> > I add a new class property, "newProperty" in a java
> > class and deploy to the EA Server by using jagtool with
> > deploy strategy="FULL".
> >
> > Then I check EA Server's repository's IDL folder,
> > the corresponding IDL didn't update accordingly.i.e.
> > "newProperty" didn't show in the corresponding IDL.
> >
> > The deployment process didn't show any error message
> > and other ejb service component can access the
> > "newProperty".
> >
> > Question:
> > I don't understand why IDL didn't update
> > accordingly? Is this a bug?
>
>


hope Posted on 2006-07-31 04:32:00.0Z
Sender: 6548.44cd8461.1804289383@sybase.com
From: Hope
Newsgroups: sybase.public.easerver.j2ee
Subject: Re: EA Server 4.1.1 doesn't generate IDL properly with deploy strategy=FULL
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <44cd85d0.6558.1681692777@sybase.com>
References: <44c86e37$1@forums-2-dub>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 30 Jul 2006 21:23:44 -0700, 10.22.241.42
Lines: 77
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 30 Jul 2006 21:23:47 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 30 Jul 2006 21:32:00 -0700
X-Trace: forums-1-dub 1154320320 10.22.108.75 (30 Jul 2006 21:32:00 -0700)
X-Original-Trace: 30 Jul 2006 21:32:00 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7694
Article PK: 208144

Sorry, I need to correct to my previous post.. here is the
correct one: [The classes are NOT in the package
scope but CLASSA has been imported in the EJB classes and
they can access with PUBLIC.]


I investigated the problem closely and I found out that
if the EJB interface contain a method that returns an array
of CLASSA.
By using jagtool with deploy strategy="FULL", it will only
generate IDL CLASSASeq.idl and it didn't generate
CLASSA.idl.
Please advice how am I able to trigger it to generate
CLASSA.idl with jagtool. The classes are NOT in the package
scope but CLASSA has been imported in the EJB classes and
they can access with PUBLIC.


Thanks in advance,
Hope

> Check if the Class is available in the EAServer ClassPath
> at deploy time.
>
> Try to implement a manual deploy (using Sybase Central)
> and check if the IDL was generated correctly.
>
> Be sure you are looking your Class in the rigth module
> path in the IDL Structure.
>
> Check whether the class is Serializable (I don't believe
> this should be a problem in the IDL generation, this
> should not be used by the IDL compiler, this will be used
> in the Marshall process)
>
> One explanation about why you can use the class for other
> component is because you are not using CORBA calls,
> probably, you are using local references in the JVM
> instead of Corba Calls.
>
> Check the Scope of the Class, if the class is not public
> and is in the package scope, other classes (in the same
> package) could access the class and still this class
> should not be able in the IDL into the EAServer.
>
> Best Regards
> --
>
> Alexander Pire
> PowerObjects
> www.powerobjects.com
> 612.339.3355
> **IT Solutions - Outside the Box**
>
>
> <Hope> wrote in message
> > news:44c732a1.4d64.1681692777@sybase.com... Hi, all
> >
> > I add a new class property, "newProperty" in a java
> > class and deploy to the EA Server by using jagtool with
> > deploy strategy="FULL".
> >
> > Then I check EA Server's repository's IDL folder,
> > the corresponding IDL didn't update accordingly.i.e.
> > "newProperty" didn't show in the corresponding IDL.
> >
> > The deployment process didn't show any error message
> > and other ejb service component can access the
> > "newProperty".
> >
> > Question:
> > I don't understand why IDL didn't update
> > accordingly? Is this a bug?
>
>