• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 395
  • Last Modified:

Creating Execute Queue through WLConfig ANT tasks

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"?>
<Domain Name="weblogicdomain">
<Server ListenAddress="" ListenPort="6110" Name="servername">

<ExecuteQueue Name="FileDownloadsExecuteQueue" ThreadCount="1"/>

</Server>

....Other resources....

</Domain>

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?

Thanks.
0
innumonenu
Asked:
innumonenu
1 Solution
 
girionisCommented:
There is a "wlconfig" ant task that you can use. Unfortunatelly I have no idea how you can go on about it since I never used it so the only way I can help you is by pointing you to a relevant url:

http://e-docs.bea.com/wls/docs81/admin_ref/ant_tasks.html#1023006
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now