<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
In the admin guide, it is mentioned under "Paths" section :<br>
<br>
"<br>
JBoss AS 7 automatically provides a number of standard paths without
any need for the user to configure them in a configuration file:<br>
<br>
jboss.home - the root directory of the JBoss AS distribution<br>
user.home - user's home directory<br>
user.dir - user's current working directory<br>
java.home - java installation directory<br>
jboss.server.base.dir - root directory for an individual server
instance<br>
jboss.server.data.dir - directory the server will use for
persistent data file storage<br>
jboss.server.log.dir - directory the server will use for log
file storage<br>
jboss.server.tmp.dir - directory the server will use for
temporary file storage<br>
jboss.domain.servers.dir - directory under which a host
controller will create the working area for individual server
instances (managed domain mode only)<br>
<br>
<b>Users can add their own paths or override all except the first 5
of the above by adding a <path/> element to their
configuration file.</b><br>
<br>
"<br>
<br>
which means I should be able to override "jboss.server.log.dir" and
when I do that in "standalone_preview.xml" :<br>
<br>
<paths><br>
<path name="jboss.server.log.dir"
value="C:\\vkk\\as7log"/><br>
</paths><br>
<br>
I get the following error :<br>
<br>
"<br>
12:40:50,355 ERROR [stderr] at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:89)<br>
12:40:50,356 ERROR [stderr] at
java.lang.Thread.run(Thread.java:662)<br>
12:40:50,357 ERROR [stderr] Caused by:
org.jboss.as.controller.persistence.ConfigurationPersistenceException:
Failed to parse configuration<br>
12:40:50,357 ERROR [stderr] at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:115)<br>
12:40:50,358 ERROR [stderr] at
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:104)<br>
12:40:50,359 ERROR [stderr] at
org.jboss.as.server.ServerService.boot(ServerService.java:193)<br>
12:40:50,360 ERROR [stderr] at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:83)<br>
12:40:50,361 ERROR [stderr] ... 1 more<br>
12:40:50,362 ERROR [stderr] Caused by:
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[55,3]<br>
12:40:50,363 ERROR [stderr] <big><b>Message: jboss.server.log.dir
is reserved</b></big><br>
12:40:50,364 ERROR [stderr] at
org.jboss.as.controller.parsing.CommonXml.parsePath(CommonXml.java:999)<br>
12:40:50,365 ERROR [stderr] at
org.jboss.as.controller.parsing.CommonXml.parsePaths(CommonXml.java:370)<br>
12:40:50,365 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.readServerElement(StandaloneXml.java:154)<br>
12:40:50,366 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:91)<br>
12:40:50,367 ERROR [stderr] at
org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:79)<br>
12:40:50,367 ERROR [stderr] at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)<br>
12:40:50,368 ERROR [stderr] at
org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)<br>
12:40:50,369 ERROR [stderr] at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:107)<br>
12:40:50,370 ERROR [stderr] ... 4 more<br>
<br>
I was wondering, if the doc is wrong or I am doing something wrong.<br>
<br>
Thx<br>
<br>
Vimal<br>
<br>
<br>
</body>
</html>