I am writing integration tests for a software product which require WebLogic 12.1.3 and WebLogic 12.2.1 to be started with a fresh domain.
Currently I do something like this to start WebLogic with a fresh domain:
mkdir -p /tmp/domain && \
cd /tmp/domain && \
/opt/jdk1.8.0_72/bin/java -cp /wls/server/lib/weblogic.jar \
-Dweblogic.ListenPort=7001 \
-Dweblogic.management.GenerateDefaultConfig=true \
-Dweblogic.management.username=admin \
-Dweblogic.management.password=testpass! \
weblogic.Server
Now I need to create JMS resources (similar to the existing samples) which I have created an XML file for. What do I have to do so the XML file is used to crate the JMS resources?