Upgrade issue or just a BUG?

"Aleksiev, Aleksandar (GE Capital)" <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <2CA2F4EC8BA0D849AB507B4D778A140B0418ED07@CINMLVEM20.e2k.ad.ge.com>
Hello colleagues,

There are some initial information and it could be helpful to share it before to describe why I suspect a bug...

I have a well working v1.6.5 OpenNMS installation with PostgreSQL 8.3 on a Windows 2K8. It worked fine for more than 2 years (~500 nodes, ~1100 prod interfaces).

The upgrade moment came for both DB and ONMS - so, the DB and the configs from ONMS/etc were backed up and I proceed with the DB upgrade (to 9.0.3) and the ONMS (to 1.8.10)
The DB restore, the ONMS reconfiguration and the RRD info moving (ONMS/share) were fine and it was a little miracle when everything start to work from the first try :)

After some tests (without any reporting included) I left ONMS to work for several hours. There were some notifications, some outage window changes, in meanwhile, but everything was fine, stable and obviously faster.

Then I decided to make some more tests and when I tried to create an Online Database Report, the bellow mentioned (in the jetty.log section) error came, Looking on the "PermGen space" message, I decided to increase both the garbage collector and the Java VM memory. I did it in both ways:
 - see the opennms.conf section (1 GB for any)
 - see the OpenNMS start command section (1.5 GB for the Java VM heap)

In a result some of the CSV reports were functional for a while, but finally any online database report test creates the same error.

Now the question: Is that a BUG or I'm missing something (the DB version is not supported, some additional configuration have to be done etc.)?

Thank you in advance for your opinion and advises,

Alex

==== jetty.log ====
2011-03-12 02:52:39,955 ERROR [17887240@qtp-24317307-20] log: /opennms/report/database/onlineReport.htm
java.lang.OutOfMemoryError: PermGen space
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at org.apache.commons.beanutils.MethodUtils.getMatchingAccessibleMethod(MethodUtils.java:535)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:209)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:217)
at org.apache.commons.digester.Rule.end(Rule.java:253)
at org.apache.commons.digester.Digester.endElement(Digester.java:1222)
at net.sf.jasperreports.engine.xml.JRXmlDigester.endElement(JRXmlDigester.java:183)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1745)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:241)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:228)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:216)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:170)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:154)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:146)
at org.opennms.reporting.jasperreports.svclayer.JasperReportService.getParameters(JasperReportService.java:128)
at org.opennms.reporting.core.svclayer.support.DefaultReportWrapperService.getParameters(DefaultReportWrapperService.java:132)
at org.opennms.web.controller.OnlineReportController.formBackingObject(OnlineReportController.java:83)
at org.springframework.web.servlet.mvc.AbstractFormController.getErrorsForNewForm(AbstractFormController.java:361)
at org.springframework.web.servlet.mvc.AbstractFormController.showNewForm(AbstractFormController.java:341)


==== opennms.conf ====
ADDITIONAL_MANAGER_OPTIONS="-XX:MaxPermSize=1024m"
JAVA_HEAP_SIZE=1024


==== Start command ====
"C:\Windows\system32\java.exe" -Xmx1536m ...

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.