In thinking about it – perhaps I was using SDNC on a local virtual box instance for the tutorial. The port you are using is ephemeral so it might change if you restart the container.
Brian From: FREEMAN, BRIAN D Sent: Friday, May 26, 2017 8:58 AM To: Abdelmuhaimen Seaudi <asea...@gmail.com>; onap-discuss@lists.onap.org Subject: RE: [onap-discuss] cannot upload DG XML - error 500 You shouldnt have to do that on the SDNC VM (although I have had to do it on APPC DG builder before). The docker-compose file should be exposing 3306 from mysql container (below is from sdnc docker-compose) and I thought that was how it worked when I was creating the tutorial ( (https://wiki.onap.org/display/DW/Automatically+Creating+a+Netconf+Mount+in+APPC+from+SDNC) Brian db: image: mysql/mysql-server:5.6 container_name: sdnc_db_container ports: - "3306" From: onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Abdelmuhaimen Seaudi Sent: Friday, May 26, 2017 4:26 AM To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> Subject: Re: [onap-discuss] cannot upload DG XML - error 500 Hi. I got this working by updating the configuration in DGBuilder with the exposed port 32768 for the db instead of 3306. Abdelmuhaimen Seaudi, CCIE # 25265 Email: asea...@gmail.com<mailto:asea...@gmail.com> Skype: aseaudi LinkedIn: www.linkedin.com/in/aseaudi<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_aseaudi&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=k32JBj65kXP7M036XD0GjXKjJAinta5-wKoCiQybRFI&s=2Y2MYdsMFceEB65Jn9GxXFJ8wf2qv35uN4xvLdlAwhM&e=> Telephone: +2012 84644 733 On Fri, May 26, 2017 at 9:58 AM, Abdelmuhaimen Seaudi <asea...@gmail.com<mailto:asea...@gmail.com>> wrote: Hi. After I create and validate the XML for a DG, I cannot upload the XML, I get the following error: Could not upload the XML. Status:500 Message:Internal Server Error Additional Details Caused by: org.openecomp.sdnc.sli.ConfigurationException: failed to get database connection [jdbc:mysql://localhost:3306/sdnctl] at org.openecomp.sdnc.sli.SvcLogicJdbcStore.getConnection(SvcLogicJdbcStore.java:100) at org.openecomp.sdnc.sli.SvcLogicJdbcStore.initDbResources(SvcLogicJdbcStore.java:362) Any idea how can I resolve this ? Thanks. Abdelmuhaimen Seaudi, CCIE # 25265 Email: asea...@gmail.com<mailto:asea...@gmail.com> Skype: aseaudi LinkedIn: www.linkedin.com/in/aseaudi<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_aseaudi&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=k32JBj65kXP7M036XD0GjXKjJAinta5-wKoCiQybRFI&s=2Y2MYdsMFceEB65Jn9GxXFJ8wf2qv35uN4xvLdlAwhM&e=> Telephone: +2012 84644 733
_______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss