Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is used for Deployment Scripting in JBoss ?

 
Mikhael Jenings
Greenhorn
Posts: 25
  • 0
  • 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
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • 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
 
Kees Jan Koster
JavaMonitor Support
Rancher
Posts: 251
5
  • 0
  • 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
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • 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
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic