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.

EAS35 / No way to pass several arrays from PB comp to Java comp?

9 posts in General Discussion (old) Last posting was on 2000-03-23 17:32:26.0Z
<=one way=> Posted on 2000-02-23 00:12:35.0Z
Newsgroups: sybase.public.easerver
From: "<=one way=>" <oneway_111@yahoo.com>
Subject: EAS35 / No way to pass several arrays from PB comp to Java comp?
Date: Tue, 22 Feb 2000 19:12:35 -0500
Lines: 388
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01BF7D68.C6D76960"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
NNTP-Posting-Host: oppenheimer163.oppenheimerfunds.com 216.44.5.163
Message-ID: <347_SDqQAPZf$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28123
Article PK: 160011

PB component: factset.coreapi
    Function factset.coreapi.getsp500() returns dataex_gendata,  dataex_gendata is a proxy for Dataex.gendata
 
Java component: quant.Data_element
    Fuction public Dataex.gendata getValues(..) calls factset.coreapi.getsp500()
 
IDL type: Dataex.gendata defines a structure used for exchange arrays of data between PB and Java comps.
struct gendata
    {
        string datatype;
        long itemcount;
        STRINGSEQ sdata;
        FLOATSEQ rdata;
    }
 
When the quant.Data_element component is deployed the following error are generated during stubs compilation phase. Different combinations were tried, the result is basically the same.
 
Thanks in advance
 
----------------------------------------------------------------------------------------------------------------------------------------
_sk_quant_Data_element.java:581: Incompatible type for declaration. Can't convert factset.dataex_gendata to quant.dataex_gendata.
                    quant.dataex_gendata _result = _servant.getValues
                                         ^
Data_element_Stub.java:115: Method redefined with different return type: quant.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean) was factset.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean)
    public quant.dataex_gendata getValues
                                ^
Data_elementHelper.java:31: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            return new Data_element_Stub((com.sybase.CORBA.ObjectRef)_object);
                   ^
Data_elementHome_Stub.java:34: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:111: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:167: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:283: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementListHelper.java:20: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            value[_83] = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                         ^
8 errors
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagDeploy username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  server=Jaguar, basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" jarfile="D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar" isejb="1" housekeeping=cleanup
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagTransferFiles username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" housekeeping=cleanup
Java skeleton compilation failed.


Dave Wolf [Sybase] Posted on 2000-02-23 03:08:45.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: EAS35 / No way to pass several arrays from PB comp to Java comp?
Date: Tue, 22 Feb 2000 22:08:45 -0500
Lines: 447
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0012_01BF7D81.62F2B670"
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: PPPa49-ResaleAnnapolis1-1R7308.saturn.bbn.com 4.48.176.110
Message-ID: <347_ud48Vvaf$GA.201@forums.sybase.com>
References: <347_SDqQAPZf$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28111
Article PK: 160000

I think the issue is that PowerJ cannot auto-deploy when the returned datatypes are in other packages.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:SDqQAPZf$GA.201@forums.sybase.com...
PB component: factset.coreapi
    Function factset.coreapi.getsp500() returns dataex_gendata,  dataex_gendata is a proxy for Dataex.gendata
 
Java component: quant.Data_element
    Fuction public Dataex.gendata getValues(..) calls factset.coreapi.getsp500()
 
IDL type: Dataex.gendata defines a structure used for exchange arrays of data between PB and Java comps.
struct gendata
    {
        string datatype;
        long itemcount;
        STRINGSEQ sdata;
        FLOATSEQ rdata;
    }
 
When the quant.Data_element component is deployed the following error are generated during stubs compilation phase. Different combinations were tried, the result is basically the same.
 
Thanks in advance
 
----------------------------------------------------------------------------------------------------------------------------------------
_sk_quant_Data_element.java:581: Incompatible type for declaration. Can't convert factset.dataex_gendata to quant.dataex_gendata.
                    quant.dataex_gendata _result = _servant.getValues
                                         ^
