Creating Execute Queue through WLConfig ANT tasks
Posted on 2004-09-09
We are planning to create a new Execute Queue for a existing server in weblogic 8.1. When we create a new execute queue through the web admin console it add the following line within the Server tag in config.xml.
<?xml version="1.0" encoding="UTF-8"?>
<Server ListenAddress="" ListenPort="6110" Name="servername">
<ExecuteQueue Name="FileDownloadsExecuteQueue" ThreadCount="1"/>
Now we have to create this execute queue NOT through the web admin console but through wlconfig ANT tasks. How should we create this? There are samples ANT tasks to add a resource (JDBC connection pool etc) directly within the Domain tag of the config.xml but our requirement is to add a new element (ExecuteQueue) within the existing server tag. As the server is already created we cannot create server mbean and nest it with one more create of execute queue. We have to attach the new execute queue to the current existing server.
Can we set a new element (not a attribute) to the server by quering or any other method?