Community
Participate
Working Groups
Build Identifier: 201111032101 If hard code the DB resource in the egl file the DB can be accessed successfully after deploy. But if we bind the DB connection information in the dd file, the bind this DB resource in egl file. The DB can NOT be accessed after deploy. I attached the PI for your refernence Reproducible: Always
Created attachment 206583 [details] PI for DB testing
The DB app deployment works fine, three things you need correct in your test application: 1) in Resource Bindings, the URI should be something like "http://localhost:8080/MyWeb1/restservices/dbService", instead of "workspace://xxx" 2) Below line : MySQL SQLDataSource?{@resource{bindingkey = "MySQL"}}; Should be: MySQL SQLDataSource?{@resource{propertyFileName = "testdb", bindingkey = "MySQL"}}; 3) remove MySQL1 variable.
Verified in 201111140901