WASdev / ci.docker.websphere-traditional

Dockerfiles for WebSphere Application Server traditional
Apache License 2.0
170 stars 190 forks source link

Configure Shared Libraries Using Properties File (.props) #242

Open cmunoz1101 opened 3 years ago

cmunoz1101 commented 3 years ago

Good morning everyone, I am starting with traditional WAS the docker. I have seen that there is a way to configure the WAS through properties files (.props) such as datasources, environment variables etc.

I have been looking for a way to configure shared libraries using properties file (.props) but I have not found. Anyone have information on this ?. Thanks in advance.

image

hoangnguyent commented 2 years ago

I have used AdminTask.applyConfigProperties() and AdminTask.extractConfigProperties() for changing ports. You will find them in IBM doc. However, to configure datasources, environment variables, I use .car file (short of configuration archive) instead . There are AdminTask.importWasPorfile(), AdminTask.exportWasPorfile() in the command line to import/export .car. You can import/export .car on the RAD as well.