dev@glassfish.java.net

Re: [Fwd: what is the use of the admch file?]

From: Vince Kraemer <Vince.Kraemer_at_Sun.COM>
Date: Fri, 06 Jun 2008 11:13:55 -0700

Windows XP.

vbk

Kedar Mhaswade wrote:
> Ah, this is on a Mac? Please say yes :).
>
> First off, "admch" should have been deleted when server stopped.
> If not, they most likely "killed" the instance/domain.
>
> It looks to me that this is related to
> http://forums.java.net/jive/message.jspa?messageID=245813#245813
>
> I don't think admch file comes into picture here.
>
> - Kedar
>
> Vince Kraemer wrote:
>> here is the situation.
>>
>> A user reports that they can start/administer GF from inside NetBeans
>> only when their PC is connected to the internet.
>>
>> When they are not connected to the internet, they report that they
>> have an error message with an IP address in it.
>>> here is what I get when I'm not connected:
>>>
>>> Exception :
>>> com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL:
>>> javax.naming.ServiceUnavailableException [Root exception is
>>> java.rmi.ConnectException: Connection refused to host:
>>> 192.168.1.104; nested exception is:
>>
>> I have not been able to replicate their issue.
>>
>> I asked the user to do a search for the IP address... One of the hits
>> was the admch file...
>>
>> So, I am asking for information about this file so I can come up with
>> a strategy to resolve my users issues.
>> It may be a red-herring, but I figured asking about the file would
>> help me find out.
>>
>> vbk
>>
>> Kedar Mhaswade wrote:
>>>
>>>> It is an RMI Stub generated at install time. Used to send messages
>>>> from Node Agent to running instances.
>>>> It is not user modifiable. It's origin is a bit of historical dig
>>>> into current admin infrastructure.
>>>
>>> Well, it is not generated at install time. It's also used to send
>>> notifications
>>> from Node Agent. Yes, it is system generated.
>>>
>>> When a user reports a problem with admch file, it generally means
>>> the user does
>>> not reveal what actually happens ;). So, Vince, I need to know
>>> exactly why you
>>> suspect this internal mechanism used for *specific* purpose. I am
>>> not sure if
>>> you want to go into the detail of it, but put simply, this file is
>>> created by
>>> a particular server instance when it is started and deleted when it
>>> is shut
>>> down. Anyone who has "access" to this file would be able to shut the
>>> server
>>> down.
>>>
>>> Now, coming back to the question -- why do you suspect malfunction
>>> with this?
>>>
>>> Regards,
>>> Kedar