I just tried installing OpenNMS on windows 64 bit running on vmware and localhost:8980/opennms will not open
Description
Environment
Acceptance / Success Criteria
duplicates
Lucidchart Diagrams
Activity

mahdi.raddadi April 1, 2013 at 7:50 AM
i have this problem
C:\Users\Mahdi\Desktop\opennms\opennms-installer>SET OPENNMS_HOME=C:/Program Files/OpenNMS
C:\Users\Mahdi\Desktop\opennms\opennms-installer>SET DBNAME=opennms
C:\Users\Mahdi\Desktop\opennms\opennms-installer>SET DBURL=jdbc:postgresql://localhost:5432/
C:\Users\Mahdi\Desktop\opennms\opennms-installer>SET ETCDIR=C:/Program Files/OpenNMS/etc
C:\Users\Mahdi\Desktop\opennms\opennms-installer>SET SERVLETDIR=C:/Program Files/OpenNMS/webapps/opennms
C:\Users\Mahdi\Desktop\opennms\opennms-installer>"C:\Program Files\Java\jdk1.6.0_43\bin\java" -Xmx512m "-Dopennms.home=C:/Program Files/OpenNMS" "-Dinstall.dir=C:/Program Files/OpenNMS" "-Dinstall.database.name=opennms" "-Dinstall.database.url=jdbc:postgresql://localhost:5432/" "-Dinstall.etc.dir=C:/Program Files/OpenNMS/etc" "-Dinstall.servlet.dir=C:/Program Files/OpenNMS/webapps/opennms" -classpath "C:/Program Files/OpenNMS/lib/opennms_bootstrap.jar;C:/Program Files/OpenNMS/lib/opennms_install.jar" org.opennms.install.Installer -dis -l "C:/Program Files/OpenNMS/lib"
==============================================================================
OpenNMS Installer
==============================================================================
Configures PostgreSQL tables, users, and other miscellaneous settings.
DEBUG: Looks like we're on Windows... Validating.
WARNING: Unable to retrieve the value for SOFTWARE\Microsoft\Windows NT\CurrentVersion\CSDVersion
com.sun.jna.platform.win32.Win32Exception: Le fichier spécifié est introuvable.
at com.sun.jna.platform.win32.Advapi32Util.registryGetStringValue(Advapi32Util.java:495)
at org.opennms.install.IPv6Validator.getStringFromRegistry(IPv6Validator.java:162)
at org.opennms.install.IPv6Validator.isPlatformIPv6Ready(IPv6Validator.java:65)
at org.opennms.install.Installer.checkIPv6(Installer.java:298)
at org.opennms.install.Installer.install(Installer.java:194)
at org.opennms.install.Installer.main(Installer.java:949)
DEBUG: Windows NT Version 6,2, Build 9200 (Service Pack 0)
searching for jicmp:
trying to load C:/Program Files/OpenNMS/lib\jicmp.dll: OK
searching for jicmp6:
trying to load C:/Program Files/OpenNMS/lib\jicmp6.dll: OK
searching for jrrd:
trying to load C:/Program Files/OpenNMS/lib\jrrd.dll: NO
trying to load C:\Program Files\Java\jdk1.6.0_43\bin\jrrd.dll: NO
trying to load C:\Windows\Sun\Java\bin\jrrd.dll: NO
trying to load C:\Windows\system32\jrrd.dll: NO
trying to load C:\Windows\jrrd.dll: NO
trying to load C:\Windows\system32\jrrd.dll: NO
trying to load C:\Windows\jrrd.dll: NO
trying to load C:\Windows\System32\Wbem\jrrd.dll: NO
trying to load C:\Windows\System32\WindowsPowerShell\v1.0
jrrd.dll: NOtrying to load .\jrrd.dll: NO
Failed to load the optional jrrd library.
This error is not fatal, since jrrd is only required for optional features.
For more information, see http://www.opennms.org/index.php/jrrd
using SQL directory... C:\Program Files\OpenNMS\etc
using create.sql... C:\Program Files\OpenNMS\etc\create.sql
Exception in thread "main" org.opennms.core.schema.MigrationException: an error occurred getting the version from the database
at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:178)
at org.opennms.core.schema.Migrator.validateDatabaseVersion(Migrator.java:206)
at org.opennms.install.Installer.install(Installer.java:226)
at org.opennms.install.Installer.main(Installer.java:949)
Caused by: org.postgresql.util.PSQLException: Connexion refusée. Vérifiez que le nom de machine et le port sont corrects et que postmaster accepte les connexions TCP/IP.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:136)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:393)
at org.postgresql.Driver.connect(Driver.java:267)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at org.opennms.netmgt.dao.db.SimpleDataSource.getConnection(SimpleDataSource.java:90)
at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:166)
... 3 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.postgresql.core.PGStream.<init>(PGStream.java:62)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:76)
... 13 more
anyone help plz

Benjamin Reed January 26, 2013 at 8:03 AM
See the comments of , of which this is a duplicate.

Dan Hollingsworth January 26, 2013 at 1:40 AM
Hi, Benjamin, I happen to be working on an unrelated project to this one and am experiencing the same bug as described in this issue on an update to JDK 7. I couldn't find an answer googling as to what (Oracle or others?) changed and the OpenNMS release-notes/versions/source history I can access have since dropped off the pages here. Do you mind explaining the resolution to this problem or pointing me to the appropriate link? It would be much appreciated if you have the time.
Regards,
Dan

Keyur Desai September 2, 2011 at 1:23 PM
Thank this is perfect , I download JDK6u27 and it works.

Benjamin Reed September 2, 2011 at 12:40 PM
Caused by: java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut capsdEventHandler
This is actually a bug in using JDK 7. It will be fixed in 1.8.14, marking as a duplicate of .
The workaround is to download JDK 6, or wait for 1.8.14 (or run a 1.8.14 snapshot).
Details
Assignee
Benjamin ReedBenjamin ReedReporter
Keyur DesaiKeyur Desai(Deactivated)Components
Affects versions
Due date
Sep 02, 2011Priority
Major
Details
Details
Assignee

Reporter

Components
Affects versions
Due date
Priority
PagerDuty
PagerDuty Incident
PagerDuty
PagerDuty Incident
PagerDuty

I have installed above compenent and all installation said it is successful but then when i try to lunch webportal it fails..please guide.This is windows 2008 R2 server