Home
TeamSite
teamsite 6.5 iwperl process hanging...
motlnt
Hi All,
I am facing this issue with TS 6.5 performance...
My env.
win2003 ent edition
TS 6.5
TS 6.5 SP1
I am trying to traverse through a bunch of DCRs and generate some sql statements to do database updates.
But the iwperl process just hangs in between and doesnt go ahead.
any comments..?
Thx in advance...
MJ
Find more posts tagged with
Comments
Migrateduser
Reply and attach your offending code. How do you know that it's hanging on this process? Do you know where in the script it's hanging? Are your callbacks being invoked appropriately?
Dave
Current Environment(s):
(1) TS 6.5 on W2K3
(2) TS 6.1 SP1 on W2K3
By the way, I miss Unix terribly.
motlnt
hi,
here is my code...
its not printing anything after traversing some DCRs...
here is the partial log generated...
===============================================================================================
debug : Thu Jun 2 12:23:14 2005 : mhr_menuitem_deploy_ui_translation.ipl : Deploying UI language id '100' to database target 'STAGING'
debug : Thu Jun 2 12:23:14 2005 : mhr_menuitem_deploy_ui_translation.ipl : DB handles 'ARRAY(0x27e418c)'
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : Fetched DB handle for 'RDDB'
info : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............start here.............
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........888888888888888.............
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing UI groups [contact_us_subjects] in [US ]...
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...english
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...contact_us_subjects
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...US
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : hello...Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/contact_us_subjects/data/english_us_contact_us_subjects
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........9999999999999.............
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing DCR [Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/contact_us_subjects/data/english_us_contact_us_subjects]
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : 555
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : 666
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : 777:
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........ohoh.............
info : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............in here.............
info : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............start here.............
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........888888888888888.............
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing UI groups [currency] in [US ]...
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...english
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...currency
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...US
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : hello...Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/currency/data/english_us_currency
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........9999999999999.............
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing DCR [Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/currency/data/english_us_currency]
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : 555
debug : Thu Jun 2 12:23:15 2005 : mhr_menuitem_deploy_ui_translation.ipl : 666
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : 777:
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........ohoh.............
info : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............in here.............
info : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............start here.............
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........888888888888888.............
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing UI groups [geography,topic] in [US ]...
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...english
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...geography
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...US
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : hello...Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/geography/data/english_us_geography
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........9999999999999.............
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing DCR [Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/geography/data/english_us_geography]
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : 555
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : 666
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : 777:
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...english
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...topic
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...US
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : hello...Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/topic/data/english_us_topic
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........9999999999999.............
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing DCR [Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/topic/data/english_us_topic]
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : 555
debug : Thu Jun 2 12:23:16 2005 : mhr_menuitem_deploy_ui_translation.ipl : 666
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : 777:
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........ohoh.............
info : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............in here.............
info : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............start here.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........888888888888888.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing UI groups [job_functions] in [US ]...
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...english
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...job_functions
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...US
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hello...Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/job_functions/data/english_us_job_functions
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........9999999999999.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing DCR [Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/job_functions/data/english_us_job_functions]
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : 555
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : 666
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : 777:
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........ohoh.............
info : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............in here.............
info : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............start here.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........888888888888888.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing UI groups [job_occupations] in [US ]...
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...english
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...job_occupations
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...US
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hello...Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/job_occupations/data/english_us_job_occupations
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........9999999999999.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing DCR [Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/job_occupations/data/english_us_job_occupations]
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : 555
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : 666
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : 777:
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........ohoh.............
info : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............in here.............
info : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............start here.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........888888888888888.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing UI groups [mercer_cities] in [US ]...
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...english
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...mercer_cities
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...US
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hello...Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/mercer_cities/data/english_us_mercer_cities
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........9999999999999.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing DCR [Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/mercer_cities/data/english_us_mercer_cities]
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : 555
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : 666
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : 777:
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........ohoh.............
info : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............in here.............
info : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............start here.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........888888888888888.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing UI groups [mercer_countries] in [US ]...
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...english
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...mercer_countries
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...US
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hello...Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/mercer_countries/data/english_us_mercer_countries
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........9999999999999.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing DCR [Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/mercer_countries/data/english_us_mercer_countries]
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : 555
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : 666
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : 777:
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........ohoh.............
info : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............in here.............
info : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............start here.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........888888888888888.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing UI groups [registration_countries] in [US ]...
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...english
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...registration_countries
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...US
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : hello...Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/registration_countries/data/english_us_registration_countries
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........9999999999999.............
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing DCR [Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/registration_countries/data/english_us_registration_countries]
debug : Thu Jun 2 12:23:17 2005 : mhr_menuitem_deploy_ui_translation.ipl : 555
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : 666
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : 777:
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........ohoh.............
info : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............in here.............
info : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............start here.............
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........888888888888888.............
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing UI groups [mercer_values] in [US ]...
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...english
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...mercer_values
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...US
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : hello...Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/mercer_values/data/english_us_mercer_values
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........9999999999999.............
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing DCR [Y:/default/main/MercerHR/ui/STAGING/templatedata/ui/mercer_values/data/english_us_mercer_values]
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : 555
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : 666
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : 777:
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........ohoh.............
info : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............in here.............
info : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : .............start here.............
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : ...........888888888888888.............
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : Processing UI groups [faq_groups] in [US ]...
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...english
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...faq_groups
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : hi...US
debug : Thu Jun 2 12:23:18 2005 : mhr_menuitem_deploy_ui_translation.ipl : hello...Y:/default/main/MercerHR/ui/STAGING/templateda
=============================================================
thx
MJ
Migrateduser
Besides it saying 'hi', the log file doesn't mean anything to me without seeing the code -- the script -- that generates this log file. When you respond, please
attach
the file as opposed to pasting it in the textarea. It's much cleaner that way.
Dave
Current Environment(s):
(1) TS 6.5 on W2K3
(2) TS 6.1 SP1 on W2K3
By the way, I miss Unix terribly.
nipper
no code attached...
motlnt
oh..here is the code..
Migrateduser
I just got your private message with your code -- please post it here. Hey, I might not know or have time to go through and someone else may. Better to distribute your eggs among many baskets rather than in one.
Current Environment(s):
(1) TS 6.5 on W2K3
(2) TS 6.1 SP1 on W2K3
By the way, I miss Unix terribly.
nipper
It looks like it is stoping at this line:
my $quoted_id = ( ( defined $$group_meta{STRING_ID} ) && ( $$group_meta{STRING_ID} eq 1 ) ) ? 1 : 0;
can you comment that out & see if it completes ? First find the offending code
motlnt
Hi,
I tried commenting that line..
but the issue remains the same..
MJ
Migrateduser
In the interest of finding exactly where the issue is occuring, could you put a die statement in at certain points with different output on each one? At least this could narrow it down somewhat.
Dave
Current Environment(s):
(1) TS 6.5 on W2K3
(2) TS 6.1 SP1 on W2K3
By the way, I miss Unix terribly.
nipper
From the location of the debug statements, I think you can narrow it down to
one statement (I posted earlier)
motlnt
yeah...
I have made my code cleaner now but with same problem still existing...
MJ
Migrateduser
Have you tried stepping through it with the debugger (iwperl -d)? Set some breakpoints at major sections then just run from breakpoint to breakpoint.
motlnt
Hi All,
I am able to fix this now...
The problem was with how perl 5.8.2. treats the UTF8 encoding.
In my IPL I was printing some properties files.
This was originally coded in perl 5.0
The error it was throwing was..
'Wide character in print at line....'
Just to share What I did incase if somebody encounters this problem......
instead of direct printing...
"
use bytes;
print PROPERTIES $ui_element_key . "=" . $ui_element_value . "\n";
no bytes;
"
this worked...
thx for all ur help..
MJ