Data_element_Stub.java:115: Method redefined with different return type: quant.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean) was factset.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean)
    public quant.dataex_gendata getValues
                                ^
Data_elementHelper.java:31: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            return new Data_element_Stub((com.sybase.CORBA.ObjectRef)_object);
                   ^
Data_elementHome_Stub.java:34: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:111: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:167: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:283: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementListHelper.java:20: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            value[_83] = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                         ^
8 errors
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagDeploy username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  server=Jaguar, basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" jarfile="D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar" isejb="1" housekeeping=cleanup
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagTransferFiles username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" housekeeping=cleanup
Java skeleton compilation failed.


<=one way=> Posted on 2000-02-23 15:02:59.0Z
Newsgroups: sybase.public.easerver
From: "<=one way=>" <oneway_111@yahoo.com>
Subject: Re: EAS35 / No way to pass several arrays from PB comp to Java comp?
Date: Wed, 23 Feb 2000 10:02:59 -0500
Lines: 471
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0009_01BF7DE5.29D41190"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
NNTP-Posting-Host: oppenheimer163.oppenheimerfunds.com 216.44.5.163
Message-ID: <347_PwMnmAhf$GA.265@forums.sybase.com>
References: <347_SDqQAPZf$GA.201@forums.sybase.com> <347_ud48Vvaf$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28078
Article PK: 159972

Tried to regenerate stubs and skeletons from Jag manager, getting ClassNotFoundException: java.lang.Integer not found error message. It appears there is no way to accomplish this.
 
Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message news:ud48Vvaf$GA.201@forums.sybase.com...
I think the issue is that PowerJ cannot auto-deploy when the returned datatypes are in other packages.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:SDqQAPZf$GA.201@forums.sybase.com...
PB component: factset.coreapi
    Function factset.coreapi.getsp500() returns dataex_gendata,  dataex_gendata is a proxy for Dataex.gendata
 
Java component: quant.Data_element
    Fuction public Dataex.gendata getValues(..) calls factset.coreapi.getsp500()
 
IDL type: Dataex.gendata defines a structure used for exchange arrays of data between PB and Java comps.
struct gendata
    {
        string datatype;
        long itemcount;
        STRINGSEQ sdata;
        FLOATSEQ rdata;
    }
 
When the quant.Data_element component is deployed the following error are generated during stubs compilation phase. Different combinations were tried, the result is basically the same.
 
Thanks in advance
 
----------------------------------------------------------------------------------------------------------------------------------------
_sk_quant_Data_element.java:581: Incompatible type for declaration. Can't convert factset.dataex_gendata to quant.dataex_gendata.
                    quant.dataex_gendata _result = _servant.getValues
                                         ^
Data_element_Stub.java:115: Method redefined with different return type: quant.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean) was factset.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean)
    public quant.dataex_gendata getValues
                                ^
Data_elementHelper.java:31: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            return new Data_element_Stub((com.sybase.CORBA.ObjectRef)_object);
                   ^
Data_elementHome_Stub.java:34: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:111: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:167: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:283: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementListHelper.java:20: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            value[_83] = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                         ^
8 errors
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagDeploy username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  server=Jaguar, basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" jarfile="D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar" isejb="1" housekeeping=cleanup
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagTransferFiles username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" housekeeping=cleanup
Java skeleton compilation failed.


Dave Wolf [Sybase] Posted on 2000-02-23 15:11:16.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: EAS35 / No way to pass several arrays from PB comp to Java comp?
Date: Wed, 23 Feb 2000 10:11:16 -0500
Lines: 502
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0046_01BF7DE6.5200D6C0"
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: dwolf-nt.sybase.com 157.133.41.127
Message-ID: <347_A$Pv9Chf$GA.265@forums.sybase.com>
References: <347_SDqQAPZf$GA.201@forums.sybase.com> <347_ud48Vvaf$GA.201@forums.sybase.com> <347_PwMnmAhf$GA.265@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28077
Article PK: 159970

