Hello Michael...
I uninstalled Postgre v1.9 and installed postgres 1.8.4. Uninstalled and removed files from opennms. I cleaned the installation of both program, restart the server and started over.

This is the message I got in the in the step 9 of the installation.

<Error on installation with Postgres v1.8.4>

==============================================================================
OpenNMS Installer
==============================================================================

Configures PostgreSQL tables, users, and other miscellaneous settings.

Exception in thread "main" org.exolab.castor.xml.MarshalException: The entity name must immediately follow the '&' in the entity reference.{File: [not available]; line: 20; column: 40}
    at org.exolab.castor.xml.Unmarshaller.convertSAXExceptionToMarshalException(Unmarshaller.java:755)
    at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:721)
    at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:610)
    at org.opennms.netmgt.dao.castor.CastorUtils.unmarshal(CastorUtils.java:201)
    at org.opennms.netmgt.dao.castor.CastorUtils.unmarshal(CastorUtils.java:182)
    at org.opennms.netmgt.config.C3P0ConnectionFactory.marshalDataSourceFromConfig(C3P0ConnectionFactory.java:189)
    at org.opennms.install.Installer.install(Installer.java:178)
    at org.opennms.install.Installer.main(Installer.java:932)
Caused by: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
    at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(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.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:709)
    ... 6 more
Caused by: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
    at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(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.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:709)
    at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:610)
    at org.opennms.netmgt.dao.castor.CastorUtils.unmarshal(CastorUtils.java:201)
    at org.opennms.netmgt.dao.castor.CastorUtils.unmarshal(CastorUtils.java:182)
    at org.opennms.netmgt.config.C3P0ConnectionFactory.marshalDataSourceFromConfig(C3P0ConnectionFactory.java:189)
    at org.opennms.install.Installer.install(Installer.java:178)
    at org.opennms.install.Installer.main(Installer.java:932)

<END Error on installation with Postgres v1.8.4>

Advice step to resolve issue.

regards.


On Tue, Apr 19, 2011 at 6:36 PM, Michael Feng <michael.feng@frro.net> wrote:

Hi Jos,

 

Would you like to revert back to PostgreSQL 1.8.x instead of 1.9?

 

Delete your installation folders and give it another try.

 

From: Den Sec News [mailto:den.sec.news@gmail.com]
Sent: Wednesday, April 20, 2011 6:40 AM
To: opennms-install@lists.sourceforge.net
Subject: [opennms-install] OpenNMS Installation Error.

 

Hello everyone…

I already did a seach in Internet but I didn’t find anything that helps me to solve this issue.
I have postgresql running and I can access using pgAdmin III without problem.

I run OpenNMS version 1.8.11

I got the next error in the step 9: Processing: Setting up the Database.

Error content:

 

==============================================================================

OpenNMS Installer

==============================================================================

 

Configures PostgreSQL tables, users, and other miscellaneous settings.

 

Exception in thread "main" org.exolab.castor.xml.MarshalException: The entity name must immediately follow the '&' in the entity reference.{File: [not available]; line: 20; column: 40}

                at org.exolab.castor.xml.Unmarshaller.convertSAXExceptionToMarshalException(Unmarshaller.java:755)

                at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:721)

                at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:610)

                at org.opennms.netmgt.dao.castor.CastorUtils.unmarshal(CastorUtils.java:201)

                at org.opennms.netmgt.dao.castor.CastorUtils.unmarshal(CastorUtils.java:182)

                at org.opennms.netmgt.config.C3P0ConnectionFactory.marshalDataSourceFromConfig(C3P0ConnectionFactory.java:189)

                at org.opennms.install.Installer.install(Installer.java:178)

                at org.opennms.install.Installer.main(Installer.java:932)

Caused by: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.

                at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)

                at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)

                at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

                at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

                at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

                at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)

                at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Unknown Source)

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(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.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:709)

                ... 6 more

Caused by: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.

                at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)

                at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)

                at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

                at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

                at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

                at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)

                at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Unknown Source)

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(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.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:709)

                at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:610)

                at org.opennms.netmgt.dao.castor.CastorUtils.unmarshal(CastorUtils.java:201)

                at org.opennms.netmgt.dao.castor.CastorUtils.unmarshal(CastorUtils.java:182)

                at org.opennms.netmgt.config.C3P0ConnectionFactory.marshalDataSourceFromConfig(C3P0ConnectionFactory.java:189)

                at org.opennms.install.Installer.install(Installer.java:178)

                at org.opennms.install.Installer.main(Installer.java:932)

 

Error Content end.

 

Any idea how can I fix this error.
I have jdk 1.6.0.24, postgresql 1.9 (I already tried before with postgress 1.8.x)

 

Regards.

 

Jos.

 

 

 


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
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



--
___________________________
Jose Pena
IT Technician

Quote:
"Technology does not drive change -- it enables change."
"Unknown Source"