This content has been marked as final. Show 1 reply
OK. I have now done some more investigation and looked at some of the source code for jboss (ServerConfigImpl.java). What I have come up with is this:
- When I set only jboss.server.home.dir the data, log and tmp directories end up where I want them to. But jboss seems to look for my jboss-service.xml file in $jboss.server.home.url, which is derived from jboss.home.url and defaults to the jboss distribution directory. This is not the behaiviour I want.
- When I set both jboss.server.home.dir and jboss.server.home.url everything seems works the way I want it to.
This solves my problem for now. However, I would still like to know how the jboss.xyz.dir and jboss.xyz.url properties are supposed to work and how they relate to each other.
I hope that someone will be able to enlighten me on this subject. Thanks in advance!