Remote Debugging does not work
peterbrodt wrote on Thu Dec 27 17:42:47 CET 2007:
Hi there,
I am trying to debug a perl script remote from an aix machine and get the
following error:
-----------------------------------------------------
Unable to connect to remote host: 10.196.225.23:5000
Compilation failed in require.
at /apps/harvest/epic_perl/peter/Skripte/PromoteAllPackages.pl line 0
main::BEGIN() called at /opt/local/lib/perl5/5.8.8/perl5db.pl line
0
eval {...} called at /opt/local/lib/perl5/5.8.8/perl5db.pl line
0
BEGIN failed--compilation aborted.
at /apps/harvest/epic_perl/peter/Skripte/PromoteAllPackages.pl line 0
Can't use an undefined value as a symbol reference at /opt/local/lib/perl5/5.8.8/perl5db.pl
line 7495.
at /opt/local/lib/perl5/5.8.8/perl5db.pl line 7495
DB::print_help('Debugged program terminated. Use B to quit or
B to res...') called at /opt/local/lib/perl5/5.8.8/perl5db.pl line 2035
DB::DB called at /opt/local/lib/perl5/5.8.8/perl5db.pl line 9421
DB::fake::at_exit() called at /opt/local/lib/perl5/5.8.8/perl5db.pl
line 8993
DB::END() called at /apps/harvest/epic_perl/peter/Skripte/PromoteAllPackages.pl
line 0
eval {...} called at /apps/harvest/epic_perl/peter/Skripte/PromoteAllPackages.pl
line 0
END failed--call queue aborted.
at /apps/harvest/epic_perl/peter/Skripte/PromoteAllPackages.pl line 0
--------------------------------------------------------
My current configuration:
Eclipse SKD 3.2.1
Epic: 0.6.17
Perl: 5.8.8
There is no firewall involved.
Any idea what goes wrong?
peterbrodt wrote on Thu Dec 27 18:07:38 CET 2007:
I found the reason: It's not a firewall issue but a windows policy which only allows a specific javaw.exe to accept messages on port 5000. After I renamed the new java home directory to the old name I could connect to the client. Peter
Note: The above is an archived snapshot of a forum thread. Use the original thread at sf.net to post comments.