setting user.dir system property in JBoss 5.1

Posted by Spiderman on Stack Overflow See other posts from Stack Overflow or by Spiderman
Published on 2010-05-23T11:13:33Z Indexed on 2010/05/23 11:20 UTC
Read the original article Hit count: 277

Filed under:
|

In JBoss 4.2.3 the System property 'user.dir' is defined to be

<JBoss-root>/bin

when I ran the same application on JBoss 5.1 I noticed that it cannot find the System property user.dir

why there is no default definition for version 5.1?
and how can I define it manually? I followed this suggestion and added my property into properties-service.xml but it had no affect and still JBoss couldn't find the system:user.dir value.

© Stack Overflow or respective owner

Related posts about java

Related posts about jboss