Hi David ,

Please consider my earlier mail as the thread, think teh thread got too long
so mail was bouncing back.
I am replying back in new mail.

I restarted staf on both the machines

a. baksa03-xp.ca.com (staf job runnign machine )
b. divso01-2k3s.ca.com  (machine from which i want to monitor by running
stax mon)

The information we have as you want is :


C:\>STAF baksa03-xp.ca.com MISC WHOAMI
Response
--------
Instance Name   : STAF
Instance UUID   : 046AA44B201500009B2305EB326B3373
Request Number  : 261
Interface       : tcp
Logical ID      : divso01-2k3s.ca.com
Physical ID     : 155.35.5.235
Endpoint        : tcp://divso01-2k3s.ca....@6500
Machine         : divso01-2k3s.ca.com
Machine Nickname: testmachine5
Local Request   : No
Handle          : 28
Handle Name     : STAF/Client
User            : none://anonymous
Trust Level     : 4

C:\>STAF baksa03-xp.ca.com TRUST LIST
Response
--------
Type    Entry                        Trust Level
------- ---------------------------- -----------
Default <None>                       3
Machine local://local                5
Machine tcp://155.35.3.226           4
Machine tcp://155.35.3.93            4
Machine tcp://155.35.7.24            4
Machine tcp://divso01-2k3s.ca.com    4
Machine tcp://etr6506l3-aix81.ca.com 4
Machine tcp://etr6506l3-aix86.ca.com 4
Machine tcp://etr6506l3-sun66.ca.com 4
Machine tcp://etr6506l3-sun69.ca.com 4
Machine tcp://etr6506l3-sun76.ca.com 4
Machine tcp://etr6506l3-sun94.ca.com 4
Machine tcp://etrhl09.ca.com         4
Machine tcp://etrhux53.ca.com        4
Machine tcp://etrhux61.ca.com        4


Now when i run stax monitor , and start the staf job on server machine and
try monitoring through
tcp://divso01-2k3s.ca.com

We observe the following :

On selecting Start Monitoring we get an exception, i do not get the earlier
error actually, maybe i did not start staf properly last time with correct
configurations.

But we are able to see logs on clicking "Display Job user log".

The problem is in Start monitoring.May be i am missing something more that
need to be done.

The exception we get is :
=======================
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException:
java.lang.S
tring cannot be cast to java.util.List
        at
com.ibm.staf.service.stax.STAXMonitorDebugExtension.init(STAXMonitorD
ebugExtension.java:377)
        at
com.ibm.staf.service.stax.STAXMonitorFrame.<init>(STAXMonitorFrame.ja
va:877)
        at
com.ibm.staf.service.stax.STAXMonitorFrame.<init>(STAXMonitorFrame.ja
va:291)
        at
com.ibm.staf.service.stax.STAXMonitor.monitorExistingJob(STAXMonitor.
java:6310)
        at
com.ibm.staf.service.stax.STAXMonitor.actionPerformed(STAXMonitor.jav
a:2688)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)


Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException:
java.lang.S
tring cannot be cast to java.util.List
        at
com.ibm.staf.service.stax.STAXMonitorDebugExtension.init(STAXMonitorD
ebugExtension.java:377)
        at
com.ibm.staf.service.stax.STAXMonitorFrame.<init>(STAXMonitorFrame.ja
va:877)
        at
com.ibm.staf.service.stax.STAXMonitorFrame.<init>(STAXMonitorFrame.ja
va:291)
        at
com.ibm.staf.service.stax.STAXMonitor.monitorExistingJob(STAXMonitor.
java:6310)
        at
com.ibm.staf.service.stax.STAXMonitor.actionPerformed(STAXMonitor.jav
a:2688)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to