WASdev / ci.docker.websphere-traditional

Dockerfiles for WebSphere Application Server traditional
Apache License 2.0
171 stars 192 forks source link

WAS is unable to find the JDBC provider jar files for datasources in the container #130

Open shareauto opened 5 years ago

shareauto commented 5 years ago

WAS in the container is unable to find the jar files even though they exist and has full permissions for example in JDBC provider configuration at cell scope is classpath= ${MICROSOFT_JDBC_DRIVER_PATH}/sqljdbc4.jar In Websphere variables at cell scope is MICROSOFT_JDBC_DRIVER_PATH = /opt/IBM/WebSphere/AppServer/shared/app/sqljdbc_4.0/enu

Please find the actual location of the file with in the container image was@testjvm:/opt/IBM/WebSphere/AppServer/shared/app/sqljdbc_4.0/enu$ ls -ltra -rwxrwxrwx. 9 was was 584207 Nov 28 17:22 sqljdbc4.jar

And it happens to all jdbc provider jar files.

I did check the file permission from all the way from root. All directories in the hierarchy has was.was as the owner and directory /opt/IBM/WebSphere/AppServer/shared/app/ has the 777 permission.

Please guide me why WAS is unable to locate jar files.

arturdzm commented 5 years ago

It could be that ${MICROSOFT_JDBC_DRIVER_PATH} is not visible/resolved by WAS