Hello,
to complete the answer of Hélène, the "home directory"
in windows2000 does not correspond to an environment
variable.
A default home directory is assigned when users are created,
if I run the Helene's program on my w2000 system,
I obtain C:\Documents and Settings\exertier for user.home.
To specify a home directory, I thought you should use the "Computer
Management" program, select users in the "Local Users and Groups",
and then choose a user, access its properties (Profile tab), and
specify the home folder, BUT it does not seem to work ...
So the best is may be to run the Helene's program PropsSys to
see where is your home directory, and to put your jonas.properties
there ...
Waiting for windows experts hints ! ... :)
François
Hélène JOANIN wrote:
> 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".
--
==================================================================
Francois EXERTIER Evidian (Groupe Bull)
1, rue de Provence, BP 208, 38432 Echirolles cedex, FRANCE
mailto:[EMAIL PROTECTED]
http://www.evidian.com/jonas http://www.objectweb.org/jonas
Tel: +33 (0)4 76 29 71 51 - Fax: +33 (0)4 76 29 77 30
==================================================================
----
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".