The OpenNMS startup script on Windows is not as robust as the shell
version on *NIX systems.  "-t" won't work with it, you'll have to do it
manually.

Try adding the following to the opennms command and see if it works:

-Xdebug -Xnoagent -Djava.compiler=none
-Xrunjdwp:transport=dt_socket,server=y,address=8001,suspend=n

On 5/17/13 10:42 AM, David S Hustace wrote:
> 
> On Apr 21, 2013, at 6:35 AM, tuvd <dinhtu.i...@gmail.com
> <mailto:dinhtu.i...@gmail.com>> wrote:
> 
>> Dear Markus Neumann
>>
>> I deployed OpenNMS on Window and ran it normally. But when I ran opennms
>> with -t parameter as your guide to turn on debug mode, I got the error as
>> below:
>>
>> /java.lang.reflect.InvocationTargetException
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:346)
>>        at java.lang.Thread.run(Thread.java:662)
>> Caused by: java.lang.NumberFormatException: For input string: "start"
>>        at
>> java.lang.NumberFormatException.forInputString(NumberFormatException.
>> java:48)
>>        at java.lang.Integer.parseInt(Integer.java:449)
>>        at java.lang.Integer.parseInt(Integer.java:499)
>>        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:136)
>>        ... 6 more/
>>
>> Please help me to find the solution for this problem.
> 
> Please post your exact command line you used to generate this message:
> 
> /David Hustace/
> /President, COO/
> /The OpenNMS Group, Inc./
> 
> 
> 
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> 
> 
> 
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
> 
> opennms-devel mailing list
> 
> To *unsubscribe* or change your subscription options, see the bottom of this 
> page:
> https://lists.sourceforge.net/lists/listinfo/opennms-devel
> 



-- 
Benjamin Reed
The OpenNMS Group
http://www.opennms.org/


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to