[SNMP4J] SNMP4J Tool: -X option falsely interpreted as JVM arg
Frank Fock
fock at agentpp.com
Sat Feb 25 11:13:28 CET 2006
Hi Tejo,
You can use the undocumented (I will document it
for the next release - sorry) option "-P" instead of
"-X" - both are equivalent.
Best regards,
Frank
Tejo Vamsi Prayaga wrote:
> Hi Frank, All
>
> For the SNMP4J tool executable, -X option is used to specify the privacy password.
> When I try to use it the JVM is interpreting it as one of it's arguments, instead
> of application arguments and complains that the option is not supported.
> The backslashing tehcnique did not work either. How to go about it.
>
> There must be a simple trick to get rid of this. Anyone aware of this, please
> let me know.
>
> Thanks for your time.
>
> Tejo
>
> Here is the output of the command. The tool is run on Windows using Java 1.5.0.6
>
> C:\SNMP4J\snmp4j_tool-v1.6d\snmp4j_tool>SNMP4J.exe -v 3 -p GET -u TEJOPCV3 -a MD5 -A TEJOPCV3 -x DES -X TEJOPCV3 192.168.10.1 1.3.6.1.2.1.1.1.0
> -Xmixed mixed mode execution (default)
> -Xint interpreted mode execution only
> -Xbootclasspath:<directories and zip/jar files separated by ;>
> set search path for bootstrap classes and resources
> -Xbootclasspath/a:<directories and zip/jar files separated by ;>
> append to end of bootstrap class path
> -Xbootclasspath/p:<directories and zip/jar files separated by ;>
> prepend in front of bootstrap class path
> -Xnoclassgc disable class garbage collection
> -Xincgc enable incremental garbage collection
> -Xloggc:<file> log GC status to a file with time stamps
> -Xbatch disable background compilation
> -Xms<size> set initial Java heap size
> -Xmx<size> set maximum Java heap size
> -Xss<size> set java thread stack size
> -Xprof output cpu profiling data
> -Xfuture enable strictest checks, anticipating future default
> -Xrs reduce use of OS signals by Java/VM (see documentation)
> -Xcheck:jni perform additional checks for JNI functions
> -Xshare:off do not attempt to use shared class data
> -Xshare:auto use shared class data if possible (default)
> -Xshare:on require using shared class data, otherwise fail.
>
> The -X options are non-standard and subject to change without notice.
>
> C:\SNMP4J\snmp4j_tool-v1.6d\snmp4j_tool>
>
>
>
> ---------------------------------
> Yahoo! Mail
> Bring photos to life! New PhotoMail makes sharing a breeze.
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list