The error "ORA-01017 invalid username/password" would have occured due to less permissions or incorrect connection string to the Oracle data source. In order to overcome this error, ensure the following
* Ensure that user which you are connecting to access oracle has full privilege over the schema. The user should have enough privileges to connect to the particular schema which you mention in the JDBC URL.
* Verify if the credentials are correct for that particular schema.
* Ensure if the JDBC URI is pointing to the correct data source for the supplied user credentials
* The username and password must be as same as specified in the script and ensure that the script should be executed with administrative privileges.
Ensure all the above possibilities and try to connect to the source again.
Hope this helps!!!