RE: [Arsperl-users] ars_GetListEntry returns without data
Brought to you by:
jeffmurphy
|
From: Heider, S. <sh...@pb...> - 2006-01-10 15:02:30
|
Henrik,=20
There were many problems with ARS 6.3 Patch 13. You may want to =
consider installing Patch 14.
Stephen
-----Original Message-----
From: ars...@ar... =
[mailto:ars...@ar...] On Behalf Of Henrik Johansson
Sent: Tuesday, January 10, 2006 9:57 AM
To: ARSperl-users
Subject: [Arsperl-users] ars_GetListEntry returns without data
We are moving and upgrading our AR-server from 4.5.2 on Solaris 8 to =
6.3.0 on Windows Server 2003 and have problem with the function =
ars_GetListEntry.
I'm running the perlprogram on Solaris 9, with arsperl-1.84.
I have built arsperl-1.84 against ars-api 6.3 with patch 13.
There is no problem to run the updated perlprogram, against the old =
AR-server.
An extract from the code:
$ctrl =3D ars_Login($ars_server, $arsusername, $password); ..
$qual =3D ars_LoadQualifier($ctrl, $schema, "(1 =3D 1)"); if (! =
defined($qual)) {
&ERROR("read_ars_users: Error in usage of ars_LoadQualifier, ARS
message: $ars_errstr.");
}
# Retrieve all of the entry-id's for the schema.
%entries =3D ars_GetListEntry($ctrl, $schema, $qual, 0, []); if (scalar =
%entries eq 0) {
&ERROR("read_ars_users: No entries from ars_GetListEntry, ARS
message: $ars_errstr.");
}
The %entries-hash are empty and $ars_errstr are empty.
I've tested the other usages of arsperl, in the program, and found no =
problem.
Result Tested functions
OK ars_Login($ars_server, $arsusername, $password);
OK ars_GetFieldByName($ctrl, $schema, $fids{$fid});
OK ars_LoadQualifier($ctrl, $schema, "(1 =3D 1)");
No data ars_GetListEntry($ctrl, $schema, $qual, 0, []);
OK ars_GetEntry($ctrl, $schema, $entry_id)) ||
OK ars_CreateEntry($ctrl, $schema,
OK ars_SetEntry($ctrl, $schema, $l[8], $ars_read_time,
OK ars_DeleteEntry($ctrl, $schema, $l[8]) < 1)
I've check the networktraffic between client and server and found these =
packages, when I run ars_GetListEntry, on the client. Only three =
packets!
This is from snoop on the client:
1 0.00000 client -> server RPC C XID=3D1137346846 PROG=3D390620 (?)=20
VERS=3D11 PROC=3D5
2 0.06305 server -> client RPC R (#1) XID=3D1137346846 Success
3 0.09627 client -> server TCP D=3D1079 S=3D32944 Ack=3D576013281=20
Seq=3D3189697003 Len=3D0 W
Here is the snoop-log, between a client and the old server (317 =
packets):
1 0.00000 client -> oldserver RPC C XID=3D1136777578 PROG=3D390620 =
(?)=20
VERS=3D7 PROC=3D5
2 0.09138 oldserver -> client TCP D=3D50958 S=3D1010 Ack=3D574628135 =
Seq=3D3569712132 Len=3D0 Win=3D33580
3 0.59374 oldserver -> client RPC R (#1) XID=3D1136777578 Success
4 0.00012 oldserver -> client TCP D=3D50958 S=3D1010 Push =
Ack=3D574628135=20
Seq=3D3569713592 Len=3D60 Win=3D33580
5 0.00011 oldserver -> client TCP D=3D50958 S=3D1010 Ack=3D574628135 =
Seq=3D3569715052 Len=3D1460 Win=3D33580
6 0.00012 oldserver -> client TCP D=3D50958 S=3D1010 Push =
Ack=3D574628135=20
Seq=3D3569716512 Len=3D1460 Win=3D33580
7 0.09454 client -> oldserver TCP D=3D1010 S=3D50958 =
Ack=3D3569717972=20
Seq=3D574628135 Len=3D0 Win=3D33580
8 0.00650 oldserver -> client TCP D=3D50958 S=3D1010 Ack=3D574628135 =
Seq=3D3569717972 Len=3D1460 Win=3D33580
9 0.00013 oldserver -> client TCP D=3D50958 S=3D1010 Ack=3D574628135 =
Seq=3D3569719432 Len=3D1460 Win=3D33580
10 0.00002 client -> oldserver TCP D=3D1010 S=3D50958 =
Ack=3D3569720892=20
Seq=3D574628135 Len=3D0 Win=3D33580
11 0.00004 oldserver -> client TCP D=3D50958 S=3D1010 Ack=3D574628135 =
Seq=3D3569720892 Len=3D240 Win=3D33580
12 0.00006 oldserver -> client TCP D=3D50958 S=3D1010 Ack=3D574628135 =
Seq=3D3569721132 Len=3D1460 Win=3D33580
13 0.00023 oldserver -> client TCP D=3D50958 S=3D1010 Ack=3D574628135 =
Seq=3D3569722592 Len=3D1460 Win=3D33580
14 0.00001 client -> oldserver TCP D=3D1010 S=3D50958 =
Ack=3D3569724052=20
Seq=3D574628135 Len=3D0 Win=3D33580
15 0.00101 oldserver -> client TCP D=3D50958 S=3D1010 Ack=3D574628135 =
Seq=3D3569724052 Len=3D1460 Win=3D33580
Thanks in advance for solutions or suggestions Henrik =
_________________________________________________________________________=
________
Henrik Johansson, TietoEnator Processing & Network AB
E-mail: hen...@ti... | Voice: +46 920 452 709
Internet: http://www.tietoenator.com/ | Fax: +46 920 452 906
Laboratoriegr=E4nd 11, Box 50006, S-973 21 Lule=E5, Sweden | Mobile: =
+46 70 555 9998
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log =
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|