Hi! Now I try to make JBoss run in read-only environment, where all JBoss run scripts and bootstrap libraries are placed in directory which is not writable. Wiki gave me two helpful pages: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossProperties[/url] and [url]http://wiki.jboss.org/wiki/Wiki.jsp?page=LimitFilesJBossWritesToDisk, and they helped me somehow. I've moved $JBOSS_HOME/server/default/ to another directory in my $HOME and set "jboss.server.home.dir" property so it points to this configuration location, but still have a problem: not all files are searched in ${jboss.server.home.dir} directory. At the beginning of startup JBoss tries to invoke conf/jboss-service.xml, looking for it in $JBOSS_HOME/server/default/conf/ directory instead of ${jboss.server.home.dir}/conf/, thus failing to start its services (logging, deployment scanning and so on). Command I use to start JBoss:
%JBOSS_HOME%\bin\run.bat -Djboss.server.base.dir=%JBOSS_PRIVATE_DIR%\jboss As you can see, I'm using Windows; %JBOSS_HOME% is an installation directory, %JBOSS_PRIVATE_DIR% is that directory which I want to hold all variable runtime files. Can JBoss anyhow run in such con where any disk write is made outside of its home, and also all configuration lives outside so I can change it? In other words, all subdirectories of $JBOSS_HOME will be read-only (on CD or read-only NFS for example), but configuration and deployment need to be writable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951862#3951862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951862 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user