[Anthill] RepositoryException in build

Joao Batistella joao-p-batistella at ptinovacao.pt
Wed Jul 7 08:05:35 CDT 2004


Hi Eric.

It runs, by default, as LocalSystem. But I tried to run the service as
Administrator and got the same error. Very strange... Thanks for your help.

JP

-----Original Message-----
From: anthill-bounces at lists.urbancode.com
[mailto:anthill-bounces at lists.urbancode.com]On Behalf Of Eric Minick
Sent: quarta-feira, 7 de Julho de 2004 14:05
To: Anthill user list
Subject: Re: [Anthill] RepositoryException in build


JP,

I would check which user the Tomcat service is being run as. I think by 
default it logs in as LocalSystem. I don't think that user has a home 
directory, so when CVS goes to save the login information in the user's 
home directory, it fails. I recommend creating a user named "Anthill", 
making sure it has access to everything it needs and running the service 
as that user. You can check this in the Windows Services manager.

Hope that helps,

Eric

Joao Batistella wrote:

> Thanks Eirc. That was the problem. I'm running Tomcat as a Service 
> (the user: Local System).
>
> But now, I have another problem. If I run Tomcat as a service I got 
> this error:
> 11:28:03:463 [Thread - AnthillBuildDaemon] INFO  
> com.urbancode.anthill.adapter.CVSRepositoryAdapter  - 
> RepositoryException in checkout. message: ProfileAdapter checkout 
> failed: cvs [checkout aborted]: could not find out home directory
>
> But if I run Tomcat normally, I mean executing the startup.bat script, 
> everything goes fine.
>
> Do you know why?
>
> Thanks,
> JP
>
> -----Original Message-----
> From: anthill-bounces at lists.urbancode.com
> [mailto:anthill-bounces at lists.urbancode.com]On Behalf Of Eric Minick
> Sent: terça-feira, 6 de Julho de 2004 19:12
> To: Anthill user list
> Subject: Re: [Anthill] RepositoryException in build
>
>
> Hi JP,
>
> Looks like javac isn't on the path for the user running Anthill. Is
> Anthill running as your user or is there a service running it as someone
> else?
>
> Regards,
>
> Eric
>
> Joao Batistella wrote:
>
> > Hello!
> >
> > I'm trying to configure Anthill to run in another machine (W2K) and
> > I'm having some problems. It's already working fine in my XP machine
> > with the same configuration.
> >
> > I'm sending the stack trace. The problem occurs when anthill tries to
> > checkout my module from CVS. Can anyone help me?
> >
> > Thanks,
> > JP
> >
> > 17:30:18:005 [Thread - AnthillBuildDaemon] INFO 
> > com.urbancode.anthill.BuildManager  - step 1) Retrieve working copy of
> > code from repository
> >
> > 17:30:18:067 [Thread - AnthillBuildDaemon] INFO 
> > com.urbancode.anthill.adapter.CVSRepositoryAdapter  -
> > RepositoryException in checkout. message: Checkout failed:
> > CreateProcess: javac -classpath "C:\Program
> > Files\anthill-1.7.0.162\lib\activation.jar;C:\Program
> > Files\anthill-1.7.0.162\lib\anthill-1.7.0.162.jar;C:\Program
> > Files\anthill-1.7.0.162\lib\antlr.jar;C:\Program
> > Files\anthill-1.7.0.162\lib\Butler-1.0.75.jar;C:\Program
> > Files\anthill-1.7.0.162\lib\CommonsUtil-0.0.3.jar;C:\Program
> > Files\anthill-1.7.0.162\lib\jakarta-regexp-1.2.jar;C:\Program
> > Files\anthill-1.7.0.162\lib\log4j.jar;C:\Program
> > Files\anthill-1.7.0.162\lib\mail_1_2.jar;C:\Program
> > Files\anthill-1.7.0.162\lib\Pagelets-3.1.5.jar;C:\Program
> > Files\anthill-1.7.0.162\lib\Pagelets-email-3.1.5.jar;C:\Program
> > Files\anthill-1.7.0.162\lib\servlet_2_2b.jar;;C:\Program Files\Apache
> > Software Foundation\Tomcat
> > 5.0\bin\bootstrap.jar;C:\j2sdk1.4.2_01\lib\tools.jar" "C:\Program
> > 
> Files\anthill-1.7.0.162\pagelets\Win32\win_cvs\getWorkingProject_pgl.java"

>
> > error=2
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Anthill mailing list
> >Anthill at lists.urbancode.com
> >http://lists.urbancode.com/mailman/listinfo/anthill
> > 
> >
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>  
>
_______________________________________________
Anthill mailing list
Anthill at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20040707/c4c34187/attachment-0003.htm


More information about the Anthill mailing list