<?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[New reporting functionality]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Could you please tell me how to configure the reporting server feature?<br />
I'm running 1.2.16. could not find anything in the documentation (yet).</p>
<p dir="auto">Thanks,<br />
Edward</p>
]]></description><link>https://forum.netxms.org/topic/3321/new-reporting-functionality</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 15:17:51 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3321.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 Aug 2014 09:51:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to New reporting functionality on Wed, 07 Jan 2015 14:15:34 GMT]]></title><description><![CDATA[<p dir="auto">develop version v2.0 dont have this bug, so i mix some code from v2.0 to 1.2.17 for fastfix<br />
replace method<br />
private void sendFileData(final long requestId, final byte[] data)<br />
in<br />
src\java\nxreporting\src\main\java\com\radensolutions\reporting\infrastructure\impl\TcpConnector.java<br />
with</p>
<pre><code>/**
         * @param requestId
         * @param data
         * @throws IOException
         */
        private void sendFileData(final long requestId, final byte[] data) throws IOException {
            NXCPMessage msg = new NXCPMessage(NXCPCodes.CMD_FILE_DATA, requestId);
            msg.setBinaryMessage(true);
            boolean success = false;
            for (int pos = 0; pos &lt; data.length; pos += 16384) {
                int len = Math.min(16384, data.length - pos);
                msg.setBinaryData(Arrays.copyOfRange(data, pos, pos + len));
                sendMessage(msg);
                if (pos + len == data.length )
                {
                    success = true;
                    break;
                }
            }
            if (success)
            {
                msg.setEndOfFile(true);
                msg.setBinaryData(new byte[0]);
                sendMessage(msg);
            }
            else
           {
              NXCPMessage abortMessage = new NXCPMessage(NXCPCodes.CMD_ABORT_FILE_TRANSFER, requestId);
              abortMessage.setBinaryMessage(true);
              sendMessage(abortMessage);
           }
        }
</code></pre>
]]></description><link>https://forum.netxms.org/post/15638</link><guid isPermaLink="true">https://forum.netxms.org/post/15638</guid><dc:creator><![CDATA[red]]></dc:creator><pubDate>Wed, 07 Jan 2015 14:15:34 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Fri, 31 Oct 2014 20:47:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/edward.borst" aria-label="Profile: edward.borst">@<bdi>edward.borst</bdi></a> said in <a href="/post/14778">New reporting functionality</a>:</p>
<blockquote>
<p dir="auto">Hi Alex,</p>
<p dir="auto">There seems a problem in the table script with the column reportId.<br />
As I can see from the source that is is an hybernate uuid binary column I think it should be binary(16) instead of binary(255).<br />
I have tried it (recreated the table) and now it is showing up in the console.</p>
<p dir="auto">Only thing is that I can't render the results. I'm getting the following error in the nxreporting log:<br />
Exception in thread "Thread-9" java.lang.IllegalArgumentException: 32768 &gt; 16384<br />
        at java.util.Arrays.copyOfRange(Arrays.java:2549)<br />
        at com.radensolutions.reporting.infrastructure.impl.TcpConnector$SessionWorker.sendFileData(TcpConnector.java:232)<br />
        at com.radensolutions.reporting.infrastructure.impl.TcpConnector$SessionWorker.run(TcpConnector.java:174)<br />
        at java.lang.Thread.run(Thread.java:722)</p>
</blockquote>
<p dir="auto">I am getting same error after changing binary(255) to binary(16). I did not change anything else.</p>
<p dir="auto">I had a look to output directory, and saw that report has been created. I tried to open it with jaspersoft studio, it succeeded and I could export it as pdf with in jaspersoft studio. But I can't do this in netxms console.</p>
<p dir="auto">I hope, it will be corrected in ashort time.</p>
]]></description><link>https://forum.netxms.org/post/15175</link><guid isPermaLink="true">https://forum.netxms.org/post/15175</guid><dc:creator><![CDATA[mkemerci]]></dc:creator><pubDate>Fri, 31 Oct 2014 20:47:41 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Wed, 27 Aug 2014 09:03:41 GMT]]></title><description><![CDATA[<p dir="auto">Some additional info:<br />
in the nxmc log I have this info:</p>
<pre><code>!ENTRY org.netxms.ui.eclipse.console 4 0 2014-08-27 10:57:26.046
!MESSAGE Exception in ConsoleJob
!STACK 0
org.netxms.client.NXCException: Input/Output error
	at org.netxms.client.NXCSession.renderReport(NXCSession.java:7474)
	at org.netxms.ui.eclipse.reporter.widgets.ReportExecutionForm$11.runInternal(ReportExecutionForm.java:496)
	at org.netxms.ui.eclipse.jobs.ConsoleJob.run(ConsoleJob.java:85)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.netxms.ui.eclipse.reporter 4 16 2014-08-27 10:57:26.051
