Re: opennms start batch file fails on windows 7 pro (32 bit) [was 'opennms-install Digest, Vol 99, Issue 6']

"Guadiana, Jesse (SAIC)" <[email protected]> Mon, 17 Nov 2014 15:31:24 +0000
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
Mike (and all),

Hmm...  

My Win7 system's opennms file DOES have a .BAT extension; it is in the "C:\Program Files\OpenNMS\bin\" folder.  
Should I post a copy of its contents? (Assuming it is allowed...)

My "Start NMS"  icon/shortcut points to "C:\Program Files\OpenNMS\bin\opennms.bat" start
My "Stop NMS"  icon/shortcut points to "C:\Program Files\OpenNMS\bin\opennms.bat" stop

They stop and start Java, etc. and work just fine.

Just my $0.02 .

Jesse G.
Guadj0 -at- bp.com 

>Message: 3
>Date: Mon, 17 Nov 2014 10:33:36 +0000
>From: Mike Giles <[email protected]>
>Subject: [opennms-install] opennms start batch file fails on windows 7
>	pro	(32 bit)
>To: "[email protected]"
>	<[email protected]>
>Message-ID:
>	<4E8D6E766180F3459DED13738131FC8E0D0740E7@KR1.ad.KentonResearch.co.uk>
>Content-Type: text/plain; charset="us-ascii"
>
>Hi,
>I have followed the installation instructions http://www.opennms.org/wiki/Installation:Windows
>The Installation went ok apart from having to use "-version:1.7+" (java  -version:1.7+ -jar standalone-opennms-installer-14.0.0-1.jar)
>
>The Opennms file doesn't have a .bat extension so I attempted to run "start.bat" rather than "opennms.bat start"
>
>I get the following output. It looks as though there is a problem with "OpenNMS:Name=Trapd" service" ? Is there a way to fix this ?
>
>C:\Program Files\OpenNMS\bin>start.bat
>
>C:\Program Files\OpenNMS\bin>"C:\Program Files\Java\jdk1.8.0_25\bin\java"    -Xm
>x512m -XX:MaxPermSize=256m    -XX:+HeapDumpOnOutOfMemoryError    -DisThreadConte
>xtMapInheritable=true    -Dopennms.home="C:/Program Files/OpenNMS"    -Djava.end
>orsed.dirs="C:/Program Files/OpenNMS/lib/endorsed"    -Djava.io.tmpdir="C:/Progr
>am Files/OpenNMS/data/tmp"    -Dcom.sun.management.jmxremote.port=18980    -Dcom
>.sun.management.jmxremote.ssl=false    -Dcom.sun.management.jmxremote.authentica
>te=false    -jar "C:/Program Files/OpenNMS/lib/opennms_bootstrap.jar" start
>Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support wa s removed in 8.0 [DEBUG] System property 'opennms.library.jicmp' >set to 'C:/Program Files/OpenNMS /lib\jicmp.dll.  Attempting to load jicmp library from this location.
> [INFO] Successfully loaded jicmp library.
> [DEBUG] System property 'opennms.library.jicmp6' set to 'C:/Program Files/OpenNM S/lib\jicmp6.dll.  Attempting to load jicmp6 library from this >location.
> [INFO] Successfully loaded jicmp6 library.
>An error occurred while attempting to start the "OpenNMS:Name=Trapd" service (cl ass org.opennms.netmgt.trapd.jmx.Trapd).  Shutting down and >exiting.
>javax.management.RuntimeMBeanException: org.springframework.beans.factory.access
>.BootstrapException: Unable to return specified BeanFactory instance: factory ke y [trapDaemonContext], from group with resource name 
> [classpath*:beanRefContext.



 S  N  I  P 

>Many Thanks,
>Mike


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

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