Quantcast
Channel: WebSphere Blog by Steve Robinson » Error
Viewing all articles
Browse latest Browse all 10

ADMF0003E: Invalid parameter value

$
0
0

I was coding a jython class to alter some JVM params and I had the following error:

D:\was8dev\bin>wsadmin.bat -f d:\scripts\websphere\jvm.py -lang jython -username wasadmin -password
WASX7209I: Connected to process "server1" on node node01 using SOAP connector;  The type of process

*** Loading Class JVMModifier...
*** Completed Loading Class JVMModifier
METHOD: verboseModeClass
JVMModifier - Modifying attributes: [-nodeName Node01 -serverName server1 -verboseModeClass false]
WASX7017E: Exception received while running file "d:\scripts\websphere\jvm.py"; exception informatio
.management.cmdframework.InvalidParameterValueException: ADMF0003E: Invalid parameter value server1
Name for command setJVMProperties.

Reason, well it was quite simple the name I had passed as the node name was “Node01″ instead of “node01″ all about case. But the error was very misleading as I was passing a nodeName variable and a serverName variable and the code was reporting to me the wrong parameter. I guess it got confused about how to display the appropriate param error. Well I thought I would add the error and my solution to help those jython enthusiasts trying to tame WAS.
Result:

*** Loading Class JVMModifier...
*** Completed Loading Class JVMModifier
METHOD: verboseModeClass
JVMModifier - Modifying attributes: [-nodeName node01 -serverName server1 -verboseModeClass false]
JVMModifier - Saving configuration after setting new attributes to JVM (node01:server1)
JVMModifier - COMPLETED SUCCESSFULLY


Viewing all articles
Browse latest Browse all 10

Trending Articles