Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
EAServer 6.3.1 PB Structure with Array Elements Problem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
matty.ho...@gmail.com  
View profile  
 More options Jul 9 2012, 7:59 am
Newsgroups: sybase.public.easerver.powerbuilder
From: matty.ho...@gmail.com
Date: Mon, 9 Jul 2012 04:59:59 -0700 (PDT)
Local: Mon, Jul 9 2012 7:59 am
Subject: EAServer 6.3.1 PB Structure with Array Elements Problem
Hi,

We are in the process of moving from PB10.5/EAserver 5.3 to PB12.5/EAServer 6.3.1. Most things have deployed ok but I have the following problem that I can recreate.

If i deploy a component that has a structure returned by value or by reference and this structure has array elements of strings, longs and integers I get the following error:

2012-07-09 11:33:27.255 INFO  Thread-87 [SystemException] java.lang.UnsupportedOperationException was thrown by method com.sybase.jaguar.server.JaguarServer.iiopHandler
2012-07-09 11:33:27.255 INFO  Thread-87     java.lang.UnsupportedOperationException: haslivepo__LLRClivepodata__C
2012-07-09 11:33:27.255 INFO  Thread-87         at ejb.components.pbfapurchasemanagement.sms_dataRemote_DJC.$invoke(sms_dataRe mote_DJC.java:879)
2012-07-09 11:33:27.255 INFO  Thread-87         at com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:275)
2012-07-09 11:33:27.255 INFO  Thread-87         at com.sybase.jaguar.server.JaguarObject.invoke(Native Method)
2012-07-09 11:33:27.255 INFO  Thread-87         at com.sybase.jaguar.server.JaguarObject.invoke(JaguarObject.java:306)
2012-07-09 11:33:27.255 INFO  Thread-87         at com.sybase.jaguar.server.JaguarObject.invoke(JaguarObject.java:97)
2012-07-09 11:33:27.255 INFO  Thread-87         at com.sybase.jaguar.server.JaguarObject_DJC.invoke(JaguarObject_DJC.java:341)
2012-07-09 11:33:27.255 INFO  Thread-87         at ejb.components.pbfapurchasemanagement.tracker_EJB.haslivepo(tracker_EJB.jav a:1952)
2012-07-09 11:33:27.255 INFO  Thread-87         at ejb.components.pbfapurchasemanagement.trackerRemote.haslivepo(trackerRemote .java:1332)
2012-07-09 11:33:27.255 INFO  Thread-87         at ejb.components.pbfapurchasemanagement.trackerRemote_DJC.access$8901(tracker Remote_DJC.java:4)
2012-07-09 11:33:27.255 INFO  Thread-87         at ejb.components.pbfapurchasemanagement.trackerRemote_DJC$90.invoke(trackerRe mote_DJC.java:16865)
2012-07-09 11:33:27.255 INFO  Thread-87         at com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(Transacti onManager.java:675)
2012-07-09 11:33:27.255 INFO  Thread-87         at com.sybase.djc.transaction.TransactionManager.invokeNotSupported(Transactio nManager.java:631)
2012-07-09 11:33:27.255 INFO  Thread-87         at ejb.components.pbfapurchasemanagement.trackerRemote_DJC.haslivepo(trackerRe mote_DJC.java:16890)
2012-07-09 11:33:27.255 INFO  Thread-87         at ejb.components.pbfapurchasemanagement.trackerRemote_DJC.$invoke_4(trackerRe mote_DJC.java:3900)
2012-07-09 11:33:27.255 INFO  Thread-87         at ejb.components.pbfapurchasemanagement.trackerRemote_DJC.$invoke(trackerRemo te_DJC.java:1567)
2012-07-09 11:33:27.255 INFO  Thread-87         at com.sybase.jaguar.server.JaguarServer.iiopHandler(JaguarServer.java:275)
2012-07-09 11:33:27.255 INFO  Thread-87         at com.sybase.jaguar.server.RequestHandler.processRequest(RequestHandler.java: 9)
2012-07-09 11:33:27.255 INFO  Thread-87         at com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler .java:631)
2012-07-09 11:33:27.255 INFO  Thread-87         at com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:332)
2012-07-09 11:33:27.255 INFO  Thread-87         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.j ava:886)
2012-07-09 11:33:27.255 INFO  Thread-87         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 908)
2012-07-09 11:33:27.255 INFO  Thread-87         at java.lang.Thread.run(Thread.java:619)
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] ___________________________________________________________________________ ____
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] PB Heap Manager Exception:
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] allocVM(497225728) failed
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] ___________________________________________________________________________ ____
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] PB Heap Manager Exception:
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] MemAllocPtr(type void*, size 491685092) failed
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] ___________________________________________________________________________ ____
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] PB Heap Summary:
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] ___________________________________________________________________________ ____
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] #blocks  #blocks  #blocks  #bytes     #bytes     #bytes     size index | range
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] free     in use   total    free       in use     total
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] ________ ________ ________ __________ __________ __________ ___________________
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 306      52697    53003    7344       1264728    1272072    00 | 0..8
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 783      26751    27534    21924      749028     770952     01 | 9..12
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 128      7541     7669     4096       241312     245408     02 | 13..16
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 611      18587    19198    24440      743480     767920     03 | 17..24
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 613      10514    11127    29424      504672     534096     04 | 25..32
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 131      55322    55453    8384       3540608    3548992    05 | 33..48
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 55       9194     9249     4400       735520     739920     06 | 49..64
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 153      4907     5060     17136      549584     566720     07 | 65..96
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 28       2849     2877     4032       410256     414288     08 | 97..128
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 26       1942     1968     5408       403936     409344     09 | 129..192
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 31       1627     1658     8432       442544     450976     10 | 193..256
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 62       2362     2424     24800      944800     969600     11 | 257..384
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 0        898      898      0          474144     474144     12 | 385..512
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 77       1540     1617     60368      1207360    1267728    13 | 513..768
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 22       363      385      22880      377520     400400     14 | 769..1024
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 10       347      357      15520      538544     554064     15 | 1025..1536
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 7        112      119      14448      231168     245616     16 | 1537..2048
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 4        138      142      12352      426144     438496     17 | 2049..3072
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 10       76       86       41120      312512     353632     18 | 3073..4096
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 7        50       57       43120      308000     351120     19 | 4097..6144
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 0        327      327      0          2678784    2678784    20 | 6145..8120
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 7        655      662      86016      8048640    8134656    21 | 8121..12216
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 0        36       36       0          737280     737280     22 | 12217..20408
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 0        20       20       0          655360     655360     23 | 20409..32696
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 1        6        7        53248      319488     372736     24 | 32697..53176
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 1        7        8        86016      602112     688128     25 | 53177..85944
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 3        2        5        417792     278528     696320     26 | 85945..139192
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 2        0        2        450560     0          450560     27 | 139193..225208
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 25       0        25       203584     0          203584     unused small blocks
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 1        0        1        4096       0          4096       buddy system waste
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] ________ ________ ________ __________ __________ __________ ___________________
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] 3079     198870   201949   1670940    27726052   29396992   VM size: 29396992
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] ___________________________________________________________________________ ____
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] committed bytes: 26660864 (total)
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] in small blocks: 203584 (unused), 369628 (free), 14405860 (in use)
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] in large blocks: 11681792 (in use)
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] permanent bytes: 0
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] ___________________________________________________________________________ ____
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] PB INTERNAL EXCEPTION on: Thread : 3744, Address : 0x2BB3C667, Type : EXCEPTION_ACCESS_VIOLATION writing address 0x00000000. CPB_Component::invoke
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] Dump Ignored
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] Fatal Error Occurs when try to invoke PB method haslivepo__LLRClivepodata__C__N in PBFAPurchaseManagement/tracker.
2012-07-09 11:33:27.255 INFO  Thread-87 [JaguarServer] Fatal Error Occurs in PB Component, Jaguar Restarted.

