Hi David ,
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) ===========END MAILDOC_ID_74517822 20/3/2010================ ===========START MAILDOC_ID_74517822 20/3/2010================ [[[[You have a message from: sangram]]]] 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) Regards Sangram On Fri, Mar 19, 2010 at 7:32 PM, David Bender <bda...@us.ibm.com> wrote: > Hi, > > From machine divso01-2k3s.ca.com, what is the output of the following: > > STAF baksa03-xp.ca.com MISC WHOAMI > > STAF baksa03-xp.ca.com TRUST LIST > > Thanks, > David > > ------------------------------ > *David > Bender*<http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=David+Bender> > STAF/STAX Development > IBM Software Group, WPLC > 11501 Burnet Rd. > Bldg. 903-5B002 > Austin, TX 78758-3400 > Phone (T/L): 1-512-286-5315 (363-5315) > ITN: 23635315 > Email: *bda...@us.ibm.com* <bda...@us.ibm.com> > > ------------------------------ > > > [image: Inactive hide details for Sangram Bakshi ---03/19/2010 07:21:43 > AM---Hi David, I tried to do as you said , configured the STAX]Sangram > Bakshi ---03/19/2010 07:21:43 AM---Hi David, I tried to do as you said , > configured the STAX Monitor in remote machine as > > > From: > Sangram Bakshi <san...@gmail.com> > To: > David Bender/Austin/i...@ibmus > Cc: > staf-users@lists.sourceforge.net > Date: > 03/19/2010 07:21 AM > Subject: > Re: [staf-users] Regarding STAX Monitor. > ------------------------------ > > > > Hi David, > > I tried to do as you said , configured the STAX Monitor in remote machine > as STAX server machine (master machine where my staf job would run). > > > The set up is like this :*baksa03-xp.ca.com* <http://baksa03-xp.ca.com/> > Client machine a: *etr6506l3-sun66.ca.com*<http://etr6506l3-sun66.ca.com/> > Client machine b :*divso01-2k3s.ca.com* <http://divso01-2k3s.ca.com/> > > *Staf job start at **baksa03-xp.ca.com* <http://baksa03-xp.ca.com/>* tries > to connect to clinet machine a and runs tests there.* > > *I want to run STAX Monitor from client machine b > **divso01-2k3s.ca.com*<http://divso01-2k3s.ca.com/> > > *When i run stax monitor on client machine b , i do start seeing the job > started , so i do get logs* > *but i do not get them properly as i do get them on server machine.* > > > Server machine : > > The configuration in STAF master machine is : > ============================================= > # Turn on tracing of internal errors and deprecated options > trace enable tracepoints "error deprecated" > # Enable TCP/IP connections > #interface ssl library STAFTCP option Secure=Yes option Port=6550 > interface tcp library STAFTCP option Secure=No option Port=6500 > # Set default local trust > trust machine local://local level 5 > # Add default service loader > serviceloader library STAFDSLS > # Add stax servcies > SERVICE STAX LIBRARY JSTAF EXECUTE C:\STAF\services\stax\stax.jar > SET MAXQUEUESIZE 10000 > TRUST LEVEL 4 MACHINE tcp://*155.35.7.24* <http://155.35.7.24/> > service event library JSTAF execute C:/staf/services/stax/STAFEvent.jar > MACHINENICKNAME testmachine1 > SET DATADIR C:\MyDir > SET SYSTEM VAR Test/TestABC=websphere > SET SYSTEM VAR Test/TestXYZ=150 > #TRUST LEVEL 4 MACHINE tcp://*155.35.7.24* <http://155.35.7.24/> > TRUST LEVEL 4 MACHINE > tcp://*etr6506l3-aix81.ca.com*<http://etr6506l3-aix81.ca.com/> > TRUST LEVEL 4 MACHINE tcp://*155.35.3.226* <http://155.35.3.226/> > TRUST LEVEL 4 MACHINE tcp://*155.35.3.93* <http://155.35.3.93/> > TRUST LEVEL 4 MACHINE > tcp://*etr6506l3-sun76.ca.com*<http://etr6506l3-sun76.ca.com/> > TRUST LEVEL 4 MACHINE > tcp://*etr6506l3-sun66.ca.com*<http://etr6506l3-sun66.ca.com/> > TRUST LEVEL 4 MACHINE tcp://*etrhux53.ca.com* <http://etrhux53.ca.com/> > TRUST LEVEL 4 MACHINE > tcp://*etr6506l3-sun69.ca.com*<http://etr6506l3-sun69.ca.com/> > TRUST LEVEL 4 MACHINE tcp://*etrhux61.ca.com* <http://etrhux61.ca.com/> > TRUST LEVEL 4 MACHINE > tcp://*etr6506l3-aix86.ca.com*<http://etr6506l3-aix86.ca.com/> > TRUST LEVEL 4 MACHINE > tcp://*etr6506l3-sun94.ca.com*<http://etr6506l3-sun94.ca.com/> > TRUST LEVEL 4 MACHINE tcp://*etrhl09.ca.com* <http://etrhl09.ca.com/>* > TRUST LEVEL 4 MACHINE > tcp://**divso01-2k3s.ca.com*<http://divso01-2k3s.ca.com/> > The configuration in Remote > machine(*dicso01-2k3s.ca.com*<http://dicso01-2k3s.ca.com/>) > where i want to run the STAX Monitor and see the logs : > > # Turn on tracing of internal errors and deprecated options > trace enable tracepoints "error deprecated" > # Enable TCP/IP connections > #interface ssl library STAFTCP option Secure=Yes option Port=6550 > interface tcp library STAFTCP option Secure=No option Port=6500 > > # Add default service loader > serviceloader library STAFDSLS > # Add stax servcies > SERVICE STAX LIBRARY JSTAF EXECUTE C:/STAF/services/stax/stax.jar > SET MAXQUEUESIZE 10000 > > service event library JSTAF execute C:/staf/services/stax/STAFEvent.jar > MACHINENICKNAME testmachine5 > SET DATADIR C:\MyDir > SET SYSTEM VAR Test/TestABC=websphere > SET SYSTEM VAR Test/TestXYZ=150 > *TRUST LEVEL 5 MACHINE tcp://**baksa03-xp.ca.com*<http://baksa03-xp.ca.com/> > > > I do see job in the STAX Monitor running at remote machine * > divso01-2k3s.ca.com* <http://divso01-2k3s.ca.com/> > when actually the staf job is started on server machine . So we do seem to > get some information, > but not properly. > > I get the following error when i right click on job record showing and > click start monitoring(on remote clietn machine) : > > RC:25 > Error holding Job > Trust level 4 required for the STAX service's HOLD request > Requester has trust level 3 on machine > *baksa03-xp.ca.com*<http://baksa03-xp.ca.com/> > Requesting machine: > tcp://*divso01-2k3s.ca.com*<http://divso01-2k3s.ca.com/>(155.35.5.235) > Requesting user : none://anonymous > > Please do let me know if there is anything i am missing. > > Regards > Sangram > > > > > > > > > > > On Thu, Mar 18, 2010 at 6:53 PM, David Bender > <*bda...@us.ibm.com*<bda...@us.ibm.com>> > wrote: > > Yes, you can run the STAX Monitor from any number of remote machines. > After starting the STAX Monitor, click on "File" and then "Properties". In > the "Machine Info" tab, in the "STAX Machine" section you can change the > value from "local" to the hostname of the remote machine where the STAX > service is running (note that you will need to restart the STAX Monitor > after changing the STAX service machine). > > The STAX Job logs and STAX Job User logs can be accessed without using > the STAX Monitor, via the LOG service. So, if your STAX service machine was > "*stax1.austin.ibm.com* <http://stax1.austin.ibm.com/>" and you wanted > to query the logs for job ID 3, you would run the following: > > STAF *stax1.austin.ibm.com* <http://stax1.austin.ibm.com/> LOG QUERY > MACHINE {STAF/Config/MachineNickname} LOGNAME STAX_Job_3 > STAF *stax1.austin.ibm.com* <http://stax1.austin.ibm.com/> LOG QUERY > MACHINE {STAF/Config/MachineNickname} LOGNAME STAX_Job_3_User > > See the "STAX Logging" section of the STAX User's Guide for more > information: * > http://staf.sourceforge.net/current/STAX/staxug.html#Header_StaxLogging > *<http://staf.sourceforge.net/current/STAX/staxug.html#Header_StaxLogging> > > Thanks, > David > > ------------------------------ > *David > Bender*<http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=David+Bender> > STAF/STAX Development > IBM Software Group, WPLC 11501 Burnet Rd. > Bldg. 903-5B002 > Austin, TX 78758-3400 Phone (T/L): 1-512-286-5315 (363-5315) > ITN: 23635315 > Email: *bda...@us.ibm.com* <bda...@us.ibm.com> > ------------------------------ > > > [image: Inactive hide details for Sangram Bakshi ---03/18/2010 05:10:51 > AM---Also i would like to know if there is any configuration or]Sangram > Bakshi ---03/18/2010 05:10:51 AM---Also i would like to know if there is > any > configuration or command which logs the monitoring data in > > From: > Sangram Bakshi <*san...@gmail.com* <san...@gmail.com>> > To: * > **staf-us...@lists.sourceforge.net* <staf-users@lists.sourceforge.net> > Date: > 03/18/2010 05:10 AM > Subject: > Re: [staf-users] Regarding STAX Monitor. > ------------------------------ > > > > > > Also i would like to know if there is any configuration or command > which logs the monitoring data into a file into the master machine , or any > command which can be run from client machine to get the job monitoring logs > into a file . > > This information would be very helpful to me . Thanks. > > > Regards > Sangram > > On Thu, Mar 18, 2010 at 2:53 PM, Sangram Bakshi > <*san...@gmail.com*<san...@gmail.com>> > wrote: > Hi , > > In my set-up , we have a master machine from which a staf job > runs and triggers tasks on various client machine. > I am able to run stamonitor in the master machine and watch the > monitoring. > > I am required to run the stax monitor in client machine as well > and see all the monitoring job id wise . > > I would like to ask if it is possible to see the stax monitor > running in the client machine. > Also if it is not possible then what i can do to run the stax > monitor in the client machine and see the monitoring information. > > Kindly suggest. > > > Regards > Sangram > > > > > ------------------------------------------------------------------------------ > Download Intel® 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* <http://p.sf.net/sfu/intel-sw-dev> > _______________________________________________ > staf-users mailing list* > **staf-us...@lists.sourceforge.net* <staf-users@lists.sourceforge.net>* > > **https://lists.sourceforge.net/lists/listinfo/staf-users*<https://lists.sourceforge.net/lists/listinfo/staf-users> > > > > > ------------------------------------------------------------------------------ > Download Intel® 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 > >
<<ecblank.gif>>
<<graycol.gif>>
------------------------------------------------------------------------------ Download Intel® 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