Hello all
I'm trying to start the Netview Web Console v. 7.1.4 fixpack 3 on Windows
XP SP2, with the following command:
C:\Program Files\Tivoli Systems\Tivoli NetView Web
Console\lib>..\jre\bin\java -jar netview.jar --host NVSERVERNAME --port
8080 --scripturl /netview/scripts/submapexplorer.js --targetnode NODENAME
After I enter my username and password, it shows the desired node, as I
would expect it to.
So, Tivoli Netview Web Console works, it you use it normally. i just want
to automate the opening of Netview.
But if I add the parameter "--stdin" after the command, in order to submit
username and password via keyboard before the screen loads, I just get a
grey screen.
If I enter the correct username and password, nothing happens. If I enter
wrong username and password, it prompts me to enter the rigtht ones, and
logs in succesfully.
A dump of the error messages, after setting 4jlog to "ALL":
-----------------------------------------------------------
C:\Program Files\Tivoli Systems\Tivoli NetView Web
Console\lib>..\jre\bin\java -jar netview.jar --host NVSERVERNAME --port
8080 --scripturl /netview/s
cripts/submapexplorer.js --targetnode NODENAME --stdin
Output:
2005-08-29 13:23:19,301 [main] INFO
com.tivoli.netview.client.NetViewClient -entering main
username
password
2005-08-29 13:23:30,177 [main] INFO
com.tivoli.netview.client.NetViewApplet -enter init
2005-08-29 13:23:32,115 [main] ERROR
com.tivoli.netview.client.NetViewApplet -init
java.lang.NullPointerException
at
com.tivoli.netview.client.NetViewApplet.init(NetViewApplet.java:712)
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:347)
2005-08-29 13:23:32,130 [main] INFO
com.tivoli.netview.client.NetViewApplet -exit init
2005-08-29 13:23:32,130 [main] INFO
com.tivoli.netview.client.NetViewApplet -enter start
2005-08-29 13:23:32,130 [main] INFO
com.tivoli.netview.client.NetViewApplet -exit start
2005-08-29 13:23:32,209 [NetViewApplet.start] INFO
com.tivoli.netview.client.NetViewApplet - enter run
2005-08-29 13:23:32,521 [NetViewApplet.start] ERROR
com.tivoli.netview.client.NetViewApplet - run
java.lang.NullPointerException
at
com.tivoli.netview.client.NetViewApplet.execScript(NetViewApplet.java:1200)
at
com.tivoli.netview.client.NetViewApplet.runScript(NetViewApplet.java:1093)
at
com.tivoli.netview.client.NetViewApplet.run(NetViewApplet.java:1005)
at java.lang.Thread.run(Thread.java:513)
2005-08-29 13:23:32,599 [NetViewApplet.start] INFO
com.tivoli.netview.client.NetViewApplet - exit run
-----------------------------------------------------------
The window comes up with a title: Tivoli netview -- SuperUser:Unrestricted
-- NVSERVERNAME:8080
Is this a bug, or does someone have an idea of how to get it working?
..\jre\bin\java -version gives:
--------------------------------------
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
Classic VM (build 1.3.1, J2RE 1.3.1 IBM Windows 32 build cn131-20030329
(JIT enabled: jitc))
--------------------------------------
Hope you can help!
Best regards / Med venlig hilsen
Claus Nielsen
System Management Specialist
**************************************
IBM
Bytoften 1, DK-8240 Risskov, Denmark
e-mail: cne@dk.ibm.com
|