[LDTP-Dev] Environment: RHEL5.1, Ldtp v1.7. Java error: Unable connect to the server

Polly zelenii.zmey at gmail.com
Wed May 15 01:23:22 PDT 2013


Hi Everyone,

I try to start simple Java application on RHEL5.5 with LDTP library v 
1.7, but I have an error: Unable connect to the server.
Need to mark that:
- ldtp successfully works with python and return window list (or object 
list) on this host;
- Java application works on other environments (RHEL 6.1, Ubuntu10.04, 
Windows Server 2008, e.g) with ldtp v3.0;

Could you help me with this issue?
LDTP log is attached.

Regards,
Polly.


-------------- next part --------------
Wed May  8 10:46:52 2013: Wed May  8 10:48:04 2013: Wed May  8 10:49:04 2013: handle_client: error:
unregister_window_creation_event - client-handler.c - 77
client-handler.c - 80 - Argument NULL
Removing sockfd: 25 - 2
Removed sockfd: 25 - 1
Wed May  8 10:52:06 2013: Client packet len: 80
i = 0
Packet length remaing to read: 0
Received packet [<?xml version="1.0"?><REQUEST><ACTION>52</ACTION><ID>MainThread52</ID></REQUEST>] through 25 of len: 80
Node: ACTION
action_name: 52
Node: ID
request_id: MainThread52
Command: 52
Number of application: 15
child_name: Top Panel
window_name: frmTopPanel
child_name: Bottom Panel
window_name: frmBottomPanel
child_name: Desktop
window_name: frmDesktop
child_name: root at inst-redhat55-231:~
window_name: frmroot at inst-redhat55-231:~
LIST: <?xml version="1.0" encoding="utf-8"?><OBJECTLIST><OBJECT>frmTopPanel</OBJECT><OBJECT>frmBottomPanel</OBJECT><OBJECT>frmDesktop</OBJECT><OBJECT>frmroot at inst-redhat55-231:~</OBJECT></OBJECTLIST>
resp_len = 117
Sending..
405
Response packet: <?xml version="1.0" encoding="utf-8"?><RESPONSE><ID>MainThread52</ID><STATUS><CODE>0</CODE><MESSAGE>Successfully completed</MESSAGE></STATUS><DATA><LENGTH>193</LENGTH><VALUE><![CDATA[<?xml version="1.0" encoding="utf-8"?><OBJECTLIST><OBJECT>frmTopPanel</OBJECT><OBJECT>frmBottomPanel</OBJECT><OBJECT>frmDesktop</OBJECT><OBJECT>frmroot at inst-redhat55-231:~</OBJECT></OBJECTLIST>]]></VALUE></DATA></RESPONSE>
Msg: 
Bytes sent: 409
Wed May  8 10:52:33 2013: handle_client: error:
unregister_window_creation_event - client-handler.c - 77
client-handler.c - 80 - Argument NULL
Removing sockfd: 25 - 2
Removed sockfd: 25 - 1
Event type: window:create
Stripped space: LanguageSelection
Before strip Language Selection - After LanguageSelection
CCTXT is lost
Event type: window:create
CCTXT is lost
Event type: window:destroy
Before strip root at inst-redhat55-231:/temp/Installers - After root at inst-redhat55-231:/temp/Installers
Event type: window:destroy
Wed May  8 11:58:37 2013: Client packet len: 80
i = 0
Packet length remaing to read: 0
Received packet [<?xml version="1.0"?><REQUEST><ACTION>52</ACTION><ID>MainThread52</ID></REQUEST>] through 24 of len: 80
Node: ACTION
action_name: 52
Node: ID
request_id: MainThread52
Command: 52
Number of application: 15
child_name: Desktop
window_name: frmDesktop
child_name: Top Panel
window_name: frmTopPanel
child_name: Bottom Panel
window_name: frmBottomPanel
child_name: root at inst-redhat55-231:/temp/idea/bin
window_name: frmroot at inst-redhat55-231:/temp/idea/bin
LIST: <?xml version="1.0" encoding="utf-8"?><OBJECTLIST><OBJECT>frmTopPanel</OBJECT><OBJECT>frmroot at inst-redhat55-231:/temp/idea/bin</OBJECT><OBJECT>frmDesktop</OBJECT><OBJECT>frmBottomPanel</OBJECT></OBJECTLIST>
resp_len = 117
Sending..
418
Response packet: <?xml version="1.0" encoding="utf-8"?><RESPONSE><ID>MainThread52</ID><STATUS><CODE>0</CODE><MESSAGE>Successfully completed</MESSAGE></STATUS><DATA><LENGTH>206</LENGTH><VALUE><![CDATA[<?xml version="1.0" encoding="utf-8"?><OBJECTLIST><OBJECT>frmTopPanel</OBJECT><OBJECT>frmroot at inst-redhat55-231:/temp/idea/bin</OBJECT><OBJECT>frmDesktop</OBJECT><OBJECT>frmBottomPanel</OBJECT></OBJECTLIST>]]></VALUE></DATA></RESPONSE>
Msg: 
Bytes sent: 422
Event type: window:create
CCTXT is lost
Event type: window:destroy
Event type: window:create
CCTXT is lost
Client packet len: 80
i = 0
Packet length remaing to read: 0
Received packet [<?xml version="1.0"?><REQUEST><ACTION>52</ACTION><ID>MainThread52</ID></REQUEST>] through 24 of len: 80
Node: ACTION
action_name: 52
Node: ID
request_id: MainThread52
Command: 52
Number of application: 16
child_name: Desktop
window_name: frmDesktop
child_name: Top Panel
window_name: frmTopPanel
child_name: Bottom Panel
window_name: frmBottomPanel
child_name: root at inst-redhat55-231:/temp/idea/bin
window_name: frmroot at inst-redhat55-231:/temp/idea/bin
child_name: Language Selection
window_name: dlgLanguageSelection
LIST: <?xml version="1.0" encoding="utf-8"?><OBJECTLIST><OBJECT>frmTopPanel</OBJECT><OBJECT>frmroot at inst-redhat55-231:/temp/idea/bin</OBJECT><OBJECT>dlgLanguageSelection</OBJECT><OBJECT>frmDesktop</OBJECT><OBJECT>frmBottomPanel</OBJECT></OBJECTLIST>
resp_len = 117
Sending..
455
Response packet: <?xml version="1.0" encoding="utf-8"?><RESPONSE><ID>MainThread52</ID><STATUS><CODE>0</CODE><MESSAGE>Successfully completed</MESSAGE></STATUS><DATA><LENGTH>243</LENGTH><VALUE><![CDATA[<?xml version="1.0" encoding="utf-8"?><OBJECTLIST><OBJECT>frmTopPanel</OBJECT><OBJECT>frmroot at inst-redhat55-231:/temp/idea/bin</OBJECT><OBJECT>dlgLanguageSelection</OBJECT><OBJECT>frmDesktop</OBJECT><OBJECT>frmBottomPanel</OBJECT></OBJECTLIST>]]></VALUE></DATA></RESPONSE>
Msg: 
Bytes sent: 459
Wed May  8 12:14:24 2013: Wed May  8 12:14:24 2013: handle_client: error:
unregister_window_creation_event - client-handler.c - 77
client-handler.c - 80 - Argument NULL
Removing sockfd: 29 - 2
Removed sockfd: 29 - 1
Event type: window:destroy


More information about the LDTP-dev mailing list