[opennms-devel] OpenJDK vs java6 failure

Alex Bennee <[email protected]>
Newsgroups gmane.network.opennms.bugs
Message-ID <1213008642.26678.8.camel__19843.5231032365$1213048992$gmane$org@pitcairn.cambridgebroadband.com>
So while I'm pretty sure I've been running with OpenJDK on my installed
setup while in development mode I can't get OpenNMS to start up with the
OpenJDK JVM. If I comment out the statsd service in
service-configuration.xml it does start but without a working web-app.

------------------------------------------------------------------------------
Mon Jun  9 11:22:26 BST 2008
begin ulimit settings:
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         unlimited
stack(kbytes)        8192
coredump(blocks)     unlimited
memory(kbytes)       unlimited
locked memory(kbytes) 32
process              16312
nofiles              10240
vmemory(kbytes)      unlimited
locks                unlimited
end ulimit settings
Executing command: /export/csrc/opennms.git-svn/target/opennms-1.5.92-SNAPSHOT/bin/runjava -r  --   -Dopennms.home=/export/csrc/opennms.git-svn/target/opennms-1.5.92-SNAPSHOT -Xmx256m -jar /export/csrc/opennms.git-svn/target/opennms-1.5.92-SNAPSHOT/lib/opennms_bootstrap.jar  start  
[DEBUG] System property 'opennms.library.jicmp' set to '/usr/local/lib/libjicmp.so.  Attempting to load jicmp library from this location.
[INFO] Successfully loaded jicmp library.
An error occurred while attempting to start the "OpenNMS:Name=Statsd" service (class org.opennms.netmgt.statsd.jmx.Statsd).  Shutting down and exiting.
javax.management.RuntimeMBeanException: org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [org.opennms.netmgt.statsd.RelativeTime] for property 'relativeTime'; nested exception is java.lang.IllegalArgumentException: Unsupported value: YESTERDAY
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:877)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:890)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:859)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:795)
	at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:313)
	at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:236)
	at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:247)
	at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:127)
	at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:197)
	at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:169)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:368)
	at java.lang.Thread.run(Thread.java:636)
Caused by: org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [org.opennms.netmgt.statsd.RelativeTime] for property 'relativeTime'; nested exception is java.lang.IllegalArgumentException: Unsupported value: YESTERDAY
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:104)
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:55)
	at org.opennms.netmgt.statsd.ReportDefinitionBuilder.buildReportDefinitions(ReportDefinitionBuilder.java:83)
	at org.opennms.netmgt.statsd.Statsd.start(Statsd.java:70)
	at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.start(AbstractSpringContextJmxServiceDaemon.java:91)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111)
	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45)
	at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:226)
	at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
	at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:251)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:857)
	... 13 more
[DEBUG] System property 'opennms.library.jicmp' set to '/usr/local/lib/libjicmp.so.  Attempting to load jicmp library from this location.
[INFO] Successfully loaded jicmp library.
log4j:WARN No appenders could be found for logger (OpenNMS.Poller.org.opennms.netmgt.ping.SinglePingResponseCallback).
log4j:WARN Please initialize the log4j system properly.


-- 
Alex Bennee, Software Engineer
Chemistry professors never die, they just fail to react.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.