EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Using CAJ in production
From: Matej Sekoranja <[email protected]>
To: "J. Lewis Muir" <[email protected]>
Cc: "Shankar, Murali" <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 29 Nov 2012 22:30:55 +0100
>> The method CAJ uses to get hostname is (or was in 2006) not
>> deterministic - it can return long or short name. There is an JVM
>> "-DCAJ_STRIP_HOSTNAME" option to strip SHN from possibly returned FQDN
>> (e.g. alma.hq.eso.org -> alma).
>
> Would an EPICS Base developer be willing to comment on this?  What is
> the correct behavior, or is it unspecified?

Sorry, I was not clear. In certain OS+network configuration
combinations Java returned FQDN where SHN was expected.

CA expects SHN.

Matej

>
> The EPICS Application Developer's Guide for 3.14.12 doesn't explicitly
> say (from what I can tell based on a quick skim), but the examples seem
> to all use short hostnames.
>
> The guide also says, "For vxWorks clients, the host name is usually
> taken from the target name of the boot parameters."  I would bet a
> number of vxWorks IOCs have their target name set to just the short
> hostname.
>
> Thanks,
>
> Lewis

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

Navigate by Date:
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  <20122013  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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·