Thread: [Arsperl-users] concurrent/simultaneous access with generic user
Brought to you by:
jeffmurphy
|
From: L. G. <lui...@gm...> - 2008-06-25 10:32:44
|
Hi. We're trying to use a single generic user + ARSPerl to fetch information from Remedy. Is it feasible or we'll end up with concurrency errors due to, e.g., simultaneous calls to ars_GetListEntryWithFields after logging in using the same user name? Thanks. -- Luís Góis |
|
From: Tarakad R. V. (K. 21)
<vis...@cr...> - 2008-06-25 11:24:18
|
I havent tried multi-threading on ARSPerl, but if Im logged in thro the Remedy GUI and try running the Perl program, I get the following error during ars_LoadQualifier although ars_Login is successful. qualifier is not of type ARQualifierStructPtr at /mypath/remedystats.pl line 202. ________________________________ From: ars...@ar... [mailto:ars...@ar...] On Behalf Of Luís Gois Sent: Wednesday, June 25, 2008 12:27 PM To: ars...@ar... Subject: [Arsperl-users] concurrent/simultaneous access with generic user Hi. We're trying to use a single generic user + ARSPerl to fetch information from Remedy. Is it feasible or we'll end up with concurrency errors due to, e.g., simultaneous calls to ars_GetListEntryWithFields after logging in using the same user name? Thanks. -- Luís Góis |
|
From: Michiel B. <mic...@gm...> - 2008-06-25 11:51:08
|
If you only want to setup a Perl script to fetch data; you can setup an account with a Read Restricted license. With this account you can access Remedy from multiple IP adresses simultaneously. You won't have any concurrency issues; other than that you can bog the server seriously if the queries are not efficient enough. Obviously, if you would execute the script a lot you want to make sure that it does not hit too hard on your server. One little, well-chosen index on a form can do miracles. Regards, Michiel On 6/25/08, Tarakad Raghavan Viswanathan (KIRK 21) < vis...@cr...> wrote: > > I havent tried multi-threading on ARSPerl, but if Im logged in thro the > Remedy GUI and try running the Perl program, I get the following error > during ars_LoadQualifier although ars_Login is successful. > > qualifier is not of type ARQualifierStructPtr at /mypath/remedystats.pl > line 202. > > ------------------------------ > *From:* ars...@ar... [mailto: > ars...@ar...] *On Behalf Of *Luís Gois > *Sent:* Wednesday, June 25, 2008 12:27 PM > *To:* ars...@ar... > *Subject:* [Arsperl-users] concurrent/simultaneous access with generic > user > > > Hi. > > We're trying to use a single generic user + ARSPerl to fetch information > from Remedy. Is it feasible or we'll end up with concurrency errors due to, > e.g., simultaneous calls to ars_GetListEntryWithFields after logging in > using the same user name? > > Thanks. > -- > Luís Góis > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > > |
|
From: Ravi <ra...@co...> - 2008-06-26 11:40:59
|
Hi: I have a arsperl script which runs fine when I run it from the shell
prompt. But when I run it from within another application, I get the
following error
Can't load
'/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/ARS/ARS.so' for
module ARS: ld.so.1:
perl: fatal: libicudatabmc.so.32: open failed: No such file or directory at
/usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230.
This file libicudatabmc.so.32 is in /export/home/netcool/arsapi/lib. I
installed the arsapi files under the users's home directory. So I tried
including the following line in my code and I still get the same error
$ENV{'LD_LIBRARY_PATH'} =
'/usr/local/lib:/opt/ibm/netcool/platform/solaris2/pgsql8/lib:/export/home/netcool/oracle/instantclient_10_2:/export/home/netcool/arsapi/lib';
Any suggestions?
Thanks
Ravi
|
|
From: Rani, R. <Rag...@gs...> - 2008-06-26 11:52:44
|
In the LD_LIBRARY_PATH add the path of ARS.so file. This is a binary
file and is required to be loaded at the run time. Add the directory
/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/ARS/
Regards,
Ragini
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of Ravi
Sent: Thursday, June 26, 2008 4:52 PM
To: ARSperl User Discussion
Subject: [Arsperl-users] Can't load
'/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/ARS/ARS.so' for
module ARS: ld.so.1
Hi: I have a arsperl script which runs fine when I run it from the shell
prompt. But when I run it from within another application, I get the
following error
Can't load
'/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/ARS/ARS.so' for
module ARS: ld.so.1:
perl: fatal: libicudatabmc.so.32: open failed: No such file or directory
at
/usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230.
This file libicudatabmc.so.32 is in /export/home/netcool/arsapi/lib. I
installed the arsapi files under the users's home directory. So I tried
including the following line in my code and I still get the same error
$ENV{'LD_LIBRARY_PATH'} =
'/usr/local/lib:/opt/ibm/netcool/platform/solaris2/pgsql8/lib:/export/ho
me/netcool/oracle/instantclient_10_2:/export/home/netcool/arsapi/lib';
Any suggestions?
Thanks
Ravi
------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Mark V. <mar...@co...> - 2008-06-26 11:58:15
|
Ravi,
It sounds like an environment problem. Are you using the same login? Is
your LD_LIBRARY_PATH set up the same? Is your PATH set up the same?
HTH,
Mark Vaughan
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of Ravi
Sent: Thursday, June 26, 2008 5:22 AM
To: ARSperl User Discussion
Subject: [Arsperl-users] Can't load
'/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/ARS/ARS.so' for
module ARS: ld.so.1
Hi: I have a arsperl script which runs fine when I run it from the shell
prompt. But when I run it from within another application, I get the
following error
Can't load
'/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/ARS/ARS.so' for
module ARS: ld.so.1:
perl: fatal: libicudatabmc.so.32: open failed: No such file or directory at
/usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230.
This file libicudatabmc.so.32 is in /export/home/netcool/arsapi/lib. I
installed the arsapi files under the users's home directory. So I tried
including the following line in my code and I still get the same error
$ENV{'LD_LIBRARY_PATH'} =
'/usr/local/lib:/opt/ibm/netcool/platform/solaris2/pgsql8/lib:/export/home/n
etcool/oracle/instantclient_10_2:/export/home/netcool/arsapi/lib';
Any suggestions?
Thanks
Ravi
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Tarakad R. V. (K. 21)
<vis...@cr...> - 2008-06-26 12:00:46
|
You also need to set PERL5LIB I think.
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of Ravi
Sent: Thursday, June 26, 2008 1:22 PM
To: ARSperl User Discussion
Subject: [Arsperl-users] Can't load
'/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/ARS/ARS.so' for
module ARS: ld.so.1
Hi: I have a arsperl script which runs fine when I run it from the shell
prompt. But when I run it from within another application, I get the
following error
Can't load
'/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/ARS/ARS.so' for
module ARS: ld.so.1:
perl: fatal: libicudatabmc.so.32: open failed: No such file or directory
at
/usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230.
This file libicudatabmc.so.32 is in /export/home/netcool/arsapi/lib. I
installed the arsapi files under the users's home directory. So I tried
including the following line in my code and I still get the same error
$ENV{'LD_LIBRARY_PATH'} =
'/usr/local/lib:/opt/ibm/netcool/platform/solaris2/pgsql8/lib:/export/ho
me/netcool/oracle/instantclient_10_2:/export/home/netcool/arsapi/lib';
Any suggestions?
Thanks
Ravi
------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Ravi <ra...@co...> - 2008-06-26 18:57:36
|
I had to run the following command for solaris. This is equivalent to
ldconfig on other OSes.
#crle -l
/lib:/usr/lib:/export/home/netcool/arsapi/lib:/usr/local/lib:/opt/ibm/netcool/platform/solaris2/pgsql8/lib:/export/home/netcool/oracle/instantclie
nt_10_2
Thanks
Ravi
Ravi wrote:
> Hi: I have a arsperl script which runs fine when I run it from the shell
> prompt. But when I run it from within another application, I get the
> following error
>
> Can't load
> '/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/ARS/ARS.so' for
> module ARS: ld.so.1:
> perl: fatal: libicudatabmc.so.32: open failed: No such file or directory at
> /usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230.
>
> This file libicudatabmc.so.32 is in /export/home/netcool/arsapi/lib. I
> installed the arsapi files under the users's home directory. So I tried
> including the following line in my code and I still get the same error
>
> $ENV{'LD_LIBRARY_PATH'} =
> '/usr/local/lib:/opt/ibm/netcool/platform/solaris2/pgsql8/lib:/export/home/netcool/oracle/instantclient_10_2:/export/home/netcool/arsapi/lib';
>
> Any suggestions?
>
> Thanks
> Ravi
>
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
|