The IDL of the structure is shown below:

#ifndef __PBFAPurchaseManagement_livepodata__
#define __PBFAPurchaseManagement_livepodata__

#include <PBFAPurchaseManagement/LONGSEQ.idl>
#include <PBFAPurchaseManagement/SHORTSEQ.idl>
#include <PBFAPurchaseManagement/StringSeq.idl>

module PBFAPurchaseManagement
{
    /**
     ** <!-- crc 1341828208627 -->
     **/
    struct livepodata
    {
        ::PBFAPurchaseManagement::StringSeq pono;
        ::PBFAPurchaseManagement::StringSeq estage;
        ::PBFAPurchaseManagement::StringSeq eoriginator;
        ::PBFAPurchaseManagement::LONGSEQ purch_ord_no;
        ::PBFAPurchaseManagement::SHORTSEQ revision_no;
        ::PBFAPurchaseManagement::StringSeq ord_type;
        ::PBFAPurchaseManagement::LONGSEQ component_id;
        ::PBFAPurchaseManagement::StringSeq eactionname;
        ::PBFAPurchaseManagement::StringSeq eactionuser;
        ::PBFAPurchaseManagement::StringSeq securitystring;
        ::PBFAPurchaseManagement::StringSeq description;
        ::PBFAPurchaseManagement::StringSeq style_no;
        ::PBFAPurchaseManagement::StringSeq sales_agent;
        ::PBFAPurchaseManagement::StringSeq po_state;
        string currentordtype;
        long retcode;
    };

};

#endif

If I make the stucture an array and the elements as single variables everything works ok.

The problem I have is i have a huge amount of code referencing this structure with array elements.

Any help will be great and would save me hours of recoding!

Thanks,

Matthew


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »