Hi,
We want to set up JBoss AS in a multi-user Solaris 10 environment in such a way that no modifications are necessary within the JBoss installation itself. I.e. we do not want to place the users' server configurations in $JBOSS_HOME/server.
In our opinion there are (at least) three good reasons for this approach:
1) It keeps a clear separation between the JBoss AS installation and our own applications.
2) It avoids granting write permissions for the JBoss installation to the users.
3) It eases the switching between several JBoss releases.
Our first solution approach replaced the server configuration directories by symbolic links to the actual directories. E.g.:
ln -s $APP1_HOME/server/app1 $JBOSS_HOME/server/
$JBOSS_HOME/bin/run.sh -c app1
ln -s $JBOSS_INSTALL_HOME/bin $APP1_HOME/ ln -s $JBOSS_INSTALL_HOME/lib $APP1_HOME/ mkdir $APP1_HOME/server
$JBOSS_HOME/bin/run.sh -c app1
Failed to boot JBoss: org.jboss.deployment.DeploymentException: url file:$JBOSS_INSTALL_HOME/server/app1/conf/jboss-service.xml could not be opened, does it exist?