Wait a second.  If JagMan cannot find java.lang.Integer something is very very wrong with the install.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:PwMnmAhf$GA.265@forums.sybase.com...
Tried to regenerate stubs and skeletons from Jag manager, getting ClassNotFoundException: java.lang.Integer not found error message. It appears there is no way to accomplish this.
 
Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message news:ud48Vvaf$GA.201@forums.sybase.com...
I think the issue is that PowerJ cannot auto-deploy when the returned datatypes are in other packages.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:SDqQAPZf$GA.201@forums.sybase.com...
PB component: factset.coreapi
    Function factset.coreapi.getsp500() returns dataex_gendata,  dataex_gendata is a proxy for Dataex.gendata
 
Java component: quant.Data_element
    Fuction public Dataex.gendata getValues(..) calls factset.coreapi.getsp500()
 
IDL type: Dataex.gendata defines a structure used for exchange arrays of data between PB and Java comps.
struct gendata
    {
        string datatype;
        long itemcount;
        STRINGSEQ sdata;
        FLOATSEQ rdata;
    }
 
When the quant.Data_element component is deployed the following error are generated during stubs compilation phase. Different combinations were tried, the result is basically the same.
 
Thanks in advance
 
----------------------------------------------------------------------------------------------------------------------------------------
_sk_quant_Data_element.java:581: Incompatible type for declaration. Can't convert factset.dataex_gendata to quant.dataex_gendata.
                    quant.dataex_gendata _result = _servant.getValues
                                         ^
Data_element_Stub.java:115: Method redefined with different return type: quant.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean) was factset.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean)
    public quant.dataex_gendata getValues
                                ^
Data_elementHelper.java:31: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            return new Data_element_Stub((com.sybase.CORBA.ObjectRef)_object);
                   ^
Data_elementHome_Stub.java:34: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:111: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:167: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:283: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementListHelper.java:20: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            value[_83] = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                         ^
8 errors
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagDeploy username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  server=Jaguar, basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" jarfile="D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar" isejb="1" housekeeping=cleanup
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagTransferFiles username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" housekeeping=cleanup
Java skeleton compilation failed.


<=one way=> Posted on 2000-02-23 17:18:39.0Z
Newsgroups: sybase.public.easerver
From: "<=one way=>" <oneway_111@yahoo.com>
Subject: Re: EAS35 / No way to pass several arrays from PB comp to Java comp?
Date: Wed, 23 Feb 2000 12:18:39 -0500
Lines: 532
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0009_01BF7DF8.1E2E3790"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
NNTP-Posting-Host: oppenheimer163.oppenheimerfunds.com 216.44.5.163
Message-ID: <347_eofCaMif$GA.251@forums.sybase.com>
References: <347_SDqQAPZf$GA.201@forums.sybase.com> <347_ud48Vvaf$GA.201@forums.sybase.com> <347_PwMnmAhf$GA.265@forums.sybase.com> <347_A$Pv9Chf$GA.265@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28047
Article PK: 159940

If I change the return type for that function (getValues(..)) to one of the standard return types, the EJB will deploy and run fine.
It appears that EAS or PowerJ or both cannot handle user defined types with arrays in EJBs. I did not check if the issue is limited only to user defined datatypes with arrays or if it is limited to EJBs.
Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message news:A$Pv9Chf$GA.265@forums.sybase.com...
Wait a second.  If JagMan cannot find java.lang.Integer something is very very wrong with the install.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:PwMnmAhf$GA.265@forums.sybase.com...
Tried to regenerate stubs and skeletons from Jag manager, getting ClassNotFoundException: java.lang.Integer not found error message. It appears there is no way to accomplish this.
 
Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message news:ud48Vvaf$GA.201@forums.sybase.com...
I think the issue is that PowerJ cannot auto-deploy when the returned datatypes are in other packages.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:SDqQAPZf$GA.201@forums.sybase.com...
PB component: factset.coreapi
    Function factset.coreapi.getsp500() returns dataex_gendata,  dataex_gendata is a proxy for Dataex.gendata
 
Java component: quant.Data_element
    Fuction public Dataex.gendata getValues(..) calls factset.coreapi.getsp500()
 
IDL type: Dataex.gendata defines a structure used for exchange arrays of data between PB and Java comps.
struct gendata
    {
        string datatype;
        long itemcount;
        STRINGSEQ sdata;
        FLOATSEQ rdata;
    }
 
When the quant.Data_element component is deployed the following error are generated during stubs compilation phase. Different combinations were tried, the result is basically the same.
 
Thanks in advance
 
----------------------------------------------------------------------------------------------------------------------------------------
_sk_quant_Data_element.java:581: Incompatible type for declaration. Can't convert factset.dataex_gendata to quant.dataex_gendata.
                    quant.dataex_gendata _result = _servant.getValues
                                         ^
Data_element_Stub.java:115: Method redefined with different return type: quant.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean) was factset.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean)
    public quant.dataex_gendata getValues
                                ^
Data_elementHelper.java:31: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            return new Data_element_Stub((com.sybase.CORBA.ObjectRef)_object);
                   ^
Data_elementHome_Stub.java:34: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:111: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:167: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:283: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementListHelper.java:20: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            value[_83] = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                         ^
8 errors
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagDeploy username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  server=Jaguar, basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" jarfile="D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar" isejb="1" housekeeping=cleanup
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagTransferFiles username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" housekeeping=cleanup
Java skeleton compilation failed.


Dave Wolf [Sybase] Posted on 2000-03-23 17:32:26.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: EAS35 / No way to pass several arrays from PB comp to Java comp?
Date: Thu, 23 Mar 2000 12:32:26 -0500
Lines: 628
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_00FC_01BF94C3.D8D00BF0"
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: dwolf-nt.sybase.com 157.133.41.127
Message-ID: <347_QLUq2Rif$GA.251@forums.sybase.com>
References: <347_SDqQAPZf$GA.201@forums.sybase.com> <347_ud48Vvaf$GA.201@forums.sybase.com> <347_PwMnmAhf$GA.265@forums.sybase.com> <347_A$Pv9Chf$GA.265@forums.sybase.com> <347_eofCaMif$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28045
Article PK: 159939

When you deploy from PowerJ did you make dummied stubs that represent the IDL structures.  For instance:
 
public final class gendata
{
    String datatype;
    int itemcount;
    String[] sdata;
    float[] rdata;
 
    public gendata(String p0, int p1, String[] p3, float[] p4)
    {
        datatype = p0;
        itemcount = p1;
        sdata = p2;
        rdata = p3;
    }
 
Now pass this class as the parameter to the method call.  When you deploy from PowerJ jag will see the above class and know that this maps to the IDL of
 
struct gendata
    {
        string datatype;
        long itemcount;
        STRINGSEQ sdata;
        FLOATSEQ rdata;
    }
 
Because a public final class with no methods maps to an IDL struct.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:eofCaMif$GA.251@forums.sybase.com...
If I change the return type for that function (getValues(..)) to one of the standard return types, the EJB will deploy and run fine.
It appears that EAS or PowerJ or both cannot handle user defined types with arrays in EJBs. I did not check if the issue is limited only to user defined datatypes with arrays or if it is limited to EJBs.
Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message news:A$Pv9Chf$GA.265@forums.sybase.com...
Wait a second.  If JagMan cannot find java.lang.Integer something is very very wrong with the install.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:PwMnmAhf$GA.265@forums.sybase.com...
Tried to regenerate stubs and skeletons from Jag manager, getting ClassNotFoundException: java.lang.Integer not found error message. It appears there is no way to accomplish this.
 
Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message news:ud48Vvaf$GA.201@forums.sybase.com...
I think the issue is that PowerJ cannot auto-deploy when the returned datatypes are in other packages.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:SDqQAPZf$GA.201@forums.sybase.com...
PB component: factset.coreapi
    Function factset.coreapi.getsp500() returns dataex_gendata,  dataex_gendata is a proxy for Dataex.gendata
 
Java component: quant.Data_element
    Fuction public Dataex.gendata getValues(..) calls factset.coreapi.getsp500()
 
IDL type: Dataex.gendata defines a structure used for exchange arrays of data between PB and Java comps.
struct gendata
    {
        string datatype;
        long itemcount;
        STRINGSEQ sdata;
        FLOATSEQ rdata;
    }
 
When the quant.Data_element component is deployed the following error are generated during stubs compilation phase. Different combinations were tried, the result is basically the same.
 
Thanks in advance
 
----------------------------------------------------------------------------------------------------------------------------------------
_sk_quant_Data_element.java:581: Incompatible type for declaration. Can't convert factset.dataex_gendata to quant.dataex_gendata.
                    quant.dataex_gendata _result = _servant.getValues
                                         ^
Data_element_Stub.java:115: Method redefined with different return type: quant.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean) was factset.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean)
    public quant.dataex_gendata getValues
                                ^
