I think you need to put the -t option before the "start" command:
service opennms -t start If you put it at the end, you will get that exception. -- Seth On 4/21/13 6:35 AM, tuvd 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. > > Thank you so much! > > > > -- > View this message in context: > http://opennms.530661.n2.nabble.com/How-to-start-OpenNMS-in-debug-mode-tp7580603p7583154.html > Sent from the OpenNMS - devel mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > 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 ------------------------------------------------------------------------------ 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