• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

What is used for Deployment Scripting in JBoss ?

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Wanted to know what is used for Deployment Scripting in JBoss ?
More specifically, what scripting language is used to automate tasks such as,
- server creation
- startup/shutdown
- datasource creation/deletion/etc...
- jms creation/deletion/etc...

(For example, WebLogic uses Python/Jython.)

And, also can you also please suggest a good reference for (beginning) JBoss server administration for a JEE Developer ?


Thanks
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is none because each of these tasks are fairly simple:

Server creation: copy server/xxx as server/yyy
Startup: bin/run.sh
Shutdown: CTRL-C or bin/shutdown.sh
*Datasource creation: see sample *-ds files in docs/examples/jca - modify for your database, copy to server/xxx/deploy
*Datasource deletion: remove xxx-ds.xml from server/xxx/deploy
*Destination creations/deletion: create *-service.xml file with destinations, place-into/remove-from server/xxx/deploy
 
JavaMonitor Support
Posts: 251
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Mikhael,

I put my application servers into SVN and write some shell scripts around them for the basic live cycle tasks (deploy, start, stop).

The use of SVN allows me to diff a running server against the basic configuration. It also allows me to assert that key files are identical across all deployments (test, acc and production).
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess I should have mentioned that I use Ant for my scripting needs, which includes setting up a server configuration (aka domain) and deploying various artifacts. You can see the scripts as part of the source code download for JBoss In Action (link below).
 
Mikhael Jenings
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.

If anyone seeing this post has other ways of doing things, please share.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!