Data_elementHelper.java:31: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            return new Data_element_Stub((com.sybase.CORBA.ObjectRef)_object);
                   ^
Data_elementHome_Stub.java:34: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:111: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:167: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:283: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementListHelper.java:20: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            value[_83] = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                         ^
8 errors
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagDeploy username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  server=Jaguar, basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" jarfile="D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar" isejb="1" housekeeping=cleanup
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagTransferFiles username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" housekeeping=cleanup
Java skeleton compilation failed.


<=one way=> Posted on 2000-02-23 19:18:46.0Z
Newsgroups: sybase.public.easerver
From: "<=one way=>" <oneway_111@yahoo.com>
Subject: Re: EAS35 / No way to pass several arrays from PB comp to Java comp?
Date: Wed, 23 Feb 2000 14:18:46 -0500
Lines: 858
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0015_01BF7E08.E575BD40"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
NNTP-Posting-Host: oppenheimer163.oppenheimerfunds.com 216.44.5.163
Message-ID: <347_bSIyhPjf$GA.202@forums.sybase.com>
References: <347_SDqQAPZf$GA.201@forums.sybase.com> <347_ud48Vvaf$GA.201@forums.sybase.com> <347_PwMnmAhf$GA.265@forums.sybase.com> <347_A$Pv9Chf$GA.265@forums.sybase.com> <347_eofCaMif$GA.251@forums.sybase.com> <347_QLUq2Rif$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28034
Article PK: 154617

I defined the IDL type (Dataex.gendata) and used Jag manager to generated the stubs, which should be basically the same.
 
You were probably right regarding "PowerJ cannot auto-deploy when the returned datatypes are in other packages". It appears that EAS imports a new user data type instead of referencing it.
 
---------------------------------------------------------------------------------------------------------------------
_sk_quant_Data_element.java:581: Incompatible type for declaration. Can't convert Dataex.gendata to quant.gendata.
                    quant.gendata _result = _servant.getValues
                                  ^
There should be no quant.gendata. Why it created? Dataex.gendata should be used.

Data_element_Stub.java:115: Method redefined with different return type: quant.gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean) was Dataex.gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean)
    public quant.gendata getValues
                         ^
Data_elementHelper.java:31: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            return new Data_element_Stub((com.sybase.CORBA.ObjectRef)_object);
                   ^
Data_elementHome_Stub.java:34: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:111: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:167: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:283: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementListHelper.java:20: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            value[_81] = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                         ^
8 errors
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11All\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" housekeeping=cleanup
.....
Java skeleton compilation failed.
 
Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message news:QLUq2Rif$GA.251@forums.sybase.com...
When you deploy from PowerJ did you make dummied stubs that represent the IDL structures.  For instance:
 
public final class gendata
{
    String datatype;
    int itemcount;
    String[] sdata;
    float[] rdata;
 
