Hi, I don't have problems building OpenNMS debs and running them on my machine. However the cycle is a little inefficient so I'm trying to get running in place working but I'm seeing problems starting the web-app.
The log failure look like this: 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/lib/jni/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=JettyServer" service (class org.opennms.netmgt.jetty.jmx.JettyServer). Shutting down and exiting. javax.management.RuntimeMBeanException: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [jettyServerContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jettyServerContext' defined in URL [jar:file:/export/csrc/opennms.git-svn/target/opennms-1.5.92-SNAPSHOT/lib/opennms-jetty-1.5.92-SNAPSHOT.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemon' defined in class path resource [META-INF/opennms/applicationContext-jettyServer.xml]: Invocation of init method failed; nested exception is java.lang.Error: This version of SLF4J requires log4j version 1.2.12 or later. See also http://www.slf4j.org/codes.html#log4j_version 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) However I'm unfamiliar with Java so I'm not sure what to make of it. Is it just complaining it can't see the jetty libraries? I built by doing: [opennms.git-svn] >pwd /export/csrc/opennms.git-svn [opennms.git-svn] >./build.sh install assembly:directory-inline And then setup with the following: [opennms-1.5.92-SNAPSHOT] >pwd /export/csrc/opennms.git-svn/target/opennms-1.5.92-SNAPSHOT [opennms-1.5.92-SNAPSHOT] >chmod +x bin/* [opennms-1.5.92-SNAPSHOT] >touch etc/configured [opennms-1.5.92-SNAPSHOT] >./bin/runjava -s [opennms-1.5.92-SNAPSHOT] >sudo ./bin/opennms start At which point it fails. I wasn't sure about the "touch etc/configured" but the etc directory is populated and should be set up for default working behaviour. Am I doing it wrong? I'm kinda learning Java'isms as I go along here :-) -- Alex Bennee, Software Engineer "The subspace _W inherits the other 8 properties of _V. And there aren't even any property taxes." -- J. MacKay, Mathematics 134b ------------------------------------------------------------------------- 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
