Thanks, this worked. I am now seeting -Duser.home=... I would suggest
updating the documentation to state that you expect this in user.home.

Thanks for your help,

Miro

-----Original Message-----
From: Hélène JOANIN [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 7:25 AM
To: Halas, Miroslav
Cc: [EMAIL PROTECTED]
Subject: Re: jonas.properties and $HOME


Hi,

In fact, to be precise, the server is looking the jonas.properties file
in the path depending on the value of the 'user.home' java system
property.
The 'user.home' property is the user's home directory.
On Unix, the associated environment variable is the HOME variable.
As I'm newbie to Windows, I don't know from what this 'user.home' java
system property is setting.

Here is a very little java program which print the java system
properties values.
I hope this will help you.

Regards.
Hélène.

-----------------------------------

import java.io.*;
import java.util.*;
public class PropsSys {
    private Properties p;
    PropsSys() {
        p = System.getProperties();
    }
    void print() {
        p.list(System.out);
    }
    public static void main(String[] args) {
            PropsSys p = new PropsSys();
            p.print();
    }
}

-----------------------------------

"Halas, Miroslav" wrote:
> 
> Hi,
> 
> we are using Jonas 2.2.7 under Windows 2000. In Jonas documentation it is
> stated that Jonas is looking for jonas.properties under $JONAS_ROOT, $HOME
> and in . directories in this order. In our environment (Win 2000) we can
> verify that Jonas is reading properties in %JONAS_ROOT% if we use
> set JONAS_ROOT=d:\eqplite\jonas and in current directory, but even we set
> %HOME% to set HOME=d:\eqplite\config and this directory contains correct
> jonas.properties file, Jonas never reads this file. Is this a bug?
> 

-- 
-=- Hélène JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]   http://www.evidian.com
  Phone: 33.4.76.29.73.53            Fax: 33.4.76.29.76.00
  Download our EJB Server JOnAS at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to