There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • OpenNMS / Mailing Lists
    via by Unknown author,
    • org.xml.sax.SAXException: Parsing Error : The element type "event-script" must be terminated by the matching end-tag "</event-script>". You're missing the closing </event-script> tag. ________________________________ From: opennms-discuss-bounces@... [mailto:opennms-discuss-bounces@...] On Behalf Of Bruno Vieira Sent: Thursday, November 08, 2007 6:48 AM To: General OpenNMS Discussion Subject: Re: [opennms-discuss] Categories on discovery Hi Will. Thank you for the input. I've been trying to do what you said, to use the scriptd-configuration.xml and add some logic for the discovered nodes but without success. Bellow you can see my scriptd-configuration.xml : <?xml version=3D"1.0"?> <scriptd-configuration> <engine language=3D"beanshell" className=3D"bsh.util.BeanShellBSFEngine" extensions=3D"bsh"/> <start-script language=3D"beanshell"> import org.opennms.protocols.snmp.SnmpPduTrap; import; import ; log =3D bsf.lookupBean("log"); snmpTrapHelper =3D new org.opennms.netmgt.scriptd.helper.SnmpTrapHelper(); </start-script> <stop-script language=3D"beanshell">=20 snmpTrapHelper.stop(); log.debug("executing a stop script"); </stop-script> <event-script language=3D"beanshell"> event =3D bsf.lookupBean("event"); if ((event.uei.equals("
    • odes
    • odeAdded")) { log.debug("MYDEBUG - Event nodeAdded.");=20 } </scriptd-configuration> I think that this file is correct but I always get the following error: Starting OpenNMS: Started OpenNMS, but it stopped running: check output.log output.log: Executing command: /opt/opennms/bin/runjava -r -- -Dopennms.home=3D/opt/opennms -Xmx512m -jar /opt/opennms/lib/opennms_bootstrap.jar start=20 =20 Caused by: An error occurred while attempting to start the "OpenNMS:Name=3DScriptd" service (class org.opennms.netmgt.scriptd.jmx.Scriptd). S hutting down and exiting. : RuntimeException thrown in operation init at com.sun.jmx.mbeanserver.StandardMetaDataImpl.wrapRuntimeException(Standa at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke( at com.sun.jmx.mbeanserver.MetaDataImpl.invoke( at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBea :815) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke( at org.opennms.netmgt.vmmgr.Invoker.invoke( at org.opennms.netmgt.vmmgr.Invoker.invokeMethods( at org.opennms.netmgt.vmmgr.Starter.start(
    No Bugmate found.