-
1. Deployment with twiddle / twiddle documentation
jaikiran Feb 3, 2011 5:07 AM (in response to willemnoorduin)Willem Noorduin wrote:
But there are a couple of questions about this:
- The deployed application is not visible in the JBoss admin console (in the web application tree element). Why is that ?
From what I know, the admin-console just checks for applications that are part of the normal "deploy" folder. I don't know if it has been fixed in later versions. Probably not yet.
Willem Noorduin wrote:
The deployed applucation is not copied to <instance-dir>/deploy, but unpacked under <instance-dir>/tmp/<uuid>/application1.war/ . Why is that ? Now we always have to use a find to find the deployed application (or the above twiddle query) ?
That's correct, the MainDeployer just "deploys" it to the tmp folder. The added disadvantage is that on a server restart, you'll have to again run the twiddle query to deploy the application, since the application isn't really available in the "deploy" folder.
Willem Noorduin wrote:
- Can you (and how) use twiddle.sh to deploy to a cluster ? Normally (I think you need hot deployment for that, but I am not sure)) I make the application.war available in the <instance-dir>/farm directory of one of the clyster node.
- Can you deploy (jdbc-) datasources via twiddle ?
twiddle is just a wrapper to invoke the available MBeans. So you'll have to check if there are MBeans which allow you to do this.
Willem Noorduin wrote:
-
2. Deployment with twiddle / twiddle documentation
massios Feb 11, 2011 4:48 AM (in response to jaikiran)We are also interested as part of a security hardening to disable the hdscanner and we find all the questions of Willem very relevant.
1.
It sounds funny that the server is running something and that the admin application cannot detect it.
2.
I do not understand what prevents us from copying the application to deploy and running twiddle on the application copied to deploy. Would this fix
problem number 1?
3.
We are interested in farm deployment and hasingleton deployment. Willem have you found a way to do this?
4.
Ooops. If we remove the hdscanner, would the datasources and standard jboss applications have to to be deployed using twiddle?
5.
Good question the
http://community.jboss.org/wiki/Twiddle
doesn't contain much info.
Nikos
-
3. Deployment with twiddle / twiddle documentation
peterj Feb 11, 2011 9:55 AM (in response to massios)1 of 1 people found this helpfulThe older docs had an entire section on twiddle, with examples:
Some of the examples might no longer work (due to deprecated mbeans) but they should still provide clues as to how to use twiddle to perform various types of tasks (get mbean property value, call mbean operations, etc.)
-
4. Deployment with twiddle / twiddle documentation
efrinmn Mar 1, 2011 11:19 AM (in response to willemnoorduin)
One possibility is that the admin console may have a refresh rate and may not have picked up the newly deployed (or undeployed) applications. More likely the browser has cached the page. I have noticed that sometimes I need to hit the refresh button on my browser to get the page updated. I have also noticed that in JBoss 5.1 the admin console has some bugs that still need to be worked out. It appears that a more stable version will be available in JBoss 6.Previous versions of JBoss allowed you to disable hotdeploy without having to remove the HDScanner. That was extremely useful because you could then force a scan when you needed one. I am hoping they returned that functionality in JBoss 6, but I haven't tried it out yet.