You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have the critical issue for Oracle DB with image that build from this repo
I did:
Docker images by manual created successfully, uploaded to AWS ECR
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
4444444.dkr.ecr.eu-west-1.amazonaws.com/jasperserver-pro 7.8.0 38744255fa70 10 hours ago 1.71GB
4444444.dkr.ecr.eu-west-1.amazonaws.com/jasperserver-pro-cmdline 7.8.0 89b05a57a938 12 hours ago 1.14GB
Test of connection from host to Oracle RDS instance:
2.1) by sqlplus - success
2.2) by jdbc tester FROM Jasper Server container
root@ssg_jasper-2:~# java -jar jdbc-tester-1.1.jar MY_JASPER MYPASSWORD jdbc:oracle:thin:@//my-oracle-rds.dhdil1lso2123.eu-west-1.rds.amazonaws.com:1521/sgcapp
14:35:00.216 [main] INFO Main - arg 0 = MY_JASPER
14:35:00.225 [main] INFO Main - arg 1 = MYPASSWORD
14:35:00.225 [main] INFO Main - arg 2 = jdbc:oracle:thin:@//my-oracle-rds.dhdil1lso2123.eu-west-1.rds.amazonaws.com:1521/sgcapp
14:35:00.447 [main] INFO Main - ****** Starting JDBC Connection test *******
14:35:00.919 [main] INFO Main - Running SQL query: [select sysdate from dual]
14:35:00.952 [main] INFO Main - Result of SQL query: [2021-04-22 14:35:00.0]
14:35:00.954 [main] INFO Main - JDBC connection test successful!
Content of /home/ec2-user/jrs_deploy_customization/default_master_additional.properties:
sid=sgcapp
Start container, received error:
[echo] Maven settings: /usr/src/jasperreports-server/buildomatic/build_conf/default/maven_settings.xml
do-install-upgrade-test:
[echo] Checking DBMS host and port:
[echo] About to validate port: my-oracle-rds.dhdil1lso2123.eu-west-1.rds.amazonaws.com:1521
[echo] Port 1521 is OK
[echo] Done validating port: my-oracle-rds.dhdil1lso2123.eu-west-1.rds.amazonaws.com:1521
[echo] Validating administrative database connection at jdbc:tibcosoftware:oracle://my-oracle-rds.dhdil1lso2123.eu-west-1.rds.amazonaws.com:1521;SID=SGCAPP. Phase: [test]
[echo] About to validate JDBC jar existence
[echo] Look in: /usr/src/jasperreports-server/buildomatic/conf_source/db/oracle/jdbc
[echo] Found jar file: assuming OK
[echo] Jar or Jars found: TIoracle-6.0.0.000032.jar;jasperreports-pro-7.8.0.jar;ojdbc8-19.10.jar
[select-sql] Failed to connect: [TibcoSoftware][Oracle JDBC Driver][Oracle]ORA-01017: invalid username/password; logon denied
[echo] Connection failed:
[echo] SQLState: 28000
[echo] Vendor specific error code: 1017
[echo] Message: [[TibcoSoftware][Oracle JDBC Driver][Oracle]ORA-01017: invalid username/password; logon denied
[echo] ]
Additional info
5.1) The same container successfully start and connect to Postgres DB.
5.2) Attempt switch JDBC driver to native for Oracle DB failed, but error message in different. Container frozen at step of connection verification to DB.
5.3) Docker info:
Hello.
We have the critical issue for Oracle DB with image that build from this repo
I did:
2.1) by sqlplus - success
2.2) by jdbc tester FROM Jasper Server container
Content of /home/ec2-user/jrs_deploy_customization/default_master_additional.properties:
5.1) The same container successfully start and connect to Postgres DB.
5.2) Attempt switch JDBC driver to native for Oracle DB failed, but error message in different. Container frozen at step of connection verification to DB.
5.3) Docker info:
6.1) Commented call of "test_database_connection" in:
js-docker/scripts/entrypoint.sh
Line 20 in cb49f87
6.2) Added
after:
js-docker/Dockerfile
Line 63 in cb49f87
Result (after 6) - container started and successfully connected to Oracle DB.
Please, review and fix verification step for Oracle DB.
Thank you.
The text was updated successfully, but these errors were encountered: