nv-l
[Top] [All Lists]

[nv-l] telnet with 7.1 webconsole

To: "'nv-l@lists.tivoli.com'" <nv-l@lists.tivoli.com>
Subject: [nv-l] telnet with 7.1 webconsole
From: REIBENSCHUH Alfred <alfred.reibenschuh@it-austria.com>
Date: Fri, 15 Feb 2002 12:59:18 +0100
hi!

i'm using netview 7.1 on AIX

i've created a java-telnet application which is supposed to run from
the webconsole.

i've registered it in the webconsole using the following warf:

================================================================
<WARF xmlns:xlink="http://www.w3.org/1999/xlink";>
  <Application name="webconsole">
    <Action id="telnet_to" roles="">
      <Name>Telnet</Name>
      <Mnemonic />
      <ShortDescription>Telnet to..</ShortDescription>
      <LongDescription>Telnet to Selected Node</LongDescription>
      <SelectionRule minSelected="1" maxSelected="1" expr="isNode" />
      <ActionHandler>
        <Method>
          <MethodName>de.mud.jta.TelnetClient.main</MethodName>
          <ArgList>
            <Val>
                <Var>OVwSelection1</Var>
            </Val>
            <Val>
                <String>23</String>
            </Val>
          </ArgList>
        </Method>
      </ActionHandler>
    </Action>
  </Application>
</WARF>
================================================================

the problem seams that the webconsole finds the class
(de.mud.jta.TelnetClient) 
and then tries to resolve the calling-method but cant find it:

================================================================
0    [main] INFO  com.tivoli.netview.client.NetViewClient  - entering main
1662 [main] INFO  com.tivoli.netview.client.NetViewApplet  - enter init
10335 [main] INFO  com.tivoli.netview.warf2.WARFRegistry  - creating
registry
29282 [main] ERROR com.tivoli.netview.warf2.WARFUtil  - cache error
processing content
java.lang.NoSuchMethodException: main
        at java.lang.Class.getMethod0(Native Method)
        at java.lang.Class.getMethod(Class.java:920)
        at
com.tivoli.netview.warf2.WARFVisitor.doMethodPost(WARFVisitor.java:1330)
        at
com.tivoli.netview.warf2.WARFVisitor.visitElementPost(WARFVisitor.java:627)
        at
com.tivoli.netview.xml.dom.ElementNSImpl.acceptPost(ElementNSImpl.java:39)
        at
com.tivoli.netview.xml.dom.TreeTraversal.traverse(TreeTraversal.java(Compile
d Code))
        at com.tivoli.netview.warf2.WARFUtil.process(WARFUtil.java:423)
        at com.tivoli.netview.warf2.WARFUtil.cache(WARFUtil.java:378)
        at com.tivoli.netview.warf2.WARFUtil.getWidget(WARFUtil.java:281)
        at com.tivoli.netview.warf2.WARFUtil.getWidget(WARFUtil.java:250)
        at
com.tivoli.netview.client.NetViewApplet.addWARFMenu(NetViewApplet.java:1172)
        at
com.tivoli.netview.client.NetViewApplet.createJMenuBar(NetViewApplet.java:13
39)
        at
com.tivoli.netview.client.NetViewApplet.init(NetViewApplet.java:605)
        at com.tivoli.netview.client.AppletFrame.run(AppletFrame.java:225)
        at
com.tivoli.netview.client.AppletFrame.<init>(AppletFrame.java:154)
        at
com.tivoli.netview.client.AppletFrame.<init>(AppletFrame.java:105)
        at
com.tivoli.netview.client.NetViewClient.main(NetViewClient.java:324)
29392 [main] ERROR com.tivoli.netview.client.NetViewApplet  - init
com.tivoli.netview.warf2.WARFException: process error
        at com.tivoli.netview.warf2.WARFUtil.cache(WARFUtil.java:382)
        at com.tivoli.netview.warf2.WARFUtil.getWidget(WARFUtil.java:281)
        at com.tivoli.netview.warf2.WARFUtil.getWidget(WARFUtil.java:250)
        at
com.tivoli.netview.client.NetViewApplet.addWARFMenu(NetViewApplet.java:1172)
        at
com.tivoli.netview.client.NetViewApplet.createJMenuBar(NetViewApplet.java:13
39)
        at
com.tivoli.netview.client.NetViewApplet.init(NetViewApplet.java:605)
        at com.tivoli.netview.client.AppletFrame.run(AppletFrame.java:225)
        at
com.tivoli.netview.client.AppletFrame.<init>(AppletFrame.java:154)
        at
com.tivoli.netview.client.AppletFrame.<init>(AppletFrame.java:105)
        at
com.tivoli.netview.client.NetViewClient.main(NetViewClient.java:324)
29482 [main] INFO  com.tivoli.netview.client.NetViewApplet  - exit init
29482 [main] INFO  com.tivoli.netview.client.NetViewApplet  - enter start
29482 [main] INFO  com.tivoli.netview.client.NetViewApplet  - exit start
29492 [NetViewApplet.start] INFO  com.tivoli.netview.client.NetViewApplet  -
enter run
29652 [NetViewApplet.start] INFO  com.tivoli.netview.client.NetViewApplet  -
exit run
================================================================

i used jdk on windows to compile the class.

can someone tell me whats wrong ?

mfG. Alfred Reibenschuh
INFORMATIONSTECHNOLOGIE AUSTRIA GMBH
TELEKOMMUNIKATION
Network-Management
A-1020 Wien, Lassallestrasse 5
T: ++43-1-21717-58947
F: ++43-1-21717-58979
E: alfred.reibenschuh@it-austria.com 

<Prev in Thread] Current Thread [Next in Thread>
  • [nv-l] telnet with 7.1 webconsole, REIBENSCHUH Alfred <=

Archive operated by Skills 1st Ltd

See also: The NetView Web