    public gendata(String p0, int p1, String[] p3, float[] p4)
    {
        datatype = p0;
        itemcount = p1;
        sdata = p2;
        rdata = p3;
    }
 
Now pass this class as the parameter to the method call.  When you deploy from PowerJ jag will see the above class and know that this maps to the IDL of
 
struct gendata
    {
        string datatype;
        long itemcount;
        STRINGSEQ sdata;
        FLOATSEQ rdata;
    }
 
Because a public final class with no methods maps to an IDL struct.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:eofCaMif$GA.251@forums.sybase.com...
If I change the return type for that function (getValues(..)) to one of the standard return types, the EJB will deploy and run fine.
It appears that EAS or PowerJ or both cannot handle user defined types with arrays in EJBs. I did not check if the issue is limited only to user defined datatypes with arrays or if it is limited to EJBs.
Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message news:A$Pv9Chf$GA.265@forums.sybase.com...
Wait a second.  If JagMan cannot find java.lang.Integer something is very very wrong with the install.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:PwMnmAhf$GA.265@forums.sybase.com...
Tried to regenerate stubs and skeletons from Jag manager, getting ClassNotFoundException: java.lang.Integer not found error message. It appears there is no way to accomplish this.
 
Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message news:ud48Vvaf$GA.201@forums.sybase.com...
I think the issue is that PowerJ cannot auto-deploy when the returned datatypes are in other packages.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:SDqQAPZf$GA.201@forums.sybase.com...
PB component: factset.coreapi
    Function factset.coreapi.getsp500() returns dataex_gendata,  dataex_gendata is a proxy for Dataex.gendata
 
Java component: quant.Data_element
    Fuction public Dataex.gendata getValues(..) calls factset.coreapi.getsp500()
 
IDL type: Dataex.gendata defines a structure used for exchange arrays of data between PB and Java comps.
struct gendata
    {
        string datatype;
        long itemcount;
        STRINGSEQ sdata;
        FLOATSEQ rdata;
    }
 
When the quant.Data_element component is deployed the following error are generated during stubs compilation phase. Different combinations were tried, the result is basically the same.
 
Thanks in advance
 
----------------------------------------------------------------------------------------------------------------------------------------
_sk_quant_Data_element.java:581: Incompatible type for declaration. Can't convert factset.dataex_gendata to quant.dataex_gendata.
                    quant.dataex_gendata _result = _servant.getValues
                                         ^
Data_element_Stub.java:115: Method redefined with different return type: quant.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean) was factset.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean)
    public quant.dataex_gendata getValues
                                ^
Data_elementHelper.java:31: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            return new Data_element_Stub((com.sybase.CORBA.ObjectRef)_object);
                   ^
Data_elementHome_Stub.java:34: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:111: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:167: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:283: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementListHelper.java:20: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            value[_83] = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                         ^
8 errors
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagDeploy username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  server=Jaguar, basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" jarfile="D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar" isejb="1" housekeeping=cleanup
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagTransferFiles username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" housekeeping=cleanup
Java skeleton compilation failed.


Evan Ireland Posted on 2000-02-23 21:42:26.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 24 Feb 2000 10:42:26 +1300
From: Evan Ireland <eireland@sybase.com>
Organization: Sybase, Inc.
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "<=one way=>" <oneway_111@yahoo.com>
Subject: Re: EAS35 / No way to pass several arrays from PB comp to Java comp?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 12
NNTP-Posting-Host: 130.214.8.45
Message-ID: <347_38B45442.8EE0585A@sybase.com>
References: <347_SDqQAPZf$GA.201@forums.sybase.com> <347_ud48Vvaf$GA.201@forums.sybase.com> <347_PwMnmAhf$GA.265@forums.sybase.com> <347_A$Pv9Chf$GA.265@forums.sybase.com> <347_eofCaMif$GA.251@forums.sybase.com> <347_QLUq2Rif$GA.251@forums.sybase.com> <347_bSIyhPjf$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:27997
Article PK: 159900

I believe that we just had a fix completed for the problem with the PowerJ
/ Jaguar Java importer not coping with refernces to definitions from other
packages. Please check with Tech Support.
________________________________________________________________________________

Evan Ireland Sybase EA Server Engineering eireland@sybase.com
Wellington - New Zealand +64 4 934-5856


