Opennms build & running problem !!!

2 messages Options
Embed this post
Permalink
Nick Clinger

Opennms build & running problem !!!

Reply Threaded More More options
Print post
Permalink
(This post was updated on )
Hello All,

I am trying to build & run the opennms since 10 days with out success. Please let me know the mistake in the following procedure. Build with cygwin & steps as follows

Software: OS Windows XP, Java 1.6.0_14, Maven 2.0, Tomcat 5.5, PostgreSQL 8.3

1) Create a Database in PostgreSQL_Root\data
2) Add PL/PGSQL Language
    As per link http://www.opennms.org/wiki/Installation:Windows
3) svn co https://opennms.svn.sourceforge.net/svnroot/opennms/opennms/trunk eclipse
4) ./build.bat install assembly:directory-inline
5) chmod +x <opennms.home>/bin/*
6) chmod +x <opennms.home>/contrib/*
7) chmod -x <opennms.home>/contrib/*.README
8) chmod -x <opennms.home>/contrib/opennms.mib
9) <opennms.home>/bin/runjava -S <JVM directory>/bin/java

Above all statements are working fine with out any problem &  created folder null\target\opennms-1.7.5-SNAPSHOT in eclipse directory. Then my next step is

10) <opennms.home>/bin/install –disU

as per the link http://www.opennms.org/index.php/Building_OpenNMS

For this statement the build failed with the following error. Please let me know what could be the problem?
And my pg_hba.conf as follows

# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
local all all trust
host all all 192.168.3.153 255.255.255.0 trust

and in postgresql.conf

listen_addresses = '*' # what IP address(es) to listen on;



==============================================================================
OpenNMS Installer Version $Id: Installer.java 13609 2009-06-07 00:59:50Z rangerr
ick $
==============================================================================

Configures PostgreSQL tables, users, and other miscellaneous settings.

WARNING: unable to load ${root.dir}/target/opennms-1.7.5-SNAPSHOT/etc\opennms.pr
operties
Exception in thread "main" java.lang.Exception: property "importer.requisition.d
ir" not set from bundled installer.properties file
        at org.opennms.install.Installer.fetchProperty(Installer.java:424)
        at org.opennms.install.Installer.loadProperties(Installer.java:406)
        at org.opennms.install.Installer.install(Installer.java:152)
        at org.opennms.install.Installer.main(Installer.java:858)


Thanks,:|

Nick Clinger

Re: Opennms build & running problem !!!

Reply Threaded More More options
Print post
Permalink
Hello All,

Any one can help to resolve this problem! :(

Thanks

Nick Clinger wrote:
Hello All,

I am trying to build & run the opennms since 10 days with out success. Please let me know the mistake in the following procedure. Build with cygwin & steps as follows

Software: OS Windows XP, Java 1.6.0_14, Maven 2.0, Tomcat 5.5, PostgreSQL 8.3

1) Create a Database in PostgreSQL_Root\data
2) Add PL/PGSQL Language
    As per link http://www.opennms.org/wiki/Installation:Windows
3) svn co https://opennms.svn.sourceforge.net/svnroot/opennms/opennms/trunk eclipse
4) ./build.bat install assembly:directory-inline
5) chmod +x <opennms.home>/bin/*
6) chmod +x <opennms.home>/contrib/*
7) chmod -x <opennms.home>/contrib/*.README
8) chmod -x <opennms.home>/contrib/opennms.mib
9) <opennms.home>/bin/runjava -S <JVM directory>/bin/java

Above all statements are working fine with out any problem &  created folder null\target\opennms-1.7.5-SNAPSHOT in eclipse directory. Then my next step is

10) <opennms.home>/bin/install –disU

as per the link http://www.opennms.org/index.php/Building_OpenNMS

For this statement the build failed with the following error. Please let me know what could be the problem?
And my pg_hba.conf as follows

# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
local all all trust
host all all 192.168.3.153 255.255.255.0 trust

and in postgresql.conf

listen_addresses = '*' # what IP address(es) to listen on;



==============================================================================
OpenNMS Installer Version $Id: Installer.java 13609 2009-06-07 00:59:50Z rangerr
ick $
==============================================================================

Configures PostgreSQL tables, users, and other miscellaneous settings.

WARNING: unable to load ${root.dir}/target/opennms-1.7.5-SNAPSHOT/etc\opennms.pr
operties
Exception in thread "main" java.lang.Exception: property "importer.requisition.d
ir" not set from bundled installer.properties file
        at org.opennms.install.Installer.fetchProperty(Installer.java:424)
        at org.opennms.install.Installer.loadProperties(Installer.java:406)
        at org.opennms.install.Installer.install(Installer.java:152)
        at org.opennms.install.Installer.main(Installer.java:858)


Thanks,:|