Nukes/JBoss newbie and just have little issue re: "default" verses "all" i.e. I used the install notes as per http://www.jboss.org/index.html?module=html&op=userdisplay&id=developers/projects/nukes/build
but nothing happened (i.e. no context for :8080/nukes/ when I used $JBOSS_HOME/server/default... but when I copied all the files (that nukes directory, plus the nukes.ear and nukes-ds.xml file) to the other directory at....$JBOSS_HOME/server/deploy/all/... directory then Nukes poped into life when I browse to <myip:8080>/nukes/
Using JBoss 3.2.2.tgz with JDK 1.4.2_01 (On Mandrake9.1 platform).
Nukes snapshot tar.gz file as of October 27th.
JBOSS_HOME = /usr/local/jboss
which is a softlink to /usr/local/jboss-3.2.2
NUKES_HOME = /usr/local/jboss/server/default/nukes
Thus what am I missing from a clean install of JBoss ? what do I have to do to make it automatically deploy from "default" as opposed to me having to copy stuff to "all" ? The install notes always talk about "default" . I'm guessing something tells the deploy thingy in JBoss to look at "all" as opposed to "default" ?.
Also I wasn't able to logon but that was a database problem (missing field) with pn_last_visit because the ALTER TABLE nukes_users ADD COLUMN pn_last_visit was commented out in the relevant setup.ddl files for some reason. Manually adding field fixed that issue.
Also wasn't able to create databases right at first because prepare.ddl had nukes@'localhost' instead of nukes@localhost i.e. remove the tics ' '
I'm guessing all this'll wash out when Nukes goes to 1.0 ;) Though I had initially thought that OpenCMS was a better Java bases CMS and in some cases it may be, I had more trouble getting that started (I'm only on my own here !) than I had with Nukes. At least I can logon as admin/admin with Nukes. Now on to actually creating apps.
So finally the question is... how do I make deploy work with "default" and/or "all" deploy directories ? Probably obvious and I'll kick myself but again green to JBoss.
Answering my own question.
The $JBOSS_HOME/bin/jboss_init_redhat.sh calls run.sh with the arguments,
which basically uses the different configuration set. Though the Nukes CVS snapshot should really reflect the tutorials and call run.sh with -c default and not -c all