Dave Wolf [Sybase] Posted on 2000-02-23 19:27:06.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: EAS35 / No way to pass several arrays from PB comp to Java comp?
Date: Wed, 23 Feb 2000 14:27:06 -0500
Lines: 912
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0140_01BF7E0A.0F4CFE20"
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: dwolf-nt.sybase.com 157.133.41.127
Message-ID: <347_8St67Rjf$GA.274@forums.sybase.com>
References: <347_SDqQAPZf$GA.201@forums.sybase.com> <347_ud48Vvaf$GA.201@forums.sybase.com> <347_PwMnmAhf$GA.265@forums.sybase.com> <347_A$Pv9Chf$GA.265@forums.sybase.com> <347_eofCaMif$GA.251@forums.sybase.com> <347_QLUq2Rif$GA.251@forums.sybase.com> <347_bSIyhPjf$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:28033
Article PK: 159933

The importer just works this way.  The importer assumes you know very little IDL and generates everything.  Its the downfall of theimporter.  If you know IDL you could write the IDL and generate skeletonsand just implement them.  Unfortunately the importer will put everything into the same package/module.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:bSIyhPjf$GA.202@forums.sybase.com...
I defined the IDL type (Dataex.gendata) and used Jag manager to generated the stubs, which should be basically the same.
 
You were probably right regarding "PowerJ cannot auto-deploy when the returned datatypes are in other packages". It appears that EAS imports a new user data type instead of referencing it.
 
---------------------------------------------------------------------------------------------------------------------
_sk_quant_Data_element.java:581: Incompatible type for declaration. Can't convert Dataex.gendata to quant.gendata.
                    quant.gendata _result = _servant.getValues
                                  ^
There should be no quant.gendata. Why it created? Dataex.gendata should be used.

Data_element_Stub.java:115: Method redefined with different return type: quant.gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean) was Dataex.gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean)
    public quant.gendata getValues
                         ^
Data_elementHelper.java:31: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            return new Data_element_Stub((com.sybase.CORBA.ObjectRef)_object);
                   ^
Data_elementHome_Stub.java:34: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:111: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:167: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:283: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementListHelper.java:20: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            value[_81] = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                         ^
8 errors
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11All\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" housekeeping=cleanup
.....
Java skeleton compilation failed.
 
Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message news:QLUq2Rif$GA.251@forums.sybase.com...
When you deploy from PowerJ did you make dummied stubs that represent the IDL structures.  For instance:
 
public final class gendata
{
    String datatype;
    int itemcount;
    String[] sdata;
    float[] rdata;
 
    public gendata(String p0, int p1, String[] p3, float[] p4)
    {
        datatype = p0;
        itemcount = p1;
        sdata = p2;
        rdata = p3;
    }
 
Now pass this class as the parameter to the method call.  When you deploy from PowerJ jag will see the above class and know that this maps to the IDL of
 
struct gendata
    {
        string datatype;
        long itemcount;
        STRINGSEQ sdata;
        FLOATSEQ rdata;
    }
 
Because a public final class with no methods maps to an IDL struct.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:eofCaMif$GA.251@forums.sybase.com...
If I change the return type for that function (getValues(..)) to one of the standard return types, the EJB will deploy and run fine.
It appears that EAS or PowerJ or both cannot handle user defined types with arrays in EJBs. I did not check if the issue is limited only to user defined datatypes with arrays or if it is limited to EJBs.
Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message news:A$Pv9Chf$GA.265@forums.sybase.com...
Wait a second.  If JagMan cannot find java.lang.Integer something is very very wrong with the install.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:PwMnmAhf$GA.265@forums.sybase.com...
Tried to regenerate stubs and skeletons from Jag manager, getting ClassNotFoundException: java.lang.Integer not found error message. It appears there is no way to accomplish this.
 
Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message news:ud48Vvaf$GA.201@forums.sybase.com...
I think the issue is that PowerJ cannot auto-deploy when the returned datatypes are in other packages.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:SDqQAPZf$GA.201@forums.sybase.com...
PB component: factset.coreapi
    Function factset.coreapi.getsp500() returns dataex_gendata,  dataex_gendata is a proxy for Dataex.gendata
 
Java component: quant.Data_element
    Fuction public Dataex.gendata getValues(..) calls factset.coreapi.getsp500()
 
IDL type: Dataex.gendata defines a structure used for exchange arrays of data between PB and Java comps.
struct gendata
    {
        string datatype;
        long itemcount;
        STRINGSEQ sdata;
        FLOATSEQ rdata;
    }
 
When the quant.Data_element component is deployed the following error are generated during stubs compilation phase. Different combinations were tried, the result is basically the same.
 
Thanks in advance
 
----------------------------------------------------------------------------------------------------------------------------------------
_sk_quant_Data_element.java:581: Incompatible type for declaration. Can't convert factset.dataex_gendata to quant.dataex_gendata.
                    quant.dataex_gendata _result = _servant.getValues
                                         ^
Data_element_Stub.java:115: Method redefined with different return type: quant.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean) was factset.dataex_gendata getValues(java.lang.String[], java.lang.String, java.lang.String, boolean)
    public quant.dataex_gendata getValues
                                ^
Data_elementHelper.java:31: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            return new Data_element_Stub((com.sybase.CORBA.ObjectRef)_object);
                   ^
Data_elementHome_Stub.java:34: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:111: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:167: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementHome_Stub.java:283: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
                _result = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                          ^
Data_elementListHelper.java:20: class quant.Data_element_Stub is an abstract class. It can't be instantiated.
            value[_83] = new quant.Data_element_Stub((com.sybase.CORBA.ObjectRef)_input.read_Object());
                         ^
8 errors
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagDeploy username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  server=Jaguar, basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" jarfile="D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar" isejb="1" housekeeping=cleanup
"e:\EAS35\Shared\Sun\JDK118\bin\java"  -classpath "e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib;D:\DEV\GMSI\Java\Data_elementAll\Debug\Data_elementAll.jar;D:\DEV\GMSI\Java\Data_element\Debug\.;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\debug\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\Powersoft\jaguarpj.zip;E:\EAS35\PowerJ35\Java\lib\DataWindow.jar;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib\powerj.zip;e:\EAS35\PowerJ35\Java\Powersoft\JDK11\release\lib;e:\EAS35\PowerJ35\java\Powersoft\proflib1.zip;e:\EAS35\PowerJ35\java\User Classes\lib;e:\EAS35\PowerJ35\java\User Classes\JDK11\lib;e:\EAS35\Shared\ObjectSpace_JGL\lib\jgl3.1.0.jar;e:\EAS35\Shared\jConnect-4_2\classes;e:\EAS35\Shared\jConnect-5_2\classes\jconn2.jar;e:\EAS35\Shared\Proxy Generator 6.5\JDPBlib.jar;e:\EAS35\Shared\Sun\JavaX\javax_ejb.zip;e:\EAS35\Shared\Sun\JavaX\javax_trans.zip;e:\EAS35\Shared\Sun\JavaX\jndi.jar;e:\EAS35\Shared\Sun\JavaX\javax_jts.zip;G:\eas35\Jaguar CTS 3.5\html\classes\.;;e:\EAS35\PowerJ35\java\Sun\Swing\swingall.jar;e:\EAS35\PowerJ35\java\Sun\Swing\DbSwing.jar;e:\EAS35\PowerJ35\java\lib\powerj.zip;e:\EAS35\Shared\Sun\JDK118\lib\classes.zip;."  com.sybase.jaguar.deploy.JagTransferFiles username=jagadmin password= host=opp-dev_apps1:9000 name=Data_element package=quant interface=quant.Data_element class=quant.Data_elementBean threading= transaction=notsupported demarcation=no instanceTimeout= transactionTimeout=  basedir="D:/DEV/GMSI/Java/Data_elementAll/Debug/" classfiles="\\\\Base-Folder: D:\DEV\GMSI\Java\Data_elementAll\Debug\,D:/DEV/GMSI/Java/Data_elementAll/Debug/Data_elementAll.jar" housekeeping=cleanup
Java skeleton compilation failed.