<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Формирование отчетов с Jaspersoft]]></title><description><![CDATA[<p dir="auto">Доброго дня.<br />
Как сейчас работает создание отчетов? В мануале упоминается Jaspersoft, как и по форуму встречается описание как эти отчеты создавать. Я сформировал jar, включил в настройках сервера отчеты, но сервер не опознает подсунутый файл - во вкладке отчетов все так и остается пустым. Превью из макета Jaspersoft при этом с базы инфу нормально собирает<br />
В какую сторону смотреть? -_-</p>
<p dir="auto">NetXMS Server Version 6.1.0 Build 6.1-421-gc4223f97d4<br />
NXCP: 5.62.1.55 (AES-256, 3DES, AES-128)<br />
Built with: g++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000007082-WAN_INT_Landscape.jrxml">WAN_INT_Landscape.jrxml</a></p>
<p dir="auto"><a href="/assets/uploads/files/smf/0000000007083-WAN-int-1.0.1.jar">WAN-int-1.0.1.jar</a></p>
]]></description><link>https://forum.netxms.org/topic/8373/формирование-отчетов-с-jaspersoft</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:26:09 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/8373.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Apr 2026 01:43:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Формирование отчетов с Jaspersoft on Wed, 20 May 2026 11:22:02 GMT]]></title><description><![CDATA[<p dir="auto">О как, понял. Да, я ставил крайнюю версию jaspersoft studio - если не ошибаюсь, что-то в духе 7.0+<br />
Переделаю, отпишусь, спасибо!</p>
]]></description><link>https://forum.netxms.org/post/35466</link><guid isPermaLink="true">https://forum.netxms.org/post/35466</guid><dc:creator><![CDATA[Argonauts]]></dc:creator><pubDate>Wed, 20 May 2026 11:22:02 GMT</pubDate></item><item><title><![CDATA[Reply to Формирование отчетов с Jaspersoft on Mon, 18 May 2026 13:36:52 GMT]]></title><description><![CDATA[<p dir="auto">Даб там в логе Cannot compile report /var/lib/netxms/nxreportd/definitions/WAN-int-1.0.1/main.jrxml<br />
 net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 232; cvc-complex-type.3.2.2: Attribute 'uuid' is not allowed to appear in element 'jasperReport'.</p>
<p dir="auto">Так что да, директория создалась, но скомпилироваться он не смог и поэтому его и в списке нет.</p>
<p dir="auto">Я забыл упомянть выше, что нужна версия Jasper Studio 6.20.5 или младше. Тут похоже что версия более новая.</p>
<p dir="auto">Я в принципе у claude такие вещи спрашиваю, вот его ответ по этой ошбике:<br />
The error is a JRXML schema validation failure: the bundled JasperReports library in nxreportd is validating against an XSD that does<br />
   not allow uuid on the root &lt;jasperReport&gt; element. This usually means the JRXML was produced by a Jaspersoft Studio newer than the<br />
  JR runtime on the reporting server.</p>
<p dir="auto">  A couple of options to unblock the deploy:</p>
<p dir="auto">  1. Quick fix — open main.jrxml and delete the uuid="…" attribute from the &lt;jasperReport …&gt; root tag, then rebuild. If validation then<br />
   complains about uuid on a nested element (e.g. &lt;band&gt;, &lt;textField&gt;), strip those too. A one-shot scrub:<br />
  sed -i 's/ uuid="[^"]*"//g' src/main/resources/main.jrxml<br />
  2. Real fix — design the report in a Jaspersoft Studio version aligned with the JR library shipped with this NetXMS server. The two<br />
  sample JRXMLs in this repo are produced with Jaspersoft Studio 6.16/6.19 (JasperReports Library 6.x), and they're known to deploy.<br />
  Anything noticeably newer (7.x / 9.x) will emit XML features the server's older XSD rejects.</p>
<p dir="auto">  For context: the samples in this repo (users/src/main/resources/main.jrxml and user-input/src/main/resources/main.jrxml) do carry<br />
  uuid on &lt;jasperReport&gt; and deploy fine, so the user's server is matched to a stricter/older XSD than the one the samples were<br />
  validated against — confirming the version-mismatch diagnosis. Designing with Studio 6.16–6.19 is the safest path.</p>
]]></description><link>https://forum.netxms.org/post/35456</link><guid isPermaLink="true">https://forum.netxms.org/post/35456</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 18 May 2026 13:36:52 GMT</pubDate></item><item><title><![CDATA[Reply to Формирование отчетов с Jaspersoft on Tue, 05 May 2026 02:53:26 GMT]]></title><description><![CDATA[<p dir="auto">Адрес репортинг сервера дефолтный 127.0.0.1<br />
users-1.0.0 в ui подтянулся и выполняется. В definitions кстати папки отчетов, что я туда складывал так же имеются, хоть и самих отчетов в ui нет. Получается сами отчеты косячно составлены\скомпилированы.. Можете подсказать ресурс, где была бы инфа как их нормально составлять? Статья, мб видеоурок какой-то<br />
Лог от nxreportd прикрепил, там момент его попытки запуска отчета из первого сообщения</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000007106-WAN-int_log.txt">WAN-int_log.txt</a></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000007107-Screenshot_2026-05-05_104523.png" alt="Screenshot 2026-05-05 104523.png" class="img-markdown  img-fluid" width="599" height="197" /></p>
]]></description><link>https://forum.netxms.org/post/35409</link><guid isPermaLink="true">https://forum.netxms.org/post/35409</guid><dc:creator><![CDATA[Argonauts]]></dc:creator><pubDate>Tue, 05 May 2026 02:53:26 GMT</pubDate></item><item><title><![CDATA[Reply to Формирование отчетов с Jaspersoft on Tue, 28 Apr 2026 11:11:43 GMT]]></title><description><![CDATA[<p dir="auto">В приложении тестовый отчет (он есть на гитхабе: <a href="https://github.com/netxms/sample-report" rel="nofollow ugc">https://github.com/netxms/sample-report</a>, там есть чуток инфы в readme). На Линуксе его надо положить в директорию /var/lib/netxms/nxreportd/definitions, репортинг сервер его должен подцепить - это проявится тем что там должна появится директория users-1.0.0.</p>
<p dir="auto">В настройках сервера адрес репортинг сервера нужно написать именно в IPv4 виде - 127.0.0.1, потому что localhost может раскрывать в IPv6, а репортинг его не умел.</p>
<p dir="auto">Если не хочет работать, покажите лог репортинга<br />
journalctl -u netxms-reporting.service</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000007084-users-1.0.0.jar">users-1.0.0.jar</a></p>
]]></description><link>https://forum.netxms.org/post/35382</link><guid isPermaLink="true">https://forum.netxms.org/post/35382</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 28 Apr 2026 11:11:43 GMT</pubDate></item></channel></rss>