From: Dominik K. <dk...@in...> - 2010-01-28 15:12:57
|
Schmidt Patrick wrote: > Im trying to monitor a windows service with Win32ServiceMonitor. This > works fine for nearly every windows service, but if the display-name of > the service is too long it fails. > > > > Example of service which works: > > > > <monitor service="EASY Portal-Manager" > class-name="org.opennms.netmgt.poller.monitors.Win32ServiceMonitor"/> > > > > Example of a service which does not work: > > > > <monitor service="EASY for mySAP HTTP-Content-Server" > class-name="org.opennms.netmgt.poller.monitors.Win32ServiceMonitor"/> > > > > In the /opt/opennms/logs/daemon/output.log I get the following > error-message: > > > > org.springframework.dao.DataIntegrityViolationException: > ConnectionCallback; SQL []; FEHLER: Wert zu lang f?r Typ character > varying(32); nested exception is org.postgresql.util.PSQLException: > FEHLER: Wert zu lang f?r Typ character varying(32) > > > > Which means in english: “Error: Value to long for type character > varying(32)…………” Try to change the column definition to be longer than 32 chars? If that works, submit a patch. Regards Dominik > > > The error is occuring while restarting the opennms-service. > > > > Does anyone getting the same error or maybe got a solution for this? > > > > Cheers, > > > > Patrick > > > > > > > > ____________________________________________________________________________________________________________ > Amtsgericht Wittlich GnR 30261 > > Vorstand: Manfred Graff, Alphonse Ferber, Patrick Krings, Ignaz Hontheim, Ludwig Jung, Karl-Heinz Steffens, Rainer Sievers > Vorsitzender des Aufsichtsrates: Klaus Land > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > > > ------------------------------------------------------------------------ > > _______________________________________________ > Please read the OpenNMS Mailing List FAQ: > http://www.opennms.org/index.php/Mailing_List_FAQ > > opennms-discuss mailing list > > To *unsubscribe* or change your subscription options, see the bottom of this page: > https://lists.sourceforge.net/lists/listinfo/opennms-discuss -- IN-telegence GmbH & Co. KG Oskar-Jäger-Str. 125 50825 Köln Registergericht Köln - HRA 14064, USt-ID Nr. DE 194 156 373 ph Gesellschafter: komware Unternehmensverwaltungsgesellschaft mbH, Registergericht Köln - HRB 38396 Geschäftsführende Gesellschafter: Christian Plätke und Holger Jansen |