> Hi, Matej.
>
> OK, if CA expects the short hostname, why is that not the default in
> CAJ? Why even provide the CAJ_STRIP_HOSTNAME system property? If there
> is a dot in the name, just drop it and everything after it.
CAJ default is SHN, however under some circumstances it can return FQDN.
At that time we decided to go that way (and not be smart in CAJ code).
java.net.InetAddress.getLocalHost().getHostName() is used to get host name.
I gets more interesting if you have more that one IF installed (Java 6
new API helps here).
Calling System.exec("hostname") is not a good way to get it.
Matej
- Replies:
- Re: Using CAJ in production J. Lewis Muir
- References:
- Using CAJ in production Shankar, Murali
- Re: Using CAJ in production J. Lewis Muir
- Re: Using CAJ in production Matej Sekoranja
- Re: Using CAJ in production J. Lewis Muir
- Re: Using CAJ in production Matej Sekoranja
- Re: Using CAJ in production J. Lewis Muir
- Navigate by Date:
- Prev:
Re: mask for bitwise operation in CALC record haquin
- Next:
waveform put in CSS Pavel Maslov
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Using CAJ in production J. Lewis Muir
- Next:
Re: Using CAJ in production J. Lewis Muir
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|