|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Deployment process, ANT integration? |
« View previous topic :: View next topic » |
Author |
Message
|
adapmxtor |
Posted: Tue Jul 25, 2006 7:46 am Post subject: Deployment process, ANT integration? |
|
|
 Novice
Joined: 14 Jul 2006 Posts: 11
|
Hi,
I searched the newsgroup regarding some deployment experiences, strategies. I would not like to use the system manager all the time to deploy my project.
Is there any documentation how to deploy the whole stuff e.g. with ANT, is there a Java API?
How do you create the message queues for MQ/JMS and other depending stuff?
Any experiences?
best regards
adapmxtor |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jul 25, 2006 7:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
To create queues, I would use an apply/exec task to run the runmqsc command. You could create a few different pieces of MQSC script, and use the replace task to change things like queue name when you actually run the script.
One could also write Java code using MS0b to create PCF messages to create the queues - but that means one has to open up the qmgr a bit security wise, so I'd rather do stuff from the box.
Likewise, you can run mqsicreatebar, mqsicreateexecutiongroup, mqsideploy from the command line but wrapped in ANT.
Or you can use the ConfigMgr Proxy API to create execution groups and perform deployments. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
msukup |
Posted: Tue Jul 25, 2006 7:57 am Post subject: |
|
|
Acolyte
Joined: 11 Feb 2002 Posts: 56
|
What version are you on? WBI 5.0 + 6.0 allows some scripting capabilities, as command-line utilities for building and deploying bar files are provided (see command reference). You would also have to script out queue creation, etc. you could do this, though unless your volume of changes/additions is so great or frequent, the time spent on building the script to automate the process might be greater than deploying manually -- in my experience, unless you have to deploy in middle of night, might be easier the manual route. |
|
Back to top |
|
 |
adapmxtor |
Posted: Tue Jul 25, 2006 1:57 pm Post subject: |
|
|
 Novice
Joined: 14 Jul 2006 Posts: 11
|
Hi,
thanxs for the fast and detailed answer!
@msukup: We use a WBI Express 4.3 installation as dev basis.
We develop a "standard" adapter (product) for our market maybe offered to 20,30,40... different customers. That's why we need a installer.
In our project we implement an ODA, Adapter, some BO's, Maps to GBO's. The ODA and Agent get more complext as it looks now, so we need more infrastructure behind. The adapter (and ODA?) connect a legacy system and the technique we will use is not homogene(means not only java)! And then the manual installation is not enough, we need additional steps, maybe additional setup of database, etc.
And last but not least, the manual installation is more vulnerable for mistakes then an automated and could not be validated!
Therefore the goal is to develop the stuff with the IBM, Eclipse tools but to deploy independant from the system manager(!) Does anybody no whether there could be a trap with the adapter, maps, BO's?
I think this topic could be valuable for others with the same cogitations.
best regards
adapmxtor |
|
Back to top |
|
 |
jfluitsm |
Posted: Wed Jul 26, 2006 11:41 pm Post subject: |
|
|
Disciple
Joined: 24 Feb 2002 Posts: 160 Location: The Netherlands
|
I played around with ANT and the build tools for a while.
Using mqsicreatebar on V5 doesn't work from within eclipse, it tries to open the eclipse workspace in headless mode, that fials because the workspace is already in use.
This problem is solved in V6. _________________ Jan Fluitsma
IBM Certified Solution Designer WebSphere MQ V6
IBM Certified Solution Developer WebSphere Message Broker V6 |
|
Back to top |
|
 |
adapmxtor |
Posted: Wed Jul 26, 2006 11:51 pm Post subject: |
|
|
 Novice
Joined: 14 Jul 2006 Posts: 11
|
Hi,
Thanks for this hint. To use it within eclipse is not a requirement for us. We need it more to install the our adapter into the ICL and to deploy our stuff (the user project) to the ICS.
When this is the only gap, then I would be happy when we start this task.
regards
- wolfgang |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|