!MESSAGE Cannot render report IP Inventory (job ID 7c3839e0-9543-4f29-881d-ee7313b57b61): Input/Output error
</code></pre>
<p dir="auto">in my temp folder there is a file created: nxc323266819402099091data<br />
If I rename this file to .pdf I can open the report</p>
<p dir="auto">Hope this will help finding the issue.<br />
Regards,</p>
<p dir="auto">Edward</p>
]]></description><link>https://forum.netxms.org/post/14783</link><guid isPermaLink="true">https://forum.netxms.org/post/14783</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Wed, 27 Aug 2014 09:03:41 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Tue, 26 Aug 2014 14:19:59 GMT]]></title><description><![CDATA[<p dir="auto">the iligalArgumentExeption is coming from the Arrays.copyOfRange<br />
Arrays.copyOfRange should have start and end instead of position and length.<br />
After changing this to the following code this works.</p>
<pre><code>		private void sendFileData(final long requestId, final byte[] data) throws IOException
		{
			NXCPMessage msg = new NXCPMessage(NXCPCodes.CMD_FILE_DATA, requestId);
			msg.setBinaryMessage(true);

			for(int start = 0; start &lt; data.length; start += 16384)
			{
				int end = start+16384;
				if(end&gt;data.length) end=data.length;
				msg.setBinaryData(Arrays.copyOfRange(data, start, end));
				sendMessage(msg);
			}
		}
