java.lang.reflect.InvocationTargetException

The OpenNMS Issue Tracker | imzyrk | 2 years ago
  1. 0

    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 DEBUG: Windows NT Version 6.3, Build 9600 (Service Pack 0) DEBUG: Platform is IPv6 ready: true - searching for jicmp.dll: - trying to load C:/Program Files/OpenNMS/lib\jicmp.dll: OK - searching for jicmp6.dll: - trying to load C:/Program Files/OpenNMS/lib\jicmp6.dll: OK - searching for jrrd.dll: - trying to load C:/Program Files/OpenNMS/lib\jrrd.dll: NO - trying to load C:\Program Files\OpenNMS\lib\jrrd.dll: NO - trying to load C:\Program Files\OpenNMS\lib\jrrd.dll: NO - trying to load C:\Program Files\Java\jdk1.8.0_25\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:\ProgramData\Oracle\Java\javapath\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: NO - trying 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 java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:366) at java.lang.Thread.run(Thread.java:745) Caused by: org.opennms.core.schema.MigrationException: an error occurred getting the version from the database at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:183) at org.opennms.core.schema.Migrator.validateDatabaseVersion(Migrator.java:211) at org.opennms.install.Installer.install(Installer.java:231) at org.opennms.install.Installer.main(Installer.java:967) ... 6 more Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres" at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:410) at org.postgresql.Driver.connect(Driver.java:280) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:208) at org.opennms.core.db.install.SimpleDataSource.getConnection(SimpleDataSource.java:93) at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:171) ... 9 more

    The OpenNMS Issue Tracker | 2 years ago | imzyrk
    java.lang.reflect.InvocationTargetException
  2. 0

    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 DEBUG: Windows NT Version 6.3, Build 9600 (Service Pack 0) DEBUG: Platform is IPv6 ready: true - searching for jicmp.dll: - trying to load C:/Program Files/OpenNMS/lib\jicmp.dll: OK - searching for jicmp6.dll: - trying to load C:/Program Files/OpenNMS/lib\jicmp6.dll: OK - searching for jrrd.dll: - trying to load C:/Program Files/OpenNMS/lib\jrrd.dll: NO - trying to load C:\Program Files\OpenNMS\lib\jrrd.dll: NO - trying to load C:\Program Files\OpenNMS\lib\jrrd.dll: NO - trying to load C:\Program Files\Java\jdk1.8.0_25\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:\ProgramData\Oracle\Java\javapath\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: NO - trying 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 java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:366) at java.lang.Thread.run(Thread.java:745) Caused by: org.opennms.core.schema.MigrationException: an error occurred getting the version from the database at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:183) at org.opennms.core.schema.Migrator.validateDatabaseVersion(Migrator.java:211) at org.opennms.install.Installer.install(Installer.java:231) at org.opennms.install.Installer.main(Installer.java:967) ... 6 more Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres" at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:410) at org.postgresql.Driver.connect(Driver.java:280) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:208) at org.opennms.core.db.install.SimpleDataSource.getConnection(SimpleDataSource.java:93) at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:171) ... 9 more

    The OpenNMS Issue Tracker | 2 years ago | imzyrk
    java.lang.reflect.InvocationTargetException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    OpenNMS - discuss - ONMS Install

    nabble.com | 12 months ago
    java.sql.SQLException: Could not get an administrative connection to the database.  Is the database running, listening for TCP connections, and allowing us to connect and authenticate from localhost?  Tried connecting to database specified by data source SimpleDataSource[URL='jdbc:postgresql://localhost:5432/postgres', driver class='org.postgresql.Driver', properties: user='postgres', password='postgres'].  Original error: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"
  5. 0

    [NMS-3118] 1.6.2 Installation on Windows fails to accept PostgreSQL password - The OpenNMS Issue Tracker

    opennms.org | 12 months ago
    org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"

  1. silex 7 times, last 2 weeks ago
  2. silex 8 times, last 6 months ago
  3. csanyigabor 1 times, last 3 months ago
25 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.postgresql.util.PSQLException

    FATAL: password authentication failed for user "postgres"

    at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication()
  2. PostgreSQL JDBC Driver
    Driver.connect
    1. org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398)
    2. org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173)
    3. org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)
    4. org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:136)
    5. org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:29)
    6. org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:21)
    7. org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:31)
    8. org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
    9. org.postgresql.Driver.makeConnection(Driver.java:410)
    10. org.postgresql.Driver.connect(Driver.java:280)
    10 frames
  3. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:664)
    2. java.sql.DriverManager.getConnection(DriverManager.java:208)
    2 frames
  4. org.opennms.core
    Migrator.validateDatabaseVersion
    1. org.opennms.core.db.install.SimpleDataSource.getConnection(SimpleDataSource.java:93)
    2. org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:171)
    3. org.opennms.core.schema.Migrator.validateDatabaseVersion(Migrator.java:211)
    3 frames
  5. org.opennms.install
    Installer.main
    1. org.opennms.install.Installer.install(Installer.java:231)
    2. org.opennms.install.Installer.main(Installer.java:967)
    2 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:483)
    4 frames
  7. org.opennms.bootstrap
    Bootstrap$3.run
    1. org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:366)
    1 frame
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame