[Anthill] anthill stops working if I log out of Windows

Rob Stark r.stark at adelphia.net
Thu Feb 10 18:23:27 CST 2005


Hi Greg,
I recently had this same issue...I'm using the Sun App server so the web
srever has nothing to do with the problem.  I found that if :

1- I went into the Windows Service manager console,
2- selected the service in question
3- Right clicked for the properties
4- selected the tab "Log on as" (I think that was the tab, I may be
miss-speaking though on the tab name)
5- define which account to use (providing user id and password)
6- Save the cahnges.

I found this resolved my problem.  I think the problem in Windows was that
it was one of two issues...
When you log out, any service you started, upon logout, the system cleans up
and kills any process you started (locally).  -OR- Any service registered,
if a specific account is not defined to be used sepcifically, then the
"system" account is used...how does it make sense if that account can't
retrieve the code?   However, if a user is logged in, it will use that
account in kicking off the process, or it will default back to the "system"
account...fundamentally the process is started from a deeply buried windows
path that may not have fundamental access tot he code repository.

I may not be making alot of logical sense, I just know that for me the
problem went away when I defined a specefic user account for the service to
associate itself with.

hope that helps.
Regards,

~Rob.

----- Original Message -----
From: "Greg Knaddison" <greg.knaddison at gmail.com>
To: <anthill at lists.urbancode.com>
Sent: Tuesday, January 25, 2005 8:02 PM
Subject: [Anthill] anthill stops working if I log out of Windows


> Hello,
>
> I'm using Anthill under jBoss. jBoss is started by a service that was
> created using AppToService from
> http://www.basta.com/ProdAppToService.htm.  This Windows Service runs
> as my windows domain user.  If I am logged into the server (either
> direct on the console or via terminal services) then everything is
> fine.  If I log out, then anthill ceases to work and kills jBoss as
> well.  If I remove the anthill.war from my server/all/deploy
> directory, then jBoss runs fine whether I'm logged in or not.
>
> Has anyone seen this behavior before?  Any ideas on what I can look at
> to find the root of the problem?
>
> I tried to search for the answer but was unsuccessful.
>
> Thanks,
> Greg
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill




More information about the Anthill mailing list