</code></pre>
<p dir="auto">After deploying it I can execute a report and the results are shown in the console.<br />
Now when rendering I do not get any error, but the console is executing the job for a very long time.<br />
After that I get the following error in the console:<br />
Cannot render report IP Inventory (job ID 5277760b-41b4-4520-ac0a-95144c78367b): Input/Output error</p>
]]></description><link>https://forum.netxms.org/post/14781</link><guid isPermaLink="true">https://forum.netxms.org/post/14781</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Tue, 26 Aug 2014 14:19:59 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Tue, 26 Aug 2014 10:13:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi Alex,</p>
<p dir="auto">There seems a problem in the table script with the column reportId.<br />
As I can see from the source that is is an hybernate uuid binary column I think it should be binary(16) instead of binary(255).<br />
I have tried it (recreated the table) and now it is showing up in the console.</p>
<p dir="auto">Only thing is that I can't render the results. I'm getting the following error in the nxreporting log:<br />
Exception in thread "Thread-9" java.lang.IllegalArgumentException: 32768 &gt; 16384<br />
        at java.util.Arrays.copyOfRange(Arrays.java:2549)<br />
        at com.radensolutions.reporting.infrastructure.impl.TcpConnector$SessionWorker.sendFileData(TcpConnector.java:232)<br />
        at com.radensolutions.reporting.infrastructure.impl.TcpConnector$SessionWorker.run(TcpConnector.java:174)<br />
        at java.lang.Thread.run(Thread.java:722)</p>
]]></description><link>https://forum.netxms.org/post/14778</link><guid isPermaLink="true">https://forum.netxms.org/post/14778</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Tue, 26 Aug 2014 10:13:08 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Mon, 25 Aug 2014 12:41:48 GMT]]></title><description><![CDATA[<p dir="auto">Thanks!</p>
<p dir="auto">I have created these tables and now I can execute a report.<br />
I see results in the tables, but I do not see anything in the console.<br />
I can add a schedule, this is shown in the console correctly.<br />
Even when using the schedule I do not see any results.<br />
Also when adding a notification to my email address I do not receive an email.<br />
I see the actions in the reporting server log as:<br />
Hibernate: insert into reporting_results (executionTime, jobId, reportId, userId) values (?, ?, ?, ?)<br />
Hibernate: select notificati0_.id as id1_0_, notificati0_.attach_format_code as attach_f2_0_, notificati0_.jobid as jobid3_0_, notificati0_.mail as mail4_0_, notificati0_.report_name as report_n5_0_ from report_notification notificati0_ where jobid=?<br />
Hibernate: select notificati0_.id as id1_0_, notificati0_.attach_format_code as attach_f2_0_, notificati0_.jobid as jobid3_0_, notificati0_.mail as mail4_0_, notificati0_.report_name as report_n5_0_ from report_notification notificati0_ where jobid=?<br />
Hibernate: select reportresu0_.id as id1_1_, reportresu0_.executionTime as executio2_1_, reportresu0_.jobId as jobId3_1_, reportresu0_.reportId as reportId4_1_, reportresu0_.userId as userId5_1_ from reporting_results reportresu0_ where reportresu0_.reportId=? order by reportresu0_.executionTime desc</p>
<p dir="auto">so it is doing something!</p>
]]></description><link>https://forum.netxms.org/post/14769</link><guid isPermaLink="true">https://forum.netxms.org/post/14769</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Mon, 25 Aug 2014 12:41:48 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Fri, 22 Aug 2014 11:05:37 GMT]]></title><description><![CDATA[<p dir="auto">Hello.</p>
<p dir="auto">I just pushed schema file into git: <a href="http://git.netxms.org/public/netxms.git/blob/develop:/src/java/nxreporting/sql/mysql/nxreporting.sql" rel="nofollow ugc">http://git.netxms.org/public/netxms.git/blob/develop:/src/java/nxreporting/sql/mysql/nxreporting.sql</a></p>
]]></description><link>https://forum.netxms.org/post/14766</link><guid isPermaLink="true">https://forum.netxms.org/post/14766</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Fri, 22 Aug 2014 11:05:37 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Thu, 21 Aug 2014 06:15:36 GMT]]></title><description><![CDATA[<p dir="auto">Any update on the missing tables?</p>
<p dir="auto">Thanks,<br />
Edward</p>
]]></description><link>https://forum.netxms.org/post/14762</link><guid isPermaLink="true">https://forum.netxms.org/post/14762</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Thu, 21 Aug 2014 06:15:36 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Tue, 19 Aug 2014 07:11:48 GMT]]></title><description><![CDATA[<p dir="auto">Much better!!</p>
<p dir="auto">the only thing is that I'm missing some tables.(reporting_results and report_notification)<br />
In the source I see the scripts for Oracle, but not for mysql.<br />
Could you please add them?<br />
maybe also include the QUARTZ scripts</p>
<p dir="auto">Regards,<br />
Edward</p>
]]></description><link>https://forum.netxms.org/post/14718</link><guid isPermaLink="true">https://forum.netxms.org/post/14718</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Tue, 19 Aug 2014 07:11:48 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Mon, 18 Aug 2014 17:29:40 GMT]]></title><description><![CDATA[<p dir="auto">Hello.</p>
<p dir="auto">For historical reasons (however I'll change that in a future), all password <strong>except</strong> quartz's, should be encrypted by nxencpasswd:</p>
<pre><code>AirAlk:~() $ nxencpasswd netxms netxms1
H02kxYckADXCpgp+8SvHuMKmCn7xK8e4wqYKfvErx7g=
</code></pre>
<p dir="auto">Sample config (login=netxms, password=netxms1):</p>
<pre><code>system.datasource.username = netxms
system.datasource.password = H02kxYckADXCpgp+8SvHuMKmCn7xK8e4wqYKfvErx7g=
report.datasource.username = netxms
report.datasource.password = H02kxYckADXCpgp+8SvHuMKmCn7xK8e4wqYKfvErx7g=
org.quartz.dataSource.myDS.user = netxms
org.quartz.dataSource.myDS.password = netxms1
</code></pre>
]]></description><link>https://forum.netxms.org/post/14715</link><guid isPermaLink="true">https://forum.netxms.org/post/14715</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Mon, 18 Aug 2014 17:29:40 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Mon, 18 Aug 2014 13:20:22 GMT]]></title><description><![CDATA[<p dir="auto">username and password are 100% correct.<br />
same username and password as netxmsd is using.<br />
Also same host.<br />
the most strange thing is that the quartz scheduler is accessing the database correct.<br />
looks like the password is not parsed corectly.<br />
is there a way to debug this?</p>
]]></description><link>https://forum.netxms.org/post/14707</link><guid isPermaLink="true">https://forum.netxms.org/post/14707</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Mon, 18 Aug 2014 13:20:22 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Mon, 18 Aug 2014 11:20:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I see lot of errors like "Access denied for user 'netxms'@'netxms01' (using password: YES)" in your log. Are you sure everything is correct with password and access control for this user?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/14703</link><guid isPermaLink="true">https://forum.netxms.org/post/14703</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 18 Aug 2014 11:20:21 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Mon, 18 Aug 2014 10:21:58 GMT]]></title><description><![CDATA[<p dir="auto">I have compiled nxreporting from source (1.2.16), Configured the datasources to use mysql.<br />
So far so good. nxreporting server is started (after creating the QUARTZ table in mysql)<br />
from the client I can see the IP inventory report, but when I click it I get mysql connect errors in the reporting console log.</p>
<p dir="auto">attached I have the log with debug switched on.</p>
<p dir="auto">nxreporting.properties is:</p>
<p dir="auto"># Workspace root. Contains deployed report definitions and output files<br />
nxreporting.workspace=./workspace</p>
<p dir="auto"># Datasource used by nxReporting itself to store job and schedule details<br />
system.datasource.driverClassName=com.mysql.jdbc.Driver<br />
system.datasource.url=jdbc:mysql://127.0.0.1/netxms<br />
system.datasource.dialect=org.hibernate.dialect.MySQLDialect<br />
system.datasource.username=netxms<br />
system.datasource.password=&lt;password&gt;</p>
<p dir="auto"># Datasource passed to Jasper Reports<br />
report.datasource.driverClassName=com.mysql.jdbc.Driver<br />
report.datasource.url=jdbc:mysql://127.0.0.1/netxms<br />
report.datasource.username=netxms<br />
report.datasource.password=&lt;password&gt;</p>
<p dir="auto">report.datasource2.driverClassName=com.mysql.jdbc.Driver<br />
report.datasource2.url=jdbc:mysql://127.0.0.1/netxms<br />
report.datasource2.username=netxms<br />
report.datasource2.password=&lt;password&gt;</p>
<p dir="auto">org.quartz.dataSource.myDS.driver = com.mysql.jdbc.Driver<br />
org.quartz.dataSource.myDS.URL = jdbc:mysql://127.0.0.1/netxms<br />
org.quartz.dataSource.myDS.user = netxms<br />
org.quartz.dataSource.myDS.password = &lt;password&gt;</p>
<p dir="auto">From Mysql I can see that it is connection, so the URL is correct.<br />
What could be the problem?</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000001945-nxreporting.output">nxreporting.output</a></p>
]]></description><link>https://forum.netxms.org/post/14701</link><guid isPermaLink="true">https://forum.netxms.org/post/14701</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Mon, 18 Aug 2014 10:21:58 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Fri, 15 Aug 2014 08:14:19 GMT]]></title><description><![CDATA[<p dir="auto">Hello.</p>
<p dir="auto">It's unfinished yet, I'll try to push complete version today.</p>
<p dir="auto">Reporting server can be downloaded <a href="https://www.netxms.org/download/nxreporting-1.2.15.zip" rel="nofollow ugc">here</a>  or built from sources (<a href="http://git.netxms.org/public/netxms.git/tree/develop:/src/java/nxreporting" rel="nofollow ugc">http://git.netxms.org/public/netxms.git/tree/develop:/src/java/nxreporting</a>). I also put sample configuration and report into archive.</p>
]]></description><link>https://forum.netxms.org/post/14688</link><guid isPermaLink="true">https://forum.netxms.org/post/14688</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Fri, 15 Aug 2014 08:14:19 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Thu, 14 Aug 2014 14:21:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I see some documentation coming!!<br />
Where can I download/build the reporting server?</p>
]]></description><link>https://forum.netxms.org/post/14682</link><guid isPermaLink="true">https://forum.netxms.org/post/14682</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Thu, 14 Aug 2014 14:21:25 GMT</pubDate></item><item><title><![CDATA[Reply to New reporting functionality on Thu, 14 Aug 2014 10:30:38 GMT]]></title><description><![CDATA[<p dir="auto">I'm actually writing this piece of documentation right now. Will be available <a href="https://www.netxms.org/documentation/adminguide/reporting.html" rel="nofollow ugc">here</a> later today.</p>
]]></description><link>https://forum.netxms.org/post/14675</link><guid isPermaLink="true">https://forum.netxms.org/post/14675</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Thu, 14 Aug 2014 10:30:38 GMT</pubDate></item></channel></rss>