<?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[Reporting server not starting]]></title><description><![CDATA[<p dir="auto">Hello all,<br />
could you kindly help me with understanding on why Reporting Server is not starting on my server ...</p>
<p dir="auto">Configuration:</p>
<blockquote>
<p dir="auto">Linux server:  cat /etc/redhat-release<br />
Red Hat Enterprise Linux Server release 7.1 (Maipo)</p>
</blockquote>
<p dir="auto">NetXMS version 2.0.4 compiled with next configuration:</p>
<blockquote>
<p dir="auto">CPPFLAGS=-I/usr/include/oracle/11.2/client64/ LDFLAGS=-L/usr/lib/oracle/11.2/client64/lib ./configure --with-agent --with-oracle --with-mysql --with-client --with-server --enable-unicode -prefix=/usr/local/netxms --exec-prefix=/usr/local/netxms --disable-ldap --disable-ipv6</p>
</blockquote>
<p dir="auto">/etc/netxmsd.conf</p>
<blockquote>
<p dir="auto">LogFile = /usr/local/netxms/log/netxms.log<br />
#DBDriver = sqlite.ddr<br />
#DBName = /usr/local/netxms/database/netxms_db<br />
DBDriver = mysql.ddr<br />
DBServer = localhost<br />
DBName = &lt;DBNAME_HIDDEN&gt;<br />
DBUser = netxms<br />
DBPassword = &lt;PWD_HIDDEN&gt;<br />
LogFailedSQLQueries = yes<br />
EnableReportingServer = 1<br />
ReportingServerPort = 4710<br />
ReportingServerHostname = localhost</p>
</blockquote>
<p dir="auto">I have 2 issues:</p>
<ol>
<li>When I'm enabling Reporting Server and restarting netxms server, port is still not listened:</li>
</ol>
<blockquote>
<p dir="auto">/usr/local/netxms/bin/nxdbmgr set EnableReportingServer 1<br />
/etc/init.d/netxmsd stop<br />
/etc/init.d/netxmsd start<br />
netstat -an | grep 4710<br />
<strong>NOTHING</strong></p>
</blockquote>
<ol start="2">
<li>When I'm trying to start netxms-reporting-server, some errors thrown on the screen which I'm not able to overcome:<br />
conf/nxreporting.xml</li>
</ol>
<blockquote>
<p dir="auto">&lt;config&gt;<br />
  &lt;workspace&gt;/usr/local/netxms/reporting/workspace&lt;/workspace&gt;<br />
    &lt;netxmsdConfig&gt;/etc/netxmsd.conf&lt;/netxmsdConfig&gt;<br />
&lt;/config&gt;</p>
</blockquote>
<p dir="auto">Starting server:<br />
java -jar ./reporting-server-2.0.4.jar</p>
<blockquote>
<p dir="auto">...........<br />
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.NullPointerException<br />
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)<br />
        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)<br />
        ... 40 more<br />
Caused by: java.lang.NullPointerException<br />
        at com.radensolutions.reporting.dao.DaoContextConfig.dataSource(DaoContextConfig.java:42)<br />
        at com.radensolutions.reporting.dao.DaoContextConfig$$EnhancerBySpringCGLIB$$28d50b10.CGLIB$dataSource$1(&lt;generated&gt;)<br />
........</p>
</blockquote>
<p dir="auto">I also tried with another command:<br />
java -cp /usr/local/netxms/reporting/lib/\*.jar:/usr/local/netxms/reporting/conf:/usr/local/netxms/reporting/reporting-server-2.0.4.jar com.radensolutions.reporting.Launcher</p>
<p dir="auto">But results are still the same. I tried to read all the articles posted on this forum but was not able to find such issue.</p>
]]></description><link>https://forum.netxms.org/topic/4558/reporting-server-not-starting</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:47:34 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4558.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 26 Jun 2016 17:59:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Reporting server not starting on Wed, 29 Jun 2016 06:01:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi radw,<br />
thanks for ideas. But of course I executed it as root with proper environment variables and rights.</p>
]]></description><link>https://forum.netxms.org/post/20279</link><guid isPermaLink="true">https://forum.netxms.org/post/20279</guid><dc:creator><![CDATA[Vladimir Iosifo]]></dc:creator><pubDate>Wed, 29 Jun 2016 06:01:02 GMT</pubDate></item><item><title><![CDATA[Reply to Reporting server not starting on Tue, 28 Jun 2016 16:36:43 GMT]]></title><description><![CDATA[<p dir="auto">Hello, you need to start the Reporting Server as "sudo", otherwise, the reporting server not answer.</p>
<p dir="auto">Regards.</p>
]]></description><link>https://forum.netxms.org/post/20277</link><guid isPermaLink="true">https://forum.netxms.org/post/20277</guid><dc:creator><![CDATA[radw]]></dc:creator><pubDate>Tue, 28 Jun 2016 16:36:43 GMT</pubDate></item></channel></rss>